如何选择当前日期的午夜?
2013-03-27 00:00:00
mysql> select cast(current_date() as datetime);
+----------------------------------+
| cast(current_date() as datetime) |
+----------------------------------+
| 2013-03-27 00:00:00 |
+----------------------------------+
1 row in set (0.00 sec)
mysql>