-- DBMS: snowflake
create or replace TABLE CLINICAL_TIER1_EXPOSURE_CURRENT (
	"Smoke_Exposure_Duration" VARCHAR(16777216),
	"Type_of_Tobacco_Used" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Alcohol_Type" VARCHAR(16777216),
	"Alcohol_Intensity" VARCHAR(16777216),
	"Respirable_Crystalline_Silica_Exposure" VARCHAR(16777216),
	"Smokeless_Tobacco_Quit_Age" VARCHAR(16777216),
	"Type_of_Smoke_Exposure" VARCHAR(16777216),
	"Years_Smoked" VARCHAR(16777216),
	"Alcohol_Exposure" VARCHAR(16777216),
	"Coal_Dust_Exposure" VARCHAR(16777216),
	"Smoking_Frequency" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Time_between_Waking_and_First_Smoke" VARCHAR(16777216),
	"Alcohol_Drinks_Per_Day" VARCHAR(16777216),
	"Cigarettes_per_Day" VARCHAR(16777216),
	"HTAN_Participant_ID" VARCHAR(16777216),
	"Smoking_Exposure" VARCHAR(16777216),
	"Tobacco_Smoking_Status" VARCHAR(16777216),
	"Start_Days_from_Index" VARCHAR(16777216),
	"Radon_Exposure" VARCHAR(16777216),
	"Environmental_Tobacco_Smoke_Exposure" VARCHAR(16777216),
	"Pack_Years_Smoked" VARCHAR(16777216),
	"Tobacco_Smoking_Onset_Year" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Alcohol_History" VARCHAR(16777216),
	"Asbestos_Exposure" VARCHAR(16777216),
	"Tobacco_Use_per_Day" VARCHAR(16777216),
	"Tobacco_Smoking_Quit_Year" VARCHAR(16777216),
	"Alcohol_Days_Per_Week" VARCHAR(16777216),
	"Secondhand_Smoke_as_Child" VARCHAR(16777216),
	"HTAN_Center" VARCHAR(16777216),
	"Manifest_Id" VARCHAR(16777216),
	"Manifest_Version" NUMBER(38,0)
);

INSERT INTO "HTAN_2"."HTAN"."CLINICAL_TIER1_EXPOSURE_CURRENT" (Component, Environmental_Tobacco_Smoke_Exposure, Coal_Dust_Exposure, Tobacco_Smoking_Quit_Year, Pack_Years_Smoked, Alcohol_History, Type_of_Smoke_Exposure, Years_Smoked, Asbestos_Exposure, Manifest_Id, Smoking_Exposure, Time_between_Waking_and_First_Smoke, Smokeless_Tobacco_Quit_Age, Smoking_Frequency, Secondhand_Smoke_as_Child, Alcohol_Drinks_Per_Day, Tobacco_Smoking_Onset_Year, Alcohol_Exposure, Respirable_Crystalline_Silica_Exposure, Tobacco_Smoking_Status, Alcohol_Type, Tobacco_Use_per_Day, HTAN_Participant_ID, Radon_Exposure, Alcohol_Days_Per_Week, Start_Days_from_Index, Cigarettes_per_Day, Manifest_Version, entityId, Type_of_Tobacco_Used, Id, Smoke_Exposure_Duration, Alcohol_Intensity, HTAN_Center) VALUES ('Exposure', NULL, NULL, NULL, NULL, 'Not Reported', NULL, NULL, 'Not Reported', 'syn39051213', 'Not Reported', NULL, NULL, NULL, NULL, NULL, NULL, 'Not Reported', NULL, 'Not Reported', NULL, NULL, 'HTA11_99999915211', 'Not Reported', NULL, '0', NULL, 10, NULL, NULL, 'ba656a3a-852f-4fe1-8deb-355b74e47e3a', NULL, 'Not Reported', 'HTAN Vanderbilt'), ('Exposure', NULL, NULL, NULL, NULL, 'Not Reported', NULL, NULL, 'Not Reported', 'syn39051213', 'Not Reported', NULL, NULL, NULL, NULL, NULL, NULL, 'Not Reported', NULL, 'Not Reported', NULL, NULL, 'HTA11_99999945365', 'Not Reported', NULL, '0', NULL, 10, NULL, NULL, '38da8938-32b2-49dd-b7d8-b782e35f998d', NULL, 'Not Reported', 'HTAN Vanderbilt'), ('Exposure', NULL, NULL, NULL, NULL, 'Not Reported', NULL, NULL, 'Not Reported', 'syn39051213', 'Not Reported', NULL, NULL, NULL, NULL, NULL, NULL, 'Not Reported', NULL, 'Not Reported', NULL, NULL, 'HTA11_99999900222', 'Not Reported', NULL, '0', NULL, 10, NULL, NULL, '8eb9ebfe-9fc0-4b8b-a91a-e1af66df53ef', NULL, 'Not Reported', 'HTAN Vanderbilt'), ('Exposure', NULL, NULL, NULL, NULL, 'Not Reported', NULL, NULL, 'Not Reported', 'syn39051213', 'Not Reported', NULL, NULL, NULL, NULL, NULL, NULL, 'Not Reported', NULL, 'Not Reported', NULL, NULL, 'HTA11_99999915775', 'Not Reported', NULL, '0', NULL, 10, NULL, NULL, 'b7a96bcc-6139-43d0-9342-e3b85ce73398', NULL, 'Not Reported', 'HTAN Vanderbilt'), ('Exposure', NULL, NULL, NULL, NULL, 'Not Reported', NULL, NULL, 'Not Reported', 'syn39051213', 'Not Reported', NULL, NULL, NULL, NULL, NULL, NULL, 'Not Reported', NULL, 'Not Reported', NULL, NULL, 'HTA11_9999991971', 'Not Reported', NULL, '0', NULL, 10, NULL, NULL, 'ffe55fa9-8cb6-4ea5-af4f-41e3591619c3', NULL, 'Not Reported', 'HTAN Vanderbilt');