WITH T
AS (SELECT 'A' AS KEY, '' AS UP_KEY, '20140712' AS DT FROM DUAL
UNION ALL
SELECT 'B' AS KEY, 'A' AS UP_KEY, '20140713' AS DT FROM DUAL
UNION ALL
SELECT 'C' AS KEY, 'A' AS UP_KEY, '20140714' AS DT FROM DUAL
UNION ALL
SELECT 'D' AS KEY, 'E' AS UP_KEY, '20140714' AS DT FROM DUAL)
SELECT *
FROM T
KEY UPKEY DT
A 20140712
B A 20140713
C A 20140714
D E 20140714
컨넥트바이절을 쓰면 E가없기때문에 D가 조회되지 않습니다..
표현하고싶으면 어떻게 해야할까요?