LeeCode/릿코드-Duplicate Emails-MySQL

cosmos·2021년 9월 23일
0
post-thumbnail
post-custom-banner

문제


풀이

  • write ans sql query to report all the duplicate emails.
  • return the result table in any order.
  • the query result format is in the following example.

코드

--leetcode, Duplicate Emails, mysql
SELECT Email
FROM Person
GROUP BY Email
HAVING COUNT(Email) > 1

결과


출처 && 깃허브

leetcode
github

post-custom-banner

0개의 댓글