<分区>
我正在尝试在 Northwind 数据库上执行这个简单的语句
USE Northwind
SELECT productid, orderid,quantity
FROM [order details]
ORDER BY productid, orderid
COMPUTE SUM(quantity)
GO
但是我这不能执行,我得到了这个错误
Msg 156, Level 15, State 1, Line 5
Incorrect syntax near the keyword 'COMPUTE'.