SQL数据库查询,两个表联合查询空数据。

2024-11-24 07:57:35
推荐回答(1个)
回答1:

select a.id,sum(b.kaoqin)
from a,b
where a.id=b.id
group by a.id
having count(id)<10