-- 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_MITELMAN"."TCGA_VERSIONED"."CLINICAL_GDC_2019_06" (menopause_status, lymphnodes_examined, histological_type, bmi, tobacco_smoking_history, height, clinical_stage, age_began_smoking_in_years, case_gdc_id, neoplasm_histologic_grade, days_to_last_followup, residual_tumor, clinical_M, days_to_submitted_specimen_dx, new_tumor_event_after_initial_treatment, lymphatic_invasion, venous_invasion, number_pack_years_smoked, vital_status, days_to_birth, days_to_last_known_alive, h_pylori_infection, batch_number, disease_code, stopped_smoking_year, year_of_tobacco_smoking_onset, number_of_lymphnodes_examined, colorectal_cancer, anatomic_neoplasm_subdivision, other_dx, gleason_score_combined, history_of_colon_polyps, icd_10, other_malignancy_type, ethnicity, days_to_death, pathologic_N, program_name, race, lymphovascular_invasion_present, psa_value, weight, tss_code, clinical_N, pathologic_stage, mononucleotide_and_dinucleotide_marker_panel_analysis_status, country, tumor_tissue_site, pregnancies, primary_neoplasm_melanoma_dx, other_malignancy_histological_type, case_barcode, age_at_diagnosis, icd_o_3_histology, project_short_name, icd_o_3_site, year_of_diagnosis, primary_therapy_outcome_success, pathologic_M, gender, other_malignancy_anatomic_site, history_of_neoadjuvant_treatment, hpv_calls, pathologic_T, person_neoplasm_cancer_status, days_to_initial_pathologic_diagnosis, hpv_status, number_of_lymphnodes_positive_by_he, bcr, tumor_type, clinical_T) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '61224b62-8dbd-48aa-bf15-6b04a05d12a5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'OV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', 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, 'd020e685-0435-4b0a-b03f-45853e1c6eed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'LUAD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', 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, 'd682d35c-0ec5-4e6e-8349-ac2e39bec86f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'DLBC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-GZ-6638', NULL, NULL, 'TCGA-DLBC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '22a82b1a-c799-40d9-8ff4-09b093947263', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TGCT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-2G-AAKO', 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, '963609dd-91e5-475a-8826-438c178ff9f5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'OV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TCGA-72-4231', NULL, NULL, 'TCGA-OV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);