Syntax:
TIME_FORMAT(time,format)

This is used like the DATE_FORMAT() function, but the format string may
contain format specifiers only for hours, minutes, seconds, and
microseconds. Other specifiers produce a NULL or 0. TIME_FORMAT()
returns NULL if time or format is NULL.

URL: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html

