SELECT * FROM DRP_MARKET_PRODUCT T WHERE T.CREATEDTIME BETWEEN TO_DATE(‘2016-10-08 12:30‘, ‘yyyy-mm-dd hh24:mi‘) AND TO_DATE(‘2016-10-14 13:00‘, ‘yyyy-mm-dd hh24:mi‘) AND TO_CHAR(T.CREATEDTIME, ‘hh24:mi:ss‘) BETWEEN ‘12:30:00‘ AND ‘13:00:00‘
原文地址:https://www.cnblogs.com/it-noob/p/9578144.html
时间: 2024-11-09 13:26:10