MINUTE_MICROSECOND is one of MySQL’s composite interval keywords. It is used in expressions such as DATE_ADD, DATE_SUB, TIMESTAMPADD, and TIMESTAMPDIFF to add to, subtract from, or compare DATETIME, TIMESTAMP, and TIME values with precision down to microseconds. The literal that precedes the unit contains minutes, seconds, and fractional seconds formatted as 'MM:SS.MMMMMM'. When executed, MySQL converts the literal into an exact interval and applies it to the left-hand date or time expression. If the literal is malformed or the host column type does not support microseconds, MySQL raises an error or silently truncates the fraction part, depending on sql_mode settings.
expr
(STRING or NUMERIC) - Interval value formatted as 'MM|||SS.MMMMMM' (minutes 0-59, seconds 0-59, microseconds 0-999999)INTERVAL, SECOND_MICROSECOND, MINUTE_SECOND, DATE_ADD, DATE_SUB, TIMESTAMPDIFF, TIMESTAMPADD
MySQL 4.1
A string formatted as 'MM:SS.MMMMMM' where MM and SS are zero-padded 0-59 and MMMMMM is a six-digit microsecond value.
Yes. You may supply 'MM:SS' or append a '.0'. MySQL will treat the microseconds as zero.
No. PostgreSQL lacks composite interval units. Combine separate minute and second intervals instead.
Define the column with fractional seconds precision, for example DATETIME(6), to store six-digit microseconds.