84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我想通过sql语句查询出sqlite数据库中Quan_time字段中小于或等于当前日期的数据,Quan_time字段中存储的是字符串日期,所以用cast()函数转换了下,但是查询出来的数据不对,请问是哪里问题,谢谢~!select * from api_coupon where cast(Quan_time as datetime)<=datetime('now','+8 hour');
sqlite
Quan_time
cast()
select * from api_coupon where cast(Quan_time as datetime)<=datetime('now','+8 hour');
人生最曼妙的风景,竟是内心的淡定与从容!
人生最曼妙的风景,竟是内心的淡定与从容!