Oracle查询30天内的数据
Oracle查询30天内的数据
SELECT * FROM table_name
WHERE id= '01'AND
CREATETIME >= TRUNC(SYSDATE - 30)
ORDER BY CREATETIME DESC
Oracle查询30天内的数据
SELECT * FROM table_name
WHERE id= '01'AND
CREATETIME >= TRUNC(SYSDATE - 30)
ORDER BY CREATETIME DESC