Hi , I want to get, say the last 3 records
from a table according to an ascending ID (where ID is a integer)
eg
in oracle i could do , say,
select * from X
order by ID
and rownum < 4 ;
this would get me the 3 most recent records (assuming ID+1 is always added as the new ID)
Is there something similar to rownum in MS Access ??
cheers
pls reply to john.perez@optus.com.au
from a table according to an ascending ID (where ID is a integer)
eg
in oracle i could do , say,
select * from X
order by ID
and rownum < 4 ;
this would get me the 3 most recent records (assuming ID+1 is always added as the new ID)
Is there something similar to rownum in MS Access ??
cheers
pls reply to john.perez@optus.com.au