-- 입력된 날자 기준
SELECT
DD - DAYOFWEEK(DD) + LEVEL AS WEEK_OF_DAYS,
TO_CHAR((DD - DAYOFWEEK(DD) + LEVEL), 'DAY') AS WEEK_DAY
FROM (
SELECT date'2018-04-08' AS DD
) A
CONNECT BY LEVEL <= 7
-- 입력된 날자 기준
SELECT
DD - DAYOFWEEK(DD) + LEVEL AS WEEK_OF_DAYS,
TO_CHAR((DD - DAYOFWEEK(DD) + LEVEL), 'DAY') AS WEEK_DAY
FROM (
SELECT date'2018-04-08' AS DD
) A
CONNECT BY LEVEL <= 7