Question : find duplicate values

i have following table structure and i would like to display all duplicate it has
-------------------------------------
id account nickname password
-------------------------------------
what could be the query

Thank you

Answer : find duplicate values

If there is a column which have to be seen but does not containt duplicates you can use this

1:
2:
3:
4:
5:
6:
SELECT T1.* FROM YourTable T1 INNER JOIN (
SELECT id, account, nickname, password, COUNT(*) [Count] FROM YourTable  
GROUP BY id, account, nickname, password  
HAVING COUNT(*) > 1
) T2 ON T1.id = T2.id AND T1.account = T2.account AND T1.nickname = T2.nickname AND T1.password = T2.password
...etc
Random Solutions  
 
programming4us programming4us