Skip to content

Instantly share code, notes, and snippets.

@tigawa
Last active December 24, 2015 11:29
Show Gist options
  • Save tigawa/6791214 to your computer and use it in GitHub Desktop.
Save tigawa/6791214 to your computer and use it in GitHub Desktop.
oracle with oralce 9i以降で使える
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