select * from warehouse_trade_detail where
b_createtime>= cast('2016-01-01' as date) and
b_createtime<= cast('2017-02-28' as date)  

posted on 2017-02-05 22:37  Sharpest  阅读(282)  评论(0编辑  收藏  举报