我的SQL查询遇到了一些麻烦.我拿到了这张桌子:
insert into Table1 (date, personssn)
insert ('2012-01-21 12:01:33', '123456789');
insert into Table1 (date, personssn)
insert ('2012-02-22 12:01:33', '123456789');
Run Code Online (Sandbox Code Playgroud)
问题是我想选择日期为当前日期的人员.我一直在使用"CURDATE()",但似乎无法让它工作.谁可以帮助我朝正确的方向?
谢谢.