{section}
{column:width=50}
복잡한 쿼리 - 3개의 쿼리블록
SELECT /*+ qb_name(Main_Query) */ *
FROM (SELECT /*+ qb_name(Inline_View) */ * FROM t1 WHERE t1.c1 = 1) v1
, t2
WHERE v1.c1 = t2.c1
AND t2.c1 IN (SELECT /*+ qb_name(In_Subquery) */ c3 FROM t3)
;
{column}
{column:width=50}
{column}
{section}
{section}
{column:width=50}
Transformation 쿼리 - 하나의 쿼리블록
SELECT *
FROM t1, t2, t3
WHERE t2.c1 = (semi) t3.c1
AND t1.c1 = t2.c1
AND t1.c1 = 1
AND t2.c1 = 1
;
{column}
{column:width=50}
{column}
{section}