Created
August 8, 2020 18:58
-
-
Save markfullmer/258ce9103b7617b29b6348ecfebeff56 to your computer and use it in GitHub Desktop.
SQL query to find duplicates in a table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT `title`, COUNT(`title`) FROM `node_field_data` GROUP BY `title` HAVING COUNT(`title`) > 1 | |
// https://www.sqlservertutorial.net/sql-server-basics/sql-server-find-duplicates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment