Para mim isso funcionou: TIMESTAMPDIFF(MINUTE, T0.created, T0.modified) Referência:https://dev .mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_timestampdiff