mysql>
mysql> SELECT EXTRACT(HOUR_SECOND FROM '2003-01-02 10:30:00.000123');
+--------------------------------------------------------+
| EXTRACT(HOUR_SECOND FROM '2003-01-02 10:30:00.000123') |
+--------------------------------------------------------+
| 103000 |
+--------------------------------------------------------+
1 row in set (0.00 sec)