1. 程式人生 > >mysql分組 並顯示前兩條

mysql分組 並顯示前兩條


select * from app_start_list s

where 2>(select count(*) from app_start_list where title=s.title and id<s.id)
order by title