I have tried implementing the query to find records in one table that have equal values in one column and for some reason it does not retrieve correct result. I have been using an online SQL interpretor to access a table.Is there something wrong with this statement:
SELECT firstname FROM empinfo GROUP BY age HAVING (COUNT(age) > 1)
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.