Solved

Merge 3 Exact Tables into One Table in Access

Posted on 2013-10-25
2
428 Views
Last Modified: 2013-10-25
This is probably the simpliest of questions.  I have 3 tables that are the exact same, just with different data in them.  I need to combine the three into one table.  I do not know how to do this and I continue to get a syntax error in FROM clause.  Here is what I have done.
Created the following append query:

INSERT INTO [EQ ONLY ALL DATA]
SELECT *
FROM [EQ ONLY THE DATA]

INSERT INTO [EQ ONLY ALL DATA]
SELECT *
FROM [EQ ONLY AU & IT & MX & TA & PR]

INSERT INTO [EQ ONLY ALL DATA]
SELECT *
FROM [EQ ONLY CN,CL,HK,SA,MO,PT,SW,RO]
0
Comment
Question by:kateebebe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 39601581
use a union query, this will create the table   [EQ ONLY ALL DATA]


SELECT A.* Into [EQ ONLY ALL DATA]
From
(
SELECT *
FROM [EQ ONLY THE DATA]
Union ALL
SELECT *
FROM [EQ ONLY AU & IT & MX & TA & PR]
Union All
SELECT *
FROM [EQ ONLY CN,CL,HK,SA,MO,PT,SW,RO]
) As A
0
 

Author Closing Comment

by:kateebebe
ID: 39601592
THANK YOU!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question