Skip to content

Instantly share code, notes, and snippets.

@composite
Created February 27, 2014 04:59
Show Gist options
  • Select an option

  • Save composite/9244646 to your computer and use it in GitHub Desktop.

Select an option

Save composite/9244646 to your computer and use it in GitHub Desktop.
Oracle ANSI Outer join to classic join example
FROM a LEFT JOIN b ON a.key = b.key AND a.val = '460'
--위 Ansi Outer Join을 같은 결과를 내는 오라클 조인으로 바꾸어 보면 아래와 같습니다.
FROM a, b WHERE DECODE(a.val,'460',a.key) = b.key(+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment