I have two tables (Table A and Table B).
These have different number of columns - Say Table A has more columns.
How can I union these two table and get null
Add extra columns as null for the table having less columns like
Select Col1, Col2, Col3, Col4, Col5 from Table1 Union Select Col1, Col2, Col3, Null as Col4, Null as Col5 from Table2