Guest User

Untitled

a guest
Nov 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. select * into temp from
  2. select *, 'I' as flag from (
  3. select * from A
  4. except
  5. select * from B ) a
  6. union
  7. select *, 'D' as flag from (
  8. select * from B
  9. except
  10. select * from A ) b
  11. ORDER BY X1,X2
Add Comment
Please, Sign In to add comment