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