股票查询

淘二哥女装专业导购
http://www.tao2ge.com

明天还要用.神奇的MYSQL.不用函数
SELECT
localstock.zhijingliuru,
localstock.gupiaomincheng as '股票名称',

localstock.zhuixingjia as '现价',
localstock.datein as '日期'
FROM
localstock

where
localstock.datein>'2010-11-28'
and
localstock.datein < '2010-11-30'
and
localstock.zhuixingjia<30

order by
localstock.zhijingliuru

你可能感兴趣的:(mysql)