Mysql 怎么判断时间的?比如select * from test awhere a.date 现在时间我要查询比现在时间大的数据[解决
Mysql 怎么判断时间的?
比如
select * from test a where a.date > 现在时间
我要查询比现在时间大的数据
[解决办法]
- SQL code
select * from test a where a.date > current_timestamp();
[解决办法]
getdate()
[解决办法]
[解决办法]
- SQL code
now() sysdate() curdate()
