sql - Looking list of duplicate for columns -


i have table data

name, id, alt, col 4, col 5, col6 etc..

i want list name, id, , alt duplicate other cols can different. dont want distinct want know dupes

i think want use group by , having clause, follows:

select name, id, alt, count(*) mytable group name, id, alt having count(*) > 1 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -