SQL question: create table from a UNION query

amyjay123

New Member
Joined
May 20, 2004
Messages
14
I've got an (admittedly rather nasty) query which selects fields from multiple tables (let's call them 1, 2, 3) (which have common field names) and racks them on top of each other, alongside another table (called 'a'), where values in one 'a' field = a value in a corresponding field in 1, 2 or 3.

The only way I've managed to do this is the nasty UNION query, and I can't for the life of me figure out how to create a table from it (for which I would usually use SELECT INTO).

I'm fairly certain that this is a silly way of doing it, and I'm sure I'm too rubbish to understand any complex answers,

I'd really appreciate any help,

Amy
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
What if you create another query, specifically a Make-Table query, from this Union Query of yours?

If you take a look at Access' help on Action Queries, it should instruct you on how to build a Make-Table Query.
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,424
Members
451,765
Latest member
craigvan888

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top