奇怪sql举例

 

SELECT * FROM tab WHERE time = (SELECT MAX(time) FROM tab)         找出时间最近的一条记录

posted @ 2014-06-17 10:40  诊思神  阅读(99)  评论(0)    收藏  举报