Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Exclude duplicate and fetch max of x column

$
0
0
Hi Experts,I want to fetch max of Field2 if duplicate records in Field1 and rest of the values of field1 , below is the sample format.Field1 Field2 Field3 Field432 375 abc-xyz A32 379 xyz-efg A55 405 abc-xyz B55 407 xyz-efg B132 908 abc-xyz C132 999 xyz-efg C 152 800 abc-xyz D152 850 xyz-efg D155 900 abc-xyz E156 925 abc-xyz F157 935 abc-xyz GThanks,

Viewing all articles
Browse latest Browse all 3145

Trending Articles