• A much simpler way to remove duplicates would be to use SELECT DISTINCT * from tableName