表A如下
match_id | match_time |
1 | 2019-04-24 12:00:00 |
2 | 2019-04-25 12:25:36 |
查询语句如下
select timestampdiff(minute,match_time,now()) from A
表A如下
match_id | match_time |
1 | 2019-04-24 12:00:00 |
2 | 2019-04-25 12:25:36 |
查询语句如下
select timestampdiff(minute,match_time,now()) from A