mysql 中group by分组查询最新记录

mysql 中group by分组查询最新记录

mysql5.5

select DISTINCT t.uid from (
    select * from table_name order by create_time desc
 
) as t
group by t.uid...

点击查看剩余70%

{{collectdata}}

网友评论0