how to get ten lower values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hii i have a question in my mind that i want someone to solve that i tried
alot and thought of it alot . the question is that how to get the ten or less
or more lower values in the querry as we get top values in querry. thanks in
advance.
 
Same way you the the top "large" values, except use an ORDER BY clause that
is DESC for the field in question.
 
hii i have a question in my mind that i want someone to solve that i tried
alot and thought of it alot . the question is that how to get the ten or less
or more lower values in the querry as we get top values in querry. thanks in
advance.

Have you tried

SELECT Top 10 vValues from tblTable order by vValues desc

I admit that I performed the test in SQL2000 Desktop Edition.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top