I've the following sql statement running in sql server-
SELECT Id,Name
FROM
(
SELECT ROW_NUMBER() OVER( ORDER BY Id DESC ) AS row, Id, Name from BRS
)
AS data WHERE row BETWEEN 1 AND 5 ORDER BY Id DESC;
Now, I would like to implement same technique in MS Access database. But it gives syntax error for ROW_NUMBER() and OVER()
Is there any MS Access 2007 syntax of ROW_NUMBER() and OVER()
?