Thanks. Got it done by this: SELECT name, COUNT(name) FROM authors GROUP BY name HAVING (COUNT(name)) It's really tricky to handle intricate SQL to do things you previously can't think about.
There is no need to use COUNT() twice SELECT name, COUNT(*) cnt FROM authors GROUP BY name HAVING cnt>1 Code (markup):