Query design

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

Guest

I have a four value example A, B, C and D.
Value A=56,
Value B=70,
Value C=80 and
Value D=30.
So, how to get the two higher value from value A,B,C and D.
 
Using the query with "sort Desc" and "Top 2" Values

Select Top 2 ValueFiledName From TableName Order By ValueFiledName Desc
 

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