Whenever a "Union" is used, you must have the same number of selects in each union. Example: Select a, b, c from alphabet
union
select d,e
from alphabet
This would return an error because the number of selects in the first part do not match the second part.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.