SyntaxFix
Write A Post
Hire A Developer
Questions
I think you could use TIMESTAMPDIFF(unit,datetime_expr1,datetime_expr2) something like
select * from MyTab T where TIMESTAMPDIFF(MINUTE,T.runTime,NOW()) > 20