重複のみを抽出するSQL文

MySQL Add comments

いい加減覚えられないので書いておく。

SELECT `mail`
FROM `address`
GROUP BY `mail`
HAVING COUNT( `mail` ) >1
LIMIT 0 , 30

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS ログイン