nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: sqlite
CREATE TABLE player_award (
    player_id TEXT,
    award_id TEXT,
    year INTEGER,
    league_id TEXT,
    tie TEXT,
    notes TEXT
);

INSERT INTO player_award (player_id, award_id, year, league_id, tie, notes) VALUES ('mantlmi01', 'TSN All-Star', 1962, 'AL', '', 'OF'), ('terrybi01', 'Baseball Magazine All-Star', 1933, 'NL', '', '1B'), ('maranra01', 'Baseball Magazine All-Star', 1920, 'ML', '', 'SS'), ('bartedi01', 'Baseball Magazine All-Star', 1932, 'NL', '', 'SS'), ('ensbemo01', 'Silver Slugger', 2005, 'NL', '', '3B');
-- DBMS: sqlite
CREATE TABLE team_franchise (
    franchise_id TEXT,
    franchise_name TEXT,
    active TEXT,
    na_assoc TEXT
);

INSERT INTO team_franchise (franchise_id, franchise_name, active, na_assoc) VALUES ('TOL', 'Toledo Blue Stockings', 'N', ''), ('CLS', 'Columbus Solons', 'N', ''), ('CBL', 'Cleveland Blues', 'N', ''), ('BLC', 'Baltimore Canaries', '', ''), ('KCR', 'Kansas City Royals', 'Y', '');
-- DBMS: sqlite
CREATE TABLE pitching_postseason (
    player_id TEXT,
    year INTEGER,
    round TEXT,
    team_id TEXT,
    league_id TEXT,
    w INTEGER,
    l INTEGER,
    g INTEGER,
    gs INTEGER,
    cg INTEGER,
    sho INTEGER,
    sv INTEGER,
    ipouts INTEGER,
    h INTEGER,
    er INTEGER,
    hr INTEGER,
    bb INTEGER,
    so INTEGER,
    baopp TEXT,
    era NUMERIC,
    ibb NUMERIC,
    wp NUMERIC,
    hbp NUMERIC,
    bk NUMERIC,
    bfp NUMERIC,
    gf INTEGER,
    r INTEGER,
    sh NUMERIC,
    sf NUMERIC,
    g_idp NUMERIC
);

INSERT INTO pitching_postseason (player_id, year, round, team_id, league_id, w, l, g, gs, cg, sho, sv, ipouts, h, er, hr, bb, so, baopp, era, ibb, wp, hbp, bk, bfp, gf, r, sh, sf, g_idp) VALUES ('ligteke01', 2002, 'NLDS1', 'ATL', 'NL', 0, 0, 1, 0, 0, 0, 0, 6, 0, 0, 0, 0, 1, '0', 0.0, 0, 0, 0, 0, 6, 1, 0, 0, 0, 0), ('verlaju01', 2012, 'ALDS2', 'DET', 'AL', 2, 0, 2, 2, 1, 1, 0, 48, 7, 1, 1, 5, 22, '0.13', 0.56, 0, 0, 0, '', 59, 0, 1, '', '', 0), ('hamilst01', 1964, 'WS', 'NYA', 'AL', 0, 0, 2, 0, 0, 0, 1, 6, 3, 1, 1, 0, 2, '0.37', 4.5, 0, 0, 0, 0, 9, 1, 1, 1, 0, 1), ('harrima01', 2011, 'ALCS', 'TEX', 'AL', 0, 0, 1, 1, 0, 0, 0, 15, 3, 2, 0, 3, 3, '0.176', 3.6, 0, 0, 0, 0, 20, 0, 2, '', '', 1), ('brantje01', 1995, 'NLCS', 'CIN', 'NL', 0, 0, 2, 0, 0, 0, 0, 8, 0, 0, 0, 2, 1, '0', 0.0, 1, 0, 0, 0, 10, 0, 0, 0, 0, 0);
-- DBMS: sqlite
CREATE TABLE salary (
    year INTEGER,
    team_id TEXT,
    league_id TEXT,
    player_id TEXT,
    salary INTEGER
);

INSERT INTO salary (year, team_id, league_id, player_id, salary) VALUES (2010, 'TOR', 'AL', 'wellsve01', 15687500), (2014, 'MIN', 'AL', 'bartlja01', 1000000), (2013, 'HOU', 'AL', 'humbeph01', 480000), (2003, 'OAK', 'AL', 'muldema01', 2650000), (2001, 'TOR', 'AL', 'batisto01', 3300000);
-- DBMS: sqlite
CREATE TABLE fielding (
    player_id TEXT,
    year INTEGER,
    stint INTEGER,
    team_id TEXT,
    league_id TEXT,
    pos TEXT,
    g INTEGER,
    gs NUMERIC,
    inn_outs NUMERIC,
    po NUMERIC,
    a NUMERIC,
    e NUMERIC,
    dp NUMERIC,
    pb NUMERIC,
    wp NUMERIC,
    sb NUMERIC,
    cs NUMERIC,
    zr NUMERIC
);

INSERT INTO fielding (player_id, year, stint, team_id, league_id, pos, g, gs, inn_outs, po, a, e, dp, pb, wp, sb, cs, zr) VALUES ('beckzi01', 1918, 1, 'NYA', 'AL', '1B', 5, '', '', 16, 2, 0, 2, '', '', '', '', ''), ('nageocl01', 2005, 1, 'SEA', 'AL', 'P', 3, '', 12, 0, 2, 0, 0, '', '', '', '', ''), ('smithdw01', 1990, 1, 'CHN', 'NL', 'RF', 22, 13, 420, 33, 1, 1, 1, '', '', '', '', ''), ('russeri01', 1942, 1, 'CHN', 'NL', 'OF', 3, '', '', 7, 0, 0, 0, '', '', '', '', ''), ('bladera01', 1923, 1, 'SLN', 'NL', 'OF', 83, '', '', 194, 11, 7, 2, '', '', '', '', '');
-- DBMS: sqlite
CREATE TABLE home_game (
    year INTEGER,
    league_id TEXT,
    team_id TEXT,
    park_id TEXT,
    span_first TEXT,
    span_last TEXT,
    games INTEGER,
    openings INTEGER,
    attendance INTEGER
);

INSERT INTO home_game (year, league_id, team_id, park_id, span_first, span_last, games, openings, attendance) VALUES (1997, 'AL', 'KCA', 'KAN06', '1997-04-07', '1997-09-21', 80, 77, 1526638), (2002, 'AL', 'BOS', 'BOS07', '2002-04-01', '2002-09-29', 81, 81, 2650859), (1963, 'AL', 'CHA', 'CHI10', '1963-04-16', '1963-09-29', 82, 65, 1179117), (1902, 'AL', 'CHA', 'CHI09', '1902-04-23', '1902-09-25', 72, 0, 0), (1934, 'AL', 'DET', 'DET04', '1934-04-24', '1934-09-30', 80, 6, 147500);
-- DBMS: sqlite
CREATE TABLE batting (
    player_id TEXT,
    year INTEGER,
    stint INTEGER,
    team_id TEXT,
    league_id TEXT,
    g INTEGER,
    ab NUMERIC,
    r NUMERIC,
    h NUMERIC,
    double NUMERIC,
    triple NUMERIC,
    hr NUMERIC,
    rbi NUMERIC,
    sb NUMERIC,
    cs NUMERIC,
    bb NUMERIC,
    so NUMERIC,
    ibb NUMERIC,
    hbp NUMERIC,
    sh NUMERIC,
    sf NUMERIC,
    g_idp NUMERIC
);

INSERT INTO batting (player_id, year, stint, team_id, league_id, g, ab, r, h, double, triple, hr, rbi, sb, cs, bb, so, ibb, hbp, sh, sf, g_idp) VALUES ('bocekmi01', 1934, 1, 'CHA', 'AL', 19, 38, 3, 8, 1, 0, 0, 3, 0, 0, 5, 5, '', 0, 0, '', ''), ('sanfoja02', 1965, 1, 'SFN', 'NL', 23, 25, 0, 3, 0, 0, 0, 0, 0, 0, 2, 7, 0, 0, 1, 0, 0), ('boardch01', 1913, 1, 'PHA', 'AL', 2, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 2, '', 0, 0, '', ''), ('bigbila01', 2003, 1, 'BAL', 'AL', 83, 287, 43, 87, 15, 1, 9, 31, 7, 1, 29, 60, 3, 0, 1, 2, 2), ('varvaan01', 2014, 1, 'ATL', 'NL', 61, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-- DBMS: sqlite
CREATE TABLE manager (
    player_id TEXT,
    year INTEGER,
    team_id TEXT,
    league_id TEXT,
    inseason INTEGER,
    g INTEGER,
    w INTEGER,
    l INTEGER,
    rank NUMERIC,
    plyr_mgr TEXT
);

INSERT INTO manager (player_id, year, team_id, league_id, inseason, g, w, l, rank, plyr_mgr) VALUES ('hutchfr01', 1954, 'DET', 'AL', 1, 155, 68, 86, 5, 'N'), ('harribu01', 1943, 'PHI', 'NL', 1, 94, 39, 53, 7, 'N'), ('boudrlo01', 1954, 'BOS', 'AL', 1, 156, 69, 85, 4, 'N'), ('dressch01', 1937, 'CIN', 'NL', 1, 130, 51, 78, 8, 'N'), ('larusto01', 2008, 'SLN', 'NL', 1, 162, 86, 76, 4, 'N');
-- DBMS: sqlite
CREATE TABLE park (
    park_id TEXT,
    park_name TEXT,
    park_alias TEXT,
    city TEXT,
    state TEXT,
    country TEXT
);

INSERT INTO park (park_id, park_name, park_alias, city, state, country) VALUES ('WAT01', 'Troy Ball Club Grounds', '', 'Watervliet', 'NY', 'US'), ('WAS02', 'National Grounds', '', 'Washington', 'DC', 'US'), ('ARL01', 'Arlington Stadium', '', 'Arlington', 'TX', 'US'), ('BAL07', 'Oriole Park III', '', 'Baltimore', 'MD', 'US'), ('SEA03', 'Safeco Field', '', 'Seattle', 'WA', 'US');
-- DBMS: sqlite
CREATE TABLE team (
    year INTEGER,
    league_id TEXT,
    team_id TEXT,
    franchise_id TEXT,
    div_id TEXT,
    rank INTEGER,
    g INTEGER,
    ghome NUMERIC,
    w INTEGER,
    l INTEGER,
    div_win TEXT,
    wc_win TEXT,
    lg_win TEXT,
    ws_win TEXT,
    r INTEGER,
    ab INTEGER,
    h INTEGER,
    double INTEGER,
    triple INTEGER,
    hr INTEGER,
    bb INTEGER,
    so NUMERIC,
    sb NUMERIC,
    cs NUMERIC,
    hbp NUMERIC,
    sf NUMERIC,
    ra INTEGER,
    er INTEGER,
    era NUMERIC,
    cg INTEGER,
    sho INTEGER,
    sv INTEGER,
    ipouts INTEGER,
    ha INTEGER,
    hra INTEGER,
    bba INTEGER,
    soa INTEGER,
    e INTEGER,
    dp NUMERIC,
    fp NUMERIC,
    name TEXT,
    park TEXT,
    attendance NUMERIC,
    bpf INTEGER,
    ppf INTEGER,
    team_id_br TEXT,
    team_id_lahman45 TEXT,
    team_id_retro TEXT
);

INSERT INTO team (year, league_id, team_id, franchise_id, div_id, rank, g, ghome, w, l, div_win, wc_win, lg_win, ws_win, r, ab, h, double, triple, hr, bb, so, sb, cs, hbp, sf, ra, er, era, cg, sho, sv, ipouts, ha, hra, bba, soa, e, dp, fp, name, park, attendance, bpf, ppf, team_id_br, team_id_lahman45, team_id_retro) VALUES (1989, 'NL', 'SLN', 'STL', 'E', 3, 164, 83, 86, 76, 'N', '', 'N', 'N', 632, 5492, 1418, 263, 47, 73, 507, 848, 155, 54, '', '', 608, 545, 3.36, 18, 18, 43, 4383, 1330, 84, 482, 844, 111, 134, 0.98, 'St. Louis Cardinals', 'Busch Stadium II', 3080980, 103, 103, 'STL', 'SLN', 'SLN'), (2003, 'AL', 'BOS', 'BOS', 'E', 2, 162, 81, 95, 67, 'N', 'Y', 'N', 'N', 961, 5769, 1667, 371, 40, 238, 620, 943, 88, 35, 53, 64, 809, 729, 4.48, 5, 6, 36, 4394, 1503, 153, 488, 1141, 113, 130, 0.982, 'Boston Red Sox', 'Fenway Park II', 2724165, 105, 103, 'BOS', 'BOS', 'BOS'), (1997, 'NL', 'SLN', 'STL', 'C', 4, 162, 81, 73, 89, 'N', 'N', 'N', 'N', 689, 5524, 1409, 269, 39, 144, 543, 1191, 164, 60, '', '', 708, 631, 3.9, 5, 3, 39, 4367, 1422, 124, 536, 1130, 123, 156, 0.98, 'St. Louis Cardinals', 'Busch Stadium II', 2634014, 99, 99, 'STL', 'SLN', 'SLN'), (1943, 'NL', 'BSN', 'ATL', '', 6, 153, 77, 68, 85, '', '', 'N', 'N', 465, 5196, 1213, 202, 36, 39, 469, 609, 56, '', '', '', 612, 504, 3.25, 87, 13, 4, 4191, 1361, 66, 441, 409, 178, 139, 0.97, 'Boston Braves', 'Braves Field', 271289, 98, 100, 'BSN', 'BSN', 'BSN'), (2003, 'AL', 'NYA', 'NYY', 'E', 1, 163, 82, 101, 61, 'Y', 'N', 'Y', 'N', 877, 5605, 1518, 304, 14, 230, 684, 1042, 98, 33, 81, 35, 716, 653, 4.02, 8, 12, 49, 4386, 1512, 145, 375, 1119, 114, 126, 0.981, 'New York Yankees', 'Yankee Stadium II', 3465600, 98, 97, 'NYY', 'NYA', 'NYA');
-- DBMS: sqlite
CREATE TABLE all_star (
    player_id TEXT,
    year INTEGER,
    game_num INTEGER,
    game_id TEXT,
    team_id TEXT,
    league_id TEXT,
    gp NUMERIC,
    starting_pos NUMERIC
);

INSERT INTO all_star (player_id, year, game_num, game_id, team_id, league_id, gp, starting_pos) VALUES ('quantpa01', 2001, 0, 'ALS200107100', 'TOR', 'AL', 1, ''), ('hackst01', 1945, 0, '', 'CHN', 'NL', 0, ''), ('phillbr01', 2011, 0, 'NLS201107120', 'CIN', 'NL', 1, ''), ('vaughar01', 1940, 0, 'NLS194007090', 'PIT', 'NL', 1, 6), ('biggicr01', 1998, 0, 'NLS199807070', 'HOU', 'NL', 1, 4);
-- DBMS: sqlite
CREATE TABLE fielding_outfield (
    player_id TEXT,
    year INTEGER,
    stint INTEGER,
    glf NUMERIC,
    gcf NUMERIC,
    grf NUMERIC
);

INSERT INTO fielding_outfield (player_id, year, stint, glf, gcf, grf) VALUES ('rosemch01', 1884, 1, 4, 103, 0), ('isbelfr01', 1904, 1, 0, 0, 5), ('oullijo01', 1933, 1, 12, 0, 6), ('fletcge01', 1872, 1, 0, 0, 2), ('ewingbo01', 1902, 1, 5, 0, 0);
-- DBMS: sqlite
CREATE TABLE manager_award_vote (
    award_id TEXT,
    year INTEGER,
    league_id TEXT,
    player_id TEXT,
    points_won INTEGER,
    points_max INTEGER,
    votes_first INTEGER
);

INSERT INTO manager_award_vote (award_id, year, league_id, player_id, points_won, points_max, votes_first) VALUES ('Mgr of the year', 1996, 'NL', 'coxbo01', 24, 140, 3), ('Mgr of the year', 1991, 'NL', 'lasorto01', 5, 120, 0), ('Mgr of the year', 2009, 'NL', 'bochybr01', 18, 160, 0), ('Mgr of the year', 1997, 'NL', 'coxbo01', 6, 140, 0), ('Mgr of the year', 1987, 'NL', 'craigro01', 65, 120, 6);
-- DBMS: sqlite
CREATE TABLE appearances (
    year INTEGER,
    team_id TEXT,
    league_id TEXT,
    player_id TEXT,
    g_all NUMERIC,
    gs NUMERIC,
    g_batting INTEGER,
    g_defense NUMERIC,
    g_p INTEGER,
    g_c INTEGER,
    g_1b INTEGER,
    g_2b INTEGER,
    g_3b INTEGER,
    g_ss INTEGER,
    g_lf INTEGER,
    g_cf INTEGER,
    g_rf INTEGER,
    g_of INTEGER,
    g_dh NUMERIC,
    g_ph NUMERIC,
    g_pr NUMERIC
);

INSERT INTO appearances (year, team_id, league_id, player_id, g_all, gs, g_batting, g_defense, g_p, g_c, g_1b, g_2b, g_3b, g_ss, g_lf, g_cf, g_rf, g_of, g_dh, g_ph, g_pr) VALUES (1934, 'NYA', 'AL', 'newkifl01', 1, '', 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', ''), (1925, 'BRO', 'NL', 'browned02', 153, '', 153, 153, 0, 0, 0, 0, 0, 0, 0, 153, 0, 153, '', '', ''), (1976, 'MON', 'NL', 'kirbycl01', 22, 15, 22, 22, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (1998, 'DET', 'AL', 'olivejo01', 50, 44, 50, 49, 0, 48, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), (1993, 'SEA', 'AL', 'newfima01', 22, 17, 22, 5, 0, 0, 0, 0, 0, 0, 5, 0, 0, 5, 15, 3, 0);
-- DBMS: sqlite
CREATE TABLE fielding_postseason (
    player_id TEXT,
    year INTEGER,
    team_id TEXT,
    league_id TEXT,
    round TEXT,
    pos TEXT,
    g INTEGER,
    gs NUMERIC,
    inn_outs NUMERIC,
    po INTEGER,
    a INTEGER,
    e INTEGER,
    dp INTEGER,
    tp INTEGER,
    pb NUMERIC,
    sb NUMERIC,
    cs NUMERIC
);

INSERT INTO fielding_postseason (player_id, year, team_id, league_id, round, pos, g, gs, inn_outs, po, a, e, dp, tp, pb, sb, cs) VALUES ('lidgebr01', 2005, 'HOU', 'NL', 'WS', 'P', 3, 0, 11, 0, 1, 0, 0, 0, '', 0, 0), ('mierked01', 1945, 'DET', 'AL', 'WS', 'LF', 1, 0, 3, 0, 0, 0, 0, 0, '', '', ''), ('clemero02', 2000, 'NYA', 'AL', 'ALCS', 'P', 1, 1, 27, 1, 0, 0, 0, 0, '', 0, 0), ('sotoge01', 2014, 'OAK', 'AL', 'ALWC', 'C', 1, 1, 6, 2, 0, 0, 0, 0, 0, 1, 1), ('rodrifr03', 2002, 'ANA', 'AL', 'ALCS', 'P', 4, 0, 13, 0, 0, 0, 0, 0, '', 0, 0);
-- DBMS: sqlite
CREATE TABLE model (
    name TEXT,
    version INTEGER,
    step INTEGER,
    L1_model TEXT
);

INSERT INTO model (name, version, step, L1_model) VALUES ('survey lung cancer', 3, 3, 'regression'), ('diabetes', 1, 1, 'regression'), ('kindey stone urine analysis', 3, 2, 'regression'), ('kindey stone urine analysis', 2, 1, 'regression'), ('Solar Power Generation', 3, 3, 'regression');
-- DBMS: sqlite
CREATE TABLE model_importance (
    name TEXT,
    version INTEGER,
    step INTEGER,
    model TEXT,
    importance NUMERIC
);

INSERT INTO model_importance (name, version, step, model, importance) VALUES ('Hospital Mortality Prediction', 4, 1, 'KNCD', 0.12070944188724882), ('Liver disease prediction', 3, 1, 'RFCE', 0.1759156305674637), ('Pumpkin Seeds', 4, 1, 'ABC', 0.03165604802425169), ('smoke detection iot', 4, 1, 'SGDCMH', 0.0), ('Hospital Mortality Prediction', 6, 1, 'MLPC1', 0.028173134055486996);
-- DBMS: sqlite
CREATE TABLE stack_ok_score (
    name TEXT,
    version INTEGER,
    score_1 NUMERIC,
    score_2 NUMERIC,
    score_3 NUMERIC
);

INSERT INTO stack_ok_score (name, version, score_1, score_2, score_3) VALUES ('PCOS', 3, 0.888268156424581, 0.9050279329608939, 0.888268156424581), ('concrete', 6, 0.9103543209636573, 0.8979051516678175, 0.8962199435221825), ('Solar Power Generation', 7, 0.8925501196742699, 0.933297083592692, 0.8066218566539407), ('smoke detection iot', 3, 0.9999516160247726, 0.9999032320495452, 0.9999516160247726), ('smoke detection iot', 5, 0.9999032320495452, 0.999758080123863, 0.9999516160247726);
-- DBMS: sqlite
CREATE TABLE eda (
    name TEXT,
    version INTEGER,
    feature TEXT,
    type TEXT,
    range BLOB,
    drop_user INTEGER,
    drop_correlation INTEGER,
    target INTEGER
);

INSERT INTO eda (name, version, feature, type, range, drop_user, drop_correlation, target) VALUES ('kindey stone urine analysis', 3, 'ph', 'num', '[4.76, 7.94]', 0, 0, 0), ('water quality', 3, 'barium', 'num', '[0.0, 4.94]', 0, 0, 0), ('smoke detection iot', 4, 'TVOC[ppb]', 'num', '[0, 60000]', 0, 0, 0), ('water quality', 3, 'nitrites', 'num', '[0.0, 2.93]', 0, 0, 0), ('Hospital Mortality Prediction', 3, 'NT-proBNP', 'num', '[50.0, 118928.0]', 0, 0, 0);
-- DBMS: sqlite
CREATE TABLE solution_ext (
    name TEXT,
    version INTEGER,
    L1_model TEXT
);

INSERT INTO solution_ext (name, version, L1_model) VALUES ('concrete', 1, 'regression'), ('Hospital Mortality Prediction', 4, 'regression'), ('Pumpkin Seeds', 3, 'tree'), ('smoke detection iot', 4, 'tree'), ('Critical Heat Flux', 3, 'tree');
-- DBMS: sqlite
CREATE TABLE feature_importance (
    name TEXT,
    version INTEGER,
    step INTEGER,
    feature TEXT,
    importance NUMERIC
);

INSERT INTO feature_importance (name, version, step, feature, importance) VALUES ('Critical Heat Flux', 3, 1, 'D_h [mm]', 0.05055527699217286), ('oil spill', 5, 2, 'f_5', 0.024013722126929718), ('water quality', 1, 2, 'uranium', 0.04764357455575584), ('Solar Power Generation', 2, 1, 'Average Wind Speed (Day)', 0.0027081066067298036), ('survey lung cancer', 5, 2, 'WHEEZING', 0.015862944162436544);
-- DBMS: sqlite
CREATE TABLE model_score (
    name TEXT,
    version INTEGER,
    step INTEGER,
    model TEXT,
    train_score NUMERIC,
    test_score NUMERIC
);

INSERT INTO model_score (name, version, step, model, train_score, test_score) VALUES ('oil spill', 1, 1, 'DTCE', 1.0, 0.9379310344827586), ('Solar Power Generation', 1, 1, 'DTRF', 1.0, 0.8518099287404607), ('kindey stone urine analysis', 6, 1, 'MLPC2', 0.6805970149253732, 0.6787878787878788), ('Critical Heat Flux', 1, 1, 'RFRA', 0.9626724920415091, 0.7230628923282469), ('Hospital Mortality Prediction', 3, 3, 'RFCE', 1.0, 0.8303030303030303);
-- DBMS: sqlite
CREATE TABLE problem (
    name TEXT,
    path TEXT,
    type TEXT,
    target TEXT
);

INSERT INTO problem (name, path, type, target) VALUES ('diabetes', 'https://www.kaggle.com/datasets/akshaydattatraykhare/diabetes-dataset', 'classification', 'Outcome'), ('iris', 'https://www.kaggle.com/datasets/uciml/iris', 'classification', 'variety'), ('PSS3E5', 'https://www.kaggle.com/competitions/playground-series-s3e5', 'classification', 'quality'), ('kindey stone urine analysis', 'https://www.kaggle.com/datasets/vuppalaadithyasairam/kidney-stone-prediction-based-on-urine-analysis', 'classification', 'target'), ('Hospital Mortality Prediction', 'https://www.kaggle.com/datasets/saurabhshahane/in-hospital-mortality-prediction', 'classification', 'outcome');
-- DBMS: sqlite
CREATE TABLE stack_ok (
    name TEXT,
    version INTEGER,
    step INTEGER,
    L1_model TEXT,
    status 
);

INSERT INTO stack_ok (name, version, step, L1_model, status) VALUES ('lithium ion batteries', 3, 3, 'regression', 'soft'), ('Tunnel diode', 2, 1, 'regression', 'strong'), ('kindey stone urine analysis', 7, 1, 'tree', 'soft'), ('PSS3E5', 4, 1, 'regression', 'strong'), ('oil spill', 2, 2, 'regression', 'soft');
-- DBMS: sqlite
CREATE TABLE solution (
    name TEXT,
    version INTEGER,
    correlation NUMERIC,
    nb_model INTEGER,
    nb_feature INTEGER,
    score NUMERIC,
    test_size NUMERIC,
    resampling INTEGER
);

INSERT INTO solution (name, version, correlation, nb_model, nb_feature, score, test_size, resampling) VALUES ('lithium ion batteries', 2, 0.75, 3, 5, 0.9, 0.33, 0), ('Tunnel diode', 5, 0.75, 3, 5, 0.7, 0.33, 0), ('water quality', 1, 0.75, 5, 5, 0.7, 0.33, 0), ('Liver disease prediction', 1, 0.75, 5, 5, 0.7, 0.33, 1), ('oil spill', 2, 0.75, 3, 5, 0.9, 0.29, 1);
-- DBMS: sqlite
CREATE TABLE rental (
    rental_id INT,
    rental_date TIMESTAMP,
    inventory_id INT,
    customer_id INT,
    return_date TIMESTAMP,
    staff_id SMALLINT,
    last_update TIMESTAMP
);

INSERT INTO rental (rental_id, rental_date, inventory_id, customer_id, return_date, staff_id, last_update) VALUES (13577, '2006-02-14 15:16:03.000', 3844, 448, NULL, 2, '2021-03-06 15:55:33'), (4971, '2005-07-08 23:54:49.000', 460, 64, '2005-07-16 00:15:49.000', 1, '2021-03-06 15:54:21'), (13159, '2005-08-19 13:19:59.000', 2300, 497, '2005-08-21 09:22:59.000', 2, '2021-03-06 15:55:29'), (4685, '2005-07-08 10:45:13.000', 602, 590, '2005-07-12 08:29:13.000', 1, '2021-03-06 15:54:19'), (6602, '2005-07-12 07:50:24.000', 2382, 214, '2005-07-20 03:25:24.000', 2, '2021-03-06 15:54:35');
-- DBMS: sqlite
CREATE TABLE language (
    language_id SMALLINT,
    name CHAR(20),
    last_update TIMESTAMP
);

INSERT INTO language (language_id, name, last_update) VALUES (6, 'German', '2021-03-06 15:51:48'), (4, 'Mandarin', '2021-03-06 15:51:48'), (5, 'French', '2021-03-06 15:51:48'), (3, 'Japanese', '2021-03-06 15:51:48'), (1, 'English', '2021-03-06 15:51:48');
-- DBMS: sqlite
CREATE TABLE city (
    city_id INT,
    city VARCHAR(50),
    country_id SMALLINT,
    last_update TIMESTAMP
);

INSERT INTO city (city_id, city, country_id, last_update) VALUES (342, 'Monywa', 64, '2021-03-06 15:51:52'), (256, 'Kamakura', 50, '2021-03-06 15:51:51'), (136, 'Datong', 23, '2021-03-06 15:51:50'), (32, 'Arecibo', 77, '2021-03-06 15:51:50'), (55, 'Barcelona', 104, '2021-03-06 15:51:50');
-- DBMS: sqlite
CREATE TABLE actor (
    actor_id numeric,
    first_name VARCHAR(45),
    last_name VARCHAR(45),
    last_update TIMESTAMP
);

INSERT INTO actor (actor_id, first_name, last_name, last_update) VALUES (114, 'MORGAN', 'MCDORMAND', '2021-03-06 15:51:59'), (123, 'JULIANNE', 'DENCH', '2021-03-06 15:51:59'), (145, 'KIM', 'ALLEN', '2021-03-06 15:52:00'), (158, 'VIVIEN', 'BASINGER', '2021-03-06 15:52:00'), (126, 'FRANCES', 'TOMEI', '2021-03-06 15:52:00');
-- DBMS: sqlite
CREATE TABLE film_category (
    film_id INT,
    category_id SMALLINT,
    last_update TIMESTAMP
);

INSERT INTO film_category (film_id, category_id, last_update) VALUES (201, 9, '2021-03-06 15:53:29'), (315, 8, '2021-03-06 15:53:30'), (634, 8, '2021-03-06 15:53:33'), (284, 12, '2021-03-06 15:53:30'), (186, 7, '2021-03-06 15:53:29');
-- DBMS: sqlite
CREATE TABLE film_actor (
    actor_id INT,
    film_id INT,
    last_update TIMESTAMP
);

INSERT INTO film_actor (actor_id, film_id, last_update) VALUES (167, 734, '2021-03-06 15:53:21'), (29, 342, '2021-03-06 15:52:51'), (54, 292, '2021-03-06 15:52:56'), (113, 642, '2021-03-06 15:53:09'), (168, 56, '2021-03-06 15:53:21');
-- DBMS: sqlite
CREATE TABLE address (
    address_id INT,
    address VARCHAR(50),
    address2 VARCHAR(50),
    district VARCHAR(20),
    city_id INT,
    postal_code VARCHAR(10),
    phone VARCHAR(20),
    last_update TIMESTAMP
);

INSERT INTO address (address_id, address, address2, district, city_id, postal_code, phone, last_update) VALUES (166, '1740 Le Mans Loop', NULL, ' ', 297, '22853', ' ', '2021-03-06 15:51:55'), (22, '320 Brest Avenue', NULL, ' ', 252, '43331', ' ', '2021-03-06 15:51:54'), (569, '1342 Abha Boulevard', NULL, ' ', 95, '10714', ' ', '2021-03-06 15:51:58'), (552, '390 Wroclaw Way', NULL, ' ', 462, '5753', ' ', '2021-03-06 15:51:58'), (69, '698 Otsu Street', NULL, ' ', 105, '71110', ' ', '2021-03-06 15:51:54');
-- DBMS: sqlite
CREATE TABLE sales_by_film_category (
    category VARCHAR(25),
    total_sales 
);

INSERT INTO sales_by_film_category (category, total_sales) VALUES ('New', 4351.62), ('Horror', 3722.54), ('Sci-Fi', 4756.9800000000005), ('Foreign', 4270.67), ('Sports', 5314.21);
-- DBMS: sqlite
CREATE TABLE film_list (
    FID INT,
    title VARCHAR(255),
    description BLOB SUB_TYPE TEXT,
    category VARCHAR(25),
    price DECIMAL(4,2),
    length SMALLINT,
    rating VARCHAR(10),
    actors 
);

INSERT INTO film_list (FID, title, description, category, price, length, rating, actors) VALUES (641, 'ORANGE GRAPES', 'A Astounding Documentary of a Butler And a Womanizer who must Face a Dog in A U-Boat', 'Foreign', 0.99, 76, 'PG-13', 'PENELOPE MONROE'), (431, 'HOOSIERS BIRDCAGE', 'A Astounding Display of a Explorer And a Boat who must Vanquish a Car in The First Manned Space Station', 'Foreign', 2.99, 176, 'G', 'FAY WINSLET'), (849, 'STORM HAPPINESS', 'A Insightful Drama of a Feminist And a A Shark who must Vanquish a Boat in A Shark Tank', 'Animation', 0.99, 57, 'NC-17', 'GINA DEGENERES'), (677, 'PIANIST OUTFIELD', 'A Intrepid Story of a Boy And a Technical Writer who must Pursue a Lumberjack in A Monastery', 'New', 0.99, 136, 'NC-17', 'PENELOPE CRONYN'), (367, 'GOLDMINE TYCOON', 'A Brilliant Epistle of a Composer And a Frisbee who must Conquer a Husband in The Outback', 'Sci-Fi', 0.99, 153, 'R', 'ALBERT NOLTE');
-- DBMS: sqlite
CREATE TABLE category (
    category_id SMALLINT,
    name VARCHAR(25),
    last_update TIMESTAMP
);

INSERT INTO category (category_id, name, last_update) VALUES (16, 'Travel', '2021-03-06 15:52:00'), (3, 'Children', '2021-03-06 15:52:00'), (1, 'Action', '2021-03-06 15:52:00'), (10, 'Games', '2021-03-06 15:52:00'), (5, 'Comedy', '2021-03-06 15:52:00');
-- DBMS: sqlite
CREATE TABLE payment (
    payment_id INT,
    customer_id INT,
    staff_id SMALLINT,
    rental_id INT,
    amount DECIMAL(5,2),
    payment_date TIMESTAMP,
    last_update TIMESTAMP
);

INSERT INTO payment (payment_id, customer_id, staff_id, rental_id, amount, payment_date, last_update) VALUES (10446, 386, 1, 1608, 2.99, '2005-06-16 06:28:57.000', '2021-03-06 15:57:24'), (9923, 367, 2, 5538, 4.99, '2005-07-10 02:39:40.000', '2021-03-06 15:57:19'), (2435, 89, 1, 11090, 3.99, '2005-08-02 07:56:40.000', '2021-03-06 15:56:18'), (1042, 38, 2, 4644, 4.99, '2005-07-08 09:14:29.000', '2021-03-06 15:56:06'), (7607, 280, 2, 15036, 2.99, '2005-08-22 09:36:00.000', '2021-03-06 15:57:00');
-- DBMS: sqlite
CREATE TABLE inventory (
    inventory_id INT,
    film_id INT,
    store_id INT,
    last_update TIMESTAMP
);

INSERT INTO inventory (inventory_id, film_id, store_id, last_update) VALUES (1039, 232, 1, '2021-03-06 15:52:16'), (630, 137, 2, '2021-03-06 15:52:13'), (122, 24, 1, '2021-03-06 15:52:09'), (2607, 572, 1, '2021-03-06 15:52:29'), (2199, 476, 1, '2021-03-06 15:52:26');
-- DBMS: sqlite
CREATE TABLE customer (
    customer_id INT,
    store_id INT,
    first_name VARCHAR(45),
    last_name VARCHAR(45),
    email VARCHAR(50),
    address_id INT,
    active CHAR(1),
    create_date TIMESTAMP,
    last_update TIMESTAMP
);

INSERT INTO customer (customer_id, store_id, first_name, last_name, email, address_id, active, create_date, last_update) VALUES (411, 1, 'NORMAN', 'CURRIER', 'NORMAN.CURRIER@sakilacustomer.org', 416, '1', '2006-02-14 22:04:37.000', '2021-03-06 15:53:39'), (470, 1, 'GORDON', 'ALLARD', 'GORDON.ALLARD@sakilacustomer.org', 475, '1', '2006-02-14 22:04:37.000', '2021-03-06 15:53:40'), (27, 2, 'SHIRLEY', 'ALLEN', 'SHIRLEY.ALLEN@sakilacustomer.org', 31, '1', '2006-02-14 22:04:36.000', '2021-03-06 15:53:36'), (22, 1, 'LAURA', 'RODRIGUEZ', 'LAURA.RODRIGUEZ@sakilacustomer.org', 26, '1', '2006-02-14 22:04:36.000', '2021-03-06 15:53:36'), (167, 2, 'SALLY', 'PIERCE', 'SALLY.PIERCE@sakilacustomer.org', 171, '1', '2006-02-14 22:04:36.000', '2021-03-06 15:53:37');
-- DBMS: sqlite
CREATE TABLE film (
    film_id INT,
    title VARCHAR(255),
    description BLOB SUB_TYPE TEXT,
    release_year VARCHAR(4),
    language_id SMALLINT,
    original_language_id SMALLINT,
    rental_duration SMALLINT,
    rental_rate DECIMAL(4,2),
    length SMALLINT,
    replacement_cost DECIMAL(5,2),
    rating VARCHAR(10),
    special_features VARCHAR(100),
    last_update TIMESTAMP
);

INSERT INTO film (film_id, title, description, release_year, language_id, original_language_id, rental_duration, rental_rate, length, replacement_cost, rating, special_features, last_update) VALUES (365, 'GOLD RIVER', 'A Taut Documentary of a Database Administrator And a Waitress who must Reach a Mad Scientist in A Baloon Factory', '2006', 1, NULL, 4, 4.99, 154, 21.99, 'R', 'Trailers,Commentaries,Deleted Scenes,Behind the Scenes', '2021-03-06 15:52:03'), (207, 'DANGEROUS UPTOWN', 'A Unbelieveable Story of a Mad Scientist And a Woman who must Overcome a Dog in California', '2006', 1, NULL, 7, 4.99, 121, 26.99, 'PG', 'Commentaries', '2021-03-06 15:52:02'), (772, 'SEA VIRGIN', 'A Fast-Paced Documentary of a Technical Writer And a Pastry Chef who must Escape a Moose in A U-Boat', '2006', 1, NULL, 4, 2.99, 80, 24.99, 'PG', 'Deleted Scenes', '2021-03-06 15:52:06'), (211, 'DARLING BREAKING', 'A Brilliant Documentary of a Astronaut And a Squirrel who must Succumb a Student in The Gulf of Mexico', '2006', 1, NULL, 7, 4.99, 165, 20.99, 'PG-13', 'Commentaries,Behind the Scenes', '2021-03-06 15:52:02'), (85, 'BONNIE HOLOCAUST', 'A Fast-Paced Story of a Crocodile And a Robot who must Find a Moose in Ancient Japan', '2006', 1, NULL, 4, 0.99, 63, 29.99, 'G', 'Deleted Scenes', '2021-03-06 15:52:01');
-- DBMS: sqlite
CREATE TABLE customer_list (
    ID INT,
    name ,
    address VARCHAR(50),
    zip_code VARCHAR(10),
    phone VARCHAR(20),
    city VARCHAR(50),
    country VARCHAR(50),
    notes ,
    SID INT
);

INSERT INTO customer_list (ID, name, address, zip_code, phone, city, country, notes, SID) VALUES (318, 'BRIAN WYMAN', '1769 Iwaki Lane', '25787', ' ', 'Bydgoszcz', 'Poland', 'active', 1), (189, 'LORETTA CARPENTER', '891 Novi Sad Manor', '5379', ' ', 'Oshawa', 'Canada', 'active', 1), (9, 'MARGARET MOORE', '613 Korolev Drive', '45844', ' ', 'Masqat', 'Oman', 'active', 2), (438, 'BARRY LOVELACE', '1836 Korla Parkway', '55405', ' ', 'Kitwe', 'Zambia', 'active', 1), (81, 'ANDREA HENDERSON', '320 Baiyin Parkway', '37307', ' ', 'Mahajanga', 'Madagascar', 'active', 1);
-- DBMS: sqlite
CREATE TABLE country (
    country_id SMALLINT,
    country VARCHAR(50),
    last_update TIMESTAMP
);

INSERT INTO country (country_id, country, last_update) VALUES (41, 'Holy See (Vatican City State)', '2021-03-06 15:51:49'), (43, 'Hungary', '2021-03-06 15:51:49'), (70, 'North Korea', '2021-03-06 15:51:49'), (91, 'Switzerland', '2021-03-06 15:51:49'), (83, 'Senegal', '2021-03-06 15:51:49');
-- DBMS: sqlite
CREATE TABLE M_Country (
    index INTEGER,
    MID TEXT,
    CID REAL,
    ID INTEGER
);

INSERT INTO M_Country (index, MID, CID, ID) VALUES (905, 'tt1773015', 2.0, 905), (3219, 'tt5544662', 2.0, 3219), (2603, 'tt0375705', 2.0, 2603), (2034, 'tt0476805', 2.0, 2034), (1902, 'tt0046673', 2.0, 1902);
-- DBMS: sqlite
CREATE TABLE Movie (
    index INTEGER,
    MID TEXT,
    title TEXT,
    year TEXT,
    rating REAL,
    num_votes INTEGER
);

INSERT INTO Movie (index, MID, title, year, rating, num_votes) VALUES (3296, 'tt0349058', '88 Antop Hill', '2003', 4.6, 59), (298, 'tt3709344', 'City Lights', '2014', 7.3, 3794), (1471, 'tt0215911', 'Koshish', '1972', 8.7, 1250), (2459, 'tt6346954', 'Shor Se Shuruaat', '2016', 6.7, 118), (1103, 'tt3636776', 'Samrat & Co.', '2014', 6.4, 940);
-- DBMS: sqlite
CREATE TABLE M_Cast (
    index INTEGER,
    MID TEXT,
    PID TEXT,
    ID INTEGER
);

INSERT INTO M_Cast (index, MID, PID, ID) VALUES (44870, 'tt0337633', ' nm1277293', 44870), (31074, 'tt0154749', ' nm0707502', 31074), (41032, 'tt0313495', ' nm0451864', 41032), (28026, 'tt2188805', ' nm2195693', 28026), (41692, 'tt2275794', ' nm1159638', 41692);
-- DBMS: sqlite
CREATE TABLE Location (
    index INTEGER,
    Name TEXT,
    LID INTEGER
);

INSERT INTO Location (index, Name, LID) VALUES (47, 'Abbeydale Sports Club, Sheffield, South Yorkshire, England, UK', 47), (323, 'Aga Khan Palace, Nagar Rd, Pune, Maharashtra, India', 323), (239, 'Annapoorna Studios, Hyderabad, Telangana, India', 239), (237, 'Beloeil, Belgium', 237), (73, 'Florida, USA', 73);
-- DBMS: sqlite
CREATE TABLE Genre (
    index INTEGER,
    Name TEXT,
    GID INTEGER
);

INSERT INTO Genre (index, Name, GID) VALUES (229, 'Crime, Drama, Fantasy            ', 229), (84, 'Thriller            ', 84), (210, 'Musical, Fantasy            ', 210), (134, 'Sci-Fi            ', 134), (72, 'Action, Comedy            ', 72);
-- DBMS: sqlite
CREATE TABLE Person (
    index INTEGER,
    PID TEXT,
    Name TEXT,
    Gender TEXT
);

INSERT INTO Person (index, PID, Name, Gender) VALUES (25488, 'nm3845280', ' Rajiv Thakur', 'Male'), (7972, 'nm1319395', ' Hoi-Pang Lo', 'Male'), (14258, 'nm2423229', ' Joan Riegert', 'Female'), (15421, 'nm1218479', ' Master Atit', 'Male'), (3955, 'nm3554142', ' Kathryne Isabelle Easton', 'Male');
-- DBMS: sqlite
CREATE TABLE M_Genre (
    index INTEGER,
    MID TEXT,
    GID INTEGER,
    ID INTEGER
);

INSERT INTO M_Genre (index, MID, GID, ID) VALUES (196, 'tt0073707', 36, 196), (3245, 'tt0173283', 19, 3245), (3173, 'tt0070009', 19, 3173), (1829, 'tt0058287', 246, 1829), (0, 'tt2388771', 0, 0);
-- DBMS: sqlite
CREATE TABLE M_Language (
    index INTEGER,
    MID TEXT,
    LAID INTEGER,
    ID INTEGER
);

INSERT INTO M_Language (index, MID, LAID, ID) VALUES (2970, 'tt0085912', 2, 2970), (2710, 'tt0338959', 2, 2710), (173, 'tt3767372', 2, 173), (3454, 'tt0245830', 4, 3454), (2308, 'tt2402131', 2, 2308);
-- DBMS: sqlite
CREATE TABLE M_Director (
    index INTEGER,
    MID TEXT,
    PID TEXT,
    ID INTEGER
);

INSERT INTO M_Director (index, MID, PID, ID) VALUES (1046, 'tt6080746', 'nm0223606', 1046), (2699, 'tt2962230', 'nm0154269', 2699), (1525, 'tt0089599', 'nm0576559', 1525), (164, 'tt1093370', 'nm1665004', 164), (347, 'tt0463345', 'nm1662693', 347);
-- DBMS: sqlite
CREATE TABLE M_Location (
    index INTEGER,
    MID TEXT,
    LID REAL,
    ID INTEGER
);

INSERT INTO M_Location (index, MID, LID, ID) VALUES (2524, 'tt1887763', NULL, 2524), (1719, 'tt0375997', NULL, 1719), (2742, 'tt2265191', NULL, 2742), (1251, 'tt0277981', NULL, 1251), (230, 'tt3542028', NULL, 230);
-- DBMS: sqlite
CREATE TABLE M_Producer (
    index INTEGER,
    MID TEXT,
    PID TEXT,
    ID INTEGER
);

INSERT INTO M_Producer (index, MID, PID, ID) VALUES (8698, 'tt1573482', ' nm1154600', 8698), (7321, 'tt0086597', ' nm0438470', 7321), (7070, 'tt4684028', ' nm7754496', 7070), (3305, 'tt3794302', ' nm2132725', 3305), (1520, 'tt7399470', ' nm4482460', 1520);
-- DBMS: sqlite
CREATE TABLE Events (
    id INTEGER,
    name TEXT
);

INSERT INTO Events (id, name) VALUES (3575, 'Money In The Bank 2022'), (2441, 'Superstars of Wrestling Taping #260'), (2337, 'Wrestling Challenge Taping #288'), (10196, 'Bash At The Beach ''99'), (11002, 'Sanford Show');
-- DBMS: sqlite
CREATE TABLE Belts (
    id INTEGER,
    name TEXT
);

INSERT INTO Belts (id, name) VALUES (19634, 'WWF International Title'), (67836, 'NXT Championship NXT North American Championship'), (1637, 'WWF Hardcore Title'), (1625, 'WWF Cruiserweight Title'), (22563, 'WWE Unified Tag Team Titles');
-- DBMS: sqlite
CREATE TABLE Wrestlers (
    id INTEGER,
    name 
);

INSERT INTO Wrestlers (id, name) VALUES (7968, 'Grandmaster Sexay & Raven & Steve Blackman'), (99186, 'Dinty Moore & Steve Fender'), (11320, 'Dean Malenko & The Godfather'), (49198, 'Braun Strowman & Drew McIntyre'), (23106, 'Bill Payne & Tim McNeany');
-- DBMS: sqlite
CREATE TABLE Matches (
    id INTEGER,
    card_id INTEGER,
    winner_id TEXT,
    win_type TEXT,
    loser_id TEXT,
    match_type_id TEXT,
    duration TEXT,
    title_id TEXT,
    title_change INTEGER
);

INSERT INTO Matches (id, card_id, winner_id, win_type, loser_id, match_type_id, duration, title_id, title_change) VALUES (435067, 8416, '3286', 'def. (pin)', '98496', '399', '01:39', '1', 0), (296379, 10889, '118375', 'def.', '117907', '1', '', '65152', 0), (157310, 465, '3447', 'def. (pin)', '3852', '1', '', '1', 0), (395773, 1478, '14884', 'def. (pin)', '17806', '1', '', '1', 0), (83840, 989, '3563', 'draw (NC)', '3287', '1', '', '1', 0);
-- DBMS: sqlite
CREATE TABLE Match_Types (
    id INTEGER,
    name TEXT
);

INSERT INTO Match_Types (id, name) VALUES (30644, '"I Forfeit Match"'), (30577, 'commentator: Baron Corbin commentator: Maryse commentator: The Miz'), (28585, 'referee: Daniel Bryan referee: Shane McMahon'), (6582, 'no holds barred handicap tag'), (49883, 'basketball contest');
-- DBMS: sqlite
CREATE TABLE tracks (
    TrackId INTEGER,
    Name NVARCHAR(200),
    AlbumId INTEGER,
    MediaTypeId INTEGER,
    GenreId INTEGER,
    Composer NVARCHAR(220),
    Milliseconds INTEGER,
    Bytes INTEGER,
    UnitPrice NUMERIC(10,2)
);

INSERT INTO tracks (TrackId, Name, AlbumId, MediaTypeId, GenreId, Composer, Milliseconds, Bytes, UnitPrice) VALUES (744, 'Mis Penas Lloraba Yo (Ao Vivo) Soy Gitano (Tangos)', 57, 1, 7, NULL, 188473, 6195854, 0.99), (2742, 'The Seeker', 221, 1, 1, 'Pete Townshend', 204643, 6736866, 0.99), (766, 'Fools', 60, 1, 1, 'Ritchie Blackmore, Ian Gillan, Roger Glover, Jon Lord, Ian Paice', 500427, 16279366, 0.99), (1483, 'Love Or Confusion', 120, 1, 1, 'Jimi Hendrix', 193123, 6329408, 0.99), (1341, 'Quest For Fire', 106, 1, 3, 'Steve Harris', 221309, 3543040, 0.99);
-- DBMS: sqlite
CREATE TABLE invoices (
    InvoiceId INTEGER,
    CustomerId INTEGER,
    InvoiceDate DATETIME,
    BillingAddress NVARCHAR(70),
    BillingCity NVARCHAR(40),
    BillingState NVARCHAR(40),
    BillingCountry NVARCHAR(40),
    BillingPostalCode NVARCHAR(10),
    Total NUMERIC(10,2)
);

INSERT INTO invoices (InvoiceId, CustomerId, InvoiceDate, BillingAddress, BillingCity, BillingState, BillingCountry, BillingPostalCode, Total) VALUES (79, 9, '2009-12-09 00:00:00', 'Sønder Boulevard 51', 'Copenhagen', NULL, 'Denmark', '1720', 3.96), (245, 32, '2011-12-22 00:00:00', '696 Osborne Street', 'Winnipeg', 'MB', 'Canada', 'R3L 2B9', 1.98), (343, 33, '2013-02-28 00:00:00', '5112 48 Street', 'Yellowknife', 'NT', 'Canada', 'X1A 1N6', 1.98), (351, 14, '2013-03-31 00:00:00', '8210 111 ST NW', 'Edmonton', 'AB', 'Canada', 'T6G 2C7', 1.98), (226, 40, '2011-09-21 00:00:00', '8, Rue Hanovre', 'Paris', NULL, 'France', '75002', 3.96);
-- DBMS: sqlite
CREATE TABLE customers (
    CustomerId INTEGER,
    FirstName NVARCHAR(40),
    LastName NVARCHAR(20),
    Company NVARCHAR(80),
    Address NVARCHAR(70),
    City NVARCHAR(40),
    State NVARCHAR(40),
    Country NVARCHAR(40),
    PostalCode NVARCHAR(10),
    Phone NVARCHAR(24),
    Fax NVARCHAR(24),
    Email NVARCHAR(60),
    SupportRepId INTEGER
);

INSERT INTO customers (CustomerId, FirstName, LastName, Company, Address, City, State, Country, PostalCode, Phone, Fax, Email, SupportRepId) VALUES (25, 'Victor', 'Stevens', NULL, '319 N. Frances Street', 'Madison', 'WI', 'USA', '53703', '+1 (608) 257-0597', NULL, 'vstevens@yahoo.com', 5), (13, 'Fernanda', 'Ramos', NULL, 'Qe 7 Bloco G', 'Brasília', 'DF', 'Brazil', '71020-677', '+55 (61) 3363-5547', '+55 (61) 3363-7855', 'fernadaramos4@uol.com.br', 4), (42, 'Wyatt', 'Girard', NULL, '9, Place Louis Barthou', 'Bordeaux', NULL, 'France', '33000', '+33 05 56 96 96 96', NULL, 'wyatt.girard@yahoo.fr', 3), (48, 'Johannes', 'Van der Berg', NULL, 'Lijnbaansgracht 120bg', 'Amsterdam', 'VV', 'Netherlands', '1016', '+31 020 6223130', NULL, 'johavanderberg@yahoo.nl', 5), (51, 'Joakim', 'Johansson', NULL, 'Celsiusg. 9', 'Stockholm', NULL, 'Sweden', '11230', '+46 08-651 52 52', NULL, 'joakim.johansson@yahoo.se', 5);
-- DBMS: sqlite
CREATE TABLE albums (
    AlbumId INTEGER,
    Title NVARCHAR(160),
    ArtistId INTEGER
);

INSERT INTO albums (AlbumId, Title, ArtistId) VALUES (8, 'Warner 25 Anos', 6), (299, 'Scheherazade', 233), (207, 'Mezmerize', 135), (336, 'Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps', 248), (7, 'Facelift', 5);
-- DBMS: sqlite
CREATE TABLE media_types (
    MediaTypeId INTEGER,
    Name NVARCHAR(120)
);

INSERT INTO media_types (MediaTypeId, Name) VALUES (1, 'MPEG audio file'), (3, 'Protected MPEG-4 video file'), (4, 'Purchased AAC audio file'), (2, 'Protected AAC audio file'), (5, 'AAC audio file');
-- DBMS: sqlite
CREATE TABLE sqlite_stat1 (
    tbl ,
    idx ,
    stat 
);

INSERT INTO sqlite_stat1 (tbl, idx, stat) VALUES ('invoices', 'IFK_InvoiceCustomerId', '412 7'), ('albums', 'IFK_AlbumArtistId', '347 2'), ('invoice_items', 'IFK_InvoiceLineTrackId', '2240 2'), ('tracks', 'IFK_TrackAlbumId', '3503 11'), ('genres', NULL, '25');
-- DBMS: sqlite
CREATE TABLE employees (
    EmployeeId INTEGER,
    LastName NVARCHAR(20),
    FirstName NVARCHAR(20),
    Title NVARCHAR(30),
    ReportsTo INTEGER,
    BirthDate DATETIME,
    HireDate DATETIME,
    Address NVARCHAR(70),
    City NVARCHAR(40),
    State NVARCHAR(40),
    Country NVARCHAR(40),
    PostalCode NVARCHAR(10),
    Phone NVARCHAR(24),
    Fax NVARCHAR(24),
    Email NVARCHAR(60)
);

INSERT INTO employees (EmployeeId, LastName, FirstName, Title, ReportsTo, BirthDate, HireDate, Address, City, State, Country, PostalCode, Phone, Fax, Email) VALUES (4, 'Park', 'Margaret', 'Sales Support Agent', 2, '1947-09-19 00:00:00', '2003-05-03 00:00:00', '683 10 Street SW', 'Calgary', 'AB', 'Canada', 'T2P 5G3', '+1 (403) 263-4423', '+1 (403) 263-4289', 'margaret@chinookcorp.com'), (8, 'Callahan', 'Laura', 'IT Staff', 6, '1968-01-09 00:00:00', '2004-03-04 00:00:00', '923 7 ST NW', 'Lethbridge', 'AB', 'Canada', 'T1H 1Y8', '+1 (403) 467-3351', '+1 (403) 467-8772', 'laura@chinookcorp.com'), (7, 'King', 'Robert', 'IT Staff', 6, '1970-05-29 00:00:00', '2004-01-02 00:00:00', '590 Columbia Boulevard West', 'Lethbridge', 'AB', 'Canada', 'T1K 5N8', '+1 (403) 456-9986', '+1 (403) 456-8485', 'robert@chinookcorp.com'), (3, 'Peacock', 'Jane', 'Sales Support Agent', 2, '1973-08-29 00:00:00', '2002-04-01 00:00:00', '1111 6 Ave SW', 'Calgary', 'AB', 'Canada', 'T2P 5M5', '+1 (403) 262-3443', '+1 (403) 262-6712', 'jane@chinookcorp.com'), (2, 'Edwards', 'Nancy', 'Sales Manager', 1, '1958-12-08 00:00:00', '2002-05-01 00:00:00', '825 8 Ave SW', 'Calgary', 'AB', 'Canada', 'T2P 2T3', '+1 (403) 262-3443', '+1 (403) 262-3322', 'nancy@chinookcorp.com');
-- DBMS: sqlite
CREATE TABLE invoice_items (
    InvoiceLineId INTEGER,
    InvoiceId INTEGER,
    TrackId INTEGER,
    UnitPrice NUMERIC(10,2),
    Quantity INTEGER
);

INSERT INTO invoice_items (InvoiceLineId, InvoiceId, TrackId, UnitPrice, Quantity) VALUES (2013, 371, 1786, 0.99, 1), (371, 68, 2250, 0.99, 1), (1300, 241, 902, 0.99, 1), (1197, 221, 264, 0.99, 1), (333, 61, 2018, 0.99, 1);
-- DBMS: sqlite
CREATE TABLE Entertainer_Styles (
    EntertainerID INT,
    StyleID smallint,
    StyleStrength smallint
);

INSERT INTO Entertainer_Styles (EntertainerID, StyleID, StyleStrength) VALUES (1010, 22, 1), (1006, 22, 3), (1011, 7, 2), (1012, 7, 2), (1011, 14, 1);
-- DBMS: sqlite
CREATE TABLE Engagements (
    EngagementNumber INT,
    StartDate date,
    EndDate date,
    StartTime time,
    StopTime time,
    ContractPrice decimal(15, 2),
    CustomerID INT,
    AgentID INT,
    EntertainerID INT
);

INSERT INTO Engagements (EngagementNumber, StartDate, EndDate, StartTime, StopTime, ContractPrice, CustomerID, AgentID, EntertainerID) VALUES (78, '2018-01-02', '2018-01-04', '16:00:00', '20:00:00', 770, 10010, 4, 1010), (6, '2017-09-11', '2017-09-15', '15:00:00', '21:00:00', 2300, 10014, 7, 1008), (120, '2018-02-18', '2018-02-21', '20:00:00', '23:00:00', 950, 10002, 7, 1008), (72, '2017-12-23', '2018-01-02', '20:00:00', '01:00:00', 875, 10012, 4, 1011), (28, '2017-10-07', '2017-10-16', '17:00:00', '22:00:00', 3800, 10003, 4, 1007);
-- DBMS: sqlite
CREATE TABLE Customers (
    CustomerID INT,
    CustFirstName nvarchar (25),
    CustLastName nvarchar (25),
    CustStreetAddress nvarchar (50),
    CustCity nvarchar (30),
    CustState nvarchar (2),
    CustZipCode nvarchar (10),
    CustPhoneNumber nvarchar (15)
);

INSERT INTO Customers (CustomerID, CustFirstName, CustLastName, CustStreetAddress, CustCity, CustState, CustZipCode, CustPhoneNumber) VALUES (10012, 'Kerry', 'Patterson', '777 Fenexet Blvd', 'Redmond', 'WA', '98052', '555-0399'), (10005, 'Elizabeth', 'Hallmark', 'Route 2, Box 203B', 'Auburn', 'WA', '98002', '555-2521'), (10015, 'Carol', 'Viescas', '754 Fourth Ave', 'Seattle', 'WA', '98115', '555-2296'), (10010, 'Zachary', 'Ehrlich', '12330 Kingman Drive', 'Kirkland', 'WA', '98033', '555-2721'), (10004, 'Dean', 'McCrae', '4110 Old Redmond Rd.', 'Redmond', 'WA', '98052', '555-2506');
-- DBMS: sqlite
CREATE TABLE Entertainers (
    EntertainerID INT,
    EntStageName nvarchar (50),
    EntSSN nvarchar (12),
    EntStreetAddress nvarchar (50),
    EntCity nvarchar (30),
    EntState nvarchar (2),
    EntZipCode nvarchar (10),
    EntPhoneNumber nvarchar (15),
    EntWebPage nvarchar (50),
    EntEMailAddress nvarchar (50),
    DateEntered date
);

INSERT INTO Entertainers (EntertainerID, EntStageName, EntSSN, EntStreetAddress, EntCity, EntState, EntZipCode, EntPhoneNumber, EntWebPage, EntEMailAddress, DateEntered) VALUES (1002, 'Topazz', '888-50-1061', '16 Maple Lane', 'Auburn', 'WA', '98002', '555-2591', 'www.topazz.com', NULL, '1996-02-14'), (1003, 'JV & the Deep Six', '888-18-1013', '15127 NE 24th, #383', 'Redmond', 'WA', '98052', '555-2511', 'www.jvd6.com', 'jv@myspring.com', '1998-03-18'), (1007, 'Coldwater Cattle Company', '888-38-1043', '4726 - 11th Ave. N.E.', 'Seattle', 'WA', '98105', '555-2561', 'www.coldwatercows.com', NULL, '1995-11-30'), (1004, 'Jim Glynn', '888-26-1025', '13920 S.E. 40th Street', 'Bellevue', 'WA', '98009', '555-2531', NULL, NULL, '1996-04-01'), (1013, 'Caroline Coie Cuartet', '888-71-1123', '298 Forest Lane', 'Auburn', 'WA', '98002', '555-2306', NULL, 'carolinec@willow.com', '1997-07-11');
-- DBMS: sqlite
CREATE TABLE Agents (
    AgentID INT,
    AgtFirstName nvarchar (25),
    AgtLastName nvarchar (25),
    AgtStreetAddress nvarchar (50),
    AgtCity nvarchar (30),
    AgtState nvarchar (2),
    AgtZipCode nvarchar (10),
    AgtPhoneNumber nvarchar (15),
    DateHired date,
    Salary decimal(15, 2),
    CommissionRate float(24)
);

INSERT INTO Agents (AgentID, AgtFirstName, AgtLastName, AgtStreetAddress, AgtCity, AgtState, AgtZipCode, AgtPhoneNumber, DateHired, Salary, CommissionRate) VALUES (3, 'Carol', 'Viescas', '667 Red River Road', 'Bellevue', 'WA', '98006', '555-2571', '1997-11-19', 30000, 0.05), (5, 'Marianne', 'Wier', '908 W. Capital Way', 'Tacoma', 'WA', '98413', '555-2606', '1998-02-02', 24500, 0.045), (2, 'Scott', 'Bishop', '66 Spring Valley Drive', 'Seattle', 'WA', '98125', '555-2666', '1998-02-05', 27000, 0.04), (8, 'Maria', 'Patterson', '3445 Cheyenne Road', 'Bellevue', 'WA', '98006', '555-2291', '1997-09-03', 30000, 0.04), (1, 'William', 'Thompson', '122 Spring River Drive', 'Redmond', 'WA', '98053', '555-2681', '1997-05-15', 35000, 0.04);
-- DBMS: sqlite
CREATE TABLE ztblMonths (
    MonthYear nvarchar (15),
    YearNumber smallint,
    MonthNumber smallint,
    MonthStart date,
    MonthEnd date,
    January smallint,
    February smallint,
    March smallint,
    April smallint,
    May smallint,
    June smallint,
    July smallint,
    August smallint,
    September smallint,
    October smallint,
    November smallint,
    December smallint
);

INSERT INTO ztblMonths (MonthYear, YearNumber, MonthNumber, MonthStart, MonthEnd, January, February, March, April, May, June, July, August, September, October, November, December) VALUES ('May 2018', 2018, 5, '2018-05-01', '2018-05-31', 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0), ('December 2018', 2018, 12, '2018-12-01', '2018-12-31', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1), ('February 2019', 2019, 2, '2019-02-01', '2019-02-28', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), ('August 2018', 2018, 8, '2018-08-01', '2018-08-31', 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0), ('April 2018', 2018, 4, '2018-04-01', '2018-04-30', 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);
-- DBMS: sqlite
CREATE TABLE Members (
    MemberID INT,
    MbrFirstName nvarchar (25),
    MbrLastName nvarchar (25),
    MbrPhoneNumber nvarchar (15),
    Gender nvarchar (2)
);

INSERT INTO Members (MemberID, MbrFirstName, MbrLastName, MbrPhoneNumber, Gender) VALUES (121, 'Katherine', 'Ehrlich', '555-0399', 'F'), (110, 'Manuela', 'Seidel', '555-2641', 'F'), (103, 'Gary', 'Hallmark', '555-2676', 'M'), (112, 'Kendra', 'Bonnicksen', '555-2716', 'F'), (122, 'Julia', 'Schnebly', '555-9936', 'F');
-- DBMS: sqlite
CREATE TABLE Musical_Preferences (
    CustomerID INT,
    StyleID smallint,
    PreferenceSeq smallint
);

INSERT INTO Musical_Preferences (CustomerID, StyleID, PreferenceSeq) VALUES (10011, 7, 3), (10003, 19, 1), (10005, 7, 2), (10009, 11, 1), (10014, 22, 1);
-- DBMS: sqlite
CREATE TABLE ztblWeeks (
    WeekStart date,
    WeekEnd date
);

INSERT INTO ztblWeeks (WeekStart, WeekEnd) VALUES ('2017-07-23', '2017-07-29'), ('2017-07-02', '2017-07-08'), ('2019-08-11', '2019-08-17'), ('2018-04-22', '2018-04-28'), ('2019-06-23', '2019-06-29');
-- DBMS: sqlite
CREATE TABLE Entertainer_Members (
    EntertainerID INT,
    MemberID INT,
    Status smallint
);

INSERT INTO Entertainer_Members (EntertainerID, MemberID, Status) VALUES (1002, 121, 1), (1001, 107, 1), (1006, 113, 1), (1007, 101, 1), (1003, 103, 1);
-- DBMS: sqlite
CREATE TABLE hardware_fact_gross_price (
    product_code TEXT,
    fiscal_year INTEGER,
    gross_price REAL
);

INSERT INTO hardware_fact_gross_price (product_code, fiscal_year, gross_price) VALUES ('A5519110301', 2020, 564.7649), ('A2520150504', 2021, 14.28), ('A5018110205', 2020, 445.7859), ('A1819150303', 2021, 32.1924), ('A1320150403', 2020, 145.2111);
-- DBMS: sqlite
CREATE TABLE web_orders (
    id INTEGER,
    account_id INTEGER,
    occurred_at TEXT,
    standard_qty INTEGER,
    gloss_qty INTEGER,
    poster_qty INTEGER,
    total INTEGER,
    standard_amt_usd REAL,
    gloss_amt_usd REAL,
    poster_amt_usd REAL,
    total_amt_usd REAL
);

INSERT INTO web_orders (id, account_id, occurred_at, standard_qty, gloss_qty, poster_qty, total, standard_amt_usd, gloss_amt_usd, poster_amt_usd, total_amt_usd) VALUES (1181, 1811, '2016-12-26T07:18:40.000Z', 525, 0, 60, 585, 2619.75, 0.0, 487.2, 3106.95), (408, 1331, '2016-12-13T20:59:34.000Z', 103, 30, 30, 163, 513.97, 224.7, 243.6, 982.27), (6259, 3471, '2014-12-15T23:58:32.000Z', 11, 27, 0, 38, 54.89, 202.23, 0.0, 257.12), (4235, 4451, '2014-09-01T09:35:45.000Z', 501, 19, 19, 539, 2499.99, 142.31, 154.28, 2796.58), (3031, 3321, '2016-08-23T09:57:37.000Z', 154, 0, 8, 162, 768.46, 0.0, 64.96, 833.42);
-- DBMS: sqlite
CREATE TABLE university_course (
    CourseNo TEXT,
    CrsDesc TEXT,
    CrsUnits INTEGER
);

INSERT INTO university_course (CourseNo, CrsDesc, CrsUnits) VALUES ('IS480', 'FUNDAMENTALS OF DATABASE MANAGEMENT', 4), ('IS320', 'FUNDAMENTALS OF BUSINESS PROGRAMMING', 4), ('FIN300', 'FUNDAMENTALS OF FINANCE', 4), ('IS470', 'BUSINESS DATA COMMUNICATIONS', 4), ('IS460', 'SYSTEMS ANALYSIS', 4);