估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
mysql怎么查询快 MySQL查询某列的时间减去当前系统时间 – 数据库 – 前端 mysql 视图数据会不见么
时间:2020-12-28 09:54:09
估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
mysql怎么查询快 MySQL查询某列的时间减去当前系统时间 – 数据库 – 前端 mysql 视图数据会不见么