Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Merge 3 Exact Tables into One Table in Access

Posted on 2013-10-25
2
Medium Priority
?
452 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 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

609 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