扫码一下
查看教程更方便
microsecond()函数 从参数返回微秒。
microsecond()函数语法如下
microsecond(expr)
返回时间或日期时间表达式 (expr) 中的微秒。
mysql> select microsecond('12:00:00.123456');
---------------------------------------------------------
| microsecond('12:00:00.123456') |
---------------------------------------------------------
| 123456 |
---------------------------------------------------------
1 row in set (0.00 sec)