SELECT TO_DATE('21-Jul-2013') + (LEVEL * 5/1440) ts5,
TO_DATE('21-Jul-2013') + (LEVEL * 5/1440) +
DECODE(TO_CHAR(TO_DATE('21-Jul-2013') + (LEVEL * 5/1440),'mi'),
'05',10,'10',5,'20',10,'25',5,
'35',10,'40',5,'50',10,'55',5,0)/1440 ts15
FROM dual
CONNECT BY LEVEL BETWEEN 1 AND 288
这仅提供一天的数据,我将如何更改它以使其适用于日期范围