I understand that MS Access does not 'Full Outer Join' function. I would like to combine two database into 1 big database.
An example is as follow:
In conclusion, I would like to have full outer join to combine all columns from two database into 1 big database. Please advise alternative for full outer join in Access.
Try this
select column1a,column2,coulmn3,column4,columna,'' as columnb from table1
union all
select column1b,column2,coulmn3,column4,'' as columna,columnb from table2
You don't want a FULL OUTER JOIN
, you want a UNION
.
SELECT Column1A as Column1, Column2, Column3, Column4, ColumnA, NULL AS ColumnB
FROM Table1
UNION ALL
SELECT Column1B, Column2, Column3, Column4, NULL, ColumnB
FROM Table2;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.