参考:

https://blog.csdn.net/lim_t/article/details/45169313

select *from t_agent where int_last_login>=CURRENT_TIMESTAMP - INTERVAL 10 MINUTE;