SELECT * FROM tab WHERE time = (SELECT MAX(time) FROM tab) 找出时间最近的一条记录 转载于:https://www.cnblogs.com/51Tsinghua/p/3792322.html