标签:
select * from 表明 where times> ‘2088/12/8 10:02:40‘
(×)
select * from h_hotelcontext where now() between STR_TO_DATE(Start_time,‘%Y-%m-%d %H:%i:%s‘) andSTR_TO_DATE(End_time,‘%Y-%m-%d %H:%i:%s‘);
select max(addtime) from student where stuid=‘9‘;(×)
select max(STR_TO_DATE( addtime,‘%Y/%m/%d %H:%i:%s‘)) from student where stuid=‘9‘;
标签:
原文地址:http://www.cnblogs.com/ctautocn/p/4194270.html