SELECT
    MAX(UPDATE_TIME), MAX(CREATE_TIME), TABLE_SCHEMA, TABLE_NAMEFROM `INFORMATION_SCHEMA`.`TABLES`
GROUP BY TABLE_SCHEMA, TABLE_NAME 
ORDER BY 1 DESC, 2 DESC