-- Tables required for this script are -- -- ANALYSISCHARLIETURNER.pancreas_morph -- ANALYSISCHARLIETURNER.stages -- ANALYSISCHARLIETURNER.ages -- ANALYSISCHARLIETURNER.geography -- This is the data that drives the latest pancreas partition (as of 2019-05-23, to cover all years 2013-2017) -- It is run on the av2017 table on CASREF01 (the end of year copy of CAS1902) -- It currently does incidence counts, but if you change the statistic of interest table it should count other things. WITH tumour_cohort as (select tumourid , nvl(morph_coded,'8000') as morph_coded , diagnosisyear , nvl(stage_best,'X') as stage_best , nhs_region_2017_name as region ,case when sex = 1 then 'Male' else 'Female' end as sex , age from av2017.av_tumour_england where site_icd10_o2 like 'C25%' -- standard filters and statusofregistration like 'F' -- finalised cases only and ctry_code like 'E' -- English cases only and dedup_flag= 1 -- Excluding duplicates and age between 0 and 200 -- Sensible age and sex in (1,2) -- Sex defined -- year filter and diagnosisyear between 2013 and 2017) , statisticofinterest as (select tumourid, 1 as statisticofinterest FROM tumour_cohort) , tumour_cohort_linked AS ( SELECT * FROM tumour_cohort tc LEFT JOIN statisticofinterest si ON si.tumourid = tc.tumourid LEFT JOIN ANALYSISCHARLIETURNER.pancreas_morph p_morph ON p_morph.MORPH_CODED = tc.MORPH_CODED LEFT JOIN ANALYSISCHARLIETURNER.stages ON ANALYSISCHARLIETURNER.stages.STAGE_BEST = tc.STAGE_BEST LEFT JOIN ANALYSISCHARLIETURNER.ages ON ANALYSISCHARLIETURNER.ages.AGE = tc.AGE ) , extractpartitions as ( SELECT 'All' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked UNION ALL SELECT '2013' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2013' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2013' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2013' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2013' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2013' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2014' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2014' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2014' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2014' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2014' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2015' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2016' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR = '2017' AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2013-2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2013-2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2013-2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2013-2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2013-2015' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2013 AND 2015 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2014-2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2014-2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2014-2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2014-2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2014-2016' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2014 AND 2016 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'All' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 1-2' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 1-2' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Male' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 3' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 3' AND SEX = 'Female' AND SPLIT_60_70 = 'Age 70+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 00-49' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 50-59' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'London' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 60-69' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'London' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 70-79' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'London' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'London' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'Midlands and East of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'Midlands and East of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'North of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'North Of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Male' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage 4' AS "Stage", 'South of England' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage 4' AND SPLIT_50_TO_80 = 'Age 80+' AND region = 'South of England' AND SEX = 'Female' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 00-59' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 70-79' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 70-79' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Male' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Male' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Carcinoma and Other' AS "Tumour Type", 'Stage unknown' AS "Stage", 'All' AS "Region", 'Female' AS "Sex", 'Age 80+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Carcinoma and Other' AND stage_split23 = 'Stage unknown' AND SEX = 'Female' AND SPLIT_60_TO_80 = 'Age 80+' UNION ALL SELECT '2015-2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'All' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Neuroendocrine' UNION ALL SELECT '2015-2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 00-49' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 00-49' UNION ALL SELECT '2015-2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 50-59' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 50-59' UNION ALL SELECT '2015-2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 60-69' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 60-69' UNION ALL SELECT '2015-2017' AS "Year", 'Neuroendocrine' AS "Tumour Type", 'All' AS "Stage", 'All' AS "Region", 'All' AS "Sex", 'Age 70+' AS "Age", SUM(statisticofinterest) as Incidence FROM tumour_cohort_linked WHERE DIAGNOSISYEAR BETWEEN 2015 AND 2017 AND morph_group = 'Neuroendocrine' AND SPLIT_50_TO_70 = 'Age 70+' ) , 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) /* reminding myself how dual works: select rownum from dual; select rownum from dual -- LAST YEAR NEEDED connect by level <= 3; */ ,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 look up -- This is hacky, there must be a better way? -- But it does produce a look up table for 2013-2017 -- and also the three year rolling groups for 2013-2017 ,yearlookup as ( select n as baseyear , to_char(n) as year from ( select rownum n from dual -- LAST YEAR NEEDED connect by level <= 2017 ) -- FIRST YEAR NEEDED where n >= 2013 UNION select n as baseyear , '2013-2015' as year from ( select rownum n from dual -- LAST YEAR NEEDED connect by level <= 2015 ) -- FIRST YEAR NEEDED where n >= 2013 UNION select n as baseyear , '2014-2016' as year from ( select rownum n from dual -- LAST YEAR NEEDED connect by level <= 2016 ) -- FIRST YEAR NEEDED where n >= 2014 UNION select n as baseyear , '2015-2017' as year from ( select rownum n from dual -- LAST YEAR NEEDED connect by level <= 2017 ) -- FIRST YEAR NEEDED where n >= 2015 ) -- Making age lookup. --select * from analysischarlieturner.ages; -- We don't have a systematic 'we definitely used this age partition' -- So we should assume any age partition in the age table could be being used. -- There are currently 30 age partitions. -- This is a bit tedious. -- You can at least get a list of them: /* select COLUMN_NAME from ALL_TAB_COLUMNS where owner = 'ANALYSISCHARLIETURNER' and TABLE_NAME = 'AGES' order by COLUMN_NAME; */ -- If I had grip, I would write some R to automate creating this table -- Instead I did it in Excel , agelookup as ( select distinct floor(AGES.AGE/5)+1 as baseage, 'All' as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_20_30_50_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_20_40 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_20_50_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_20_50_70_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_20_TO_40 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_25 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_25_50 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30_50 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30_50_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30_50_70_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30_TO_50 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_30_TO_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_35 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_40 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_40_TO_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_50 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_50_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_50_70_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_50_TO_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_50_TO_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_5_10_20_30_50_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_60_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_60_70_75_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_60_TO_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_70 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_70_75_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_70_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, SPLIT_80 as age from analysischarlieturner.ages UNION select distinct floor(AGES.AGE/5)+1 as baseage, TENYEARAGE as age from analysischarlieturner.ages) -- So, I have a region lookup, a sex lookup, a year lookup, and an age lookup. -- And some populations! Yay. Now just join them all together. -- We have no joins for the Welsh LSOAs and for the years before 2013. -- But that is what we wanted -- All ages and sexs have joined to something. , population_table as ( select g.region, s.sex, y.year, a.age, sum(popcount) as popcount from ons2017.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 ) select 'Pancreas' as "Cancer Site" ,"Year" as "Year" ,"Tumour Type" as "Tumour Type" , case when "Stage" = 'All' then 'All stages' else "Stage" end as "Stage" , case when "Age" = 'All' then 'All ages' else "Age" end as "Age" -- Region doesn't work, you need "Region" now. Odd odd odd , case when "Region" = 'All' then 'All England' else "Region" end as "Region" , case when "Sex" = 'All' then 'Persons' else "Sex" end as "Sex" , 'Not split by grade' as "Grade" , 'Not split by nodal status' as "Nodal Status" , Incidence as "Incidence" , pops.popcount as "Population" from extractpartitions ep left outer join population_table pops on ep."Year" = pops.year -- This is a hack because North Of is not North of and substr(ep."Region",1,4) = substr(pops.region,1,4) and (case when ep."Sex" = 'Male' then '1' when ep."Sex" = 'Female' then '2' else 'All' end) = pops.sex and ep."Age" = pops.age ;