Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Find duplicates in combintaion of two rows

$
0
0

Hi All,

I want to update a column DUPLICATE to Y

when there are duplicates in combintaion of two columns COUNTRY and ZIP_CODE

COUNTRY ZIPCODE DUPLICATE
USA 10177           Y
USA 10177            Y
USA 10176             N
USA 10175             N
USA 10174              N
USA 10173                   Y
USA 10173               Y

Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>