查询至少生产三种不同速度PC的厂商 (10 分)
本题目要求编写SQL语句, 查询至少生产三种不同速度PC的厂商。
select maker
from (
select product.maker,pc.speed
from product join pc on product.model=pc.model
group by product.maker,pc.speed
) a
group by maker
having count(maker)>=3
join on 的用法
a join b on c
把 table b 续在 tabel a 后面 以c的形式 如下图所示