TA贡献1842条经验 获得超21个赞
select * from tbl where update_time between unix_timestamp('2019-01-31 00:00:00') and unix_timestamp('2019-01-31 23:59:59')
时间范围也可以计算好传给sql
TA贡献1836条经验 获得超5个赞
select * from tbl where update_time between a时间戳 and b时间戳 尽量不要在条件中做运算
举报