daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with number (n, priority) as (
  2.   select 1, 12 from sysibm.sysdummy1 -- recursive complex query
  3. )
  4. select n, priority from number
  5. union all
  6. select 5, 13 from sysibm.sysdummy1 -- complex query here
  7.    
  8. N
  9.    -
  10.    1
  11.    5
  12.    
  13. with number (n, priority) as (
  14.   select 1 as n, 12 as t from sysibm.sysdummy1 -- recursive complex query
  15. )
  16. select n from number
  17. union all
  18. select 5 from sysibm.sysdummy1
  19. ORDER BY priority
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top