Access SQL to combine two queries into one single table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miss D
    New Member
    • Aug 2010
    • 11

    #1

    Access SQL to combine two queries into one single table

    I have run 2 queries in Access which has the same field names,

    Qry1:
    Mgr ID
    Mgr Name

    Qry2:
    Mgr ID
    Mgr Name

    how do I combine these two queries into a single table?
    Please help me with the code.

    Thanks.
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    Hi. Use a union query, which you will need to type in using the SQL View mode of the query editor:

    Code:
    SELECT * from qry1 
    UNION
    SELECT * from qry2;
    -Stewart

    Comment

    Working...