반응형
목록 리트코드 196 답 (1)
KEEP GOING

https://leetcode.com/problems/delete-duplicate-emails/ Delete Duplicate Emails - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 이메일이 중복된 경우, id 값이 작은 값을 제외하고 제거해줘야 한다. 이를 구현하면 아래와 같이 풀이할 수 있다. 1. 정답인 코드 [INNER JOIN을 사용한 풀이] DELETE p1 FROM Person p1, Person p2 WHERE p1.email = p2.e..
code review/sql
2022. 1. 24. 13:58