标签:
1 select 重复列,时间列,其余列 2 inner join (select 重复列,max(时间列) as 时间列 from 表 group by 重复列) AS T2 3 on t1.重复列=t2.重复列 and t1.时间列 =t2.时间列 4 from 表 AS T1
更深一步排重
原文地址:http://www.cnblogs.com/myblogslh/p/4655869.html