Yussi Ariefiyono
Finding Duplicates with SQL
problem:
finding the duplicate within sql
solution:
provide table named subscriber, with elements: email
SELECT COUNT(DISTINCT email) AS NumberOfEmail, email FROM subscriber GROUP BY email HAVING (COUNT(email) > 1)
| Print article | This entry was posted by yussi ariefiyono on November 27, 2009 at 4:39 pm, and is filed under sql. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |