Access Union Query Multiple Tables. Access provides a special type of query that you can use to vertically splice together the data from two or more tables. To build a union query.
Microsoft 365 and Office. Do not add any tables. Change the name to easily see from which mdb the come like TableA_A_mdbTableA_B_mdb etc Now create a new query and close the table selection popup to see the SQL selectiojn button top left.
Each of query could reference completely different sets of tables.
The query in question works in the original database but when I import it into a new database file the Union query does not work. SQL Structured Query Language sql. Now to normalize your db youll need to create additional table let us say tblCities with single field txtCity TypeText which will be the Primary Key add two records London and Bristol and then make PKFK relationship between tblCities and the merged table tblCitiestxtCity - PK tbl_mergedtabletxtCity - FK. I have tested the underlying nest queries and they do work.