I'm trying to write a query in Access 2003 that creates a new table based on the existing one. I'm using a Make Table Query.
Before:
NAME A_1 A_2 B_1 B_2
X 1 2 3 4
Y 5 6 7 8
AFTER
NAME Section Value1 Value2
X A 1 2
X B 3 4
Y A 5 6
Y B 7 8
Create a
SELECT
query which retrieves the A_1 and A_2 values from each row of your existing table:Then create a similar query which retrieves the B_1 and B_2 values, and
UNION
the twoSELECT
statements:From there, you can build a make table query based on the
UNION
query: