Example tables:
Table_1
- value_a
- value_b
Table_2
- value_c
- value_d
- value_e
Trying to do this:
SELECT value_a, value_b UNION ALL SELECT value_c, value_d, value_e
Results in an error with non-matching column count.
Do I need a secondary query to get the other columns that I want, or if say using a JOIN clause will that reduce my query count to just one?
I was looking at this stackoverflow post.
The used SELECT statements have a different number of columns (REDUX!!)