Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Filter TOP query so that a result cannot be in the top if the column value is already present in a previous row

$
0
0

Hi,

Any help would be appreciated. I have a query that is the top(5) but I want them to be distinct on only one column value, not on the entire row. Any help would be really appreciated.

Regards,

   Seamus


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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