i have to count some distances in sql server and i have to get the 10 longest distances. but if i have a distance with the same value of another distance i have to get 11 distances. do you know how this works?
sql server
Page 1 of 11 Replies - 624 Views - Last Post: 29 November 2012 - 10:23 PM
Replies To: sql server
#2
Re: sql server
Posted 29 November 2012 - 10:23 PM
You can use "select top n with ties..." but that will select only the records matching(if present) row n.
But this solves it
http://stackoverflow...ne-from-each-ca
But this solves it
http://stackoverflow...ne-from-each-ca
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|