预览模式: 普通 | 列表

查询某一年 某一月 某一天的数据(可组合)

select * fromymt where date_format(inDate,'%Y-%m-%d')='2016-10-10';

 (inDate为表中列名)


查看更多...

分类:php | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 4130