0 / 60 seg.

Is there an error with this query? If so, which statement best describes the problem?

SELECT OrderID, SUM(LineTotal) AS SubTotal
FROM Sales
WHERE SUM(LineTotal) > 1000
GROUP BY OrderID
ORDER BY OrderID;