Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
グループのテーブルとグループのテーブルにリンクするメンバーのテーブルがあります。 各グループをそのグループのメンバー数とともに返すクエリを実行する方法はありますか?
select group_id, count(group_id) as group_count from members group by group_id order by group_count desc