我有一個查詢來獲得總數。但它返回一個語法錯誤。查詢如下:在SQL Server 2000中查找總計數錯誤
((SELECT COUNT(*) FROM References
WHERE DocumentID = 15354 AND CustomerID = 896 AND ReferenceType = 1)
+
(SELECT COUNT(*) FROM References
WHERE DocumentID = 15354 AND ReferenceType = 0)) AS TotalReference
我該如何解決這個錯誤?