Subject | Re: [firebird-support] how to select last N records, firebird sql |
---|---|
Author | Martijn Tonies |
Post date | 2006-11-08T10:56:20Z |
> How can I select the last N records from a firebird database?I hope you mean "table".
Basically, get the first few records, but order the other way around:
select first 10 mycolum1, mycolumn2
from mytable
order by something desc
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com