1
我的查詢是:mysql命令
select a from b where c in (
select d from e where f in (
select f from e where d=100)
and e!=100 group by e order by count(e) desc
)
)
此查詢將輸出結果,我想要什麼,但我想通過這個子查詢
select d from e where f in (
select f from e where d=100)
and e!=100 group by e order by count(f) desc
基本上我想通過訂購來訂購吧計數(f)
我該如何實現主查詢從子查詢中獲取ID,但它不會按子查詢順序排列它們