nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.CYBERSYN_FINANCIAL_ECONOMIC_INDICATORS_ATTRIBUTES (
    UNIT TEXT,
    RELEASE_SOURCE TEXT,
    MEASURE TEXT,
    FREQUENCY TEXT,
    MEASUREMENT_TYPE TEXT,
    VARIABLE_NAME TEXT,
    SEASONALLY_ADJUSTED TEXT,
    FRED_SERIES_ID TEXT,
    RELEASE_NAME TEXT,
    VARIABLE TEXT,
    INDUSTRY TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."CYBERSYN_FINANCIAL_ECONOMIC_INDICATORS_ATTRIBUTES" (UNIT, RELEASE_SOURCE, MEASURE, FREQUENCY, MEASUREMENT_TYPE, VARIABLE_NAME, SEASONALLY_ADJUSTED, FRED_SERIES_ID, RELEASE_NAME, VARIABLE, INDUSTRY) VALUES ('Percent', 'Bureau of Labor Statistics', 'Employment', 'Annual', 'Percent of employed within group', 'Current Labor Force: Employed full time - Lost-time Universe, Private wage and salary workers, excluding incorporated self employed, Management, administrative, and waste services, Percent of employed within group, Annual (Not seasonally adjusted)', 'Not seasonally adjusted', NULL, 'Current Population Survey (CPS)', 'LNU02574808.A_NSA', 'Management, Administrative, And Waste Services'), ('Count', 'Bureau of Labor Statistics', 'Employment', 'Quarterly', NULL, 'Current Labor Force: Employed - Durable goods manufacturing, White, Quarterly (Not seasonally adjusted)', 'Not seasonally adjusted', NULL, 'Current Population Survey (CPS)', 'LNU02038014Q.Q_NSA', 'Durable Goods Manufacturing'), ('Count', 'Bureau of Labor Statistics', 'Employment', 'Quarterly', NULL, 'Current Labor Force: Employed - Construction, Black or African American, Quarterly (Not seasonally adjusted)', 'Not seasonally adjusted', NULL, 'Current Population Survey (CPS)', 'LNU02038043Q.Q_NSA', 'Construction'), ('Count', 'Bureau of Labor Statistics', 'Employment', 'Quarterly', NULL, 'Current Labor Force: Employed - Nondurable goods manufacturing, Black or African American, Quarterly (Not seasonally adjusted)', 'Not seasonally adjusted', NULL, 'Current Population Survey (CPS)', 'LNU02042564Q.Q_NSA', 'Nondurable Goods Manufacturing'), ('Count', 'Bureau of Labor Statistics', 'Employment', 'Quarterly', NULL, 'Current Labor Force: Employed - Retail trade, White, Quarterly (Not seasonally adjusted)', 'Not seasonally adjusted', NULL, 'Current Population Survey (CPS)', 'LNU02038018Q.Q_NSA', 'Retail Trade');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.PUBLIC_HOLIDAY_CALENDAR (
    SUBDIVISION TEXT,
    HOLIDAY_NAME TEXT,
    ISO_ALPHA2 TEXT,
    IS_FINANCIAL BOOLEAN,
    DATE DATE,
    GEO_ID TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."PUBLIC_HOLIDAY_CALENDAR" (SUBDIVISION, HOLIDAY_NAME, ISO_ALPHA2, IS_FINANCIAL, DATE, GEO_ID) VALUES (NULL, 'Immaculate Conception''s Day', 'MC', False, '1999-12-08', 'country/MCO'), (NULL, 'Corpus Christi', 'MC', False, '2000-06-22', 'country/MCO'), (NULL, 'Prince''s Day', 'MC', False, '2000-11-19', 'country/MCO'), (NULL, 'Ascension''s Day', 'MC', False, '2001-05-24', 'country/MCO'), (NULL, 'All Saints'' Day', 'MC', False, '2001-11-01', 'country/MCO');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.NEWYORKFED_CONSUMER_ATTRIBUTES (
    VARIABLE_NAME TEXT,
    FREQUENCY TEXT,
    REPORT TEXT,
    UNIT TEXT,
    VARIABLE TEXT,
    MEASURE TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."NEWYORKFED_CONSUMER_ATTRIBUTES" (VARIABLE_NAME, FREQUENCY, REPORT, UNIT, VARIABLE, MEASURE) VALUES ('Current and Future Financial situation; Year ago; Somewhat worse off', 'Monthly', 'Survey of Consumer Expectations', 'Percent', 'current_and_future_financial_situation_year_ago_somewhat_worse_off', 'Current and Future Financial situation'), ('Debt delinquency expectations; Mean probability of not being able to make minimum debt payment over the next three months, by Demographics; Region Northeast', 'Monthly', 'Survey of Consumer Expectations', 'Mean Score', 'debt_delinquency_expectations_mean_probability_of_not_being_able_to_make_minimum_debt_payment_over_the_next_three_months_by_demographics_region_northeast', 'Debt delinquency expectations'), ('Distribution of three-year ahead expected inflation rate; [1,2)', 'Monthly', 'Survey of Consumer Expectations', 'Percent', 'distributions_of_one_year_three_year_and_five_year_ahead_inflation_expectations__distribution_of_three_year_ahead_expected_inflation_rate_12', 'Distribution of three-year ahead expected inflation rate'), ('Expectations of higher interest rates on savings accounts; Mean probability of higher average interest rate on savings accounts one year from now, by Demographics; Numeracy Low', 'Monthly', 'Survey of Consumer Expectations', 'Mean Score', 'expectations_of_higher_interest_rates_on_savings_accounts_mean_probability_of_higher_average_interest_rate_on_savings_accounts_one_year_from_now_by_demographics_numeracy_low', 'Expectations of higher interest rates on savings accounts'), ('Expectations of higher stock prices; Mean probability that U.S. stock prices will be higher one year from now, by Demographics; Region West', 'Monthly', 'Survey of Consumer Expectations', 'Mean Score', 'expectations_of_higher_stock_prices_mean_probability_that_us_stock_prices_will_be_higher_one_year_from_now_by_demographics_region_west', 'Expectations of higher stock prices');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.INTERNATIONAL_MONETARY_FUND_TIMESERIES (
    GEO_ID TEXT,
    VALUE FLOAT,
    UNIT TEXT,
    DATE DATE,
    VARIABLE TEXT,
    VARIABLE_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."INTERNATIONAL_MONETARY_FUND_TIMESERIES" (GEO_ID, VALUE, UNIT, DATE, VARIABLE, VARIABLE_NAME) VALUES ('country/FRA', 2238764366.3715, 'USD', '2017-12-31', 'balance_of_payments_current_account_primary_income_investment_income_portfolio_investment_investment_income_on_equity_and_investment_fund_shares_investment_income_attributable_to_investment_fund_shareholders_reinvested_earnings_debit_|_usd_|_annual', 'Balance Of Payments: Current Account, Primary Income, Investment Income, Portfolio Investment, Investment Income on Equity and Investment Fund Shares, Investment Income Attributable to Investment Fund Shareholders, Reinvested Earnings, Debit | USD | Annual'), ('country/LUX', 0.0, 'EUR', '2008-09-30', 'balance_of_payments_financial_account_other_investment_loans_net_acquisition_of_financial_assets_deposittaking_corporations_except_the_central_bank_shortterm_|_eur_|_quarterly', 'Balance Of Payments: Financial Account, Other Investment, Loans, Net Acquisition of Financial Assets, Deposit-taking Corporations, Except the Central Bank, Short-term | EUR | Quarterly'), ('country/GRD', 3.33333333333333, 'Percent', '1994-08-31', 'international_financial_statistics_fund_accounts_sdr_holdings_as_%_of_allocation_|_percent_percent_per_annum_|_monthly', 'International Financial Statistics: Fund Accounts, SDR Holdings as % of Allocation | Percent, Percent per annum | Monthly'), ('country/MAR', 19392718282.8283, 'Domestic Currency', '2011-07-31', 'international_financial_statistics_fiscal_budgetary_central_government_revenue_2001_manual_|_domestic_currency_|_monthly', 'International Financial Statistics: Fiscal, Budgetary Central Government, Revenue, 2001 Manual | Domestic Currency | Monthly'), ('country/RWA', 29000000000.0, 'Domestic Currency', '2006-12-31', 'international_financial_statistics_exports_of_services_nominal_unadjusted_|_domestic_currency_|_quarterly', 'International Financial Statistics: Exports of Services, Nominal, Unadjusted | Domestic Currency | Quarterly');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.GEOGRAPHY_OVERLAPS (
    GEO_ID TEXT,
    OVERLAPS_WITH TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."GEOGRAPHY_OVERLAPS" (GEO_ID, OVERLAPS_WITH) VALUES ('geoId/01001020900', 'zip/36022'), ('geoId/01003010100', 'zip/36480'), ('geoId/01003010701', 'zip/36527'), ('geoId/01003010703', 'zip/36526'), ('geoId/01003010704', 'zip/36527');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FHFA_MORTGAGE_PERFORMANCE_ATTRIBUTES (
    UNIT TEXT,
    VARIABLE_GROUP TEXT,
    FREQUENCY TEXT,
    VARIABLE TEXT,
    MARKET TEXT,
    VARIABLE_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FHFA_MORTGAGE_PERFORMANCE_ATTRIBUTES" (UNIT, VARIABLE_GROUP, FREQUENCY, VARIABLE, MARKET, VARIABLE_NAME) VALUES ('Percent', 'Percent 90 to 180 Days Past Due Date', 'Quarterly', 'Percent_90_to_180_Days_Past_Due_Date_Other Conventional Market', 'Other Conventional Market', 'Percent 90 to 180 Days Past Due Date - Other Conventional Market'), ('Percent', 'Percent 30 or 60 Days Past Due Date', 'Quarterly', 'Percent_30_or_60_Days_Past_Due_Date_Government / Non-Conventional', 'Government / Non-Conventional', 'Percent 30 or 60 Days Past Due Date - Government / Non-Conventional'), ('Percent', 'Percent in Forbearance', 'Quarterly', 'Percent_in_Forbearance_Government / Non-Conventional', 'Government / Non-Conventional', 'Percent in Forbearance - Government / Non-Conventional'), ('Percent', 'Percent in Forbearance', 'Quarterly', 'Percent_in_Forbearance_Other Conventional Market', 'Other Conventional Market', 'Percent in Forbearance - Other Conventional Market'), ('Percent', 'Percent 90 to 180 Days Past Due Date', 'Quarterly', 'Percent_90_to_180_Days_Past_Due_Date_Enterprise Acquisitions', 'Enterprise Acquisitions', 'Percent 90 to 180 Days Past Due Date - Enterprise Acquisitions');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FINANCIAL_INSTITUTION_HIERARCHY (
    CATEGORY_PARENT TEXT,
    CATEGORY_OFFSPRING TEXT,
    NAME_OFFSPRING TEXT,
    ID_RSSD_PARENT NUMBER,
    RELATIONSHIP_TERMINATED BOOLEAN,
    PERCENT_CONTROL_OF_OFFSPRING NUMBER,
    ACTIVE_OFFSPRING BOOLEAN,
    PARENT_CONTROLS_OFFSPRING BOOLEAN,
    ID_RSSD_OFFSPRING NUMBER,
    ACTIVE_PARENT BOOLEAN,
    NAME_PARENT TEXT,
    RELATIONSHIP_LEVEL TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FINANCIAL_INSTITUTION_HIERARCHY" (CATEGORY_PARENT, CATEGORY_OFFSPRING, NAME_OFFSPRING, ID_RSSD_PARENT, RELATIONSHIP_TERMINATED, PERCENT_CONTROL_OF_OFFSPRING, ACTIVE_OFFSPRING, PARENT_CONTROLS_OFFSPRING, ID_RSSD_OFFSPRING, ACTIVE_PARENT, NAME_PARENT, RELATIONSHIP_LEVEL) VALUES ('Bank', 'Other Financial Institution', 'BCI FINANCIAL', 407506, False, nan, True, True, 5858822, True, 'Ion Bank', 'Direct relationship'), ('Bank', 'Other Financial Institution', '1135 WEST 7TH STREET LLC, A CALIFORNIA LIMITED LIABILITY COMPANY', 3835454, False, nan, True, True, 5972876, True, 'Royal Business Bank', 'Direct relationship'), ('Branch', 'Other Financial Institution', 'ROCKY FORK INVESTMENTS', 3369007, True, 100.0, False, True, 4125107, False, 'Benchmark Bank', 'Direct relationship'), ('Bank', 'Other Financial Institution', 'NECB FINANCIAL SERVICES GROUP LLC', 823478, False, 100.0, True, True, 5782477, True, 'NorthEast Community Bank', 'Direct relationship'), ('Branch', 'Other Financial Institution', 'RED OAK CAPITAL CORPORATION', 467649, True, 80.0, False, True, 2010964, False, 'Firstar Bank Red Oak, National Association', 'Direct relationship');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.COMPANY_RELATIONSHIPS (
    COMPANY_NAME TEXT,
    RELATIONSHIP_TYPE TEXT,
    RELATIONSHIP_START_DATE DATE,
    RELATIONSHIP_END_DATE DATE,
    COMPANY_ID TEXT,
    ENTITY_LEVEL TEXT,
    RELATED_COMPANY_ID TEXT,
    RELATED_ENTITY_LEVEL TEXT,
    RELATED_COMPANY_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."COMPANY_RELATIONSHIPS" (COMPANY_NAME, RELATIONSHIP_TYPE, RELATIONSHIP_START_DATE, RELATIONSHIP_END_DATE, COMPANY_ID, ENTITY_LEVEL, RELATED_COMPANY_ID, RELATED_ENTITY_LEVEL, RELATED_COMPANY_NAME) VALUES ('WYNN RESORTS LTD', 'Parent', NULL, NULL, 'ca52d8c892a8ffe6e8368f2bd7a5fca7', 'Corporate', '5a2aaa890644211a8e69ad206ee9d4de', 'Corporate', 'WYNN LAS VEGAS LLC'), ('RITZ-CARLTON HOTEL COMPANY LLC', 'Subsidiary', NULL, NULL, '61042fb57d4bc5965ff4f0dfa55f3aa2', 'Corporate', 'd0d371457687b60bbb116b9fc9ae65ea', 'Corporate', 'MARRIOTT INTERNATIONAL INC /MD/'), ('TOWNEPLACE SUITES BY MARRIOTT', 'Subsidiary', NULL, NULL, '9d60e1934f9141a0991597d08181e126', 'Corporate', 'd0d371457687b60bbb116b9fc9ae65ea', 'Corporate', 'MARRIOTT INTERNATIONAL INC /MD/'), ('WYNDHAM HOTELS & RESORTS, INC.', 'Parent', NULL, NULL, 'b5647b2c2c12a1b09f5ce31802833f10', 'Corporate', '015a8a998d3e9492c6ff9ed4e452d802', 'Corporate', 'SUPER 8 WORLDWIDE, INC.'), ('COMCAST CORP', 'Parent', NULL, NULL, 'b00320b7fdfbd6ecdbe7379e1e1e1d61', 'Corporate', '36df5b636ad537c1a94fb35cd7c91f80', 'Corporate', 'FANDANGO MEDIA LLC');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.GEOGRAPHY_HIERARCHY (
    GEO_ID TEXT,
    PARENT_GEO_ID TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."GEOGRAPHY_HIERARCHY" (GEO_ID, PARENT_GEO_ID) VALUES ('geoId/1990033', 'geoId/19089'), ('geoId/25009206000', 'geoId/25'), ('zip/75232', 'country/USA'), ('geoId/06001450608', 'geoId/06'), ('geoId/5124752', 'geoId/51');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.GEOGRAPHY_RELATIONSHIPS (
    RELATED_GEO_NAME TEXT,
    RELATED_LEVEL TEXT,
    RELATIONSHIP_TYPE TEXT,
    RELATED_GEO_ID TEXT,
    GEO_ID TEXT,
    GEO_NAME TEXT,
    LEVEL TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."GEOGRAPHY_RELATIONSHIPS" (RELATED_GEO_NAME, RELATED_LEVEL, RELATIONSHIP_TYPE, RELATED_GEO_ID, GEO_ID, GEO_NAME, LEVEL) VALUES ('Block Group 3, Census Tract 4, Sumter County, South Carolina', 'CensusBlockGroup', 'Contains', 'censusBlockGroup/450850004003', 'geoId/45085', 'Sumter County', 'County'), ('Block Group 2; Census Tract 5035.10; Santa Clara County; California', 'CensusBlockGroup', 'Contains', 'censusBlockGroup/060855035102', 'geoId/06085503510', 'Census Tract 5035.10, Santa Clara County, California', 'CensusTract'), ('Census Tract 107.30, Sandoval County, New Mexico', 'CensusTract', 'Contains', 'geoId/35043010730', 'countrySubRegion/021', 'Northern America', 'CountrySubRegion'), ('Greater Vancouver', 'CensusDivision', 'Overlaps', 'statcanId/A00035915', 'statcanId/S051259150306', '59150306', 'DisseminationArea'), ('Guelph/Eramosa', 'CensusSubdivision', 'Overlaps', 'statcanId/A00053523009', 'statcanId/S051235230419', '35230419', 'DisseminationArea');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FHFA_UNIFORM_APPRAISAL_TIMESERIES (
    UNIT TEXT,
    VARIABLE_NAME TEXT,
    VARIABLE TEXT,
    GEO_ID TEXT,
    SUPPRESSED BOOLEAN,
    DATE DATE,
    VALUE FLOAT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FHFA_UNIFORM_APPRAISAL_TIMESERIES" (UNIT, VARIABLE_NAME, VARIABLE, GEO_ID, SUPPRESSED, DATE, VALUE) VALUES ('Percent', 'Annual % of Appraisals Above Contract Price Ratio of Tract Med. Inc. to MSA Med. Inc. Purchase Missing', 'Annual_%_of_Appraisals_Above_Contract_Price_Ratio_of_Tract_Med._Inc._to_MSA_Med._Inc._Purchase_Missing', 'geoId/C41740', False, '2015-12-31', 0.51), ('USD', 'Quarterly 25% Quartile of Appraised Value Year Built Purchase 1980 to 1989', 'Quarterly_25%_Quartile_of_Appraised_Value_Year_Built_Purchase_1980_to_1989', 'geoId/M19804', False, '2023-12-31', 264000.0), ('Percent', 'Annual Mean Comps Adjustment Percent Effective Age Purchase & Refinance 6 to 10 years', 'Annual_Mean_Comps_Adjustment_Percent_Effective_Age_Purchase_&_Refinance_6_to_10_years', 'geoId/C36540', False, '2023-12-31', 0.004), ('USD', 'Annual 25% Quartile of Appraised Value Refinance All Appraisals', 'Annual_25%_Quartile_of_Appraised_Value_Refinance_All_Appraisals', 'geoId/39153502101', False, '2021-12-31', 95500.0), ('Miles', 'Quarterly Mean Distance to Comps Number of Rooms Above Grade Refinance 7 Rooms', 'Quarterly_Mean_Distance_to_Comps_Number_of_Rooms_Above_Grade_Refinance_7_Rooms', 'geoId/M33874', False, '2021-03-31', 0.83);
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FHFA_HOUSE_PRICE_TIMESERIES (
    VALUE NUMBER,
    UNIT TEXT,
    DATE DATE,
    VARIABLE TEXT,
    GEO_ID TEXT,
    VARIABLE_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FHFA_HOUSE_PRICE_TIMESERIES" (VALUE, UNIT, DATE, VARIABLE, GEO_ID, VARIABLE_NAME) VALUES ('236.84', 'Index', '2009-09-30', 'FHFA_HPI_traditional_purchase-only_quarterly_NSA', 'geoId/53', 'FHFA_HPI traditional purchase-only quarterly Not Seasonally Adjusted'), ('65.97', 'Index', '1987-06-30', 'FHFA_HPI_traditional_all-transactions_quarterly_NSA', 'geoId/C22660', 'FHFA_HPI traditional all-transactions quarterly Not Seasonally Adjusted'), ('141.57', 'Index', '2005-03-31', 'FHFA_HPI_traditional_all-transactions_quarterly_NSA', 'geoId/C47580', 'FHFA_HPI traditional all-transactions quarterly Not Seasonally Adjusted'), ('142.64', 'Index', '1999-09-30', 'FHFA_HPI_traditional_purchase-only_quarterly_NSA', 'geoId/39', 'FHFA_HPI traditional purchase-only quarterly Not Seasonally Adjusted'), ('116.05', 'Index', '1998-12-31', 'FHFA_HPI_traditional_all-transactions_quarterly_NSA', 'geoId/C39580', 'FHFA_HPI traditional all-transactions quarterly Not Seasonally Adjusted');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.COMPANY_INDEX (
    PRIMARY_EXCHANGE_NAME TEXT,
    PRIMARY_TICKER TEXT,
    ENTITY_LEVEL TEXT,
    PERMID_COMPANY_ID TEXT,
    LEI ARRAY,
    COMPANY_ID TEXT,
    EIN TEXT,
    PRIMARY_EXCHANGE_CODE TEXT,
    GLOBAL_TICKERS ARRAY,
    COMPANY_NAME TEXT,
    CIK TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."COMPANY_INDEX" (PRIMARY_EXCHANGE_NAME, PRIMARY_TICKER, ENTITY_LEVEL, PERMID_COMPANY_ID, LEI, COMPANY_ID, EIN, PRIMARY_EXCHANGE_CODE, GLOBAL_TICKERS, COMPANY_NAME, CIK) VALUES (NULL, NULL, 'Corporate', '5087020389', NULL, '9cee45c58a4fdb6bb265552a0db62a00', NULL, NULL, NULL, 'VENDERA RESOURCES VI-A LP', '0002011467'), (NULL, NULL, 'Corporate', '5087193531', NULL, '7766ef904f8648e8b8ac520b7267d5b5', NULL, NULL, NULL, 'RT-AI I LLC', '0002018929'), (NULL, NULL, 'Corporate', '4297623383', NULL, 'bfd8994995275e9917290bc423536fd6', NULL, NULL, NULL, 'PANTHEON GLOBAL SECONDARY FUND III B L P', '0001371639'), (NULL, NULL, 'Corporate', '5057843478', NULL, '878d19cbba19e94e8645afbabd4a14c2', NULL, NULL, NULL, 'SCI NEW CAP WEST', NULL), (NULL, NULL, 'Corporate', '5067944874', NULL, 'fcff55343666f5399f3e288f4c38c46b', NULL, NULL, NULL, 'MADCAP MOTEL LOS ANGELES LLC', '0001766936');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_EMPLOYMENT_TIMESERIES (
    DATE DATE,
    VARIABLE_NAME TEXT,
    GEO_ID TEXT,
    VALUE FLOAT,
    VARIABLE TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."BUREAU_OF_LABOR_STATISTICS_EMPLOYMENT_TIMESERIES" (DATE, VARIABLE_NAME, GEO_ID, VALUE, VARIABLE) VALUES ('2013-04-30', 'Local Area Unemployment: Unemployment, Not seasonally adjusted, Monthly', 'geoId/31127', 169.0, 'Local_Area_Unemployment:_Unemployment,_Not_seasonally_adjusted,_Monthly'), ('2011-04-30', 'Local Area Unemployment: Unemployment Rate, Not seasonally adjusted, Monthly', 'geoId/22015', 0.051, 'Local_Area_Unemployment:_Unemployment_Rate,_Not_seasonally_adjusted,_Monthly'), ('2022-07-31', 'State and Metro Employment: All Employees, Financial Activities, Not seasonally adjusted, Monthly', 'geoId/C39820', 2900.0, 'State_and_Metro_Employment:_All_Employees,_Financial_Activities,_Not_seasonally_adjusted,_Monthly'), ('2022-03-31', 'Local Area Unemployment: Employment, Not seasonally adjusted, Monthly', 'geoId/51520', 7328.0, 'Local_Area_Unemployment:_Employment,_Not_seasonally_adjusted,_Monthly'), ('2024-01-31', 'State and Metro Employment: All Employees, Manufacturing, Not seasonally adjusted, Monthly', 'geoId/16', 76400.0, 'State_and_Metro_Employment:_All_Employees,_Manufacturing,_Not_seasonally_adjusted,_Monthly');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FINANCIAL_BRANCH_ENTITIES (
    CATEGORY TEXT,
    ID_COUNTRY TEXT,
    IS_ACTIVE BOOLEAN,
    ZIP_CODE TEXT,
    END_DATE DATE,
    STATE_ABBREVIATION TEXT,
    ID_COUNTY TEXT,
    CITY TEXT,
    ADDRESS_LINE2 TEXT,
    NAME_PARENT TEXT,
    ID_ZIP TEXT,
    ADDRESS TEXT,
    BRANCH_NAME TEXT,
    START_DATE DATE,
    ID_RSSD NUMBER,
    ID_RSSD_PARENT NUMBER,
    ID_STATE TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FINANCIAL_BRANCH_ENTITIES" (CATEGORY, ID_COUNTRY, IS_ACTIVE, ZIP_CODE, END_DATE, STATE_ABBREVIATION, ID_COUNTY, CITY, ADDRESS_LINE2, NAME_PARENT, ID_ZIP, ADDRESS, BRANCH_NAME, START_DATE, ID_RSSD, ID_RSSD_PARENT, ID_STATE) VALUES ('Branch', 'country/USA', True, '02653', NULL, 'MA', 'geoId/25001', 'ORLEANS', NULL, 'JPMORGAN CHASE BANK, NATIONAL ASSOCIATION', 'zip/02653', '9 WEST RD', 'ORLEANS', '2024-08-13', 5973668, 852218, 'geoId/25'), ('Branch', 'country/USA', False, '92626', '2024-08-27', 'CA', 'geoId/06059', 'COSTA MESA', NULL, 'WILMINGTON TRUST, NATIONAL ASSOCIATION', 'zip/92626', '650 TOWN CENTER DRIVE', 'COSTA MESA OFFICE', '2008-12-31', 4270061, 2265456, 'geoId/06'), ('Branch', 'country/USA', True, '11233', NULL, 'NY', 'geoId/36047', 'BROOKLYN', NULL, 'FLAGSTAR BANK, NATIONAL ASSOCIATION', 'zip/11233', '1911 ATLANTIC AVE', 'BEDFORD-STUYVESANT (BED-STUY)', '2024-07-22', 5971589, 694904, 'geoId/36'), ('Branch', 'country/USA', False, '63147', '2024-07-31', 'MO', 'geoId/29510', 'SAINT LOUIS', NULL, 'MIDWEST BANKCENTRE', 'zip/63147', '3529 NORTH BROADWAY', 'NORTH BROADWAY BRANCH', '1997-10-14', 2621520, 657459, 'geoId/29'), ('Branch', 'country/USA', False, '43230', '2024-08-16', 'OH', 'geoId/39049', 'GAHANNA', NULL, 'Benchmark Bank', 'zip/43230', '461 BEECHER ROAD', 'Benchmark Bank', '2005-08-01', 3369007, 780218, 'geoId/39');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.BANK_FOR_INTERNATIONAL_SETTLEMENTS_TIMESERIES (
    COUNTERPARTY_GEO_ID TEXT,
    GEO_ID TEXT,
    UNIT TEXT,
    VALUE FLOAT,
    DATE DATE,
    VARIABLE TEXT,
    VARIABLE_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."BANK_FOR_INTERNATIONAL_SETTLEMENTS_TIMESERIES" (COUNTERPARTY_GEO_ID, GEO_ID, UNIT, VALUE, DATE, VARIABLE, VARIABLE_NAME) VALUES ('country/TUR', NULL, 'USD', 7561000000.0, '2010-06-30', 'BIS,WS_LBS_D_PUB,1.0,Q.S.L.G.TO3.A.5J.A.5A.N.TR.N', 'All reporting countries - Cross-border Total liabilities of banks with headquarters in All countries (total) vis-a-vis residents of Turkey, Non-banks, total (Amounts outstanding / Stocks, Loans and deposits in All currencies (=D+F+U), All currencies excl. core, All reporting banks/institutions (domestic, foreign, consortium and unclassified)'), ('country/MWI', NULL, 'USD', 57000000.0, '1998-09-30', 'BIS,WS_LBS_D_PUB,1.0,Q.S.C.G.TO1.A.5J.A.5A.B.MW.N', 'All reporting countries - Cross-border Total claims of banks with headquarters in All countries (total) vis-a-vis residents of Malawi, Banks, total (Amounts outstanding / Stocks, Loans and deposits in All currencies (=D+F+U), All currencies, All reporting banks/institutions (domestic, foreign, consortium and unclassified)'), ('country/ETH', NULL, 'USD', -1230000.0, '1994-03-31', 'BIS,WS_LBS_D_PUB,1.0,Q.F.L.A.UN9.A.5J.A.5A.A.ET.N', 'All reporting countries - Cross-border Total liabilities of banks with headquarters in All countries (total) vis-a-vis residents of Ethiopia, All sectors (FX and break adjusted change (BIS calculated), All instruments in All currencies (=D+F+U), Unallocated currencies, All reporting banks/institutions (domestic, foreign, consortium and unclassified)'), ('country/TON', NULL, 'USD', 30000000.0, '2009-09-30', 'BIS,WS_LBS_D_PUB,1.0,Q.S.L.B.TO1.A.5J.A.5A.A.TO.N', 'All reporting countries - Cross-border Total liabilities of banks with headquarters in All countries (total) vis-a-vis residents of Tonga, All sectors (Amounts outstanding / Stocks, Credit (loans & debt securities) in All currencies (=D+F+U), All currencies, All reporting banks/institutions (domestic, foreign, consortium and unclassified)'), ('country/AUS', NULL, 'USD', -1417108000.0, '2010-03-31', 'BIS,WS_LBS_D_PUB,1.0,Q.F.C.G.UN9.A.5J.A.5A.B.AU.N', 'All reporting countries - Cross-border Total claims of banks with headquarters in All countries (total) vis-a-vis residents of Australia, Banks, total (FX and break adjusted change (BIS calculated), Loans and deposits in All currencies (=D+F+U), Unallocated currencies, All reporting banks/institutions (domestic, foreign, consortium and unclassified)');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES (
    GEO_ID TEXT,
    VALUE FLOAT,
    VARIABLE TEXT,
    VARIABLE_NAME TEXT,
    DATE DATE
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES" (GEO_ID, VALUE, VARIABLE, VARIABLE_NAME, DATE) VALUES ('censusRegion/03', 2.093, 'Average_Price:_All_Ham_(Excluding_Canned_Ham_and_Luncheon_Slices),_per_lb._(453.6_gm)', 'Average Price: All Ham (Excluding Canned Ham and Luncheon Slices), per lb. (453.6 gm)', '2001-06-30'), ('censusRegion/01', 4.556, 'Average_Price:_American_processed_cheese,_per_lb._(453.6_gm)', 'Average Price: American processed cheese, per lb. (453.6 gm)', '2007-08-31'), ('censusDivision/05', 126.853, 'CPI:_Services_less_rent_of_shelter,_Not_seasonally_adjusted,_Semi-annual,_2017-12_Index_Date', 'CPI: Services less rent of shelter, Not seasonally adjusted, Semi-annual, 2017-12 Index Date', '2024-06-30'), ('geoId/C42660', 153.3, 'CPI:_All_items_less_energy,_Not_seasonally_adjusted,_Semi-annual', 'CPI: All items less energy, Not seasonally adjusted, Semi-annual', '1994-12-31'), ('censusRegion/03', 98.0, 'CPI:_Gasoline,_unleaded_regular,_Not_seasonally_adjusted,_Monthly', 'CPI: Gasoline, unleaded regular, Not seasonally adjusted, Monthly', '1990-08-31');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.US_ECONOMIC_CENSUS_TIMESERIES (
    VARIABLE TEXT,
    UNIT TEXT,
    DATE TEXT,
    VALUE FLOAT,
    VARIABLE_NAME TEXT,
    GEO_ID TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."US_ECONOMIC_CENSUS_TIMESERIES" (VARIABLE, UNIT, DATE, VALUE, VARIABLE_NAME, GEO_ID) VALUES ('BENLGL_5629_2017', 'USD', '2017-12-31', 0.0, 'Employers cost for legally required fringe benefits | Remediation and other waste management services (NAICS 2017 code: 5629)', 'geoId/34039'), ('EMPAVPW_484220_2012', 'Count', '2012-12-31', 0.0, 'Production workers average for year | Specialized freight (except used goods) trucking, local (NAICS 2012 code: 484220)', 'geoId/1734670'), ('PCHADVT_56173_2012', 'USD', '2012-12-31', 0.0, 'Advertising and promotional services | Landscaping services (NAICS 2012 code: 56173)', 'geoId/5111032'), ('ASTEND_53121_2012', 'USD', '2012-12-31', 0.0, 'Gross value of depreciable assets (acquisition costs, end of year) | Offices of real estate agents and brokers (NAICS 2012 code: 53121)', 'geoId/0174592'), ('EMPQ3PW_53121_2017', 'Count', '2017-12-31', 0.0, 'Production workers for pay period including sept 12 | Offices of real estate agents and brokers (NAICS 2017 code: 53121)', 'geoId/0654848');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FDIC_SUMMARY_OF_DEPOSITS_ATTRIBUTES (
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    MEASURE TEXT,
    VARIABLE TEXT,
    MEASUREMENT_TYPE TEXT,
    FREQUENCY TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FDIC_SUMMARY_OF_DEPOSITS_ATTRIBUTES" (VARIABLE_NAME, UNIT, MEASURE, VARIABLE, MEASUREMENT_TYPE, FREQUENCY) VALUES ('Institutional Assets', 'USD', 'Assets Owned', 'ASSET', 'Institution', 'Annual'), ('Institutional Domestic Deposits', 'USD', 'Domestic Deposits', 'DEPDOM', 'Institution', 'Annual'), ('Institutional Deposits', 'USD', 'Deposits', 'DEPSUM', 'Institution', 'Annual'), ('Branch Deposits', 'USD', 'Deposits', 'DEPSUMBR', 'Branch', 'Annual'), ('Escrow Deposits', 'USD', 'Escrow Deposits', 'ESCROW', 'Institution', 'Annual');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FINANCIAL_INSTITUTION_TIMESERIES (
    VARIABLE TEXT,
    ID_RSSD TEXT,
    VALUE NUMBER,
    DATE DATE,
    VARIABLE_NAME TEXT,
    UNIT TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FINANCIAL_INSTITUTION_TIMESERIES" (VARIABLE, ID_RSSD, VALUE, DATE, VARIABLE_NAME, UNIT) VALUES ('P3OTHLNR', '582971', '0E-11', '1991-09-30', 'Other Loans, Past Due 30 - 89 Days', 'Percent'), ('DRLNLSQR', '1005655', '0.00020890000', '2008-06-30', 'Total Charge-Offs', 'Percent'), ('CRCINUSQR', '568470', '0E-11', '2015-06-30', 'To Non-U.S. Addressees', 'Percent'), ('EQCCOMPI', '321170', NULL, '1990-03-31', 'Other Comprehensive Income', 'USD'), ('DEPIDOMR', '21658', '0.78737600000', '2008-12-31', 'Interest-Bearing Deposits in Domestic Offices', 'Percent');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.OECD_TIMESERIES (
    VALUE FLOAT,
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    GEO_ID TEXT,
    VARIABLE TEXT,
    DATE DATE
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."OECD_TIMESERIES" (VALUE, VARIABLE_NAME, UNIT, GEO_ID, VARIABLE, DATE) VALUES (3361249000.0, 'Balance of payments to rest of the world: expenditure from secondary income in US dollars, exchange rate converted, Quarterly', 'USD', 'country/CAN', 'BAL_OF_PAY_D_IN2_USD_EXC__Z_Q_N', '2007-03-31'), (0.0, 'Balance of payments to rest of the world: revenue from gross acquisitions / disposals of nonproduced nonfinancial assets in Euro, Quarterly', 'EUR', 'country/LTU', 'BAL_OF_PAY_C_NP_XDC_EUR_Q_N', '2011-03-31'), (98.93938, 'OECD harmonised Composite Consumer Confidence, Index, Monthly (Amplitude adjusted)', 'Index', 'country/EST', 'CLI_H_CCICP__Z_IX__Z_IX_M_AA', '2012-06-30'), (94.93137, 'OECD harmonised Composite Business Confidence, Index, Monthly (Amplitude adjusted)', 'Index', 'country/GBR', 'CLI_H_BCICP__Z_IX__Z_IX_M_AA', '1991-03-31'), (333100000.0, 'Balance of payments to rest of the world: revenue from secondary income in US dollars, exchange rate converted, Monthly (Calendar and seasonally adjusted)', 'USD', 'country/KOR', 'BAL_OF_PAY_C_IN2_USD_EXC__Z_M_Y', '1999-06-30');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.GEOGRAPHY_INDEX (
    LEVEL TEXT,
    ISO_ALPHA2 TEXT,
    GEO_ID TEXT,
    ISO_3166_2_CODE TEXT,
    ISO_NUMERIC_CODE TEXT,
    ISO_ALPHA3 TEXT,
    GEO_NAME TEXT,
    ISO_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."GEOGRAPHY_INDEX" (LEVEL, ISO_ALPHA2, GEO_ID, ISO_3166_2_CODE, ISO_NUMERIC_CODE, ISO_ALPHA3, GEO_NAME, ISO_NAME) VALUES ('CensusBlockGroup', NULL, 'censusBlockGroup/450450043003', NULL, NULL, NULL, 'Block Group 3; Census Tract 43; Greenville County; South Carolina', NULL), ('CensusBlockGroup', NULL, 'censusBlockGroup/391559307002', NULL, NULL, NULL, 'Block Group 2; Census Tract 9307; Trumbull County; Ohio', NULL), ('CensusBlockGroup', NULL, 'censusBlockGroup/361031101023', NULL, NULL, NULL, 'Block Group 3, Census Tract 1101.02, Suffolk County, New York', NULL), ('CensusTract', NULL, 'geoId/39035138105', NULL, NULL, NULL, 'Census Tract 1381.05, Cuyahoga County, Ohio', NULL), ('CensusBlockGroup', NULL, 'censusBlockGroup/510650201013', NULL, NULL, NULL, 'Block Group 3; Census Tract 201.01; Fluvanna County; Virginia', NULL);
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FINANCIAL_FRED_TIMESERIES (
    VARIABLE TEXT,
    VALUE FLOAT,
    GEO_ID TEXT,
    DATE DATE,
    UNIT TEXT,
    VARIABLE_NAME TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FINANCIAL_FRED_TIMESERIES" (VARIABLE, VALUE, GEO_ID, DATE, UNIT, VARIABLE_NAME) VALUES ('Liabilities_and_Capital:_Total_Liabilities_and_Capital:_Total_Liabilities_and_Capital:_Wednesday_Level,_Not_seasonally_adjusted,_Weekly,_USD', 889757000000.0, 'country/USA', '2008-05-07', 'USD', 'Liabilities and Capital: Total Liabilities and Capital: Total Liabilities and Capital: Wednesday Level, Not seasonally adjusted, Weekly, USD'), ('Bank_of_Canada_Treasury_Bills_6_month', 1.64, 'country/CAN', '2018-08-15', 'Percent', 'Bank of Canada Treasury Bills: 6 month'), ('Liabilities_and_Capital:_Liabilities:_Other_Liabilities_and_Accrued_Dividends_and_Total_Deferred_Credit_Items:_Wednesday_Level_in_Federal_Reserve_District_3:_Philadelphia,_Not_seasonally_adjusted,_Weekly,_USD', 0.0, 'country/USA', '2005-07-27', 'USD', 'Liabilities and Capital: Liabilities: Other Liabilities and Accrued Dividends and Total Deferred Credit Items: Wednesday Level in Federal Reserve District 3: Philadelphia, Not seasonally adjusted, Weekly, USD'), ('Bank_of_Canada_Chartered_bank_daily_interest_savings_balance_over_100000', 11.77, 'country/CAN', '1989-08-23', 'Percent', 'Bank of Canada Chartered bank - daily interest savings (balance over $100,000)'), ('60-Day_AA_Nonfinancial_Commercial_Paper_Interest_Rate,_Not_seasonally_adjusted,_Daily,_Percent', 0.0088, 'country/USA', '2017-05-17', 'Percent', '60-Day AA Nonfinancial Commercial Paper Interest Rate, Not seasonally adjusted, Daily, Percent');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FINANCIAL_FRED_VARIABLE_SERIES_ID_CROSSWALK (
    SERIES_ID TEXT,
    GEO_ID TEXT,
    VARIABLE TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FINANCIAL_FRED_VARIABLE_SERIES_ID_CROSSWALK" (SERIES_ID, GEO_ID, VARIABLE) VALUES ('IPNMAT', 'country/USA', 'Industrial_Production:_Nondurable_Goods_Materials,_Seasonally_adjusted,_Monthly,_Index_2017=100'), ('IPFUELS', 'country/USA', 'Industrial_Production:_Nondurable_Energy_Consumer_Goods:_Fuels,_Seasonally_adjusted,_Monthly,_Index_2017=100'), ('H41RESPPAAEF07NWW', 'country/USA', 'Assets:_Liquidity_and_Credit_Facilities:_Net_Portfolio_Holdings_of_MS_Facilities_2020_LLC_(Main_Street_Lending_Program):_Wednesday_Level_in_Federal_Reserve_District_7:_Chicago,_Not_seasonally_adjusted,_Weekly,_USD'), ('JTSLDL', 'country/USA', 'Layoffs_and_Discharges:_Total_Nonfarm,_Seasonally_adjusted,_Monthly,_Level_in_Thousands'), ('PERMIT24', 'country/USA', 'New_Privately-Owned_Housing_Units_Authorized_in_Permit-Issuing_Places:_Units_in_Buildings_with_2-4_Units,_Seasonally_adjusted_annual_rate,_Monthly,_Units');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.FHFA_MORTGAGE_PERFORMANCE_TIMESERIES (
    DATE DATE,
    GEO_ID TEXT,
    UNIT TEXT,
    VARIABLE_NAME TEXT,
    VARIABLE TEXT,
    VALUE FLOAT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."FHFA_MORTGAGE_PERFORMANCE_TIMESERIES" (DATE, GEO_ID, UNIT, VARIABLE_NAME, VARIABLE, VALUE) VALUES ('2022-12-31', 'geoId/50', 'Percent', 'Percent in the Process of Foreclosure, Bankruptcy, or Deed in Lieu - Government / Non-Conventional', 'Percent_in_the_Process_of_Foreclosure,_Bankruptcy,_or_Deed_in_Lieu_Government / Non-Conventional', 0.003), ('2023-09-30', 'geoId/34', 'Percent', 'Percent in Forbearance - Enterprise Acquisitions', 'Percent_in_Forbearance_Enterprise Acquisitions', 0.002), ('2024-03-31', 'geoId/C12580', 'Percent', 'Percent 30 or 60 Days Past Due Date - All Mortgages', 'Percent_30_or_60_Days_Past_Due_Date_All Mortgages', 0.017), ('2020-12-31', 'geoId/02', 'Percent', 'Percent in Forbearance - Enterprise Acquisitions', 'Percent_in_Forbearance_Enterprise Acquisitions', 0.021), ('2024-03-31', 'geoId/C49180', 'Percent', 'Percent in the Process of Foreclosure, Bankruptcy, or Deed in Lieu - Government / Non-Conventional', 'Percent_in_the_Process_of_Foreclosure,_Bankruptcy,_or_Deed_in_Lieu_Government / Non-Conventional', 0.002);
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.INTERNATIONAL_MONETARY_FUND_ATTRIBUTES (
    FREQUENCY TEXT,
    MEASUREMENT_TYPE TEXT,
    MEASURE TEXT,
    UNIT TEXT,
    VARIABLE_NAME TEXT,
    VARIABLE TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."INTERNATIONAL_MONETARY_FUND_ATTRIBUTES" (FREQUENCY, MEASUREMENT_TYPE, MEASURE, UNIT, VARIABLE_NAME, VARIABLE) VALUES ('Quarterly', NULL, 'International Financial Statistics', 'Domestic Currency', 'International Financial Statistics: Fiscal, Budgetary Central Government, Revenue, Other Revenue, 2001 Manual, Cash | Domestic Currency | Quarterly', 'international_financial_statistics_fiscal_budgetary_central_government_revenue_other_revenue_2001_manual_cash_|_domestic_currency_|_quarterly'), ('Quarterly', NULL, 'International Financial Statistics', 'Domestic Currency', 'International Financial Statistics: Fiscal, Central Government, Revenue, Tax, 2001 Manual, Cash | Domestic Currency | Quarterly', 'international_financial_statistics_fiscal_central_government_revenue_tax_2001_manual_cash_|_domestic_currency_|_quarterly'), ('Quarterly', NULL, 'International Financial Statistics', 'Percent', 'International Financial Statistics: External Trade, Goods, Volume of Exports, Free on Board (FOB), Percentage change, corresponding period previous year | Percent | Quarterly', 'international_financial_statistics_external_trade_goods_volume_of_exports_free_on_board_(fob_percentage_change_corresponding_period_previous_year_|_percent_|_quarterly'), ('Monthly', NULL, 'International Financial Statistics', 'Percent', 'International Financial Statistics: Economic Activity, Industrial Production, Percentage change, Previous period | Percent | Monthly', 'international_financial_statistics_economic_activity_industrial_production_percentage_change_previous_period_|_percent_|_monthly'), ('Quarterly', NULL, 'International Financial Statistics', 'Domestic Currency', 'International Financial Statistics: Fiscal, Central Government, Assets and Liabilities, Financial Assets, Other Accounts Receivable, Classification of transactions in assets and liabilities, Transactions, 2001 Manual | Domestic Currency | Quarterly', 'international_financial_statistics_fiscal_central_government_assets_and_liabilities_financial_assets_other_accounts_receivable_classification_of_transactions_in_assets_and_liabilities_transactions_2001_manual_|_domestic_currency_|_quarterly');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.NEWYORKFED_CONSUMER_TIMESERIES (
    VARIABLE TEXT,
    UNIT TEXT,
    DATE DATE,
    VARIABLE_NAME TEXT,
    GEO_ID TEXT,
    VALUE FLOAT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."NEWYORKFED_CONSUMER_TIMESERIES" (VARIABLE, UNIT, DATE, VARIABLE_NAME, GEO_ID, VALUE) VALUES ('probability_of_different_inflation_outcomes_one_year_ahead_numeracy_high_0percent', 'Percent', '2024-07-31', 'Probability of Different Inflation Outcomes; One year ahead; Numeracy High; <0%', 'country/USA', 0.19138706206999997), ('inflation_uncertainty_median_one_year_ahead_uncertainty_and_median_three_year_ahead_uncertainty_by_demographics_region_west', 'Median Score', '2024-07-31', 'Inflation uncertainty; Median one-year ahead uncertainty and Median three-year ahead uncertainty, by Demographics; Region West', 'censusRegion/04', 3.322753668), ('one_year_ahead_household_income_growth_expectations_25th_percentile_point_prediction', '25th Percentile Score', '2024-07-31', 'One-year ahead household income growth expectations; 25th Percentile point prediction', 'country/USA', 1.18092072), ('change_in_credit_availability_year_ago_somewhat_harder', 'Percent', '2024-07-31', 'Change in credit availability; Year ago; Somewhat harder', 'country/USA', 0.37023681641000006), ('probability_of_different_inflation_outcomes_three_year_ahead_age_under_40_2_4percent', 'Percent', '2024-07-31', 'Probability of Different Inflation Outcomes; Three year ahead; Age Under 40; 2-4%', 'country/USA', 0.20577831268000002);
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.EUROPEAN_CENTRAL_BANK_ATTRIBUTES (
    SEASONALLY_ADJUSTED TEXT,
    ITEM_DESCRIPTION TEXT,
    VARIABLE TEXT,
    MEASURE TEXT,
    UNIT TEXT,
    GEO_COVERAGE TEXT,
    MEASUREMENT_TYPE TEXT,
    VARIABLE_NAME TEXT,
    SOURCE TEXT,
    FREQUENCY TEXT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."EUROPEAN_CENTRAL_BANK_ATTRIBUTES" (SEASONALLY_ADJUSTED, ITEM_DESCRIPTION, VARIABLE, MEASURE, UNIT, GEO_COVERAGE, MEASUREMENT_TYPE, VARIABLE_NAME, SOURCE, FREQUENCY) VALUES ('Not seasonally adjusted', 'Services Of Plumbers', 'harmonized_index_of_consumer_prices_services_of_plumbers_monthly_index_eurostat_neither_seasonally_nor_working_day_adjusted_index_2015=100', 'Harmonized Index Of Consumer Prices', 'Index, 2015=100', NULL, 'Index (Average of observations through period)', 'Harmonized Index Of Consumer Prices - Services Of Plumbers, Monthly Index, Eurostat, Neither Seasonally Nor Working Day Adjusted, Index, 2015=100', 'Eurostat', 'Monthly'), ('Not seasonally adjusted', 'Garments', 'harmonized_index_of_consumer_prices_garments_monthly_index_eurostat_neither_seasonally_nor_working_day_adjusted_index_2015=100', 'Harmonized Index Of Consumer Prices', 'Index, 2015=100', NULL, 'Index (Average of observations through period)', 'Harmonized Index Of Consumer Prices - Garments, Monthly Index, Eurostat, Neither Seasonally Nor Working Day Adjusted, Index, 2015=100', 'Eurostat', 'Monthly'), ('Not seasonally adjusted', 'Paper Products', 'harmonized_index_of_consumer_prices_paper_products_monthly_index_eurostat_neither_seasonally_nor_working_day_adjusted_index_2015=100', 'Harmonized Index Of Consumer Prices', 'Index, 2015=100', NULL, 'Index (Average of observations through period)', 'Harmonized Index Of Consumer Prices - Paper Products, Monthly Index, Eurostat, Neither Seasonally Nor Working Day Adjusted, Index, 2015=100', 'Eurostat', 'Monthly'), ('Not seasonally adjusted', 'Liquid Fuels And Fuels And Lubricants For Pers. Transport Equip.', 'harmonized_index_of_consumer_prices_liquid_fuels_and_fuels_and_lubricants_for_pers_transport_equip_monthly_index_eurostat_neither_seasonally_nor_working_day_adjusted_index_2015=100', 'Harmonized Index Of Consumer Prices', 'Index, 2015=100', NULL, 'Index (Average of observations through period)', 'Harmonized Index Of Consumer Prices - Liquid Fuels And Fuels And Lubricants For Pers. Transport Equip., Monthly Index, Eurostat, Neither Seasonally Nor Working Day Adjusted, Index, 2015=100', 'Eurostat', 'Monthly'), ('Not seasonally adjusted', 'Products For Pets', 'harmonized_index_of_consumer_prices_products_for_pets_monthly_index_eurostat_neither_seasonally_nor_working_day_adjusted_index_2015=100', 'Harmonized Index Of Consumer Prices', 'Index, 2015=100', NULL, 'Index (Average of observations through period)', 'Harmonized Index Of Consumer Prices - Products For Pets, Monthly Index, Eurostat, Neither Seasonally Nor Working Day Adjusted, Index, 2015=100', 'Eurostat', 'Monthly');
-- DBMS: snowflake
CREATE TABLE FINANCE__ECONOMICS.CYBERSYN.CYBERSYN_FINANCIAL_ECONOMIC_INDICATORS_TIMESERIES (
    UNIT TEXT,
    GEO_ID TEXT,
    DATE DATE,
    VARIABLE_NAME TEXT,
    VARIABLE TEXT,
    VALUE FLOAT
);

INSERT INTO "FINANCE__ECONOMICS"."CYBERSYN"."CYBERSYN_FINANCIAL_ECONOMIC_INDICATORS_TIMESERIES" (UNIT, GEO_ID, DATE, VARIABLE_NAME, VARIABLE, VALUE) VALUES ('1982-1984 USD per hour', 'country/USA', '1994-03-31', 'Current Employment: Average hourly earnings of production and nonsupervisory employees, 1982-84 dollars, construction of buildings, Monthly (Seasonally adjusted)', 'CES2023600032.M_SA', 9.32), ('USD per week', 'country/USA', '1992-10-31', 'Current Employment: Average weekly earnings of production and nonsupervisory employees, periodical publishers, Monthly (Seasonally adjusted)', 'CES5051312030.M_SA', 472.26), ('Count', 'country/USA', '2017-07-31', 'Current Employment: Production and nonsupervisory employees, industrial machinery manufacturing, Monthly (Seasonally adjusted)', 'CES3133320006.M_SA', 63600.0), ('Persons', 'geoId/21167', '1999-12-31', 'Local Area Unemployment: Unemployment, Not seasonally adjusted, Monthly', 'LAUSUE.M_NSA', 375.0), ('USD', 'country/USA', '2020-11-30', 'Current Employment: Aggregate weekly payrolls of production and nonsupervisory employees, grantmaking and giving services, Monthly (Not seasonally adjusted)', 'CEU8081320082.M_NSA', 153782000.0);
-- DBMS: snowflake
create or replace TABLE GENES (
	"biotype" VARCHAR(16777216),
	"chr" VARCHAR(16777216),
	"description" VARCHAR(16777216),
	"end" NUMBER(38,0),
	"exons" VARCHAR(16777216),
	"fwdstrand" NUMBER(38,0),
	"gene_id" VARCHAR(16777216),
	"gene_name" VARCHAR(16777216),
	"start" NUMBER(38,0),
	"tss" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_GENETICS_2"."OPEN_TARGETS_GENETICS"."GENES" (exons, biotype, description, chr, gene_id, start, end, fwdstrand, gene_name, tss) VALUES ('[105583731,105583853,105584133,105584368,105586999,105587331,105587554,105587874,105588089,105588395]', 'IG_C_gene', 'immunoglobulin heavy constant alpha 2 (A2m marker) [Source:HGNC Symbol;Acc:HGNC:5479]', '14', 'ENSG00000211890', 105583731, 105588395, 0, 'IGHA2', 105588395), ('[105597691,105597774,105597859,105597980,105600074,105600397,105600481,105600804,105600891,105601211,105601419,105601728]', 'IG_C_gene', 'immunoglobulin heavy constant epsilon [Source:HGNC Symbol;Acc:HGNC:5522]', '14', 'ENSG00000211891', 105597691, 105601728, 0, 'IGHE', 105601728), ('[105620506,105621995,105623068,105623198,105624484,105624798,105624896,105625225,105625344,105625379,105625772,105626066]', 'IG_C_gene', 'immunoglobulin heavy constant gamma 4 (G4m marker) [Source:HGNC Symbol;Acc:HGNC:5528]', '14', 'ENSG00000211892', 105620506, 105626066, 0, 'IGHG4', 105626066), ('[105639559,105641048,105641779,105641909,105643211,105643525,105643623,105643949,105644068,105644103,105644496,105644790]', 'IG_C_gene', 'immunoglobulin heavy constant gamma 2 (G2m marker) [Source:HGNC Symbol;Acc:HGNC:5526]', '14', 'ENSG00000211893', 105639559, 105644790, 0, 'IGHG2', 105644790), ('[105769657,105769986,105770105,105770149,105770293,105770337,105770481,105770525,105770669,105770719,105771112,105771405,105764503,105765997,105767813,105767943,105769245,105769559]', 'IG_C_gene', 'immunoglobulin heavy constant gamma 3 (G3m marker) [Source:HGNC Symbol;Acc:HGNC:5527]', '14', 'ENSG00000211897', 105764503, 105771405, 0, 'IGHG3', 105771405);
-- DBMS: snowflake
create or replace TABLE SA_MOLECULAR_TRAIT (
	"type_id" VARCHAR(16777216),
	"study_id" VARCHAR(16777216),
	"phenotype_id" VARCHAR(16777216),
	"gene_id" VARCHAR(16777216),
	"chrom" VARCHAR(16777216),
	"pos" NUMBER(38,0),
	"ref" VARCHAR(16777216),
	"alt" VARCHAR(16777216),
	"beta" FLOAT,
	"se" FLOAT,
	"pval" FLOAT,
	"n_total" NUMBER(38,0),
	"n_cases" NUMBER(38,0),
	"eaf" FLOAT,
	"mac" NUMBER(38,0),
	"mac_cases" NUMBER(38,0),
	"num_tests" NUMBER(38,0),
	"info" FLOAT,
	"is_cc" BOOLEAN,
	"bio_feature" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_GENETICS_2"."OPEN_TARGETS_GENETICS"."SA_MOLECULAR_TRAIT" (se, pos, n_total, alt, mac_cases, type_id, chrom, beta, n_cases, is_cc, phenotype_id, mac, gene_id, bio_feature, study_id, ref, info, num_tests, pval, eaf) VALUES (0.111384, 71812458, 167, 'A', NULL, 'eqtl', '15', -0.334174, NULL, False, 'ENSG00000213614', 5, 'ENSG00000213614', 'MACROPHAGE_SALMONELLA', 'Nedelec_2016', 'G', 0.9635, 7131, 0.00315092, 0.0149701), (0.0312722, 71812601, 387, 'T', NULL, 'eqtl', '15', -0.0903645, NULL, False, 'ENSG00000140463', 52, 'ENSG00000140463', 'ARTERY_AORTA', 'GTEx-eQTL', 'C', nan, 4533, 0.00408252, 0.0671835), (0.15385, 71812601, 167, 'T', NULL, 'eqtl', '15', 0.500991, NULL, False, 'ENSG00000175318', 27, 'ENSG00000175318', 'OVARY', 'GTEx-eQTL', 'C', nan, 4850, 0.00138982, 0.0808383), (0.11517771073028221, 71812601, 429, 'T', NULL, 'sqtl', '15', 0.34012895822525024, NULL, False, 'chr15^72727994^72729616^clu_20431^ENSG00000140463', 71, 'ENSG00000140463', 'Skin_Not_Sun_Exposed_Suprapubic', 'GTEx-sQTL', 'C', nan, 4063, 0.003329502696363603, 0.08255814015865326), (0.1515717132013503, 71812601, 180, 'T', NULL, 'sqtl', '15', 0.47976964712142944, NULL, False, 'chr15^72290255^72292198^clu_15912^ENSG00000140488', 29, 'ENSG00000140488', 'Brain_Nucleus_accumbens_basal_ganglia', 'GTEx-sQTL', 'C', nan, 4443, 0.0018632465938972342, 0.08011049777269363);