-- DBMS: snowflake
CREATE TABLE GLOBAL_GOVERNMENT.CYBERSYN.AMERICAN_COMMUNITY_SURVEY_ATTRIBUTES (
    SERIES_LEVEL_2 TEXT,
    SERIES_TYPE TEXT,
    SERIES_ID TEXT,
    SERIES_LEVEL_5 TEXT,
    SERIES_LEVEL_4 TEXT,
    SERIES_LEVEL_3 TEXT,
    UNIT TEXT,
    MEASUREMENT_PERIOD TEXT,
    SERIES_LEVEL_1 TEXT,
    CENSUS_SUBJECT TEXT,
    SERIES_LEVEL_6 TEXT,
    VARIABLE_NAME TEXT,
    MEASURE TEXT,
    FREQUENCY TEXT,
    RACE TEXT,
    MEASUREMENT_TYPE TEXT,
    VARIABLE TEXT
);

INSERT INTO "GLOBAL_GOVERNMENT"."CYBERSYN"."AMERICAN_COMMUNITY_SURVEY_ATTRIBUTES" (SERIES_LEVEL_2, SERIES_TYPE, SERIES_ID, SERIES_LEVEL_5, SERIES_LEVEL_4, SERIES_LEVEL_3, UNIT, MEASUREMENT_PERIOD, SERIES_LEVEL_1, CENSUS_SUBJECT, SERIES_LEVEL_6, VARIABLE_NAME, MEASURE, FREQUENCY, RACE, MEASUREMENT_TYPE, VARIABLE) VALUES (NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over', 'B24122', NULL, NULL, NULL, 'Count', '5YR', 'Detectives and criminal investigators', 'Industry, Occupation, and Class of Worker', NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over: Population | Detectives and criminal investigators, 5yr Margin of Error (2018)', 'Population', 'Annual', NULL, 'Margin of Error', 'B24122_267M_5YR_2018'), (NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over', 'B24122', NULL, NULL, NULL, 'Count', '1YR', 'Dietetic technicians and ophthalmic medical technicians', 'Industry, Occupation, and Class of Worker', NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over: Population | Dietetic technicians and ophthalmic medical technicians, 1yr Margin of Error (2018)', 'Population', 'Annual', NULL, 'Margin of Error', 'B24122_238M_1YR_2018'), (NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over', 'B24122', NULL, NULL, NULL, 'Count', '5YR', 'Dietetic technicians and ophthalmic medical technicians', 'Industry, Occupation, and Class of Worker', NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over: Population | Dietetic technicians and ophthalmic medical technicians, 5yr Margin of Error (2018)', 'Population', 'Annual', NULL, 'Margin of Error', 'B24122_238M_5YR_2018'), (NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over', 'B24122', NULL, NULL, NULL, 'Count', '5YR', 'Directors, religious activities and education', 'Industry, Occupation, and Class of Worker', NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over: Population | Directors, religious activities and education, 5yr Estimate (2018)', 'Population', 'Annual', NULL, 'Estimate', 'B24122_147E_5YR_2018'), (NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over', 'B24122', NULL, NULL, NULL, 'Count', '1YR', 'Dishwashers', 'Industry, Occupation, and Class of Worker', NULL, 'Detailed Occupation By Median Earnings In The Past 12 Months (In 2018 Inflation-Adjusted Dollars) For The Full-Time, Year-Round Civilian Employed Male Population 16 Years And Over: Population | Dishwashers, 1yr Estimate (2018)', 'Population', 'Annual', NULL, 'Estimate', 'B24122_287E_1YR_2018');