-- DBMS: snowflake
create or replace TABLE CLINICAL_GDC_2019_06 (
	"case_gdc_id" VARCHAR(16777216),
	"case_barcode" VARCHAR(16777216),
	"program_name" VARCHAR(16777216),
	"disease_code" VARCHAR(16777216),
	"project_short_name" VARCHAR(16777216),
	"age_at_diagnosis" NUMBER(38,0),
	"age_began_smoking_in_years" VARCHAR(16777216),
	"anatomic_neoplasm_subdivision" VARCHAR(16777216),
	"batch_number" NUMBER(38,0),
	"bcr" VARCHAR(16777216),
	"bmi" FLOAT,
	"clinical_M" VARCHAR(16777216),
	"clinical_N" VARCHAR(16777216),
	"clinical_stage" VARCHAR(16777216),
	"clinical_T" VARCHAR(16777216),
	"colorectal_cancer" VARCHAR(16777216),
	"country" VARCHAR(16777216),
	"days_to_birth" NUMBER(38,0),
	"days_to_death" NUMBER(38,0),
	"days_to_initial_pathologic_diagnosis" NUMBER(38,0),
	"days_to_last_followup" NUMBER(38,0),
	"days_to_last_known_alive" NUMBER(38,0),
	"days_to_submitted_specimen_dx" VARCHAR(16777216),
	"ethnicity" VARCHAR(16777216),
	"gender" VARCHAR(16777216),
	"gleason_score_combined" VARCHAR(16777216),
	"h_pylori_infection" VARCHAR(16777216),
	"height" NUMBER(38,0),
	"histological_type" VARCHAR(16777216),
	"history_of_colon_polyps" VARCHAR(16777216),
	"history_of_neoadjuvant_treatment" VARCHAR(16777216),
	"hpv_calls" VARCHAR(16777216),
	"hpv_status" VARCHAR(16777216),
	"icd_10" VARCHAR(16777216),
	"icd_o_3_histology" VARCHAR(16777216),
	"icd_o_3_site" VARCHAR(16777216),
	"lymphatic_invasion" VARCHAR(16777216),
	"lymphnodes_examined" VARCHAR(16777216),
	"lymphovascular_invasion_present" VARCHAR(16777216),
	"menopause_status" VARCHAR(16777216),
	"mononucleotide_and_dinucleotide_marker_panel_analysis_status" VARCHAR(16777216),
	"neoplasm_histologic_grade" VARCHAR(16777216),
	"new_tumor_event_after_initial_treatment" BOOLEAN,
	"number_of_lymphnodes_examined" NUMBER(38,0),
	"number_of_lymphnodes_positive_by_he" VARCHAR(16777216),
	"number_pack_years_smoked" NUMBER(38,0),
	"other_dx" VARCHAR(16777216),
	"other_malignancy_anatomic_site" VARCHAR(16777216),
	"other_malignancy_histological_type" VARCHAR(16777216),
	"other_malignancy_type" VARCHAR(16777216),
	"pathologic_M" VARCHAR(16777216),
	"pathologic_N" VARCHAR(16777216),
	"pathologic_stage" VARCHAR(16777216),
	"pathologic_T" VARCHAR(16777216),
	"person_neoplasm_cancer_status" VARCHAR(16777216),
	"pregnancies" VARCHAR(16777216),
	"primary_neoplasm_melanoma_dx" VARCHAR(16777216),
	"primary_therapy_outcome_success" VARCHAR(16777216),
	"psa_value" VARCHAR(16777216),
	"race" VARCHAR(16777216),
	"residual_tumor" VARCHAR(16777216),
	"stopped_smoking_year" NUMBER(38,0),
	"tobacco_smoking_history" NUMBER(38,0),
	"tss_code" VARCHAR(16777216),
	"tumor_tissue_site" VARCHAR(16777216),
	"tumor_type" VARCHAR(16777216),
	"venous_invasion" VARCHAR(16777216),
	"vital_status" VARCHAR(16777216),
	"weight" NUMBER(38,0),
	"year_of_diagnosis" NUMBER(38,0),
	"year_of_tobacco_smoking_onset" NUMBER(38,0)
);

INSERT INTO "TCGA"."TCGA_VERSIONED"."CLINICAL_GDC_2019_06" (menopause_status, lymphnodes_examined, histological_type, bmi, height, tobacco_smoking_history, clinical_stage, days_to_last_followup, neoplasm_histologic_grade, age_began_smoking_in_years, clinical_M, days_to_submitted_specimen_dx, residual_tumor, case_gdc_id, new_tumor_event_after_initial_treatment, lymphatic_invasion, number_pack_years_smoked, venous_invasion, days_to_last_known_alive, vital_status, days_to_birth, h_pylori_infection, batch_number, stopped_smoking_year, year_of_tobacco_smoking_onset, disease_code, number_of_lymphnodes_examined, colorectal_cancer, anatomic_neoplasm_subdivision, gleason_score_combined, other_dx, icd_10, history_of_colon_polyps, ethnicity, other_malignancy_type, program_name, days_to_death, pathologic_N, race, lymphovascular_invasion_present, psa_value, weight, tss_code, clinical_N, mononucleotide_and_dinucleotide_marker_panel_analysis_status, country, pathologic_stage, other_malignancy_histological_type, primary_neoplasm_melanoma_dx, tumor_tissue_site, pregnancies, case_barcode, age_at_diagnosis, icd_o_3_histology, project_short_name, year_of_diagnosis, icd_o_3_site, primary_therapy_outcome_success, pathologic_M, gender, other_malignancy_anatomic_site, history_of_neoadjuvant_treatment, hpv_calls, pathologic_T, person_neoplasm_cancer_status, hpv_status, days_to_initial_pathologic_diagnosis, number_of_lymphnodes_positive_by_he, tumor_type, clinical_T, bcr) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '61224b62-8dbd-48aa-bf15-6b04a05d12a5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'OV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-01-0639', NULL, NULL, 'TCGA-OV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'd020e685-0435-4b0a-b03f-45853e1c6eed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'LUAD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-17-Z032', NULL, NULL, 'TCGA-LUAD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '07bec7d7-0aab-4b09-a796-bf1602bf682c', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TGCT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-2G-AALS', NULL, NULL, 'TCGA-TGCT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '494d50b6-578e-441b-8195-4b4d26c0d810', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'LUAD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-17-Z016', NULL, NULL, 'TCGA-LUAD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'CESC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-PN-A8M9', NULL, NULL, 'TCGA-CESC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);