I am using the attached Union Query which works fine but I need to tweak it a bit to add an additional column of data.
Code:
select 1 as temp,first([Order]) as Sequence,Question,"" as Response,"" as ResponseCriteria from table2
group by Question
UNION select 2 as temp, [Order],"",Response,ResponseCriteria from table2
ORDER BY [Sequence], temp;
I have Table2 as shown and when the code is run, it produces Output2 as shown. I am trying to figure out how to print the QuestionCriteria in a column next to the Question as shown in the DesiredOutput.
Thanks for any help!