-- DBMS: snowflake
create or replace TABLE CLINICAL_GDC_R25 (
	"submitter_id" VARCHAR(16777216),
	"case_id" VARCHAR(16777216),
	"diag__treat__count" NUMBER(38,0),
	"primary_site" VARCHAR(16777216),
	"disease_type" VARCHAR(16777216),
	"proj__name" VARCHAR(16777216),
	"proj__project_id" VARCHAR(16777216),
	"demo__demographic_id" VARCHAR(16777216),
	"demo__gender" VARCHAR(16777216),
	"demo__race" VARCHAR(16777216),
	"demo__ethnicity" VARCHAR(16777216),
	"demo__vital_status" VARCHAR(16777216),
	"demo__days_to_birth" FLOAT,
	"demo__year_of_birth" NUMBER(38,0),
	"demo__age_at_index" NUMBER(38,0),
	"demo__year_of_death" NUMBER(38,0),
	"demo__days_to_death" FLOAT,
	"demo__state" VARCHAR(16777216),
	"demo__created_datetime" VARCHAR(16777216),
	"demo__updated_datetime" VARCHAR(16777216),
	"diag__diagnosis_id" VARCHAR(16777216),
	"diag__ajcc_clinical_n" VARCHAR(16777216),
	"diag__masaoka_stage" VARCHAR(16777216),
	"diag__ajcc_clinical_m" VARCHAR(16777216),
	"diag__primary_diagnosis" VARCHAR(16777216),
	"diag__primary_gleason_grade" VARCHAR(16777216),
	"diag__year_of_diagnosis" NUMBER(38,0),
	"diag__figo_stage" VARCHAR(16777216),
	"diag__progression_or_recurrence" VARCHAR(16777216),
	"diag__ajcc_pathologic_m" VARCHAR(16777216),
	"diag__site_of_resection_or_biopsy" VARCHAR(16777216),
	"diag__ajcc_staging_system_edition" VARCHAR(16777216),
	"diag__icd_10_code" VARCHAR(16777216),
	"diag__age_at_diagnosis" NUMBER(38,0),
	"diag__ajcc_clinical_t" VARCHAR(16777216),
	"diag__days_to_last_follow_up" FLOAT,
	"diag__ajcc_pathologic_stage" VARCHAR(16777216),
	"diag__tumor_grade" VARCHAR(16777216),
	"diag__last_known_disease_status" VARCHAR(16777216),
	"diag__ann_arbor_extranodal_involvement" VARCHAR(16777216),
	"diag__ajcc_clinical_stage" VARCHAR(16777216),
	"diag__secondary_gleason_grade" VARCHAR(16777216),
	"diag__synchronous_malignancy" VARCHAR(16777216),
	"diag__morphology" VARCHAR(16777216),
	"diag__ajcc_pathologic_t" VARCHAR(16777216),
	"diag__igcccg_stage" VARCHAR(16777216),
	"diag__classification_of_tumor" VARCHAR(16777216),
	"diag__ann_arbor_clinical_stage" VARCHAR(16777216),
	"diag__ann_arbor_b_symptoms" VARCHAR(16777216),
	"diag__tumor_stage" VARCHAR(16777216),
	"diag__prior_treatment" VARCHAR(16777216),
	"diag__ajcc_pathologic_n" VARCHAR(16777216),
	"diag__tissue_or_organ_of_origin" VARCHAR(16777216),
	"diag__prior_malignancy" VARCHAR(16777216),
	"diag__state" VARCHAR(16777216),
	"diag__created_datetime" VARCHAR(16777216),
	"diag__updated_datetime" VARCHAR(16777216),
	"exp__exposure_id" VARCHAR(16777216),
	"exp__height" FLOAT,
	"exp__weight" FLOAT,
	"exp__bmi" FLOAT,
	"exp__years_smoked" FLOAT,
	"exp__pack_years_smoked" FLOAT,
	"exp__cigarettes_per_day" FLOAT,
	"exp__alcohol_history" VARCHAR(16777216),
	"exp__state" VARCHAR(16777216),
	"exp__created_datetime" VARCHAR(16777216),
	"exp__updated_datetime" VARCHAR(16777216),
	"state" VARCHAR(16777216),
	"updated_datetime" VARCHAR(16777216)
);

INSERT INTO "TCGA"."TCGA_VERSIONED"."CLINICAL_GDC_R25" (diag__ajcc_pathologic_m, diag__state, diag__age_at_diagnosis, exp__created_datetime, exp__pack_years_smoked, diag__tumor_grade, exp__weight, diag__last_known_disease_status, diag__diagnosis_id, exp__cigarettes_per_day, exp__height, exp__years_smoked, diag__ann_arbor_clinical_stage, diag__secondary_gleason_grade, demo__gender, diag__ajcc_clinical_t, demo__race, exp__state, proj__name, diag__ajcc_pathologic_stage, demo__days_to_birth, exp__updated_datetime, primary_site, diag__ajcc_pathologic_t, diag__year_of_diagnosis, diag__ajcc_staging_system_edition, diag__prior_treatment, demo__year_of_death, demo__created_datetime, updated_datetime, diag__primary_diagnosis, diag__morphology, submitter_id, diag__site_of_resection_or_biopsy, diag__synchronous_malignancy, demo__ethnicity, diag__classification_of_tumor, demo__age_at_index, diag__prior_malignancy, diag__igcccg_stage, diag__ajcc_clinical_n, diag__primary_gleason_grade, diag__tumor_stage, diag__ajcc_clinical_m, demo__year_of_birth, diag__ann_arbor_b_symptoms, diag__progression_or_recurrence, demo__updated_datetime, diag__figo_stage, state, diag__ajcc_clinical_stage, diag__tissue_or_organ_of_origin, exp__alcohol_history, exp__bmi, case_id, diag__ann_arbor_extranodal_involvement, demo__demographic_id, diag__ajcc_pathologic_n, demo__vital_status, demo__state, diag__created_datetime, diag__icd_10_code, diag__updated_datetime, diag__days_to_last_follow_up, proj__project_id, diag__treat__count, diag__masaoka_stage, demo__days_to_death, exp__exposure_id, disease_type) VALUES ('MX', 'released', 29800, NULL, NULL, 'not reported', NULL, 'not reported', 'cd137203-ee96-54f9-a713-9cedb738d24e', NULL, NULL, NULL, NULL, NULL, 'female', NULL, 'not reported', 'released', 'Breast Invasive Carcinoma', 'Stage X', -29800.0, '2019-07-31T21:47:28.898395-05:00', 'Breast', 'T4b', 2008, '6th', 'No', nan, NULL, '2019-08-06T14:14:19.396452-05:00', 'Infiltrating duct carcinoma, NOS', '8500/3', 'TCGA-A8-A07E', 'Breast, NOS', 'Not Reported', 'not reported', 'not reported', 81, 'yes', NULL, NULL, NULL, 'stage x', NULL, 1927, NULL, 'not reported', '2019-07-31T21:47:28.898395-05:00', NULL, 'released', NULL, 'Breast, NOS', 'Not Reported', NULL, '853456d8-2367-404e-abc9-020fe8bbd209', NULL, '5b527883-990b-5c9e-a301-6afdfef1e9ae', 'N3a', 'Alive', 'released', NULL, 'C50.9', '2019-08-08T16:21:32.660138-05:00', 608.0, 'TCGA-BRCA', 2, NULL, NULL, '4b717e95-f6f0-535e-8db3-b713f42b3b3e', 'Ductal and Lobular Neoplasms'), ('M0', 'released', 14883, NULL, NULL, 'not reported', NULL, 'not reported', 'aa70622c-48e3-5826-a614-8f3304955055', NULL, NULL, NULL, NULL, NULL, 'female', NULL, 'not reported', 'released', 'Breast Invasive Carcinoma', 'Stage X', -14883.0, '2019-07-31T21:26:00.447503-05:00', 'Breast', 'T2', 2009, '6th', 'No', nan, NULL, '2019-08-06T14:14:30.298341-05:00', 'Infiltrating duct carcinoma, NOS', '8500/3', 'TCGA-A8-A09A', 'Breast, NOS', 'No', 'not reported', 'not reported', 40, 'no', NULL, NULL, NULL, 'stage x', NULL, 1969, NULL, 'not reported', '2019-07-31T21:26:00.447503-05:00', NULL, 'released', NULL, 'Breast, NOS', 'Not Reported', NULL, 'b205bba0-1870-4458-9088-8817e20389fe', NULL, '898d28a1-8d59-5bcb-a6d7-da38dadbeb55', 'NX', 'Alive', 'released', NULL, 'C50.9', '2019-08-08T16:22:07.499730-05:00', 304.0, 'TCGA-BRCA', 2, NULL, NULL, 'cbc1f369-1323-52ec-bd75-cbe8375f457d', 'Ductal and Lobular Neoplasms'), ('MX', 'released', 25355, NULL, NULL, 'not reported', NULL, 'not reported', '7f3f10a1-50c0-54fe-96be-6f294792ddda', NULL, NULL, NULL, NULL, NULL, 'female', NULL, 'not reported', 'released', 'Breast Invasive Carcinoma', 'Stage X', -25355.0, '2019-07-31T21:22:28.091532-05:00', 'Breast', 'T2', 2009, '6th', 'No', nan, NULL, '2019-08-06T14:14:30.298341-05:00', 'Infiltrating duct carcinoma, NOS', '8500/3', 'TCGA-A8-A09C', 'Breast, NOS', 'Not Reported', 'not reported', 'not reported', 69, 'yes', NULL, NULL, NULL, 'stage x', NULL, 1940, NULL, 'not reported', '2019-07-31T21:22:28.091532-05:00', NULL, 'released', NULL, 'Breast, NOS', 'Not Reported', NULL, '80f3f48a-cc21-415c-b181-c77e7ba1c563', NULL, 'a696eb4e-6327-5623-8c68-8b71b336c866', 'N0', 'Alive', 'released', NULL, 'C50.9', '2019-08-08T16:22:07.499730-05:00', 31.0, 'TCGA-BRCA', 2, NULL, NULL, 'cfaec1c2-587a-539b-ba8f-5920c8e378c8', 'Ductal and Lobular Neoplasms'), ('MX', 'released', 28063, NULL, NULL, 'not reported', NULL, 'not reported', 'ac4de228-4029-5115-a666-5560f6166b80', NULL, NULL, NULL, NULL, NULL, 'female', NULL, 'not reported', 'released', 'Breast Invasive Carcinoma', 'Stage X', -28063.0, '2019-07-31T22:01:30.125880-05:00', 'Breast', 'T4b', 2009, '6th', 'No', nan, NULL, '2019-08-06T14:14:30.298341-05:00', 'Infiltrating duct carcinoma, NOS', '8500/3', 'TCGA-A8-A099', 'Breast, NOS', 'No', 'not reported', 'not reported', 76, 'no', NULL, NULL, NULL, 'stage x', NULL, 1933, NULL, 'not reported', '2019-07-31T22:01:30.125880-05:00', NULL, 'released', NULL, 'Breast, NOS', 'Not Reported', NULL, 'e98b69bc-766a-485f-b5e8-9166b8d457b3', NULL, '5826870b-dcb8-5a6d-9007-c7a79e2f98e0', 'N3a', 'Alive', 'released', NULL, 'C50.9', '2019-08-08T16:22:07.499730-05:00', 304.0, 'TCGA-BRCA', 2, NULL, NULL, 'c807c394-967d-59db-96e1-e546746f7fc4', 'Ductal and Lobular Neoplasms'), ('MX', 'released', 32872, NULL, NULL, 'not reported', NULL, 'not reported', 'a12be7b3-4b65-5bb7-83b1-4dc7b90359f8', NULL, NULL, NULL, NULL, NULL, 'female', NULL, 'white', 'released', 'Breast Invasive Carcinoma', 'Stage X', -32872.0, '2019-07-31T21:54:35.934301-05:00', 'Breast', 'T2', 1992, '3rd', 'No', 1996.0, NULL, '2019-08-06T14:15:27.659269-05:00', 'Intraductal papillary adenocarcinoma with invasion', '8503/3', 'TCGA-B6-A0IC', 'Breast, NOS', 'No', 'not hispanic or latino', 'not reported', 90, 'no', NULL, NULL, NULL, 'stage x', NULL, 1902, NULL, 'not reported', '2019-07-31T21:54:35.934301-05:00', NULL, 'released', NULL, 'Breast, NOS', 'Not Reported', NULL, 'b804f7ae-da8f-4414-be11-f880f1859160', NULL, '94f127d7-5901-54b3-8d03-4e34170270f2', 'NX', 'Dead', 'released', NULL, 'C50.9', '2019-08-08T16:24:46.807013-05:00', nan, 'TCGA-BRCA', 2, NULL, NULL, 'ec5e8dfd-5f29-5f33-b1b9-f5fdbc2352d3', 'Ductal and Lobular Neoplasms');