mysql里查看时间

MariaDB [jumpserver]> select current_time;
+--------------+
| current_time |
+--------------+
| 16:22:18     |
+--------------+
1 row in set (0.00 sec)

MariaDB [jumpserver]> select current_date;
+--------------+
| current_date |
+--------------+
| 2018-12-28   |
+--------------+
1 row in set (0.00 sec)


posted @ 2018-12-28 16:24  开始认识  阅读(2402)  评论(0编辑  收藏  举报