You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


ClassSUNCORPALLIANZQBERACQ
1386.00386.00386.00n/a
2386.00386.00386.00n/a
3712.40712.40712.40n/a
4710.80705.40710.80n/a
578.0578.0578.05n/a
6432.40432.40432.40n/a
71218.301218.301218.30n/a
8A522.40522.40522.40n/a
8B522.40522.40522.40n/a
8C522.40522.40522.40n/a
9A477.20477.20477.20n/a
9B477.20477.20477.20n/a
10A base717.10717.10717.10n/a
+ per adult passenger seat over 758.4058.4058.40n/a
10B base965.70965.70965.70n/a
+ per adult passenger seat over 758.4058.4058.40n/a
11 base771.10771.10771.10n/a
+ per adult passenger seat over 741.0041.0041.00n/a
12316.30316.30316.30n/a
13396.20396.20396.20n/a
1491.7091.7091.70n/a
15375.50375.50375.50n/a
16615.00615.00615.00n/a
17184.80184.80184.80n/a
18n/an/an/an/a
19142.20142.20142.20n/a
20100.60100.60100.60n/a
21140.35140.35140.35n/a
2227.8027.8027.80n/a
23386.00386.00386.00n/a
2490.7090.7090.70n/a
25n/an/an/an/a
26708.20708.20708.20n/a

select CASE WHEN class LIKE '%seat%' THEN '+ per adult passenger seat over 7' ELSE class END AS Class, ISNULL(CAST(AAI AS VARCHAR),'n/a') AS SUNCORP,
ISNULL(CAST(ALLIANZ AS VARCHAR),'n/a') AS ALLIANZ ,
ISNULL(CAST(QBE AS VARCHAR),'n/a') AS QBE ,
ISNULL(CAST(RACQ AS VARCHAR),'n/a') AS RACQ
FROM (
select *
from
(
select period, rank, class, [insurer] , [gross_comm] AS premium
from [CTP_qld_import]
) src
pivot
(
SUM([premium])
for [insurer] in ([AAI], [ALLIANZ], [QBE], [RACQ])
) piv
) AS CTP
where period = 12 order by rank

  • No labels