Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to get the rows with the max value only

$
0
0

Hello all


I have result set that returns the following data,  but i want to filter only the ones with a higher index for example: 

so i want the output should be

 ID 2, VALUE BOB, INDEX 2

 ID 4, VALUE JOHN, INDEX  5

 ID 5. VALUE LOU, INDEX 7

any ideas on how to do this? 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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