thanks... so that would return say
S1 10
S2 9
S3 8
If i wanted to get straight to S3 as the third top supplier, could i use the above query and inverse it somehow, and do top 1, just to get one value returned of the 3rd top supplier?
thanks a lot for answering
Hi,
I need to find out the supplier name of the suppliers who supply the second and third largest total quantity of parts (using 2 different SQL statements). If possible I need the SQL to just return a single supplier name (not a list of suppliers in order of Qty - I need to avoid using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.