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;
舉報
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號