Mencari data yang mempunyai duplikat data pada suatu kolom My SQL


Mungkin ini bisa membantu :

hehehe

SELECT *
FROM data_reg
WHERE id_num IN (
SELECT id_num
FROM telkomsel_reg
GROUP BY id_num
HAVING COUNT(id_npm) > 1
)

Hatur Nuhun

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s