SQL to Retrieve 5 Records

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

Guest

Anyone know a simple SQL statement to retrieve any 5 records from a query?
Doesn't matter which 5 either.
 
Right on!

Now just for kicks, is there any way to randomize the 5 records I get back?

Graham Mandeno said:
Use the TOP predicate:

SELECT TOP 5 .... FROM ....
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

simsjr said:
Anyone know a simple SQL statement to retrieve any 5 records from a query?
Doesn't matter which 5 either.
 
Back
Top