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 -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -