1、max(rowid)
例子:
select * from table where rowid = (select max(rowid) from table)
2、row_number() over函数
详情见:http://blog.csdn.net/631799/article/details/7419797
http://jingyan.baidu.com/article/9989c74604a644f648ecfef3.html
3、根据时间字段判断,最接近当前系统时间的
1、max(rowid)
例子:
select * from table where rowid = (select max(rowid) from table)
2、row_number() over函数
详情见:http://blog.csdn.net/631799/article/details/7419797
http://jingyan.baidu.com/article/9989c74604a644f648ecfef3.html
3、根据时间字段判断,最接近当前系统时间的
转载于:https://www.cnblogs.com/xinxin1994/p/5920966.html