This query
SELECT dep_location, COUNT(dep_location) freq FROM ISQA.dbo.department WHERE freq > 1 GROUP BY dep_location;
receives this error: Msg 207, Level 16, State 1, Line 4
Invalid column name 'freq'.
It has to be simple, but I haven't found the answer. Thanks in advance for the help.

New Topic/Question
Reply



MultiQuote






|