I have two queries that produce the same columns but different rows. The first looks at an employee table and assigns a user role based on the employees department. Then the second looks at the property table joined with the employee table. If an employee’s ID is listed in the propertytable.SupervisingManager column it creates another user, one has already been created from the employee table, with an assigned role that has elevated permissions. I am exporting the query results to excel and they will be used to import users into a new management software. I can just run two exports and put them together into one spreadsheet but i would like to make this process as simple as possible for potential future exports. I should also mention i am using MS Access for a database.
Thanks
You can do that with a union query
Note: If you write only
UNIONinstead ofUNION ALLaccess returns onlyDISTINCTrows.You can add any number of sources