-- DBMS: snowflake
create or replace TABLE CLINICAL_GDC_R26 (
	"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_R26" (diag__secondary_gleason_grade, diag__ajcc_clinical_t, diag__ann_arbor_b_symptoms, updated_datetime, exp__alcohol_history, diag__created_datetime, diag__ajcc_pathologic_stage, diag__masaoka_stage, diag__prior_treatment, demo__year_of_death, exp__weight, diag__figo_stage, diag__updated_datetime, diag__ajcc_pathologic_t, disease_type, primary_site, state, diag__igcccg_stage, diag__ann_arbor_extranodal_involvement, exp__bmi, diag__primary_diagnosis, diag__year_of_diagnosis, diag__treat__count, diag__ajcc_clinical_stage, demo__state, diag__site_of_resection_or_biopsy, diag__state, demo__days_to_birth, demo__race, diag__ajcc_staging_system_edition, diag__ajcc_clinical_n, demo__year_of_birth, exp__cigarettes_per_day, diag__tissue_or_organ_of_origin, diag__ann_arbor_clinical_stage, exp__height, demo__vital_status, diag__age_at_diagnosis, diag__progression_or_recurrence, submitter_id, exp__years_smoked, diag__classification_of_tumor, proj__project_id, case_id, exp__created_datetime, proj__name, demo__demographic_id, diag__ajcc_clinical_m, exp__pack_years_smoked, diag__morphology, diag__tumor_grade, diag__synchronous_malignancy, demo__created_datetime, demo__updated_datetime, diag__tumor_stage, diag__diagnosis_id, exp__exposure_id, exp__updated_datetime, demo__days_to_death, diag__days_to_last_follow_up, diag__primary_gleason_grade, demo__age_at_index, diag__ajcc_pathologic_m, diag__ajcc_pathologic_n, demo__ethnicity, diag__prior_malignancy, diag__last_known_disease_status, demo__gender, exp__state, diag__icd_10_code) VALUES (NULL, NULL, NULL, '2019-08-06T14:13:44.884705-05:00', 'Not Reported', NULL, 'Stage X', NULL, 'No', nan, NULL, NULL, '2019-08-08T16:19:58.650144-05:00', 'TX', 'Ductal and Lobular Neoplasms', 'Breast', 'released', NULL, NULL, NULL, 'Lobular carcinoma, NOS', 2004, 2, NULL, 'released', 'Breast, NOS', 'released', -20211.0, 'white', '6th', NULL, 1949, NULL, 'Breast, NOS', NULL, NULL, 'Alive', 20211, 'not reported', 'TCGA-3C-AAAU', NULL, 'not reported', 'TCGA-BRCA', '6e7d5ec6-a469-467c-b748-237353c23416', NULL, 'Breast Invasive Carcinoma', 'cee0a94c-1d9e-5650-a500-a6b021fe138d', NULL, NULL, '8520/3', 'not reported', 'No', NULL, '2019-07-31T21:21:01.590763-05:00', 'stage x', '8cfb8afb-b915-5255-865b-a5923f47b351', '72f0be98-dffa-5d35-88fe-f9ca774d6db0', '2019-07-31T21:21:01.590763-05:00', nan, 4047.0, NULL, 55, 'MX', 'NX', 'not hispanic or latino', 'no', 'not reported', 'female', 'released', 'C50.9'), (NULL, NULL, NULL, '2019-08-06T14:14:30.298341-05:00', 'Not Reported', NULL, 'Stage X', NULL, 'No', nan, NULL, NULL, '2019-08-08T16:22:07.499730-05:00', 'T2', 'Ductal and Lobular Neoplasms', 'Breast', 'released', NULL, NULL, NULL, 'Infiltrating duct carcinoma, NOS', 2009, 2, NULL, 'released', 'Breast, NOS', 'released', -14883.0, 'not reported', '6th', NULL, 1969, NULL, 'Breast, NOS', NULL, NULL, 'Alive', 14883, 'not reported', 'TCGA-A8-A09A', NULL, 'not reported', 'TCGA-BRCA', 'b205bba0-1870-4458-9088-8817e20389fe', NULL, 'Breast Invasive Carcinoma', '898d28a1-8d59-5bcb-a6d7-da38dadbeb55', NULL, NULL, '8500/3', 'not reported', 'No', NULL, '2019-07-31T21:26:00.447503-05:00', 'stage x', 'aa70622c-48e3-5826-a614-8f3304955055', 'cbc1f369-1323-52ec-bd75-cbe8375f457d', '2019-07-31T21:26:00.447503-05:00', nan, 304.0, NULL, 40, 'M0', 'NX', 'not reported', 'no', 'not reported', 'female', 'released', 'C50.9'), (NULL, NULL, NULL, '2019-08-06T14:15:27.659269-05:00', 'Not Reported', NULL, 'Stage X', NULL, 'No', 1998.0, NULL, NULL, '2019-08-08T16:24:46.807013-05:00', 'T2', 'Ductal and Lobular Neoplasms', 'Breast', 'released', NULL, NULL, NULL, 'Infiltrating duct carcinoma, NOS', 1997, 2, NULL, 'released', 'Breast, NOS', 'released', -21479.0, 'black or african american', '4th', NULL, 1939, NULL, 'Breast, NOS', NULL, NULL, 'Dead', 21479, 'not reported', 'TCGA-B6-A0WW', NULL, 'not reported', 'TCGA-BRCA', 'f02931f8-d72a-481d-b532-8b141dab115f', NULL, 'Breast Invasive Carcinoma', '5815ab99-6483-5522-8581-740b434a3216', NULL, NULL, '8500/3', 'not reported', 'No', NULL, '2019-07-31T22:03:34.607155-05:00', 'stage x', '9e8222ae-6c5b-5d76-99df-af644e4656e9', 'd07bf71a-996b-556b-8d39-3a54e7de7137', '2019-07-31T22:03:34.607155-05:00', 558.0, nan, NULL, 58, 'MX', 'N1b', 'not hispanic or latino', 'no', 'not reported', 'female', 'released', 'C50.9'), (NULL, NULL, NULL, '2019-08-06T14:15:27.659269-05:00', 'Not Reported', NULL, 'Stage X', NULL, 'No', nan, NULL, NULL, '2019-08-08T16:24:46.807013-05:00', 'TX', 'Ductal and Lobular Neoplasms', 'Breast', 'released', NULL, NULL, NULL, 'Infiltrating duct carcinoma, NOS', 1989, 2, NULL, 'released', 'Breast, NOS', 'released', -22449.0, 'black or african american', NULL, NULL, 1928, NULL, 'Breast, NOS', NULL, NULL, 'Alive', 22449, 'not reported', 'TCGA-B6-A0RE', NULL, 'not reported', 'TCGA-BRCA', '08da7c4c-3067-4bcf-9d7a-78566df72e69', NULL, 'Breast Invasive Carcinoma', 'c23ea384-a6c0-59e8-9156-861ee004bb44', NULL, NULL, '8500/3', 'not reported', 'No', NULL, '2019-07-31T21:30:52.133469-05:00', 'stage x', 'bd1910ec-4316-5dfa-b8a3-615a4ea5b944', 'dda74c27-8918-5614-9526-e339693e74a3', '2019-07-31T21:30:52.133469-05:00', nan, 7777.0, NULL, 61, 'M0', 'N0 (i-)', 'not hispanic or latino', 'no', 'not reported', 'female', 'released', 'C50.9'), (NULL, NULL, NULL, '2019-08-06T14:15:27.659269-05:00', 'Not Reported', NULL, 'Stage X', NULL, 'No', 1996.0, NULL, NULL, '2019-08-08T16:24:46.807013-05:00', 'T2', 'Ductal and Lobular Neoplasms', 'Breast', 'released', NULL, NULL, NULL, 'Intraductal papillary adenocarcinoma with invasion', 1992, 2, NULL, 'released', 'Breast, NOS', 'released', -32872.0, 'white', '3rd', NULL, 1902, NULL, 'Breast, NOS', NULL, NULL, 'Dead', 32872, 'not reported', 'TCGA-B6-A0IC', NULL, 'not reported', 'TCGA-BRCA', 'b804f7ae-da8f-4414-be11-f880f1859160', NULL, 'Breast Invasive Carcinoma', '94f127d7-5901-54b3-8d03-4e34170270f2', NULL, NULL, '8503/3', 'not reported', 'No', NULL, '2019-07-31T21:54:35.934301-05:00', 'stage x', 'a12be7b3-4b65-5bb7-83b1-4dc7b90359f8', 'ec5e8dfd-5f29-5f33-b1b9-f5fdbc2352d3', '2019-07-31T21:54:35.934301-05:00', nan, nan, NULL, 90, 'MX', 'NX', 'not hispanic or latino', 'no', 'not reported', 'female', 'released', 'C50.9');