select * from tablename t where t.updatedate >=(select max(updatedate) from tablename)
如果只考虑数据插入的早晚,可以用rowid最大的。
根据时间范围查询就好了,比如:select * from a where a.create_date between to_date('20170101','yyyy/mm/dd') and to_date('20170531','yyyy/mm/dd')
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)