oracl里面最么查询最后一天插入进去的语句
------解决方案--------------------------------------------------------
在你对应的表里加个记录时间的字段
select * from table where date=(select max(date) from table)
试试
不是很明白你的意思
------解决方案--------------------------------------------------------
max()
------解决方案--------------------------------------------------------
1楼写的不对,date是无法进行关联的 无法确认一条记录
假设你的表中 有个主键或者唯一键 比如说是 id
如下:
select * from table t,(select id,max(date) from table group by id,date) mxt where t.id = mxt.id
------解决方案--------------------------------------------------------
select * from table where date=(select max(date) from table)