I have a table that basically look like this:
Item# Test# Val1 Val2 Val3 Val4 Val5
12345 QA-01 12.1 12.2 13.2 NULL NULL
12345 QA-02 EX EX EX GD GD
12345 QA-03 45 32 52
45678 QA-02 EX GD EX GD EX
78945 QA-01 15 14 10
I need to put this is a report with columns by test#, with the values under the test number. I can do this, but the test numbers do not line up nicely. Is there a way to write the query so that I can make new columns with this data like :
Item# Test# QA01Val1 QA01Val2 QA01Val3 QA02Val1 QA02Val2 QA02Val3 QA02Val4 QA02Val5 QA03Val1 ...etc
Help, please..
Item# Test# Val1 Val2 Val3 Val4 Val5
12345 QA-01 12.1 12.2 13.2 NULL NULL
12345 QA-02 EX EX EX GD GD
12345 QA-03 45 32 52
45678 QA-02 EX GD EX GD EX
78945 QA-01 15 14 10
I need to put this is a report with columns by test#, with the values under the test number. I can do this, but the test numbers do not line up nicely. Is there a way to write the query so that I can make new columns with this data like :
Item# Test# QA01Val1 QA01Val2 QA01Val3 QA02Val1 QA02Val2 QA02Val3 QA02Val4 QA02Val5 QA03Val1 ...etc
Help, please..