I know union queries have to have the same number of columns. I\'m trying to get results from the table comments and results from the table strings
comments
strings
You would want to select columns as NULL to take up for the empty space in certain tables.
NULL
Table A: (id, column1)
Table B: (id, column1, column2)
Select id, column1, null as column2 from tableA UNION Select id, column1, column2 from tableB