-- DBMS: snowflake
create or replace TABLE CLINICAL_CPTAC_TCGA_PDC_V1_9 (
	"case_id" VARCHAR(16777216),
	"case_submitter_id" VARCHAR(16777216),
	"project_submitter_id" VARCHAR(16777216),
	"primary_site" VARCHAR(16777216),
	"disease_type" VARCHAR(16777216),
	"demographic_id" VARCHAR(16777216),
	"demographic_submitter_id" VARCHAR(16777216),
	"race" VARCHAR(16777216),
	"ethnicity" VARCHAR(16777216),
	"gender" VARCHAR(16777216),
	"days_to_birth" NUMBER(38,0),
	"days_to_death" NUMBER(38,0),
	"year_of_birth" NUMBER(38,0),
	"year_of_death" NUMBER(38,0),
	"cause_of_death" VARCHAR(16777216),
	"vital_status" VARCHAR(16777216),
	"diagnosis_id" VARCHAR(16777216),
	"diagnosis_submitter_id" VARCHAR(16777216),
	"primary_diagnosis" VARCHAR(16777216),
	"age_at_diagnosis" NUMBER(38,0),
	"year_of_diagnosis" VARCHAR(16777216),
	"days_to_hiv_diagnosis" VARCHAR(16777216),
	"days_to_last_follow_up" NUMBER(38,0),
	"days_to_new_event" VARCHAR(16777216),
	"ajcc_clinical_m" VARCHAR(16777216),
	"ajcc_clinical_n" VARCHAR(16777216),
	"ajcc_clinical_stage" VARCHAR(16777216),
	"ajcc_clinical_t" VARCHAR(16777216),
	"ajcc_pathologic_m" VARCHAR(16777216),
	"ajcc_pathologic_n" VARCHAR(16777216),
	"ajcc_pathologic_stage" VARCHAR(16777216),
	"ajcc_pathologic_t" VARCHAR(16777216),
	"ann_arbor_b_symptoms" VARCHAR(16777216),
	"ann_arbor_clinical_stage" VARCHAR(16777216),
	"ann_arbor_extranodal_involvement" VARCHAR(16777216),
	"ann_arbor_pathologic_stage" VARCHAR(16777216),
	"burkitt_lymphoma_clinical_variant" VARCHAR(16777216),
	"circumferential_resection_margin" VARCHAR(16777216),
	"classification_of_tumor" VARCHAR(16777216),
	"colon_polyps_history" VARCHAR(16777216),
	"figo_stage" VARCHAR(16777216),
	"hiv_positive" VARCHAR(16777216),
	"hpv_positive_type" VARCHAR(16777216),
	"hpv_status" VARCHAR(16777216),
	"iss_stage" VARCHAR(16777216),
	"last_known_disease_status" VARCHAR(16777216),
	"laterality" VARCHAR(16777216),
	"ldh_level_at_diagnosis" VARCHAR(16777216),
	"ldh_normal_range_upper" VARCHAR(16777216),
	"lymph_nodes_positive" VARCHAR(16777216),
	"lymphatic_invasion_present" VARCHAR(16777216),
	"method_of_diagnosis" VARCHAR(16777216),
	"morphology" VARCHAR(16777216),
	"new_event_anatomic_site" VARCHAR(16777216),
	"new_event_type" VARCHAR(16777216),
	"perineural_invasion_present" VARCHAR(16777216),
	"prior_malignancy" VARCHAR(16777216),
	"prior_treatment" VARCHAR(16777216),
	"progression_or_recurrence" VARCHAR(16777216),
	"residual_disease" VARCHAR(16777216),
	"site_of_resection_or_biopsy" VARCHAR(16777216),
	"tissue_or_organ_of_origin" VARCHAR(16777216),
	"tumor_grade" VARCHAR(16777216),
	"tumor_stage" VARCHAR(16777216),
	"vascular_invasion_present" VARCHAR(16777216)
);

INSERT INTO "TCGA_MITELMAN"."TCGA_VERSIONED"."CLINICAL_CPTAC_TCGA_PDC_V1_9" (gender, prior_malignancy, morphology, site_of_resection_or_biopsy, ajcc_clinical_n, progression_or_recurrence, ldh_level_at_diagnosis, vascular_invasion_present, days_to_new_event, burkitt_lymphoma_clinical_variant, year_of_diagnosis, hiv_positive, days_to_hiv_diagnosis, project_submitter_id, demographic_submitter_id, hpv_status, ajcc_clinical_m, ajcc_clinical_t, ethnicity, primary_site, iss_stage, tumor_grade, new_event_anatomic_site, year_of_death, lymphatic_invasion_present, age_at_diagnosis, days_to_birth, ann_arbor_extranodal_involvement, vital_status, lymph_nodes_positive, primary_diagnosis, days_to_last_follow_up, tissue_or_organ_of_origin, prior_treatment, diagnosis_id, residual_disease, ldh_normal_range_upper, cause_of_death, classification_of_tumor, days_to_death, last_known_disease_status, race, ajcc_pathologic_n, ann_arbor_clinical_stage, ajcc_pathologic_m, new_event_type, case_id, perineural_invasion_present, figo_stage, ajcc_clinical_stage, tumor_stage, ajcc_pathologic_stage, method_of_diagnosis, ann_arbor_pathologic_stage, case_submitter_id, hpv_positive_type, circumferential_resection_margin, laterality, disease_type, year_of_birth, demographic_id, ann_arbor_b_symptoms, ajcc_pathologic_t, diagnosis_submitter_id, colon_polyps_history) VALUES ('Female', 'No', '8500/3', 'Breast, NOS', 'Not Reported', 'Not Reported', '--', 'Not Reported', '--', 'Not Reported', '2009', '--', '--', 'CPTAC-TCGA', 'TCGA-A2-A0YF-DM', '--', 'Not Reported', 'Not Reported', 'Not Hispanic or Latino', 'Breast', 'Not Reported', 'Not Reported', '--', NULL, 'Not Reported', 24660, -24660, 'Not Reported', 'Alive', '--', 'Infiltrating duct carcinoma, NOS', 1535, 'Breast, NOS', 'No', 'ff3135cf-70ca-11e8-bcf1-0a2705229b82', 'Not Reported', '--', NULL, 'Not Reported', NULL, 'Not Reported', 'Black or African American', 'N0 (i+)', 'Not Reported', 'M0', '--', '27bf90ad-63d8-11e8-bcf1-0a2705229b82', 'Not Reported', 'Not Reported', 'Not Reported', 'Stage I', 'Stage I', 'Not Reported', 'Not Reported', 'TCGA-A2-A0YF', '--', '--', 'Not Reported', 'Breast Invasive Carcinoma', 1942, 'f69c5ba5-7588-11e8-bcf1-0a2705229b82', 'Not Reported', 'T1b', 'TCGA-A2-A0YF-DX', '--'), ('Female', 'No', '8522/3', 'Breast, NOS', 'Not Reported', 'Not Reported', '--', 'Not Reported', '--', 'Not Reported', '2009', '--', '--', 'CPTAC-TCGA', 'TCGA-A2-A0YI-DM', '--', 'Not Reported', 'Not Reported', 'Not Hispanic or Latino', 'Breast', 'Not Reported', 'Not Reported', '--', NULL, 'Not Reported', 22961, -22961, 'Not Reported', 'Alive', '--', 'Infiltrating duct and lobular carcinoma', 1505, 'Breast, NOS', 'No', 'ff2f36af-70ca-11e8-bcf1-0a2705229b82', 'Not Reported', '--', NULL, 'Not Reported', NULL, 'Not Reported', 'White', 'N0 (i+)', 'Not Reported', 'M0', '--', '2a407548-63d8-11e8-bcf1-0a2705229b82', 'Not Reported', 'Not Reported', 'Not Reported', 'Stage I', 'Stage I', 'Not Reported', 'Not Reported', 'TCGA-A2-A0YI', '--', '--', 'Not Reported', 'Breast Invasive Carcinoma', 1947, 'f69baefb-7588-11e8-bcf1-0a2705229b82', 'Not Reported', 'T1c', 'TCGA-A2-A0YI-DX', '--'), ('Female', 'Yes', '8500/3', 'Breast, NOS', 'Not Reported', 'Not Reported', '--', 'Not Reported', '--', 'Not Reported', '2009', '--', '--', 'CPTAC-TCGA', 'TCGA-A7-A0CD-DM', '--', 'Not Reported', 'Not Reported', 'Not Hispanic or Latino', 'Breast', 'Not Reported', 'Not Reported', '--', NULL, 'Not Reported', 24242, -24242, 'Not Reported', 'Alive', '--', 'Infiltrating duct carcinoma, NOS', 1165, 'Breast, NOS', 'No', 'ff2ffe73-70ca-11e8-bcf1-0a2705229b82', 'Not Reported', '--', NULL, 'Not Reported', NULL, 'Not Reported', 'White', 'N0', 'Not Reported', 'M0', '--', '31d4b8ba-63d8-11e8-bcf1-0a2705229b82', 'Not Reported', 'Not Reported', 'Not Reported', 'Stage I', 'Stage I', 'Not Reported', 'Not Reported', 'TCGA-A7-A0CD', '--', '--', 'Not Reported', 'Breast Invasive Carcinoma', 1943, 'f69bf1b6-7588-11e8-bcf1-0a2705229b82', 'Not Reported', 'T1', 'TCGA-A7-A0CD-DX', '--'), ('Male', 'No', '8140/3', 'Sigmoid colon', 'Not Reported', 'Not Reported', '--', 'Not Reported', '--', 'Not Reported', '2009', '--', '--', 'CPTAC-TCGA', 'TCGA-AA-A01I-DM', '--', 'Not Reported', 'Not Reported', 'Not Reported', 'Colon', 'Not Reported', 'Not Reported', '--', NULL, 'Not Reported', 27759, -27759, 'Not Reported', 'Alive', '--', 'Adenocarcinoma, NOS', 943, 'Sigmoid colon', 'No', 'ff2c5d56-70ca-11e8-bcf1-0a2705229b82', 'Not Reported', '--', NULL, 'Not Reported', NULL, 'Not Reported', 'Not Reported', 'N0', 'Not Reported', 'M0', '--', '6ffd96e5-63d8-11e8-bcf1-0a2705229b82', 'Not Reported', 'Not Reported', 'Not Reported', 'Stage I', 'Stage I', 'Not Reported', 'Not Reported', 'TCGA-AA-A01I', '--', '--', 'Not Reported', 'Colon Adenocarcinoma', 1933, 'f69d0bfd-7588-11e8-bcf1-0a2705229b82', 'Not Reported', 'T2', 'TCGA-AA-A01I-DX', '--'), ('Male', 'No', '8140/3', 'Cecum', 'Not Reported', 'Not Reported', '--', 'Not Reported', '--', 'Not Reported', '2004', '--', '--', 'CPTAC-TCGA', 'TCGA-AA-A01V-DM', '--', 'Not Reported', 'Not Reported', 'Not Reported', 'Colon', 'Not Reported', 'Not Reported', '--', NULL, 'Not Reported', 21792, -21792, 'Not Reported', 'Alive', '--', 'Adenocarcinoma, NOS', 31, 'Cecum', 'No', 'ff2bf4db-70ca-11e8-bcf1-0a2705229b82', 'Not Reported', '--', NULL, 'Not Reported', NULL, 'Not Reported', 'Not Reported', 'N0', 'Not Reported', 'M0', '--', '77dfb88f-63d8-11e8-bcf1-0a2705229b82', 'Not Reported', 'Not Reported', 'Not Reported', 'Stage I', 'Stage I', 'Not Reported', 'Not Reported', 'TCGA-AA-A01V', '--', '--', 'Not Reported', 'Colon Adenocarcinoma', 1945, 'f69ccc5f-7588-11e8-bcf1-0a2705229b82', 'Not Reported', 'T2', 'TCGA-AA-A01V-DX', '--');