SQL - Advanced Query Patterns
How can you modify this query to find duplicate usernames but also show how many times each username appears?
SELECT username FROM users GROUP BY username HAVING COUNT(*) > 1;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions