以最快速度查找PC型号。输出一个由五列组成的表:(模型,制造商,速度,内存,价格)。
我想出了什么并且只收到错误:
SELECT model,maker,speed,ram,price
FROM (
SELECT MAX(PC.speed) AS speed , Product.maker
FROM Product INNER JOIN Pc ON Product.model = pc.model
GROUP BY Product.maker
答案 0 :(得分:0)
您缺少结束括号)
:
SELECT model,maker,speed,ram,price
FROM (
SELECT MAX(PC.speed) AS speed , Product.maker
FROM Product INNER JOIN Pc ON Product.model = pc.model
GROUP BY Product.maker
)