# 문제
https://leetcode.com/problems/delete-duplicate-emails/description/
# 문제 설명

email값 같으면서 id값이 다른경우 큰 id값 삭제하기
# 핵심 개념
delete
from 테이블
where 조건 이용하기
# 정답 코드
delete p
from Person p, Person q
where p.id > q.id and p.email = q.email
# 문제
https://leetcode.com/problems/delete-duplicate-emails/description/
# 문제 설명

email값 같으면서 id값이 다른경우 큰 id값 삭제하기
# 핵심 개념
delete
from 테이블
where 조건 이용하기
# 정답 코드
delete p
from Person p, Person q
where p.id > q.id and p.email = q.email