Syntax
SECOND(time)
Purpose
SECOND() returns the seconds of time.
Examples
obclient> SELECT SECOND('18:20:17');
+--------------------+
| SECOND('18:20:17') |
+--------------------+
| 17 |
+--------------------+
1 row in set
OceanBase Database
Download PDF
SECOND(time)
SECOND() returns the seconds of time.
obclient> SELECT SECOND('18:20:17');
+--------------------+
| SECOND('18:20:17') |
+--------------------+
| 17 |
+--------------------+
1 row in set