Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. with recursive whole_bike as (
  2. select * from bicycle_parts
  3. where name = 'whole bicycle'
  4. union
  5. select part.*
  6. from whole_bike, part
  7. where
  8. whole_bike.id=part.part_of
  9. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement