Last active
December 24, 2015 11:29
-
-
Save tigawa/6791214 to your computer and use it in GitHub Desktop.
oracle with oralce 9i以降で使える
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with | |
view01 as | |
(SELECT | |
id | |
FROM | |
tb1 | |
WHERE | |
id = '01' | |
) | |
SELECT | |
view01.id, tb2.id | |
FROM | |
tb2, view01 | |
WHERE | |
tb2.id = view01.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment