我在以下内容中收到错误“SELECT top (20) L.load_Number”:
INSERT INTO Last_20_Loads
SELECT top (20) L.load_Number, count(b.Bales_Per_Hour) AS COUNT_Bales_Per_Hour, sum(b.Bales_Per_Hour) AS SUM_Bales_Per_Hour
FROM Loads AS L INNER JOIN
Bales AS B ON L.Load_Number = B.Load_Number
where (status = 7)
GROUP BY l.load_Number
ORDER BY l.load_Number DESC;
为什么我会出错。怎么修?
谢谢,
杰瑞