i have table in sql and I want to remove duplicate records but remove all duplicate records
You can use group by:
group by
select first_name, last_name from t group by first_name, last_name having count(*) = 1;
2.1m questions
2.1m answers
60 comments
57.0k users