Składnia podkwerend SQL Server
Po uruchomieniu zapytania:
select count(*) from
(select idCover from x90..dimCover group by idCover having count(*) > 1)
Dostaję błąd:
Server: Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near ')'
Jak poprawnie sformułować to zapytanie?
Jestem na SQL Server 2000