如何取数据库中最新时间记录??? sleect * from (select rownum rn,* from table order by date desc) where rn=1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Where trunc(时间字段)=trunc(to_date(sysdate,'yyyy-mm-dd'))是查询当天的,其它天的类似 select * from tab where datefield > sysdate - 1 ,是指从昨天这个时候到现在的记录,sysdate - 0.5是前半天的记录,如果只是模糊查询用这个比较快 select * from table order by date descselect * from table where date>sysdate-1 select * from table T1 Where trunc(T1.Datacol)=trunc(sysdate) oracle goldengate 关于数据库中date类型 求助分析:三表关联查询,递归查询,一条错误的语句,错在哪里 连接INTERNET的oracle主机字符串应该怎么写 oracle中VARCHAR2 oracle9i模糊查询中怎么不识别'_' etang 救命啊,关于ROWNUM,GROUP和ORDER BY的问题 哪里有develope2000? 急!!oracle xml处理(节点获取,增加,删除)!感谢各位帮忙! 外连接的查询SQL请教? 这个SQL语句怎么写?急!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货