"SELECT table_id,
FROM table
WHERE (timediff('%s',raise_time)<'00:05:00')" % \
(
table_id
, str(datetime.datetime.now()))
"SELECT table_id,
FROM table
WHERE (timediff('%s',raise_time)<'00:05:00')" % \
(
table_id
, str(datetime.datetime.now()))
转载于:https://www.cnblogs.com/buxizhizhoum/p/6780181.html