在SQL表中查找重复值
duplicates
SELECT name, COUNT(email) FROM usersGROUP BY emailHAVING COUNT(email) > 1
ID NAME EMAIL1 John asd@asd.com2 Sam asd@asd.com3 Tom asd@asd.com4 Bob bob@asd.com5 Tom asd@asd.com
email
.
email
name
.
name
email
守着一只汪
qq_遁去的一_1
相关分类