赞
踩
SELECT
TIMESTAMPDIFF(MINUTE,
(DATE_FORMAT('2015-08-12 10:38:00','%Y-%m-%d %H:%i')),
(DATE_FORMAT('2015-08-12 10:38:59', '%Y-%m-%d %H:%i')) ) FROM
DUAL