大型数据库记录没有先后顺序的,没有时间戳是确定不了最后一条记录的。
你看这样是不是你想要的:
select * from mytable where rowid=(select count(*) from mytable)