MICROSECOND(expr)
返回时间或日期时间表达式expr的微秒,这个数字范围为 0 到 999999。
mysql> SELECT MICROSECOND('12:00:00.123456'); +---------------------------------------------------------+ | MICROSECOND('12:00:00.123456') | +---------------------------------------------------------+ | 123456 | +---------------------------------------------------------+ 1 row in set (0.00 sec)