medium
Identify Duplicate Records
Write a SQL query to find duplicate entries in a specific table.
📝 プロンプトの内容
Write a SQL query for a table named 'users' with columns 'id', 'email', and 'name'. The query should identify all email addresses that appear more than once in the table, returning the email address and the count of occurrences. Order the results by the count in descending order.