LeeCode(Database)-Duplicate Emails
2015-07-27 11:11
627 查看
Write a SQL query to find all duplicate emails in a table named
For example, your query should return the following for the above table:
Person.
+----+---------+ | Id | Email | +----+---------+ | 1 | a@b.com | | 2 | c@d.com | | 3 | a@b.com | +----+---------+
For example, your query should return the following for the above table:
+---------+ | Email | +---------+ | a@b.com | +---------+
# Write your MySQL query statement below select Email from Person group by Email having COUNT(Email)>1
相关文章推荐
- main()函数参数的意义
- HDU 1532 基础EK Drainage Ditches
- Source Insight函数调用关系显示设置http://blog.csdn.net/duanbeibei/article/details/24395777
- singnal 13 was raised
- gdb基本调试(cp:http://blog.csdn.net/feixiaoxing/article/details/7199643)
- 在linux中使用vi 打开文件时,能显示行号吗?http://zhidao.baidu.com/link?url=km4N-VLhK1DtSUOexgWMiZ73tp7R91g2UhZ15eTZv4
- Ubuntu 中sendmail 的安装、配置与发送邮件的具体实现
- Fibonacci Again
- AirPlay、DLNA、Miracast三大无线技术介绍
- 中小企业TurboMail邮件系统建设方案指导
- linux 进程等待 wait 、 waitpid
- hd2674 N!Again
- [leetcode-11]container with most water(C)
- 【LeetCode】70 - Climbing Stairs
- RAII手法封装互斥锁
- assign、copy、retain、weak、strong的区别与联系
- DataInputStream和DataOutputStream操作基本数据类型的流
- Fine-Grained Histopathological Image Analysis via Robust Segmentation and Large-Scale Retrieval文章总结
- Contains Duplicate
- hdu 5289 - Assignment(2015 Multi-University Training Contest 1 )单调队列+RMQ+树状数组