Query to find duplicate data in a column. Works in MySQL.