TA贡献1830条经验 获得超3个赞
需要一个类别, 一个类别的查. 没什么好办法一次查询.
TA贡献1789条经验 获得超8个赞
select a.* from title a, (select group_concat(tid order by tid desc) gtid from title group by type) b where find_in_set(a.tid,b.gtid) between 1 and n order by type,tid desc;
举报