1.查询日期为某一天的字段(不计时分秒) do_sub_time是datetime类型
SQL:
SELECT * FROM `zlzq`.`job_do` where do_sub_time >= '20140709' and do_sub_time <br><br><p><img src="http://img.bitscn.com/upimg/allimg/c140719/1405K4635K0-15J5.jpg" alt=""></p><p><br></p><p><br></p>