nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: snowflake
create or replace TABLE POSTS_TAG_WIKI_EXCERPT (
	"id" NUMBER(38,0),
	"title" VARCHAR(16777216),
	"body" VARCHAR(16777216),
	"accepted_answer_id" VARCHAR(16777216),
	"answer_count" VARCHAR(16777216),
	"comment_count" NUMBER(38,0),
	"community_owned_date" NUMBER(38,0),
	"creation_date" NUMBER(38,0),
	"favorite_count" VARCHAR(16777216),
	"last_activity_date" NUMBER(38,0),
	"last_edit_date" NUMBER(38,0),
	"last_editor_display_name" VARCHAR(16777216),
	"last_editor_user_id" NUMBER(38,0),
	"owner_display_name" VARCHAR(16777216),
	"owner_user_id" NUMBER(38,0),
	"parent_id" VARCHAR(16777216),
	"post_type_id" NUMBER(38,0),
	"score" NUMBER(38,0),
	"tags" VARCHAR(16777216),
	"view_count" VARCHAR(16777216)
);

INSERT INTO "STACKOVERFLOW"."STACKOVERFLOW"."POSTS_TAG_WIKI_EXCERPT" (view_count, accepted_answer_id, favorite_count, comment_count, last_edit_date, owner_user_id, score, creation_date, post_type_id, title, community_owned_date, last_activity_date, parent_id, body, owner_display_name, id, last_editor_user_id, tags, last_editor_display_name, answer_count) VALUES (NULL, NULL, NULL, 0, 1295489672800000, NULL, 0, 1295489672800000, 4, NULL, NULL, 1295489672800000, NULL, 'SlimDX is an MIT-licensed, open-source framework that allows developers working with managed languages like C# and IronPython to leverage DirectX and many of Microsoft''s other gaming-related multimedia APIs.', 'user197015', 4742863, NULL, NULL, 'user197015', NULL), (NULL, NULL, NULL, 0, 1300135451377000, NULL, 0, 1300134045170000, 4, NULL, NULL, 1300135451377000, NULL, 'WebMachine is an Erlang framework for creating RESTful Web Services using Erlang/OTP best practices.', 'user177800', 5304008, NULL, NULL, 'user177800', NULL), (NULL, NULL, NULL, 0, 1300462071537000, NULL, 0, 1300461877813000, 4, NULL, NULL, 1300462071537000, NULL, 'TCP/IP (Transmission Control Protocol/Internet Protocol) is the basic communication language or protocol of the Internet. It can also be used as a communications protocol in a private network (either an intranet or an extranet).', 'user614868', 5354120, NULL, NULL, 'user614868', NULL), (NULL, NULL, NULL, 0, 1300870268977000, NULL, 0, 1300540917987000, 4, NULL, NULL, 1300870268977000, NULL, 'Smart GWT is a GWT-based framework that allows you to not only utilize its comprehensive widget library for your application UI, but also tie these widgets in with your server-side for data management', 'user614868', 5362330, NULL, NULL, 'user614868', NULL), (NULL, NULL, NULL, 0, 1311717574007000, NULL, 0, 1300835798970000, 4, NULL, NULL, 1311717574007000, NULL, 'Questions relating to development on the subject of all variants of poker.', 'user806549', 5399042, NULL, NULL, 'user806549', NULL);
-- DBMS: snowflake
create or replace TABLE USERS (
	"id" NUMBER(38,0),
	"display_name" VARCHAR(16777216),
	"about_me" VARCHAR(16777216),
	"age" VARCHAR(16777216),
	"creation_date" NUMBER(38,0),
	"last_access_date" NUMBER(38,0),
	"location" VARCHAR(16777216),
	"reputation" NUMBER(38,0),
	"up_votes" NUMBER(38,0),
	"down_votes" NUMBER(38,0),
	"views" NUMBER(38,0),
	"profile_image_url" VARCHAR(16777216),
	"website_url" VARCHAR(16777216)
);

INSERT INTO "STACKOVERFLOW"."STACKOVERFLOW"."USERS" (display_name, profile_image_url, last_access_date, views, about_me, id, up_votes, reputation, age, website_url, down_votes, creation_date, location) VALUES ('Jaideep Datta', 'https://www.gravatar.com/avatar/9a78031187f403ddbdd4a98498324819?s=128&d=identicon&r=PG&f=1', 1647675999303000, 0, NULL, 4391515, 0, 1, NULL, NULL, 0, 1419420461190000, NULL), ('Roland Zhou', 'https://graph.facebook.com/100002177295288/picture?type=large', 1458871817860000, 0, NULL, 4398511, 0, 1, NULL, NULL, 0, 1419710146767000, NULL), ('Nizar Driouich', 'https://graph.facebook.com/1582610258/picture?type=large', 1565563339513000, 0, NULL, 4406201, 0, 1, NULL, NULL, 0, 1419961433747000, NULL), ('TC Abdurrahman Canbulat', 'https://graph.facebook.com/545739678/picture?type=large', 1420140172070000, 0, NULL, 4410767, 0, 1, NULL, NULL, 0, 1420140172070000, NULL), ('Graphire', 'https://lh3.googleusercontent.com/-zNiP-aDTfz4/AAAAAAAAAAI/AAAAAAAAADU/_nz_DoTPa2k/photo.jpg', 1536030205753000, 0, NULL, 4418661, 0, 1, NULL, NULL, 0, 1420426722493000, NULL);
-- DBMS: snowflake
create or replace TABLE VOTES (
	"id" NUMBER(38,0),
	"creation_date" NUMBER(38,0),
	"post_id" NUMBER(38,0),
	"vote_type_id" NUMBER(38,0)
);

INSERT INTO "STACKOVERFLOW"."STACKOVERFLOW"."VOTES" (creation_date, vote_type_id, post_id, id) VALUES (1384473600000000, 2, 20009129, 57399609), (1384473600000000, 2, 18740897, 57404642), (1384560000000000, 2, 20012668, 57410834), (1384560000000000, 2, 8667195, 57417663), (1384560000000000, 2, 267469, 57429609);
-- DBMS: snowflake
create or replace TABLE TAGS (
	"id" NUMBER(38,0),
	"tag_name" VARCHAR(16777216),
	"count" NUMBER(38,0),
	"excerpt_post_id" NUMBER(38,0),
	"wiki_post_id" NUMBER(38,0)
);

INSERT INTO "STACKOVERFLOW"."STACKOVERFLOW"."TAGS" (tag_name, excerpt_post_id, id, wiki_post_id, count) VALUES ('regsvr32', 10051236, 2136, 10051235, 256), ('rpg', 7080550, 8287, 7080549, 256), ('dbexpress', 7663373, 9136, 7663372, 256), ('fileserver', 9275976, 15213, 9275975, 256), ('bad-alloc', 14261589, 25272, 14261588, 256);
-- DBMS: snowflake
create or replace TABLE BADGES (
	"id" NUMBER(38,0),
	"name" VARCHAR(16777216),
	"date" NUMBER(38,0),
	"user_id" NUMBER(38,0),
	"class" NUMBER(38,0),
	"tag_based" BOOLEAN
);

INSERT INTO "STACKOVERFLOW"."STACKOVERFLOW"."BADGES" (tag_based, id, date, user_id, name, class) VALUES (False, 28291962, 1527259383990000, 9846917, 'Informed', 3), (False, 28374828, 1527907395610000, 9883762, 'Informed', 3), (False, 28405886, 1528196038383000, 5470122, 'Informed', 3), (False, 28408527, 1528207278410000, 9898077, 'Informed', 3), (False, 28441480, 1528404148933000, 9910977, 'Informed', 3);
-- DBMS: snowflake
create or replace TABLE PAAD_KIRP_RESULT_CHECK (
	ID VARCHAR(16777216),
	PROJECT_SHORT_NAME VARCHAR(16777216),
	PHENOTYPE NUMBER(38,0),
	GENE VARCHAR(16777216),
	EXPR FLOAT,
	ERANK NUMBER(38,0)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."PAAD_KIRP_RESULT_CHECK" (PHENOTYPE, ID, GENE, EXPR, PROJECT_SHORT_NAME, ERANK) VALUES (0, 'TCGA-3A-A9IH-01A', 'SLC12A3', 388.349514563, 'TCGA-PAAD', 1), (1, 'TCGA-5P-A9KE-01A', 'NKX6-3', 0.0, 'TCGA-KIRP', 1), (1, 'TCGA-A4-8515-01A', 'NKX6-3', 0.0, 'TCGA-KIRP', 1), (1, 'TCGA-A4-8515-01A', 'SLC12A3', 742.026169914, 'TCGA-KIRP', 2), (1, 'TCGA-BQ-5879-01A', 'NKX6-3', 0.0, 'TCGA-KIRP', 1);
-- DBMS: snowflake
create or replace TABLE PAAD_KIRP_RANDOM_SAMPLE_1002 (
	ID VARCHAR(16777216),
	"project_short_name" VARCHAR(16777216),
	"Phenotype" NUMBER(38,0),
	"Gene" VARCHAR(16777216),
	"Expr" FLOAT,
	"ERank" NUMBER(38,0)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."PAAD_KIRP_RANDOM_SAMPLE_1002" (project_short_name, Phenotype, ERank, Expr, ID, Gene) VALUES ('TCGA-PAAD', 0, 1, 0.0, 'TCGA-2J-AAB4-01A', 'MPPED1'), ('TCGA-PAAD', 0, 1, 0.0, 'TCGA-2J-AAB4-01A', 'RP11-557H15.3'), ('TCGA-PAAD', 0, 7, 90.8297882467, 'TCGA-2J-AAB4-01A', 'AC110781.3'), ('TCGA-PAAD', 0, 12, 197.992729905, 'TCGA-2J-AAB4-01A', 'NOS1'), ('TCGA-PAAD', 0, 14, 396.984505695, 'TCGA-2J-AAB4-01A', 'PRSS57');
-- DBMS: snowflake
create or replace TABLE ORG_HS_EG_DB_V1 (
	ID NUMBER(38,0),
	"Alias" VARCHAR(16777216),
	"Ensembl" VARCHAR(16777216),
	"Symbol" VARCHAR(16777216),
	"Entrez" VARCHAR(16777216),
	OMIM VARCHAR(16777216),
	"Accession" VARCHAR(16777216),
	UCSC VARCHAR(16777216),
	"Unigene" VARCHAR(16777216),
	"Uniprot" VARCHAR(16777216)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."ORG_HS_EG_DB_V1" (Entrez, Ensembl, Uniprot, Symbol, OMIM, Alias, Unigene, Accession, ID, UCSC) VALUES ('7105', 'ENSG00000000003', 'O43657', 'TSPAN6', '300191', 'TM4SF6', 'Hs.587521', 'NM_003270', 5785, 'uc004ega.1'), ('7105', 'ENSG00000000003', 'A0A024RCI0', 'TSPAN6', '300191', 'TSPAN-6', 'Hs.43233', 'NM_001278743', 5785, 'uc004ega.1'), ('7105', 'ENSG00000000003', 'A0A024RCI0', 'TSPAN6', '300191', 'TSPAN-6', 'Hs.587521', 'NP_003261', 5785, 'uc004ega.1'), ('7105', 'ENSG00000000003', 'A0A087WYV6', 'TSPAN6', '300191', 'T245', 'Hs.43233', 'NP_003261', 5785, 'uc010nna.1'), ('7105', 'ENSG00000000003', 'A0A087WYV6', 'TSPAN6', '300191', 'T245', 'Hs.587521', 'XM_011531018', 5785, 'uc010nna.1');
-- DBMS: snowflake
create or replace TABLE REACTOME (
	"string_field_0" VARCHAR(16777216),
	"string_field_1" VARCHAR(16777216),
	"string_field_2" VARCHAR(16777216)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."REACTOME" (string_field_2, string_field_0, string_field_1) VALUES ('NUCLEOTIDE METABOLISM', '270', '15869'), ('NUCLEOTIDE METABOLISM', '5198', '15869'), ('NUCLEOTIDE METABOLISM', '50484', '15869'), ('NUCLEOTIDE METABOLISM', '3615', '15869'), ('NUCLEOTIDE METABOLISM', '10606', '15869');
-- DBMS: snowflake
create or replace TABLE WIKIPATHWAYS_20170425_ANNOTATED (
	"pathway" VARCHAR(16777216),
	"wikiID" VARCHAR(16777216),
	"pathID" VARCHAR(16777216),
	"entrez" VARCHAR(16777216),
	"Symbol" VARCHAR(16777216),
	"Uniprot" VARCHAR(16777216)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."WIKIPATHWAYS_20170425_ANNOTATED" (Uniprot, pathway, Symbol, pathID, wikiID, entrez) VALUES ('Q92934', 'Apoptosis', 'BAD', 'WP254', 'WikiPathways_20170410', '572'), ('A0A024R562', 'Apoptosis', 'BAD', 'WP254', 'WikiPathways_20170410', '572'), ('Q07812', 'Apoptosis', 'BAX', 'WP254', 'WikiPathways_20170410', '581'), ('Q5ZPJ1', 'Apoptosis', 'BAX', 'WP254', 'WikiPathways_20170410', '581'), ('B3KT21', 'Apoptosis', 'BID', 'WP254', 'WikiPathways_20170410', '637');
-- DBMS: snowflake
create or replace TABLE RESULTS_1002 (
	"gene_i" VARCHAR(16777216),
	"gene_j" VARCHAR(16777216),
	"Pa" NUMBER(38,0),
	"Na" NUMBER(38,0),
	"Pb" NUMBER(38,0),
	"Nb" NUMBER(38,0),
	"PDiff" FLOAT
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."RESULTS_1002" (Pb, gene_j, Na, Nb, gene_i, Pa, PDiff) VALUES (104, 'RIPPLY1', 79, 117, 'ALDH3B2', 8, 0.7876230661040787), (96, 'PRSS57', 79, 117, 'ALDH3B2', 3, 0.7825381369685167), (103, 'PRSS57', 79, 117, 'NKX6-3', 9, 0.766417829708969), (14, 'NKX6-3', 79, 117, 'BPIFA2', 66, 0.7157849183165639), (93, 'HEPHL1', 79, 117, 'ALDH3B2', 7, 0.7062641999350859);
-- DBMS: snowflake
create or replace TABLE REACTOME_A1 (
	ENTREZ VARCHAR(16777216),
	PATHWAYID VARCHAR(16777216),
	PATHWAYNAME VARCHAR(16777216)
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."REACTOME_A1" (ENTREZ, PATHWAYID, PATHWAYNAME) VALUES ('51733', '15869', 'NUCLEOTIDE METABOLISM'), ('954', '15869', 'NUCLEOTIDE METABOLISM'), ('5198', '15869', 'NUCLEOTIDE METABOLISM'), ('50484', '15869', 'NUCLEOTIDE METABOLISM'), ('205', '15869', 'NUCLEOTIDE METABOLISM');
-- DBMS: snowflake
create or replace TABLE TSP_SIM_DATA (
	ID VARCHAR(16777216),
	"Phenotype" NUMBER(38,0),
	"Gene" VARCHAR(16777216),
	"Expr" FLOAT
);

INSERT INTO "TCGA_HG38_DATA_V0"."QOTM"."TSP_SIM_DATA" (Gene, Phenotype, Expr, ID) VALUES ('X6', 0, -2.94947825202297, 'DRRTF'), ('X8', 0, 0.138096720072752, 'DRRTF'), ('X1', 0, 0.910744777373118, 'DRRTF'), ('X4', 0, 0.965571764670361, 'DRRTF'), ('X10', 0, -1.83299838444533, 'DRRTF');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Fact_StateBenchmark_ACS2021 (
    MetricID TEXT,
    TotalStatePopulation NUMBER,
    StateBenchmarkValue FLOAT,
    TotalUSPopulation NUMBER,
    StateFIPS TEXT,
    StateAbbrev TEXT
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Fact_StateBenchmark_ACS2021" (MetricID, TotalStatePopulation, StateBenchmarkValue, TotalUSPopulation, StateFIPS, StateAbbrev) VALUES ('B11012_011E', 20114745, 546071.0, 333036755, '36', 'NY'), ('B25075_011E', 20114745, 61829.0, 333036755, '36', 'NY'), ('B25075_018E', 20114745, 157838.0, 333036755, '36', 'NY'), ('B08301_020E', 20114745, 77083.0, 333036755, '36', 'NY'), ('B11012_016E', 20114745, 214963.0, 333036755, '36', 'NY');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Xref_TractToZip_Residential (
    FromStateCountyTractID TEXT,
    ToZipCode TEXT,
    ResidentialMappingRatioTZ NUMBER
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Xref_TractToZip_Residential" (FromStateCountyTractID, ToZipCode, ResidentialMappingRatioTZ) VALUES ('36085009701', '10310', '1.000000000000000'), ('36047055400', '11229', '0.949859154929578'), ('36061007100', '10121', '0E-15'), ('36061007100', '10119', '0E-15'), ('36061007100', '10014', '0.483077617328520');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Fact_CensusValues_ACS2021_ByZip (
    CensusValueByZip NUMBER,
    MetricID TEXT,
    ZipCode TEXT
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Fact_CensusValues_ACS2021_ByZip" (CensusValueByZip, MetricID, ZipCode) VALUES ('51.04', 'B25063_019E', '12220'), ('47.06', 'B08303_011E', '14739'), ('57.18', 'B25063_014E', '14702'), ('32.99', 'B08301_017E', '13743'), ('124.19', 'B08303_012E', '14219');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Xref_ZipToTract_Residential (
    FromZipCode TEXT,
    ToStateCountyTractID TEXT,
    ResidentialMappingRatioZT NUMBER
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Xref_ZipToTract_Residential" (FromZipCode, ToStateCountyTractID, ResidentialMappingRatioZT) VALUES ('11721', '36103111300', '0.271000000000000'), ('12551', '36071000400', '1.000000000000000'), ('13495', '36065023400', '0.114837398373984'), ('13495', '36065023300', '0.885162601626016'), ('12160', '36095740100', '0.424882629107981');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Fact_CensusValues_ACS2021 (
    CensusValue FLOAT,
    BlockGroupID TEXT,
    MetricID TEXT
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Fact_CensusValues_ACS2021" (CensusValue, BlockGroupID, MetricID) VALUES (20.0, '361031471003', 'B11012_008E'), (0.0, '361031471003', 'B11012_010E'), (6.0, '361031471003', 'B11012_011E'), (5.0, '361031471003', 'B11012_012E'), (9.0, '361031471003', 'B11012_014E');
-- DBMS: snowflake
CREATE TABLE CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE.public.Dim_CensusMetrics (
    MetricCategory TEXT,
    Type TEXT,
    Descriptor2 TEXT,
    MetricTableDesc TEXT,
    MetricTableID TEXT,
    MetricID TEXT,
    Descriptor1 TEXT,
    Descriptor3 TEXT,
    MetricGroup TEXT,
    UnitMeasureType TEXT
);

INSERT INTO "CENSUS_GALAXY__AIML_MODEL_DATA_ENRICHMENT_SAMPLE"."PUBLIC"."Dim_CensusMetrics" (MetricCategory, Type, Descriptor2, MetricTableDesc, MetricTableID, MetricID, Descriptor1, Descriptor3, MetricGroup, UnitMeasureType) VALUES ('Demographics', 'Estimate', '', 'Median age of the population categorized by sex', 'B01002', 'B01002_002E', 'Male', '', 'Essential', 'Aggregate'), ('Income', 'Estimate', '', 'Earnings of households in the past 12 months', 'B19051', 'B19051_001E', '', '', 'Essential', 'People'), ('Income', 'Estimate', '', 'Earnings of households in the past 12 months', 'B19051', 'B19051_002E', 'With earnings', '', 'Essential', 'People'), ('Income', 'Estimate', '', 'Earnings of households in the past 12 months', 'B19051', 'B19051_003E', 'No earnings', '', 'Essential', 'People'), ('Housing', 'Estimate', '', 'Different types of households based on size and type', 'B11012', 'B11012_001E', '', '', 'Essential', 'People');
-- DBMS: snowflake
create or replace TABLE WORD_FREQUENCIES (
	"word" VARCHAR(16777216),
	"frequency" NUMBER(38,0)
);

INSERT INTO "WORD_VECTORS_US"."WORD_VECTORS_US"."WORD_FREQUENCIES" (word, frequency) VALUES ('separating', 256), ('C8', 256), ('Benjamini', 256), ('RCA', 256), ('antennal', 256);
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYDATATYPEINDIRECT (
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"datatypeId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYDATATYPEINDIRECT" (datatypeId, score, diseaseId, evidenceCount, targetId) VALUES ('literature', 0.3846470249484239, 'EFO_0000677', 256, 'ENSG00000187094'), ('literature', 0.8329354491971125, 'EFO_0000512', 256, 'ENSG00000204632'), ('known_drug', 0.8767228363984327, 'MONDO_0007576', 256, 'ENSG00000101162'), ('genetic_association', 0.9078276275752061, 'MONDO_0017740', 256, 'ENSG00000086848'), ('genetic_association', 0.8263613504583955, 'EFO_0005772', 256, 'ENSG00000038427');
-- DBMS: snowflake
create or replace TABLE GO (
	"id" VARCHAR(16777216),
	"name" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."GO" (name, id) VALUES ('bleb', 'GO:0032059'), ('CHRAC', 'GO:0008623'), ('T-bar', 'GO:0098986'), ('pilus', 'GO:0009289'), ('taxis', 'GO:0042330');
-- DBMS: snowflake
create or replace TABLE TARGETSPRIORISATION (
	"targetId" VARCHAR(16777216),
	"isInMembrane" NUMBER(38,0),
	"isSecreted" NUMBER(38,0),
	"hasSafetyEvent" NUMBER(38,0),
	"hasPocket" NUMBER(38,0),
	"hasLigand" NUMBER(38,0),
	"geneticConstraint" FLOAT,
	"paralogMaxIdentityPercentage" FLOAT,
	"mouseOrthologMaxIdentityPercentage" FLOAT,
	"isCancerDriverGene" NUMBER(38,0),
	"hasTEP" NUMBER(38,0),
	"hasMouseKO" NUMBER(38,0),
	"hasHighQualityChemicalProbes" NUMBER(38,0),
	"maxClinicalTrialPhase" FLOAT,
	"tissueSpecificity" FLOAT,
	"tissueDistribution" FLOAT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."TARGETSPRIORISATION" (maxClinicalTrialPhase, mouseOrthologMaxIdentityPercentage, tissueSpecificity, geneticConstraint, hasMouseKO, paralogMaxIdentityPercentage, hasLigand, isCancerDriverGene, hasPocket, hasHighQualityChemicalProbes, tissueDistribution, targetId, hasTEP, isInMembrane, hasSafetyEvent, isSecreted) VALUES (NULL, nan, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, 'ENSG00000176761', NULL, NULL, NULL, NULL), (NULL, nan, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, 'ENSG00000198217', NULL, NULL, NULL, NULL), (NULL, 0.16058499999999967, NULL, NULL, NULL, -0.7627725000000002, NULL, NULL, NULL, NULL, NULL, 'ENSG00000199959', NULL, NULL, NULL, NULL), (NULL, 0.0, NULL, NULL, NULL, -1.0, NULL, NULL, NULL, NULL, NULL, 'ENSG00000200057', NULL, NULL, NULL, NULL), (NULL, nan, NULL, NULL, NULL, -0.7713425, NULL, NULL, NULL, NULL, NULL, 'ENSG00000200296', NULL, NULL, NULL, NULL);
-- DBMS: snowflake
create or replace TABLE DISEASETOPHENOTYPE (
	"disease" VARCHAR(16777216),
	"phenotype" VARCHAR(16777216),
	"evidence" VARIANT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."DISEASETOPHENOTYPE" (evidence, disease, phenotype) VALUES ('{
  "list": [
    {
      "element": {
        "aspect": "P",
        "bioCuration": "ORPHA:orphadata[2024-04-24]",
        "diseaseFromSource": "MODY",
        "diseaseFromSourceId": "ORPHA:552",
        "diseaseName": "MODY",
        "evidenceType": "TAS",
        "frequency": "HP_0040282",
        "qualifierNot": false,
        "references": {
          "list": [
            {
              "element": "ORPHA:552"
            }
          ]
        },
        "resource": "HPO"
      }
    }
  ]
}', 'Orphanet_552', 'HP_0004924'), ('{
  "list": [
    {
      "element": {
        "aspect": "P",
        "bioCuration": "ORPHA:orphadata[2024-04-24]",
        "diseaseFromSource": "MODY",
        "diseaseFromSourceId": "ORPHA:552",
        "diseaseName": "MODY",
        "evidenceType": "TAS",
        "frequency": "HP_0040283",
        "qualifierNot": false,
        "references": {
          "list": [
            {
              "element": "ORPHA:552"
            }
          ]
        },
        "resource": "HPO"
      }
    }
  ]
}', 'Orphanet_552', 'HP_0000831'), ('{
  "list": [
    {
      "element": {
        "aspect": "P",
        "bioCuration": "ORPHA:orphadata[2024-04-24]",
        "diseaseFromSource": "MODY",
        "diseaseFromSourceId": "ORPHA:552",
        "diseaseName": "MODY",
        "evidenceType": "TAS",
        "frequency": "HP_0040283",
        "qualifierNot": false,
        "references": {
          "list": [
            {
              "element": "ORPHA:552"
            }
          ]
        },
        "resource": "HPO"
      }
    }
  ]
}', 'Orphanet_552', 'HP_0000488'), ('{
  "list": [
    {
      "element": {
        "aspect": "P",
        "bioCuration": "ORPHA:orphadata[2024-04-24]",
        "diseaseFromSource": "MODY",
        "diseaseFromSourceId": "ORPHA:552",
        "diseaseName": "MODY",
        "evidenceType": "TAS",
        "frequency": "HP_0040282",
        "qualifierNot": false,
        "references": {
          "list": [
            {
              "element": "ORPHA:552"
            }
          ]
        },
        "resource": "HPO"
      }
    }
  ]
}', 'Orphanet_552', 'HP_0040216'), ('{
  "list": [
    {
      "element": {
        "aspect": "P",
        "bioCuration": "ORPHA:orphadata[2024-04-24]",
        "diseaseFromSource": "MODY",
        "diseaseFromSourceId": "ORPHA:552",
        "diseaseName": "MODY",
        "evidenceType": "TAS",
        "frequency": "HP_0040284",
        "qualifierNot": false,
        "references": {
          "list": [
            {
              "element": "ORPHA:552"
            }
          ]
        },
        "resource": "HPO"
      }
    }
  ]
}', 'Orphanet_552', 'HP_0002594');
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYDATASOURCEDIRECT (
	"datatypeId" VARCHAR(16777216),
	"datasourceId" VARCHAR(16777216),
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYDATASOURCEDIRECT" (score, targetId, diseaseId, datatypeId, datasourceId, evidenceCount) VALUES (0.5592963338026914, 'ENSG00000121075', 'HP_0000072', 'genetic_association', 'eva', 1), (0.18237923928348632, 'ENSG00000131778', 'HP_0000079', 'genetic_association', 'eva', 1), (0.42555155832813474, 'ENSG00000075891', 'HP_0000107', 'genetic_association', 'eva', 1), (0.5592963338026914, 'ENSG00000134086', 'HP_0000107', 'genetic_association', 'eva', 1), (0.4377101742803672, 'ENSG00000158813', 'HP_0000164', 'genetic_association', 'eva', 1);
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYOVERALLDIRECT (
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYOVERALLDIRECT" (score, evidenceCount, diseaseId, targetId) VALUES (0.03125583666870911, 256, 'HP_0011123', 'ENSG00000112115'), (0.10263100589238479, 256, 'EFO_0000616', 'ENSG00000104067'), (0.12364904243044038, 256, 'EFO_0000616', 'ENSG00000062038'), (0.07744939824469767, 256, 'MONDO_0004992', 'ENSG00000104884'), (0.675073076672441, 256, 'MONDO_0020745', 'ENSG00000198626');
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYDATASOURCEINDIRECT (
	"datatypeId" VARCHAR(16777216),
	"datasourceId" VARCHAR(16777216),
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYDATASOURCEINDIRECT" (targetId, diseaseId, datatypeId, datasourceId, evidenceCount, score) VALUES ('ENSG00000151835', 'EFO_0004280', 'genetic_association', 'eva', 1125, 0.9480686371830984), ('ENSG00000043355', 'OTAR_0000018', 'genetic_association', 'eva', 306, 0.9317011342874366), ('ENSG00000144488', 'OTAR_0000018', 'genetic_association', 'eva', 61, 0.316739123497058), ('ENSG00000248487', 'OTAR_0000018', 'genetic_association', 'eva', 19, 0.30895972490317547), ('ENSG00000248487', 'EFO_0000508', 'genetic_association', 'eva', 19, 0.30895972490317547);
-- DBMS: snowflake
create or replace TABLE MOLECULE (
	"id" VARCHAR(16777216),
	"canonicalSmiles" VARCHAR(16777216),
	"inchiKey" VARCHAR(16777216),
	"drugType" VARCHAR(16777216),
	"blackBoxWarning" BOOLEAN,
	"name" VARCHAR(16777216),
	"yearOfFirstApproval" NUMBER(38,0),
	"maximumClinicalTrialPhase" FLOAT,
	"parentId" VARCHAR(16777216),
	"hasBeenWithdrawn" BOOLEAN,
	"isApproved" BOOLEAN,
	"tradeNames" VARIANT,
	"synonyms" VARIANT,
	"crossReferences" VARIANT,
	"childChemblIds" VARIANT,
	"linkedDiseases" VARIANT,
	"linkedTargets" VARIANT,
	"description" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."MOLECULE" (parentId, childChemblIds, tradeNames, id, linkedTargets, synonyms, blackBoxWarning, hasBeenWithdrawn, drugType, maximumClinicalTrialPhase, inchiKey, isApproved, crossReferences, linkedDiseases, canonicalSmiles, yearOfFirstApproval, name, description) VALUES (NULL, NULL, '{
  "list": []
}', 'CHEMBL2371928', NULL, '{
  "list": []
}', False, False, 'Protein', NULL, 'HXKFHHNEFCZKPG-VEKZNEBUSA-N', NULL, NULL, NULL, 'CC(C)CC[C@H](NC(=O)[C@@H]1CCCN1C(=O)[C@H](CCCN)NC(=O)[C@H](Cc1ccccc1)NC(=O)[C@@H]1CC(=O)NC(=O)N1)C(=O)N[C@@H](Cc1ccc(F)cc1)C(=O)N[C@H](Cc1ccccc1)C(N)=O', NULL, 'CHEMBL2371928', 'Protein drug.'), (NULL, NULL, '{
  "list": []
}', 'CHEMBL3581264', NULL, '{
  "list": []
}', False, False, 'Protein', NULL, 'AVNDVFCGYOONJV-LUKCZKMGSA-N', NULL, NULL, NULL, 'N=C(N)NCCC[C@@H]1NC(=O)[C@H](CCCNC(=N)N)NC(=O)[C@@H](Cc2ccc(O)cc2)NC(=O)[C@@H]2CCCN2C(=O)[C@H](Cc2ccc3ccccc3c2)NC1=O', NULL, 'CHEMBL3581264', 'Protein drug.'), (NULL, NULL, '{
  "list": []
}', 'CHEMBL75677', NULL, '{
  "list": []
}', False, False, 'Protein', NULL, 'NCOZXTAQUOCINN-XSYGEPLQSA-N', NULL, NULL, NULL, 'CC(C)[C@H](NC[C@@H](N)CS)C(=O)N1Cc2ccccc2C[C@H]1C(=O)N[C@H](CCC(N)=O)C(=O)O', NULL, 'CHEMBL75677', 'Protein drug.'), (NULL, NULL, '{
  "list": []
}', 'CHEMBL2440185', NULL, '{
  "list": []
}', False, False, 'Protein', NULL, 'WIBSCJFYXUIBMU-DEMLLOIYSA-N', NULL, NULL, NULL, 'CC[C@H](C)[C@H](NC(=O)[C@H](Cc1ccc(O)cc1)NC(=O)[C@H](Cc1cnc[nH]1)NC(=O)[C@H](CCCNC(=N)N)NC(C)=O)C(=O)N[C@@H](CC(N)=O)C(=O)N[C@@H](CC(C)C)C(=O)N[C@H](C(=O)N[C@H](C(=O)N[C@@H](CCCNC(=N)N)C(=O)N[C@@H](CCC(N)=O)C(=O)N[C@@H](CCCNC(=N)N)C(=O)N[C@@H](Cc1ccc(O)cc1)C(N)=O)[C@@H](C)O)[C@@H](C)CC', NULL, 'CHEMBL2440185', 'Protein drug.'), (NULL, NULL, '{
  "list": []
}', 'CHEMBL331976', NULL, '{
  "list": []
}', False, False, 'Protein', NULL, 'YEEXWMGDSDJZCX-JAXLGGSGSA-N', NULL, NULL, NULL, 'CC(C)(C)[C@H](NCCc1c[nH]cn1)C(=O)N1Cc2ccccc2C[C@H]1C(=O)N[C@@H](CCC(N)=O)C(=O)O', NULL, 'CHEMBL331976', 'Protein drug.');
-- DBMS: snowflake
create or replace TABLE SIGNIFICANTADVERSEDRUGREACTIONS (
	"chembl_id" VARCHAR(16777216),
	"event" VARCHAR(16777216),
	"count" NUMBER(38,0),
	"llr" FLOAT,
	"critval" FLOAT,
	"meddraCode" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."SIGNIFICANTADVERSEDRUGREACTIONS" (meddraCode, count, critval, llr, chembl_id, event) VALUES ('10012335', 58, 38.961201902675384, 194.9394994438262, 'CHEMBL3', 'dependence'), ('10080751', 39, 38.961201902675384, 125.80146108261397, 'CHEMBL3', 'exposure via breast milk'), ('10003053', 55, 38.961201902675384, 152.85264223803824, 'CHEMBL3', 'application site pruritus'), ('10033557', 70, 38.961201902675384, 43.34523809741586, 'CHEMBL3', 'palpitations'), ('10013756', 165, 38.961201902675384, 575.9152973867858, 'CHEMBL3', 'drug withdrawal syndrome neonatal');
-- DBMS: snowflake
create or replace TABLE INTERACTION (
	"sourceDatabase" VARCHAR(16777216),
	"targetA" VARCHAR(16777216),
	"intA" VARCHAR(16777216),
	"intABiologicalRole" VARCHAR(16777216),
	"targetB" VARCHAR(16777216),
	"intB" VARCHAR(16777216),
	"intBBiologicalRole" VARCHAR(16777216),
	"speciesA" VARIANT,
	"speciesB" VARIANT,
	"count" NUMBER(38,0),
	"scoring" FLOAT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."INTERACTION" (targetB, intA, intBBiologicalRole, count, targetA, scoring, sourceDatabase, speciesA, speciesB, intABiologicalRole, intB) VALUES ('ENSG00000110046', 'Q92764', 'unspecified role', 1, 'ENSG00000197079', 0.35, 'intact', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', 'unspecified role', 'A0AUL9'), ('ENSG00000188883', 'O95084', 'unspecified role', 1, 'ENSG00000150687', 0.35, 'intact', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', 'unspecified role', 'A4D1S0'), (NULL, 'Q9UIS9', 'unspecified role', 1, 'ENSG00000141644', 0.37, 'intact', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', 'unspecified role', 'A4QMR6'), ('ENSG00000166965', 'Q9NXB0-2', 'unspecified role', 1, 'ENSG00000011143', 0.35, 'intact', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', 'unspecified role', 'A6NED2'), ('ENSG00000170379', 'Q9NZ94-2', 'unspecified role', 1, 'ENSG00000196338', 0.35, 'intact', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', '{
  "mnemonic": "human",
  "scientific_name": "Homo sapiens",
  "taxon_id": 9606
}', 'unspecified role', 'A6NFQ2');
-- DBMS: snowflake
create or replace TABLE HPO (
	"dbXRefs" VARIANT,
	"description" VARCHAR(16777216),
	"id" VARCHAR(16777216),
	"name" VARCHAR(16777216),
	"namespace" VARIANT,
	"obsolete_terms" VARIANT,
	"parents" VARIANT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."HPO" (name, namespace, id, parents, description, obsolete_terms, dbXRefs) VALUES ('lung endothelial cell', '{
  "list": [
    {
      "element": "cl"
    }
  ]
}', 'CL_1001567', '{
  "list": [
    {
      "element": "b43134"
    },
    {
      "element": "CL_0000082"
    },
    {
      "element": "CL_0002139"
    }
  ]
}', NULL, NULL, NULL), ('intestinal enteroendocrine cell', '{
  "list": [
    {
      "element": "cl"
    }
  ]
}', 'CL_1001516', '{
  "list": [
    {
      "element": "CL_0002563"
    },
    {
      "element": "CL_0000164"
    }
  ]
}', 'The various hormone- or neurotransmitter-secreting cells present throughout the mucosa of the intestinal tract.', NULL, NULL), ('material entity', '{
  "list": [
    {
      "element": "bfo"
    }
  ]
}', 'BFO_0000040', '{
  "list": [
    {
      "element": "BFO_0000004"
    }
  ]
}', 'An independent continuant that is spatially extended whose identity is independent of that of other entities and can be maintained through time.', NULL, NULL), ('object', '{
  "list": [
    {
      "element": "bfo"
    }
  ]
}', 'BFO_0000030', '{
  "list": [
    {
      "element": "BFO_0000040"
    }
  ]
}', NULL, NULL, NULL), ('organism', '{
  "list": [
    {
      "element": "obi"
    }
  ]
}', 'OBI_0100026', '{
  "list": [
    {
      "element": "BFO_0000040"
    },
    {
      "element": "BFO_0000030"
    }
  ]
}', NULL, NULL, NULL);
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYDATATYPEDIRECT (
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"datatypeId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYDATATYPEDIRECT" (targetId, diseaseId, score, datatypeId, evidenceCount) VALUES ('ENSG00000118194', 'EFO_0000538', 0.6107447680992258, 'literature', 256), ('ENSG00000100504', 'MONDO_0009294', 0.900822981147149, 'genetic_association', 256), ('ENSG00000105369', 'MONDO_0012382', 0.22489716308970872, 'literature', 256), ('ENSG00000156515', 'DOID_1947', 0.01823792392834863, 'literature', 1), ('ENSG00000164733', 'DOID_1947', 0.012158615952232422, 'literature', 1);
-- DBMS: snowflake
create or replace TABLE DRUGWARNINGS (
	"chemblIds" VARIANT,
	"toxicityClass" VARCHAR(16777216),
	"country" VARCHAR(16777216),
	"description" VARCHAR(16777216),
	"id" NUMBER(38,0),
	"references" VARIANT,
	"warningType" VARCHAR(16777216),
	"year" NUMBER(38,0),
	"efo_term" VARCHAR(16777216),
	"efo_id" VARCHAR(16777216),
	"efo_id_for_warning_class" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."DRUGWARNINGS" (toxicityClass, country, efo_id_for_warning_class, efo_id, efo_term, warningType, year, references, id, chemblIds, description) VALUES (NULL, 'United States', NULL, NULL, NULL, 'Black Box Warning', NULL, '{
  "list": []
}', 2817, '{
  "list": [
    {
      "element": "CHEMBL3039594"
    },
    {
      "element": "CHEMBL3039597"
    }
  ]
}', NULL), (NULL, 'United States', NULL, NULL, NULL, 'Black Box Warning', NULL, '{
  "list": []
}', 2820, '{
  "list": [
    {
      "element": "CHEMBL2359966"
    },
    {
      "element": "CHEMBL170"
    }
  ]
}', NULL), (NULL, 'United States', NULL, NULL, NULL, 'Black Box Warning', NULL, '{
  "list": []
}', 2864, '{
  "list": [
    {
      "element": "CHEMBL5095051"
    },
    {
      "element": "CHEMBL637"
    }
  ]
}', NULL), (NULL, 'United States', NULL, NULL, NULL, 'Black Box Warning', NULL, '{
  "list": []
}', 480, '{
  "list": [
    {
      "element": "CHEMBL1200475"
    },
    {
      "element": "CHEMBL178"
    }
  ]
}', NULL), (NULL, 'United States', NULL, NULL, NULL, 'Black Box Warning', NULL, '{
  "list": []
}', 495, '{
  "list": [
    {
      "element": "CHEMBL1201550"
    }
  ]
}', NULL);
-- DBMS: snowflake
create or replace TABLE ASSOCIATIONBYOVERALLINDIRECT (
	"diseaseId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"score" FLOAT,
	"evidenceCount" NUMBER(38,0)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."ASSOCIATIONBYOVERALLINDIRECT" (score, diseaseId, evidenceCount, targetId) VALUES (0.06228596585786231, 'EFO_0004149', 12, 'ENSG00000205221'), (0.004844130748332951, 'EFO_0004149', 12, 'ENSG00000132305'), (0.007152458638679473, 'EFO_0004190', 12, 'ENSG00000075624'), (0.038931910109675824, 'EFO_0004190', 12, 'ENSG00000099810'), (0.011871314679257628, 'EFO_0004193', 12, 'ENSG00000131981');
-- DBMS: snowflake
create or replace TABLE TARGETPRIORITISATION (
	"targetId" VARCHAR(16777216),
	"isInMembrane" NUMBER(38,0),
	"isSecreted" NUMBER(38,0),
	"hasSafetyEvent" NUMBER(38,0),
	"hasPocket" NUMBER(38,0),
	"hasLigand" NUMBER(38,0),
	"hasSmallMoleculeBinder" NUMBER(38,0),
	"geneticConstraint" FLOAT,
	"paralogMaxIdentityPercentage" FLOAT,
	"mouseOrthologMaxIdentityPercentage" FLOAT,
	"isCancerDriverGene" NUMBER(38,0),
	"hasTEP" NUMBER(38,0),
	"mouseKOScore" FLOAT,
	"hasHighQualityChemicalProbes" NUMBER(38,0),
	"maxClinicalTrialPhase" FLOAT,
	"tissueSpecificity" FLOAT,
	"tissueDistribution" FLOAT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."TARGETPRIORITISATION" (hasSafetyEvent, hasTEP, isInMembrane, mouseOrthologMaxIdentityPercentage, maxClinicalTrialPhase, hasHighQualityChemicalProbes, isSecreted, targetId, tissueSpecificity, paralogMaxIdentityPercentage, hasSmallMoleculeBinder, tissueDistribution, geneticConstraint, isCancerDriverGene, mouseKOScore, hasPocket, hasLigand) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ENSG00000235408', NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ENSG00000222496', NULL, -0.3359375, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ENSG00000246985', NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ENSG00000260348', NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ENSG00000231178', NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.EUROPEAN_COMMISSION_EDGAR_ATTRIBUTES (
    VARIABLE TEXT,
    FREQUENCY TEXT,
    IPCC_INDUSTRY TEXT,
    UNIT TEXT,
    VARIABLE_NAME TEXT,
    MEASURE TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."EUROPEAN_COMMISSION_EDGAR_ATTRIBUTES" (VARIABLE, FREQUENCY, IPCC_INDUSTRY, UNIT, VARIABLE_NAME, MEASURE) VALUES ('nitrous_oxide_n2o_emissions_from_fossil_fuel_sources_residential_and_other_sectors_ipcc_2006,_monthly', 'Monthly', 'Residential and other sectors (IPCC 2006)', 'Metric Ton', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources | Residential and other sectors (IPCC 2006), Monthly', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources'), ('nitrous_oxide_n2o_emissions_from_fossil_fuel_sources_indirect_n2o_from_non-agricultural_nh3_ipcc_1996,_monthly', 'Monthly', 'Indirect N2O from non-agricultural NH3 (IPCC 1996)', 'Metric Ton', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources | Indirect N2O from non-agricultural NH3 (IPCC 1996), Monthly', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources'), ('nitrous_oxide_n2o_emissions_from_fossil_fuel_sources_direct_n2o_emissions_from_managed_soils_ipcc_2006,_annual', 'Annual', 'Direct N2O Emissions from managed soils (IPCC 2006)', 'Metric Ton', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources | Direct N2O Emissions from managed soils (IPCC 2006), Annual', 'Nitrous Oxide (N2O) Emissions from Fossil Fuel Sources'), ('methane_ch4_emissions_from_fossil_fuel_sources_solid_waste_disposal_on_land_ipcc_1996,_annual', 'Annual', 'Solid waste disposal on land (IPCC 1996)', 'Metric Ton', 'Methane (CH4) Emissions from Fossil Fuel Sources | Solid waste disposal on land (IPCC 1996), Annual', 'Methane (CH4) Emissions from Fossil Fuel Sources'), ('greenhouse_gas_emissions_with_global_warming_potential_gwp_per_the_fifth_assessment_report_ar5_from_fossil_fuel_sources_solid_waste_disposal_ipcc_2006,_annual', 'Annual', 'Solid Waste Disposal (IPCC 2006)', 'Metric Ton', 'Greenhouse Gas Emissions with Global Warming Potential (GWP) per the Fifth Assessment Report (AR5) from Fossil Fuel Sources | Solid Waste Disposal (IPCC 2006), Annual', 'Greenhouse Gas Emissions with Global Warming Potential (GWP) per the Fifth Assessment Report (AR5) from Fossil Fuel Sources');
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.FOOD_AGRICULTURE_ORGANIZATION_ATTRIBUTES (
    UNIT TEXT,
    VARIABLE_NAME TEXT,
    MEASURE TEXT,
    ITEM TEXT,
    VARIABLE TEXT,
    MEASUREMENT_TYPE TEXT,
    SOURCE TEXT,
    FREQUENCY TEXT,
    EMISSION_TYPE TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."FOOD_AGRICULTURE_ORGANIZATION_ATTRIBUTES" (UNIT, VARIABLE_NAME, MEASURE, ITEM, VARIABLE, MEASUREMENT_TYPE, SOURCE, FREQUENCY, EMISSION_TYPE) VALUES ('Count', 'Stocks of Chickens, broilers (UNFCCC Official figure)', 'Stocks', 'Chickens, broilers', '5111_ 1053_3051_A', 'Official figure', 'UNFCCC', 'Annual', NULL), ('Count', 'Stocks of Ducks (FAO Estimated value)', 'Stocks', 'Ducks', '5111_ 1068_3050_E', 'Estimated value', 'FAO', 'Annual', NULL), ('Count', 'Stocks of Turkeys (FAO Forecast value)', 'Stocks', 'Turkeys', '5111_ 1079_3050_F', 'Forecast value', 'FAO', 'Annual', NULL), ('Count', 'Stocks of Horses (FAO Imputed value)', 'Stocks', 'Horses', '5111_ 1096_3050_I', 'Imputed value', 'FAO', 'Annual', NULL), ('Count', 'Stocks of Mules and hinnies (FAO Official figure)', 'Stocks', 'Mules and hinnies', '5111_ 1110_3050_A', 'Official figure', 'FAO', 'Annual', NULL);
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.CLIMATE_WATCH_TIMESERIES (
    VARIABLE TEXT,
    VALUE FLOAT,
    VARIABLE_NAME TEXT,
    GEO_ID TEXT,
    UNIT TEXT,
    DATE DATE
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."CLIMATE_WATCH_TIMESERIES" (VARIABLE, VALUE, VARIABLE_NAME, GEO_ID, UNIT, DATE) VALUES ('waste_ch4_pik', 870000.0, 'Waste Sector | Methane (CH4) Emissions (Postdam Institute For Climate Impact Research)', 'country/NPL', 'Tonnes of carbon dioxide equivalent (tCO₂e)', '1946-12-31'), ('total_excluding_lulucf_ch4_pik', 1400000.0, 'Total excluding LULUCF Sector | Methane (CH4) Emissions (Postdam Institute For Climate Impact Research)', 'country/UGA', 'Tonnes of carbon dioxide equivalent (tCO₂e)', '1878-12-31'), ('industrial_processes_and_product_use_f-gas_pik', 650000.0, 'Industrial Processes and Product Use Sector | Fluorinated Greenhouse Gases (F-Gases) Emissions (Postdam Institute For Climate Impact Research)', 'country/SVK', 'Tonnes of carbon dioxide equivalent (tCO₂e)', '2011-12-31'), ('total_fossil_fuels_and_cement_co2_gcp', 1850000.0, 'Total fossil fuels and cement Sector | Carbon dioxide (CO₂) Emissions (Global Carbon Project)', 'country/BHS', 'Tonnes of carbon dioxide equivalent (tCO₂e)', '2006-12-31'), ('total_including_lucf_ch4_climate_watch', 8270000.0, 'Total including LUCF Sector | Methane (CH4) Emissions (Climate Watch)', 'country/LKA', 'Tonnes of carbon dioxide equivalent (tCO₂e)', '2016-12-31');
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.NOAA_WEATHER_METRICS_ATTRIBUTES (
    VARIABLE TEXT,
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    FREQUENCY TEXT,
    MEASURE TEXT,
    MEASUREMENT_TYPE TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."NOAA_WEATHER_METRICS_ATTRIBUTES" (VARIABLE, VARIABLE_NAME, UNIT, FREQUENCY, MEASURE, MEASUREMENT_TYPE) VALUES ('minimum_soil_temperature_for_sod_ground_cover_at_150_cm_soil_depth', 'Minimum Soil Temperature for Sod Ground Cover at 150 cm Soil Depth', 'Degrees Celsius', 'Daily', 'Minimum Soil Temperature', 'No Measurement Information Applicable'), ('days_included_in_the_multiday_minimum_temperature_total', 'Days Included in the Multiday Minimum Temperature Total', 'Count of Days', 'Daily', 'Days Included in the Multiday Minimum Temperature Total', 'No Measurement Information Applicable'), ('maximum_soil_temperature_for_sod_ground_cover_at_20_cm_soil_depth', 'Maximum Soil Temperature for Sod Ground Cover at 20 cm Soil Depth', 'Degrees Celsius', 'Daily', 'Maximum Soil Temperature', 'No Measurement Information Applicable'), ('precipitation_precipitation_total_formed_from_four_6_hour_totals', 'Precipitation (Precipitation Total Formed From Four 6-Hour Totals)', 'Millimeters', 'Daily', 'Precipitation', 'Precipitation Total Formed From Four 6-Hour Totals'), ('days_with_non_zero_precipitation_included_in_multiday_precipitation_total', 'Days with Non-Zero Precipitation Included in Multiday Precipitation Total', 'Count of Days', 'Daily', 'Days with Non-Zero Precipitation Included in Multiday Precipitation Total', 'No Measurement Information Applicable');
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.EIA_ENERGY_TIMESERIES (
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    IMPORTER_GEO_ID TEXT,
    EXPORTER_GEO_ID TEXT,
    VALUE FLOAT,
    VARIABLE TEXT,
    DATE DATE,
    GEO_ID TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."EIA_ENERGY_TIMESERIES" (VARIABLE_NAME, UNIT, IMPORTER_GEO_ID, EXPORTER_GEO_ID, VALUE, VARIABLE, DATE, GEO_ID) VALUES ('Refinery and Blender Net Production of Kerosene, MBBL (Monthly)', 'MBBL', NULL, NULL, 10.0, 'refinery_and_blender_net_production_of_kerosene_mbbl_monthly', '2002-04-30', 'padDistrict/04'), ('Natural Gas in Underground Storage Base Gas, MMCF (Monthly)', 'MMCF', NULL, NULL, 60697.0, 'natural_gas_in_underground_storage_base_gas_mmcf_monthly', '1997-01-31', 'geoId/56'), ('Refinery Net Production of Paraffinic Lubricants, MBBL per day (Monthly)', 'MBBL per day', NULL, NULL, 13.0, 'refinery_net_production_of_paraffinic_lubricants_mbbl_per_day_monthly', '2002-10-31', 'padDistrict/02'), ('Imports of Reformulated RBOB with Alcohol Gasoline Blending Components, MBBL per day (Weekly)', 'MBBL per day', NULL, NULL, 0.0, 'imports_of_reformulated_rbob_with_alcohol_gasoline_blending_components_mbbl_per_day_weekly', '2008-12-26', 'padDistrict/05'), ('Natural Gas Delivered to Consumers, MMCF (Monthly)', 'MMCF', NULL, NULL, 46759.0, 'natural_gas_delivered_to_consumers_mmcf_monthly', '2021-10-31', 'geoId/37');
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.OUR_WORLD_IN_DATA_TIMESERIES (
    GEO_ID TEXT,
    DATE DATE,
    VARIABLE TEXT,
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    VALUE FLOAT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."OUR_WORLD_IN_DATA_TIMESERIES" (GEO_ID, DATE, VARIABLE, VARIABLE_NAME, UNIT, VALUE) VALUES ('country/KEN', '1868-12-31', 'change_in_global_mean_surface_temperature_caused_by_methane_emissions_from_agriculture_and_land_use', 'Change in global mean surface temperature caused by methane emissions from agriculture and land use', 'Degrees Celsius', 6.946388599999999e-06), ('country/GRD', '1893-12-31', 'change_in_global_mean_surface_temperature_caused_by_co2_emissions_from_fossil_fuels_and_industry', 'Change in global mean surface temperature caused by CO2 emissions from fossil fuels and industry', 'Degrees Celsius', 0.0), ('countryGroup/WORLD', '1884-12-31', 'change_in_global_mean_surface_temperature_caused_by_methane_emissions_from_agriculture_and_land_use', 'Change in global mean surface temperature caused by methane emissions from agriculture and land use', 'Degrees Celsius', 0.010140341), ('country/YEM', '1997-12-31', 'cumulative_co2_emissions_from_flaring', 'Cumulative CO2 emissions from flaring', 'Tonnes', 3270198.0), ('country/CRI', '1992-12-31', 'change_in_global_mean_surface_temperature_caused_by_nitrous_oxide_emissions', 'Change in global mean surface temperature caused by nitrous oxide emissions', 'Degrees Celsius', 2.3692706000000004e-05);
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.GEOGRAPHY_RELATIONSHIPS (
    RELATED_GEO_NAME TEXT,
    RELATED_GEO_ID TEXT,
    RELATED_LEVEL TEXT,
    RELATIONSHIP_TYPE TEXT,
    GEO_ID TEXT,
    LEVEL TEXT,
    GEO_NAME TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."GEOGRAPHY_RELATIONSHIPS" (RELATED_GEO_NAME, RELATED_GEO_ID, RELATED_LEVEL, RELATIONSHIP_TYPE, GEO_ID, LEVEL, GEO_NAME) VALUES ('Census Tract 972.06, Queens, New York', 'geoId/36081097206', 'CensusTract', 'Contains', 'geoId/C35620', 'CensusCoreBasedStatisticalArea', 'New York-Newark-Jersey City, NY-NJ-PA Metro Area'), ('Brossard', 'statcanId/A00052458007', 'CensusSubdivision', 'Overlaps', 'statcanId/S051224580377', 'DisseminationArea', '24580377'), ('Census Tract 5459, Wayne County, Michigan', 'geoId/26163545900', 'CensusTract', 'Overlaps', 'censusBlockGroup/261635459003', 'CensusBlockGroup', 'Block Group 3, Census Tract 5459, Wayne County, Michigan'), ('Northern America', 'countrySubRegion/021', 'CountrySubRegion', 'Overlaps', 'geoId/51153901501', 'CensusTract', 'Census Tract 9015.01, Prince William County, Virginia'), ('Census Tract 18.02, Lafayette Parish, Louisiana', 'geoId/22055001802', 'CensusTract', 'Overlaps', 'zip/70506', 'CensusZipCodeTabulationArea', '70506');
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.FOOD_AGRICULTURE_ORGANIZATION_TIMESERIES (
    VARIABLE_NAME TEXT,
    UNIT TEXT,
    GEO_ID TEXT,
    VARIABLE TEXT,
    DATE TEXT,
    VALUE FLOAT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."FOOD_AGRICULTURE_ORGANIZATION_TIMESERIES" (VARIABLE_NAME, UNIT, GEO_ID, VARIABLE, DATE, VALUE) VALUES ('Manure left on pasture (N content) of Chickens, layers (FAO Estimated value)', 'Kilograms', 'country/NIU', '72380_ 1052_3050_E', '1975-12-31', 145.4598), ('Emissions (CO2) of Agrifood Systems Waste Disposal (FAO Estimated value)', 'Kilotonnes', 'country/IMN', '7273_ 6991_3050_E', '1990-12-31', 0.0), ('Emissions (CO2eq) of Food Processing (Estimated value)', 'Kilotonnes', 'countryGroup/X31', '723113_ 6507_E', '2014-12-31', 1363.663426), ('Emissions (N2O) of Agriculture, Forestry and Other Land Use (FAO Estimated value)', 'Kilotonnes', 'country/AND', '7230_ 6824_3050_E', '2008-12-31', 0.0), ('Manure left on pasture (N content) of Sheep (FAO Estimated value)', 'Kilograms', 'countryGroup/ANZ', '72380_ 976_3050_E', '1971-12-31', 4734986352.9836);
-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.EUROPEAN_COMMISSION_EDGAR_TIMESERIES (
    VALUE FLOAT,
    DATE DATE,
    VARIABLE_NAME TEXT,
    VARIABLE TEXT,
    GEO_ID TEXT,
    UNIT TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."EUROPEAN_COMMISSION_EDGAR_TIMESERIES" (VALUE, DATE, VARIABLE_NAME, VARIABLE, GEO_ID, UNIT) VALUES (13.07, '1970-04-30', 'Nitrous Oxide (N2O) Emissions from Biogenic Sources | Emissions from biomass burning (IPCC 2006), Monthly', 'nitrous_oxide_n2o_emissions_from_biogenic_sources_emissions_from_biomass_burning_ipcc_2006,_monthly', 'country/LAO', 'Metric Ton'), (3.58, '2019-11-30', 'Methane (CH4) Emissions from Biogenic Sources | Manufacturing Industries and Construction (IPCC 2006), Monthly', 'methane_ch4_emissions_from_biogenic_sources_manufacturing_industries_and_construction_ipcc_2006,_monthly', 'country/KEN', 'Metric Ton'), (2004.43, '2019-10-31', 'Methane (CH4) Emissions from Fossil Fuel Sources | Solid Waste Disposal (IPCC 2006), Monthly', 'methane_ch4_emissions_from_fossil_fuel_sources_solid_waste_disposal_ipcc_2006,_monthly', 'country/SGP', 'Metric Ton'), (52.54, '1984-02-29', 'Methane (CH4) Emissions from Biogenic Sources | Residential and other sectors (IPCC 1996), Monthly', 'methane_ch4_emissions_from_biogenic_sources_residential_and_other_sectors_ipcc_1996,_monthly', 'country/NZL', 'Metric Ton'), (85.55, '1996-11-30', 'Nitrous Oxide (N2O) Emissions from Biogenic Sources | Residential and other sectors (IPCC 2006), Monthly', 'nitrous_oxide_n2o_emissions_from_biogenic_sources_residential_and_other_sectors_ipcc_2006,_monthly', 'country/PHL', 'Metric Ton');