我有一个名为TEST_HIST的表,每天更新一次,每次测试的通过/失败状态为1800次测试。该表位于Oracle 10中。
我需要生成以下报告,其中每个结果集出现在一列
中ID 05/07/13 05/08/13 05/09/13
A0001 PASS PASS PASS
G0002 FAIL FAIL FAIL
X0003 FAIL PASS PASS
表TEST_HIST如下所示:
ID, Date, Test_Result
'A0001','05/07/13','PASS'
'G0002','05/07/13','FAIL'
'X0003','05/07/13','FAIL'
'A0001','05/08/13','PASS'
'G0002','05/08/13','FAIL'
'X0003','05/08/13','PASS'
'A0001','05/09/13','PASS'
'G0002','05/09/13','FAIL'
'X0003','05/09/13','PASS'
谢谢。