Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. INSERT OVERWRITE TABLE company
  2. SELECT id, location FROM
  3. (SELECT id, "newyork" AS location from employee where id=50)
  4. UNION ALL
  5. (SELECT id, location from company where id >50 and id <50);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement