3 highest values in query

  • Thread starter Thread starter AK
  • Start date Start date
A

AK

Hello,
How to display 3 highest (smallest) values in sql query (without Max. values
field) .

Andrzej
 
Hi,


SELECT TOP 3 list_of_fields
FROM somewhere
ORDER BY FieldHoldingTheHighestWhat [ ASC | DESC ]


The order by can be a list of fields, or expressions.


Hoping it may help,
Vanderghast, Access MVP
 
Back
Top