For me this worked:
TIMESTAMPDIFF(MINUTE, T0.created, T0.modified)
Reference: https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_timestampdiff
More Related Contents:
- Should MySQL have its timezone set to UTC?
- How to set a maximum execution time for a mysql query?
- Checking a table for time overlap?
- How do I get the first day of the week of a date in mysql?
- Surpassing MySQL’s TIME value limit of 838:59:59
- Mysql Average on time column?
- Which DB technology is sued to solve the following search issue? [closed]
- Host ‘xxx.xx.xxx.xxx’ is not allowed to connect to this MySQL server
- How should I resolve –secure-file-priv in MySQL?
- node-mysql multiple statements in one query
- MySQL server startup error ‘The server quit without updating PID file’
- Select last row in MySQL
- MySQL LOAD DATA INFILE with ON DUPLICATE KEY UPDATE
- Difference between Key, Primary Key, Unique Key and Index in MySQL
- MySQL: Split comma separated list into multiple rows
- How to start MySQL with –skip-grant-tables?
- How can I access the MySQL command line with XAMPP for Windows?
- When to use STRAIGHT_JOIN with MySQL
- Remove Primary Key in MySQL
- Difference in MySQL JOIN vs LEFT JOIN
- Get most recent row for given ID
- Update a column in MySQL
- Is merge statement available in MySQL
- Mysql covering vs composite vs column index
- Insert/ Update random date in MySQL
- Replace null with 0 in MySQL
- AWS Aurora MySQL serverless: how to connect from MySQL Workbench
- What happens when I exhaust a bigint generated key? How to handle it?
- is there a length limit to group_concat or another reason why it would not work on a text field
- MySQL Auto increment primary key increases by 10