想把表中id=3,且date和系统时间隔15天的记录找出 select * from tablename where id=3 and abs(trunc(date)-trunc(sysdate))<=15 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select t.* from table twhere t.id=3 and sysdate-t.date<=15 select t.* from table twhere t.id=3 and trunc(sysdate)-trunc(t.date)<=15; select t.* from table t where abs(sysdate-t.date)=15二楼和三楼的有点问题,只能找到系统时间之前的,嘿嘿。。 这句oracle语句怎么修改成mysql的 关于OCP考试题目~~ 大家帮忙看看:oracle 授权 权限设置 。错误:表或视图不存在 关于集合类型的一个问题!求教 添加到表中的编号显示成了#,在线等 如何写一个trigger,高手指点一下 oracle中怎么实现主健自动生成 Table数据如何转化成Html格式输出? 有谁能提供一些关于pl/sql中hint的资料?? 请问oracle能不能像sqlserver那样导出数据库的建表脚本 两张表关联查询问题!急!! [简单送分题]字段替换SQL语句写法。
where t.id=3 and sysdate-t.date<=15
where t.id=3 and trunc(sysdate)-trunc(t.date)<=15;