T
T2B
Can something like this be done in Access? (I know this example will
fail, but is there a way to make it work?)
Can an Acces transform/pivot table be a subquery?
INSERT INTO tTableTwo(col1,col2)
SELECT b.col1, b.col2 FROM
(TRANSFORM First(a.xQTY) AS FirstOfxQTY
SELECT a.col1, a.col2
FROM tTableOne AS a
GROUP BY a.col1, a.col2
PIVOT a.Component In ("col1","col2")) AS b
fail, but is there a way to make it work?)
Can an Acces transform/pivot table be a subquery?
INSERT INTO tTableTwo(col1,col2)
SELECT b.col1, b.col2 FROM
(TRANSFORM First(a.xQTY) AS FirstOfxQTY
SELECT a.col1, a.col2
FROM tTableOne AS a
GROUP BY a.col1, a.col2
PIVOT a.Component In ("col1","col2")) AS b