查詢7天以內的數據

SELECT makedate,a.* FROM lccont a WHERE contno='000000061682020' and a.makedate in (SELECT to_date(to_char(SYSDATE - LEVEL + 1, 'yyyy/mm/dd'),'yyyy/mm/dd') today FROM DUAL connect BY LEVEL <= 7); html
相關文章
相關標籤/搜索