在Oracle中,我可以像这样查询:
Select * from Orders where trunc(createdDate) = trunc(sysdate)
我想知道如何在MySql中获取所有今天创建的订单。
如何在MySql中实现同样的功能呢?
到目前为止,我只能找到类似于currentdate() = '07-05-2017'的方法,但我不想硬编码日期。
谢谢,
Dapid Candra