182. Duplicate Emailssql
寫出 查找表中重複郵箱地址的SQL語句。函數
用GROUP BY把結果聚合,並用count函數計算出現次數。用having篩選出現次數大於1的結果便可。spa
# Write your MySQL query statement below SELECT Email FROM Person group by Email having count(id)>1; 複製代碼
若以爲本文章對你有用,歡迎用愛發電資助。.net