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