mysql如何查询B表的字段跟A表的某字段一样,返回所有一样的数据啊

2025-03-23 01:57:19
推荐回答(1个)
回答1:

select a.id,count(*) from a,b where a.id=b.aid group by a.id