Names query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

--
Rowan

I have a table with 50 peoples names in some of the names appear more than
once.

How do a make a query to extract any name that appears more than once.

Thanks
 
SELECT FieldName, Count(*) as NumOf
FROM tblA
GROUP BY FieldName
HAVING Count(*) >1;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top