code_junkie

Optimizing unions

Nov 12th, 2011
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. SELECT
  2. cos
  3. , SIN
  4. FROM
  5. ConSisHis2005
  6. union all
  7. SELECT
  8. cos
  9. , SIN
  10. FROM
  11. ConSisHis2006
  12. union all
  13. SELECT
  14. cos
  15. , SIN
  16. FROM
  17. ConSisHis2007
  18. UNION ALL
  19. SELECT
  20. cos
  21. , SIN
  22. FROM
  23. ConSisHis2008
Add Comment
Please, Sign In to add comment