估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
如果觉得《MySQL查询某列的时间减去当前系统时间 小于30天怎么写? mysql php 语句》对你有帮助,请点赞、收藏,并留下你的观点哦!
时间:2018-07-08 03:50:47
估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
如果觉得《MySQL查询某列的时间减去当前系统时间 小于30天怎么写? mysql php 语句》对你有帮助,请点赞、收藏,并留下你的观点哦!
mysql获取系统当前时间(介绍如何使用mysql获取系统当前时间) 查询mysql语句
2020-03-10