有问题的,你now()取出的字符串类型的,顺便问下你定义的字段是什么类型的,字符串怎么可能用四则符号来描述- -#
估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
时间:2023-11-10 15:16:13
有问题的,你now()取出的字符串类型的,顺便问下你定义的字段是什么类型的,字符串怎么可能用四则符号来描述- -#
估计你放的不是时间戳类型的,取条数是吧=》这样写吧:
select count(state) from A where unix_timestamp(endtime) >current_timestamp() ;
[2024年]致敬伟大的教师:感恩教师 传递师德——1200字教师节征文
2024-05-28