Quantcast
Viewing all articles
Browse latest Browse all 11

Find Duplicate value in a field (Oracle table)

If you want to find the duplicate values in a specific field in an Oracle table, use the following SQL query:


 
SELECT FIELD, COUNT(FIELD) from TABLE
GROUP BY FIELD
HAVING COUNT(FIELD) > 1;

Viewing all articles
Browse latest Browse all 11

Trending Articles