--GDO kidney incidence code with --AGE CTE AGE_DATA as ( select * from GDO.age)--STAGE CTE , STAGE_DATA as ( select * from GDO.stage), tumour_cohort_kidney as ( select t.tumourid , t.diagnosisyear , case when substr(site_icd10_o2,1,1) = 'C' then 'Malignant kidney cancer' else 'Kidney tumours of uncertain behaviour' end as tumour_type , nvl(mg.cancer_type,'Renal cell carcinoma NOS') as tumour_type_2 , t.basisofdiagnosis , t.age, t.sex --- filter for 'stageable and staged' -- note that D-codes aren't stageable, but they aren't split by stage so this is OK for GDO purposes , case when t.stage_pi = 'Y' then substr(nvl(t.stage_best,'X'),1,1) when t.stage_pi = 'N' then 'X' else 'Fish!' end as stage_best from av2018.av_tumour_england t left outer join av2018.av_tumour_experimental_england te on t.tumourid = te.tumourid left outer join GDO.MORPH_KIDNEY mg on mg.morph_icdo3rev2011 = nvl(te.morph_icdo3rev2011,8000) and mg.behaviour_icdo3rev2011 = te.behaviour_icdo3rev2011 where t.ctry_code = 'E' and t.statusofregistration = 'F' and t.dedup_flag=1 and t.age between 0 and 200 and t.sex in (1,2) and t.diagnosisyear between 2013 and 2018 and (t.site_icd10_o2_3char = 'C64' or t.site_icd10_o2 = 'D410' or (t.site_icd10_o2 = 'D091' and te.site_icdo3rev2011_3char = 'C64') -- for AV2018 and 2017-2018 ONLY, also include clear cell tumours of renal pelvis -- will be able to remove this section for future snapshots, it is no longer needed -- we leave them in RP for 2013-2016, for 2017-2018 they are being fixed -- and in future there are validations preventing them -- just check there are no new tumours (2017 onwards) before removing this bit. or ((t.site_icd10_o2_3char = 'C65' or t.site_icd10_o2 = 'D411' or(t.site_icd10_o2 = 'D091' and te.site_icdo3rev2011_3char = 'C65')) and cancer_type like 'Clear cell RCC' and diagnosisyear between 2017 and 2018 )) --- this exclusion remains but is only necessary for 2013-2016 tumours, all cases for 2017 onwards will be fixed in CAS2007, and no new cases can be registered and nvl(mg.cancer_type,'Renal cell NOS') != 'Transitional cell carcinoma' ) , statisticofinterest_kidney as (select tumourid, 1 as statisticofinterest_kidney from tumour_cohort_kidney), tumour_cohort_linked_kidney AS ( SELECT * FROM tumour_cohort_kidney tc_kidney LEFT JOIN statisticofinterest_kidney ON statisticofinterest_kidney.tumourid = tc_kidney.tumourid LEFT JOIN AGE_DATA ON AGE_DATA.AGE = tc_kidney.AGE LEFT JOIN STAGE_DATA ON STAGE_DATA.STAGE_BEST = tc_kidney.STAGE_BEST LEFT JOIN GDO.basisofdiag ON GDO.basisofdiag.BASISOFDIAGNOSIS = tc_kidney.BASISOFDIAGNOSIS) , extractpartition_kidney as ( SELECT '2013' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' UNION ALL SELECT '2013' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2013' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2014' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' UNION ALL SELECT '2014' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2014' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2015' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' UNION ALL SELECT '2015' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2015' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2016' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' UNION ALL SELECT '2016' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2016' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2017' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' UNION ALL SELECT '2017' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2017' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2018' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' UNION ALL SELECT '2018' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR = '2018' AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2013-2015' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 UNION ALL SELECT '2013-2015' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2014-2016' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 UNION ALL SELECT '2014-2016' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2015-2017' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 UNION ALL SELECT '2015-2017' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' UNION ALL SELECT '2016-2018' AS "Year", 'All' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 UNION ALL SELECT '2016-2018' AS "Year", 'Kidney tumours of uncertain behaviour' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Kidney tumours of uncertain behaviour' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'All' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Chromophobe RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Chromophobe RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 00-49' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 00-49' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 50-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 50-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 70-79' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 3' AND SPLIT_50_70_80 = 'Age 80+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 00-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Clear cell RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Clear cell RCC' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Other' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Other' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Papillary RCC' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Papillary RCC' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-59' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 60-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 1-2' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 1-2' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 3' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 3' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage 4' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage 4' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 00-69' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 00-69' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 70-79' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 70-79' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Renal cell carcinoma NOS' AS "Tumour Type 2", 'Not histologically confirmed' AS "Basis of Diagnosis", 'Stage unknown' AS "Stage", 'Age 80+' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Renal cell carcinoma NOS' AND BASISOFDIAG = 'Not histologically confirmed' AND STAGE_SPLIT23 = 'Stage unknown' AND SPLIT_70_80 = 'Age 80+' UNION ALL SELECT '2016-2018' AS "Year", 'Malignant kidney cancer' AS "Tumour Type", 'Wilms (Nephroblastoma)' AS "Tumour Type 2", 'All' AS "Basis of Diagnosis", 'All' AS "Stage", 'All' AS "Age", SUM(statisticofinterest_kidney) as statistic_of_interest FROM tumour_cohort_linked_kidney WHERE DIAGNOSISYEAR BETWEEN 2016 AND 2018 AND TUMOUR_TYPE = 'Malignant kidney cancer' AND TUMOUR_TYPE_2 = 'Wilms (Nephroblastoma)' ) , --Geography lookup lsoatoregionlookup as ( select distinct lsoa11, nhser17nm as Region from nspl_201805 left outer join ANALYSISNCR.CCG18_NHSER17_18_LKP_DATALAKE nr on nspl_201805.ccg = nr.ccgapr18cd where substr(lsoa11,1,1) = 'E') ,lsoatoalllookup as( select distinct lsoa11, 'All' as Region from nspl_201805 where substr(lsoa11,1,1) = 'E') , geoglookup as ( select * from lsoatoregionlookup union select * from lsoatoalllookup) --Sex lookup , sexlookup as ( select 1 as basesex, '1' as sex from dual union select 2 as basesex, '2' as sex from dual union select 1 as basesex, 'All' as sex from dual union select 2 as basesex, 'All' as sex from dual) --Year lookup --Select single years ,yearlookup as ( select n as baseyear , to_char(n) as year from (select rownum n from dual --Last year connect by level <=2018 ) --First year where n >=2013 UNION select n as baseyear ,'2013-2015' as year from (select rownum n from dual --Last year connect by level <=2015 ) --First year where n >=2013 UNION select n as baseyear ,'2014-2016' as year from (select rownum n from dual --Last year connect by level <=2016 ) --First year where n >=2014 UNION select n as baseyear ,'2015-2017' as year from (select rownum n from dual --Last year connect by level <=2017 ) --First year where n >=2015 UNION select n as baseyear ,'2016-2018' as year from (select rownum n from dual --Last year connect by level <=2018 ) --First year where n >=2016 ) --Age lookup , agelookup as ( select distinct floor(AGE/5)+1 as baseage, 'All' as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, FIVEYEARAGE as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_50_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, TENYEARAGE as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30_TO_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_50 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_50_TO_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_50_TO_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_70_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_50_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_50_70_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30_50_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30_50_70_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_60_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_60_TO_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_50_70_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30_50 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_30_TO_50 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_40 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_TO_40 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_25 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_25_50 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_40 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_35 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_40_TO_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_5_10_20_30_50_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_30_50_70 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_20_TO_90 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_60_70_75_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_70_75_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_13_25_40_60_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_25_40_60_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_25_40_60 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_25_40_TO_80 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_5_THEN_10 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_60 as age from AGE_DATA UNION select distinct floor(AGE/5)+1 as baseage, SPLIT_60_80 as age from AGE_DATA) --Populations table , population_table as ( select g.region, s.sex, y.year, a.age, sum(popcount) as popcount from ons2018.populations_normalised pops left outer join geoglookup g on pops.lsoa11 = g.lsoa11 left outer join sexlookup s on pops.sex = s.basesex left outer join yearlookup y on pops.year = y.baseyear left outer join agelookup a on pops.quinaryagegroupint = a.baseage group by g.region, s.sex, y.year, a.age ), kidney as( SELECT 'Kidney' AS "Cancer Site", "Year" AS "Year", "Tumour Type" AS "Tumour Type", "Tumour Type 2" AS "Tumour Type 2", 'All' AS "Tumour Type 3", "Basis of Diagnosis" AS "Basis of Diagnosis", case when "Stage" = 'All' then 'All stages' else "Stage" end AS "Stage", 'Not split by Stage Detail' AS "Stage Detail", 'Not split by Stage Detail 2' AS "Stage Detail 2", case when "Age" = 'All' then 'All ages' else "Age" end AS "Age", 'All England' AS "Region", 'Persons' AS "Sex", 'Not split by grade' AS "Grade", 'Not split by nodal status' AS "Nodal Status", statistic_of_interest as "Incidence", pops.popcount as "Population" from extractpartition_kidney ep left outer join population_table pops on ep."Year" = pops.year and ep."Age" = pops.age where pops.region ='All' and pops.sex='All' --End of code for kidney ) select * from kidney