-- DBMS: snowflake
create or replace TABLE CLINICAL_TIER2_CURRENT (
	"COVID19_Current_Status" VARCHAR(16777216),
	"Cancer_Incidence_Location" VARCHAR(16777216),
	"COVID19_Occurrence_Indicator" VARCHAR(16777216),
	"Timepoint_Label" VARCHAR(16777216),
	"COVID19_Positive_Lab_Test_Indicator" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Lab_Tests_for_MMR_Status" VARCHAR(16777216),
	"Stop_Days_from_Index" VARCHAR(16777216),
	"Cancer_Incidence" VARCHAR(16777216),
	"Sentinel_Node_Positive_Assessment_Count" VARCHAR(16777216),
	"Ecig_vape_times_per_day" VARCHAR(16777216),
	"Known_Genetic_Predisposition_Mutation" VARCHAR(16777216),
	"COVID19_Cancer_Treatment_Followup" VARCHAR(16777216),
	"Prior_Sites_of_Radiation" VARCHAR(16777216),
	"Mutational_Signatures" VARCHAR(16777216),
	"Hereditary_Cancer_Predisposition_Syndrome" VARCHAR(16777216),
	"COVID19_Antibody_Testing" VARCHAR(16777216),
	"Sentinel_Lymph_Node_Count" VARCHAR(16777216),
	"COVID19_Complications_Severity" VARCHAR(16777216),
	"Satellite_Metastasis_Present_Indicator" VARCHAR(16777216),
	"Concomitant_Medication_Received_Type" VARCHAR(16777216),
	"Medically_Underserved_Area" VARCHAR(16777216),
	"Family_Member_Vital_Status_Indicator" VARCHAR(16777216),
	"Tumor_Extranodal_Extension_Indicator" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Medically_Underserved_Score" VARCHAR(16777216),
	"Country_of_Birth" VARCHAR(16777216),
	"Second_hand_smoke_exposure_years" VARCHAR(16777216),
	"Cancer_Associated_Gene_Mutations" VARCHAR(16777216),
	"HTAN_Participant_ID" VARCHAR(16777216),
	"Ecig_vape_30_day_use_num" VARCHAR(16777216),
	"Type_of_smoke_exposure_cumulative_years" VARCHAR(16777216),
	"Extent_of_Tumor_Resection" VARCHAR(16777216),
	"Other_Biopsy_Resection_Site" VARCHAR(16777216),
	"Mismatch_Repair_System_Status" VARCHAR(16777216),
	"Start_Days_from_Index" VARCHAR(16777216),
	"Chewing_tobacco_daily_use_count" VARCHAR(16777216),
	"Immunosuppression" VARCHAR(16777216),
	"Mode_of_Cancer_Detection" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Education_Level" VARCHAR(16777216),
	"Ecig_vape_use" VARCHAR(16777216),
	"Rural_vs_Urban" VARCHAR(16777216),
	"HTAN_Center" VARCHAR(16777216),
	"Manifest_Id" VARCHAR(16777216),
	"Manifest_Version" NUMBER(38,0)
);

INSERT INTO "HTAN_2"."HTAN"."CLINICAL_TIER2_CURRENT" (Cancer_Associated_Gene_Mutations, Chewing_tobacco_daily_use_count, Timepoint_Label, Medically_Underserved_Score, Ecig_vape_30_day_use_num, Sentinel_Node_Positive_Assessment_Count, entityId, HTAN_Center, COVID19_Positive_Lab_Test_Indicator, COVID19_Complications_Severity, Id, Known_Genetic_Predisposition_Mutation, Sentinel_Lymph_Node_Count, Tumor_Extranodal_Extension_Indicator, Component, Type_of_smoke_exposure_cumulative_years, Prior_Sites_of_Radiation, Education_Level, COVID19_Antibody_Testing, Medically_Underserved_Area, HTAN_Participant_ID, COVID19_Cancer_Treatment_Followup, Stop_Days_from_Index, Immunosuppression, Mutational_Signatures, Second_hand_smoke_exposure_years, COVID19_Current_Status, Other_Biopsy_Resection_Site, Concomitant_Medication_Received_Type, Cancer_Incidence, Ecig_vape_times_per_day, Hereditary_Cancer_Predisposition_Syndrome, Manifest_Id, Rural_vs_Urban, Family_Member_Vital_Status_Indicator, COVID19_Occurrence_Indicator, Lab_Tests_for_MMR_Status, Satellite_Metastasis_Present_Indicator, Manifest_Version, Ecig_vape_use, Mode_of_Cancer_Detection, Country_of_Birth, Cancer_Incidence_Location, Start_Days_from_Index, Mismatch_Repair_System_Status, Extent_of_Tumor_Resection) VALUES (NULL, NULL, 'Biopsy', NULL, NULL, NULL, 'syn29383917', 'HTAN DFCI', NULL, NULL, 'ce8b0842-92f2-44da-ae47-c66be32a14b1', NULL, NULL, NULL, 'ClinicalDataTier2', NULL, NULL, NULL, NULL, NULL, 'HTA5_1633', NULL, NULL, NULL, NULL, NULL, NULL, 'Liver', NULL, NULL, NULL, NULL, 'syn39259513', NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, '27841', NULL, NULL), (NULL, NULL, 'Biopsy', NULL, NULL, NULL, 'syn29383875', 'HTAN DFCI', NULL, NULL, '3b9f827c-ace1-438c-b835-56b88ad7257a', NULL, NULL, NULL, 'ClinicalDataTier2', NULL, NULL, NULL, NULL, NULL, 'HTA5_1905', NULL, NULL, NULL, NULL, NULL, NULL, 'pleural tissue', NULL, NULL, NULL, NULL, 'syn39259513', NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, '26496', NULL, NULL), (NULL, NULL, 'Biopsy', NULL, NULL, NULL, NULL, 'HTAN DFCI', NULL, NULL, 'fffa4c74-719f-496a-91fe-c6b70592d908', NULL, NULL, NULL, 'ClinicalDataTier2', NULL, NULL, NULL, NULL, NULL, 'HTA5_1537', NULL, NULL, NULL, NULL, NULL, NULL, 'Bone', NULL, NULL, NULL, NULL, 'syn39259513', NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, '23718', NULL, NULL), (NULL, NULL, 'Biopsy', NULL, NULL, NULL, 'syn29383894', 'HTAN DFCI', NULL, NULL, '722e010b-6a35-4ce4-8157-4ccf6555b5e7', NULL, NULL, NULL, 'ClinicalDataTier2', NULL, NULL, NULL, NULL, NULL, 'HTA5_1798', NULL, NULL, NULL, NULL, NULL, NULL, 'Lung', NULL, NULL, NULL, NULL, 'syn39259513', NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, '21542', NULL, NULL), (NULL, NULL, 'Biopsy', NULL, NULL, NULL, NULL, 'HTAN DFCI', NULL, NULL, '3aff335b-993f-45e1-8c6b-d881c292230d', NULL, NULL, NULL, 'ClinicalDataTier2', NULL, NULL, NULL, NULL, NULL, 'HTA5_1459', NULL, NULL, NULL, NULL, NULL, NULL, 'Lung', NULL, NULL, NULL, NULL, 'syn39259513', NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, '30550', NULL, NULL);