nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: sqlite
CREATE TABLE web_events (
    id INTEGER,
    account_id INTEGER,
    occurred_at TEXT,
    channel TEXT
);

INSERT INTO web_events (id, account_id, occurred_at, channel) VALUES (6272, 2351, '2014-01-26T00:51:39.000Z', 'adwords'), (1349, 1921, '2016-01-03T06:56:18.000Z', 'direct'), (1633, 2181, '2016-07-29T02:43:45.000Z', 'direct'), (8709, 4211, '2015-06-11T06:17:13.000Z', 'adwords'), (2045, 2501, '2016-09-13T07:17:11.000Z', 'direct');
-- DBMS: sqlite
CREATE TABLE hardware_dim_customer (
    customer_code INTEGER,
    customer TEXT,
    platform TEXT,
    channel TEXT,
    market TEXT,
    sub_zone TEXT,
    region TEXT
);

INSERT INTO hardware_dim_customer (customer_code, customer, platform, channel, market, sub_zone, region) VALUES (90010044, 'Surface Stores', 'Brick & Mortar', 'Retailer', 'Bangladesh', 'ROA', 'APAC'), (90020099, 'Integration Stores', 'Brick & Mortar', 'Retailer', 'Austria', 'NE', 'EU'), (90010045, 'Control', 'Brick & Mortar', 'Retailer', 'Bangladesh', 'ROA', 'APAC'), (90022076, 'Circuit City', 'Brick & Mortar', 'Retailer', 'USA', NULL, NULL), (90022074, 'Flipkart', 'E-Commerce', 'Retailer', 'USA', NULL, NULL);
-- DBMS: sqlite
CREATE TABLE hardware_fact_pre_invoice_deductions (
    customer_code INTEGER,
    fiscal_year INTEGER,
    pre_invoice_discount_pct REAL
);

INSERT INTO hardware_fact_pre_invoice_deductions (customer_code, fiscal_year, pre_invoice_discount_pct) VALUES (70020104, 2020, 0.2574), (90014141, 2021, 0.3074), (70007198, 2020, 0.0703), (90025209, 2020, 0.2657), (70006157, 2021, 0.0858);
-- DBMS: sqlite
CREATE TABLE web_accounts (
    id INTEGER,
    name TEXT,
    website TEXT,
    lat REAL,
    long REAL,
    primary_poc TEXT,
    sales_rep_id INTEGER
);

INSERT INTO web_accounts (id, name, website, lat, long, primary_poc, sales_rep_id) VALUES (1461, 'Lowe`s', 'www.lowes.com', 42.02305207, -74.82210597, 'Roselee Pardini', 321540), (1921, '3M', 'www.3m.com', 42.35869695, -71.05271055, 'Orville Leavell', 321580), (3131, 'HollyFrontier', 'www.hollyfrontier.com', 30.43948044, -84.27672341, 'Maricela Humphries', 321890), (2881, 'Monsanto', 'www.monsanto.com', 33.6865548, -84.33725705, 'Loren Schlanger', 321840), (3061, 'Kellogg', 'www.kelloggcompany.com', 30.44121265, -84.28739112, 'Domonique Cave', 321820);
-- DBMS: sqlite
CREATE TABLE StaffHours (
    StaffMember TEXT,
    EventDate TEXT,
    EventTime TEXT,
    EventType TEXT
);

INSERT INTO StaffHours (StaffMember, EventDate, EventTime, EventType) VALUES ('T', '2013-02-21', '15:30', 'Exit'), ('G', '2013-02-15', '10:25', 'Enter'), ('U', '2013-01-16', '08:10', 'Enter'), ('E', '2013-02-13', '09:25', 'Enter'), ('F', '2013-03-08', '15:15', 'Exit');
-- DBMS: sqlite
CREATE TABLE hardware_dim_product (
    product_code TEXT,
    division TEXT,
    segment TEXT,
    category TEXT,
    product TEXT,
    variant TEXT
);

INSERT INTO hardware_dim_product (product_code, division, segment, category, product, variant) VALUES ('A4319110303', 'PC', 'Notebook', 'Personal Laptop', 'AQ Velocity', 'Standard Red'), ('A3320150505', 'P & A', 'Accessories', 'Keyboard', 'AQ Maxima', 'Premium 1'), ('A6018110101', 'PC', 'Desktop', 'Personal Desktop', 'AQ Home Allin1', 'Standard 1'), ('A3421150606', 'P & A', 'Accessories', 'Keyboard', 'AQ Qwerty', 'Premium 2'), ('A0620150303', 'P & A', 'Peripherals', 'Graphic Card', 'AQ Mforce Gen Z', 'Standard 3');
-- DBMS: sqlite
CREATE TABLE university_enrollment (
    OfferNo INTEGER,
    StdNo INTEGER,
    EnrGrade REAL
);

INSERT INTO university_enrollment (OfferNo, StdNo, EnrGrade) VALUES (4321, 890123456, 3.4), (5679, 124567890, 3.7), (5678, 345678901, 3.3), (5555, 124567890, 2.7), (1234, 234567890, 3.5);
-- DBMS: sqlite
CREATE TABLE SalaryDataset (
    index INTEGER,
    CompanyName TEXT,
    JobTitle TEXT,
    SalariesReported REAL,
    Location TEXT,
    Salary TEXT
);

INSERT INTO SalaryDataset (index, CompanyName, JobTitle, SalariesReported, Location, Salary) VALUES (1829, 'LogiNext Solutions', 'Data Scientist', 2.0, 'Mumbai', '₹4,65,001/yr'), (3654, 'Advisory Board', 'Data Engineer', 1.0, 'Mumbai', '₹4,14,388/yr'), (3520, 'CloudPrisma', 'Data Engineer', 1.0, 'New Delhi', '₹30,147/mo'), (3042, 'Virtusa', 'Data Engineer', 2.0, 'Bangalore', '₹6,74,480/yr'), (4132, 'MTX Group', 'Machine Learning Engineer', 1.0, 'Hyderabad', '₹60,440/mo');
-- DBMS: sqlite
CREATE TABLE hardware_fact_manufacturing_cost (
    product_code TEXT,
    cost_year INTEGER,
    manufacturing_cost REAL
);

INSERT INTO hardware_fact_manufacturing_cost (product_code, cost_year, manufacturing_cost) VALUES ('A3320150504', 2021, 6.59), ('A1018150102', 2021, 35.6322), ('A5318110108', 2021, 173.2567), ('A3521150704', 2021, 10.1916), ('A1521150602', 2021, 57.2414);
-- DBMS: sqlite
CREATE TABLE web_sales_reps (
    id INTEGER,
    name TEXT,
    region_id INTEGER
);

INSERT INTO web_sales_reps (id, name, region_id) VALUES (321700, 'Debroah Wardle', 1), (321860, 'Saran Ram', 3), (321930, 'Hilma Busick', 4), (321620, 'Retha Sears', 1), (321750, 'Cliff Meints', 2);
-- DBMS: sqlite
CREATE TABLE hardware_fact_sales_monthly (
    date TEXT,
    product_code TEXT,
    customer_code INTEGER,
    sold_quantity INTEGER,
    fiscal_year INTEGER
);

INSERT INTO hardware_fact_sales_monthly (date, product_code, customer_code, sold_quantity, fiscal_year) VALUES ('2020-10-01', 'A1421150503', 90016172, 3, 2021), ('2021-04-01', 'A3220150406', 90017056, 70, 2021), ('2021-08-01', 'A5419110202', 70002018, 14, 2021), ('2020-11-01', 'A5220110408', 90021093, 10, 2021), ('2020-06-01', 'A0620150305', 90023029, 11, 2020);
-- DBMS: sqlite
CREATE TABLE university_faculty (
    FacNo INTEGER,
    FacFirstName TEXT,
    FacLastName TEXT,
    FacCity TEXT,
    FacState TEXT,
    FacDept TEXT,
    FacRank TEXT,
    FacSalary INTEGER,
    FacSupervisor REAL,
    FacHireDate TEXT,
    FacZipCode TEXT
);

INSERT INTO university_faculty (FacNo, FacFirstName, FacLastName, FacCity, FacState, FacDept, FacRank, FacSalary, FacSupervisor, FacHireDate, FacZipCode) VALUES (987654321, 'JULIA', 'MILLS', 'SEATTLE', 'WA', 'FIN', 'ASSC', 75000, 765432109.0, '2002-03-15', '98114-9954'), (654321098, 'LEONARD', 'FIBON', 'SEATTLE', 'WA', 'MS', 'ASSC', 70000, 543210987.0, '1996-05-01', '98121-0094'), (543210987, 'VICTORIA', 'EMMANUEL', 'BOTHELL', 'WA', 'MS', 'PROF', 120000, nan, '1998-04-15', '98011-2242'), (98765432, 'LEONARD', 'VINCE', 'SEATTLE', 'WA', 'MS', 'ASST', 35000, 654321098.0, '1997-04-10', '98111-9921'), (876543210, 'CRISTOPHER', 'COLAN', 'SEATTLE', 'WA', 'MS', 'ASST', 40000, 654321098.0, '2001-03-01', '98114-1332');
-- DBMS: sqlite
CREATE TABLE university_student (
    StdNo INTEGER,
    StdFirstName TEXT,
    StdLastName TEXT,
    StdCity TEXT,
    StdState TEXT,
    StdZip TEXT,
    StdMajor TEXT,
    StdClass TEXT,
    StdGPA REAL
);

INSERT INTO university_student (StdNo, StdFirstName, StdLastName, StdCity, StdState, StdZip, StdMajor, StdClass, StdGPA) VALUES (789012345, 'ROBERTO', 'MORALES', 'SEATTLE', 'WA', '98121-2212', 'FIN', 'JR', 2.5), (876543210, 'CRISTOPHER', 'COLAN', 'SEATTLE', 'WA', '98114-1332', 'IS', 'SR', 4.0), (234567890, 'CANDY', 'KENDALL', 'TACOMA', 'WA', '99042-3321', 'ACCT', 'JR', 3.5), (901234567, 'WILLIAM', 'PILGRIM', 'BOTHELL', 'WA', '98113-1885', 'IS', 'SO', 3.8), (345678901, 'WALLY', 'KENDALL', 'SEATTLE', 'WA', '98123-1141', 'IS', 'SR', 2.8);
-- DBMS: sqlite
CREATE TABLE university_offering (
    OfferNo INTEGER,
    CourseNo TEXT,
    OffTerm TEXT,
    OffYear INTEGER,
    OffLocation TEXT,
    OffTime TEXT,
    FacNo REAL,
    OffDays TEXT
);

INSERT INTO university_offering (OfferNo, CourseNo, OffTerm, OffYear, OffLocation, OffTime, FacNo, OffDays) VALUES (1234, 'IS320', 'FALL', 2009, 'BLM302', '10:30 AM', 98765432.0, 'MW'), (5555, 'FIN300', 'WINTER', 2010, 'BLM207', '8:30 AM', 765432109.0, 'MW'), (7777, 'FIN480', 'SPRING', 2010, 'BLM305', '1:30 PM', 765432109.0, 'MW'), (8888, 'IS320', 'SUMMER', 2010, 'BLM405', '1:30 PM', 654321098.0, 'MW'), (5679, 'IS480', 'SPRING', 2010, 'BLM412', '3:30 PM', 876543210.0, 'TTH');
-- DBMS: sqlite
CREATE TABLE order_items (
    index INTEGER,
    order_id TEXT,
    order_item_id INTEGER,
    product_id TEXT,
    seller_id TEXT,
    shipping_limit_date TEXT,
    price REAL,
    freight_value REAL
);

INSERT INTO order_items (index, order_id, order_item_id, product_id, seller_id, shipping_limit_date, price, freight_value) VALUES (9107, '14cfc006132ad861a3d1b6c7bb9fd8a6', 1, 'd9c379ab5377be590da568f41cd3c49d', '6a51fc556dab5f766ced6fbc860bc613', '2018-05-07 12:14:41', 199.9, 19.48), (88553, 'c9203e1cece67a652cfa58cec64fde76', 1, '154e7e31ebfa092203795c972e5804a6', 'cc419e0650a3c5ba77189a1882b7556a', '2017-06-30 02:25:32', 19.99, 7.78), (28085, '3ff1a97af462ca0dafa98d5914729e86', 1, '54d9ac713e253fa1fae9c8003b011c2a', '955fee9216a65b617aa5c0531780ce60', '2018-04-03 10:28:51', 35.0, 12.43), (69756, '9f33a39fe21aa7e49c58d5c16da393a0', 1, '130cdbc1715f7e1b5d9be728ce04398e', 'f35becee938e982bd615edf8ef12bcfb', '2017-04-07 18:45:21', 39.9, 14.52), (83698, 'be162c3ed290c4feb0aab4d46123275f', 1, 'acfc0fd945c522a0d2266d45bcdd91c6', '5cf13accae3222c70a9cac40818ae839', '2017-12-29 18:29:34', 94.9, 16.42);
-- DBMS: sqlite
CREATE TABLE geolocation (
    index INTEGER,
    geolocation_zip_code_prefix INTEGER,
    geolocation_lat REAL,
    geolocation_lng REAL,
    geolocation_city TEXT,
    geolocation_state TEXT
);

INSERT INTO geolocation (index, geolocation_zip_code_prefix, geolocation_lat, geolocation_lng, geolocation_city, geolocation_state) VALUES (204440, 8340, -23.61793141687345, -46.46311196863638, 'sao paulo', 'SP'), (633512, 37540, -22.247972436857665, -45.709585646236455, 'santa rita do sapucai', 'MG'), (684658, 44200, -12.548402999999992, -38.70958724999999, 'santo amaro', 'BA'), (557002, 30720, -19.920961445467103, -43.97852350582838, 'belo horizonte', 'MG'), (215645, 8710, -23.526049838473146, -46.2055810076754, 'mogi das cruzes', 'SP');
-- DBMS: sqlite
CREATE TABLE order_reviews (
    index INTEGER,
    review_id TEXT,
    order_id TEXT,
    review_score INTEGER,
    review_comment_title TEXT,
    review_comment_message TEXT,
    review_creation_date TEXT,
    review_answer_timestamp TEXT
);

INSERT INTO order_reviews (index, review_id, order_id, review_score, review_comment_title, review_comment_message, review_creation_date, review_answer_timestamp) VALUES (9221, '3b154c210f1a1abaec031cd605b8c1f5', '2b4c98424c04c927d4f10fd35a3e3558', 2, NULL, 'Achei Q desta vez,o produto deixou a desejar,muito fraco demas', '2018-08-14 00:00:00', '2018-08-14 21:31:53'), (82020, '81079956a73e5809093854e8e24333c9', '477bf888e0dfc2afc08a57768a52dbed', 5, '*****', 'Recomendo', '2018-06-10 00:00:00', '2018-06-13 19:33:09'), (18538, 'b96f4c57623b8968b2ae679c54b98fa7', '693a9ad555486a066084766cdf4936b4', 4, NULL, NULL, '2017-11-02 00:00:00', '2017-11-05 02:56:25'), (17648, '35bd753bc196d9b857c048d1468bab2f', '558731462aceb9588378c7c19194d2db', 4, NULL, NULL, '2018-05-19 00:00:00', '2018-05-21 19:47:24'), (98624, '3243b28368e300faac5aa4ce1c1efc20', '2db72c1513eb12a34d183d40a7291014', 5, NULL, 'Bom dia. Apesar da greve do correio o produto chegou certo. Obrigado', '2018-03-13 00:00:00', '2018-03-14 11:33:40');
-- DBMS: sqlite
CREATE TABLE orders (
    index INTEGER,
    order_id TEXT,
    customer_id TEXT,
    order_status TEXT,
    order_purchase_timestamp TEXT,
    order_approved_at TEXT,
    order_delivered_carrier_date TEXT,
    order_delivered_customer_date TEXT,
    order_estimated_delivery_date TEXT
);

INSERT INTO orders (index, order_id, customer_id, order_status, order_purchase_timestamp, order_approved_at, order_delivered_carrier_date, order_delivered_customer_date, order_estimated_delivery_date) VALUES (97137, 'a1fa8465f15178a62e2429d53c230d99', '4fe13d656b536982335931449b3fe43d', 'delivered', '2017-11-16 17:32:44', '2017-11-17 17:47:43', '2017-11-21 17:13:41', '2017-11-23 16:16:40', '2017-11-29 00:00:00'), (37394, 'a57bebffbfa4ce3c72a856f94e1c589f', '96d1f87fec96475ce25b292d7f76a557', 'delivered', '2017-11-30 21:35:58', '2017-12-01 10:31:25', '2017-12-06 12:05:15', '2018-01-15 16:48:57', '2018-01-03 00:00:00'), (91689, 'e323604c8f7546deb59dee1db160e268', '5dd037b7e50e7de06920eae973de87a2', 'delivered', '2017-10-25 11:52:23', '2017-10-25 12:07:16', '2017-10-26 19:19:53', '2017-11-01 19:42:22', '2017-11-17 00:00:00'), (66033, '5cb7883ae621115f6c404bca4c9e97fa', 'ad12353ac8bc97c62829dbd1a0baa24e', 'delivered', '2018-03-19 14:08:49', '2018-03-19 14:29:30', '2018-03-23 16:18:40', '2018-04-03 15:09:00', '2018-04-19 00:00:00'), (78088, 'f2c0317eedcc292f3a4f356cf92d506d', 'edd6907574d4a158ecd03f912804d444', 'delivered', '2017-08-19 16:13:20', '2017-08-22 03:45:50', '2017-08-23 13:53:25', '2017-08-28 18:14:24', '2017-09-12 00:00:00');
-- DBMS: sqlite
CREATE TABLE customers (
    index INTEGER,
    customer_id TEXT,
    customer_unique_id TEXT,
    customer_zip_code_prefix INTEGER,
    customer_city TEXT,
    customer_state TEXT
);

INSERT INTO customers (index, customer_id, customer_unique_id, customer_zip_code_prefix, customer_city, customer_state) VALUES (32553, '1e919c04beaee802f45cbffd7ec05e8d', '0eb3ce970ea08b082361b436eee0ee38', 3286, 'sao paulo', 'SP'), (80465, '587140b63abb380a13f3e008fb38ec09', '56b4fe70529cc49e243c4f746439cce7', 18046, 'sorocaba', 'SP'), (31212, '03514f9ba6258fadc8aa2391eadee65b', '3a4f5d794447ef719ca0e2f79613756d', 75115, 'anapolis', 'GO'), (42423, '11f4172096c062f11e0da57ad9817572', 'a92d11f5026db84dd46d221a4e8cb449', 6730, 'vargem grande paulista', 'SP'), (47162, '5e5da5412a9c2e535cf46f43cd8d8e4e', '133712ad4fe8e5ec9e21cf71a5719c30', 83430, 'campina grande do sul', 'PR');
-- DBMS: sqlite
CREATE TABLE order_payments (
    index INTEGER,
    order_id TEXT,
    payment_sequential INTEGER,
    payment_type TEXT,
    payment_installments INTEGER,
    payment_value REAL
);

INSERT INTO order_payments (index, order_id, payment_sequential, payment_type, payment_installments, payment_value) VALUES (59220, 'e393acae9e64be5b2a7d48ef2ae87710', 1, 'credit_card', 4, 42.3), (37387, '20b2b93a5f0525645b5878cb139f8c5c', 1, 'credit_card', 1, 173.86), (63881, 'f791078f5bc7c09db8f76d26f0db4588', 1, 'credit_card', 6, 70.65), (18391, '193d998b23a996345ca322516b2d5af3', 1, 'credit_card', 6, 1978.18), (75222, '99a3d4b1228bc02abf9eec5d9a7a742d', 2, 'voucher', 1, 20.0);
-- DBMS: sqlite
CREATE TABLE product_category_name_translation (
    index INTEGER,
    product_category_name TEXT,
    product_category_name_english TEXT
);

INSERT INTO product_category_name_translation (index, product_category_name, product_category_name_english) VALUES (70, 'seguros_e_servicos', 'security_and_services'), (62, 'casa_conforto_2', 'home_comfort_2'), (12, 'papelaria', 'stationery'), (10, 'alimentos_bebidas', 'food_drink'), (2, 'automotivo', 'auto');
-- DBMS: sqlite
CREATE TABLE products (
    index INTEGER,
    product_id TEXT,
    product_category_name TEXT,
    product_name_lenght REAL,
    product_description_lenght REAL,
    product_photos_qty REAL,
    product_weight_g REAL,
    product_length_cm REAL,
    product_height_cm REAL,
    product_width_cm REAL
);

INSERT INTO products (index, product_id, product_category_name, product_name_lenght, product_description_lenght, product_photos_qty, product_weight_g, product_length_cm, product_height_cm, product_width_cm) VALUES (26363, '78d0688c7b88b87da70a7c498c82a1df', 'automotivo', 55.0, 847.0, 1.0, 250.0, 16.0, 7.0, 11.0), (28639, '89e4362d74afa10ac57f8d67210132a6', 'fashion_bolsas_e_acessorios', 30.0, 219.0, 1.0, 1870.0, 27.0, 20.0, 29.0), (29083, '27c5d184e397082e7f0ff11ace0d7269', 'beleza_saude', 21.0, 287.0, 1.0, 750.0, 22.0, 12.0, 22.0), (22029, 'dfd89d96029976badf7fe6a83f5f7ae2', 'telefonia', 43.0, 337.0, 5.0, 1075.0, 18.0, 8.0, 12.0), (25301, 'a3b68fbd8f68d8fdff1dd36cf1336b6b', 'utilidades_domesticas', 45.0, 1760.0, 7.0, 2000.0, 25.0, 30.0, 25.0);
-- DBMS: sqlite
CREATE TABLE sellers (
    index INTEGER,
    seller_id TEXT,
    seller_zip_code_prefix INTEGER,
    seller_city TEXT,
    seller_state TEXT
);

INSERT INTO sellers (index, seller_id, seller_zip_code_prefix, seller_city, seller_state) VALUES (1324, 'bb2afe2061d53c6968aa0cffa233a8ec', 4307, 'sao paulo', 'SP'), (731, '9674754b5a0cb32b638cec001178f799', 4438, 'sao paulo', 'SP'), (1241, 'b5e3e38609125694d2ea2417522a60b7', 88020, 'florianopolis', 'SC'), (629, '160e4f13fd3a64b1b86807be88b5ffb0', 83409, 'colombo', 'PR'), (53, 'ef990a83bbea832f36ebe81376335aa8', 89214, 'joinville', 'SC');
-- DBMS: sqlite
CREATE TABLE victims (
    id INTEGER,
    case_id REAL,
    party_number INTEGER,
    victim_role TEXT,
    victim_sex TEXT,
    victim_age REAL,
    victim_degree_of_injury TEXT,
    victim_seating_position TEXT,
    victim_safety_equipment_1 TEXT,
    victim_safety_equipment_2 TEXT,
    victim_ejected TEXT
);

INSERT INTO victims (id, case_id, party_number, victim_role, victim_sex, victim_age, victim_degree_of_injury, victim_seating_position, victim_safety_equipment_1, victim_safety_equipment_2, victim_ejected) VALUES (2727024, 2612402.0, 1, 'passenger', 'male', nan, 'no injury', 'passenger seat 3', NULL, NULL, 'unknown'), (2839755, 6982881.0, 2, 'passenger', 'male', 39.0, 'no injury', 'passenger seat 3', 'air bag not deployed', 'lap/shoulder harness used', 'not ejected'), (3363418, 3245347.0, 2, 'bicyclist', 'male', 21.0, 'other visible injury', 'driver', NULL, NULL, 'unknown'), (3992515, 8986874.0, 1, 'passenger', 'female', 18.0, 'complaint of pain', 'passenger seat 3', 'air bag deployed', NULL, 'unknown'), (846111, 827610.0, 1, 'passenger', 'male', 19.0, 'complaint of pain', 'passenger seat 3', 'none in vehicle', NULL, 'not ejected');
-- DBMS: sqlite
CREATE TABLE extra_runs (
    match_id INTEGER,
    over_id INTEGER,
    ball_id INTEGER,
    extra_type TEXT,
    extra_runs INTEGER,
    innings_no INTEGER
);

INSERT INTO extra_runs (match_id, over_id, ball_id, extra_type, extra_runs, innings_no) VALUES (733978, 2, 2, 'wides', 2, 1), (392203, 9, 6, 'noballs', 1, 1), (392235, 5, 3, 'legbyes', 1, 2), (419149, 2, 6, 'legbyes', 1, 2), (598064, 10, 6, 'byes', 4, 2);
-- DBMS: sqlite
CREATE TABLE wicket_taken (
    match_id INTEGER,
    over_id INTEGER,
    ball_id INTEGER,
    player_out INTEGER,
    kind_out TEXT,
    innings_no INTEGER
);

INSERT INTO wicket_taken (match_id, over_id, ball_id, player_out, kind_out, innings_no) VALUES (336003, 19, 2, 40, 'caught', 1), (598061, 19, 1, 14, 'bowled', 2), (501274, 2, 4, 9, 'caught', 1), (501274, 6, 3, 87, 'lbw', 1), (501243, 7, 3, 183, 'caught', 1);
-- DBMS: sqlite
CREATE TABLE match (
    match_id INTEGER,
    team_1 INTEGER,
    team_2 INTEGER,
    match_date DATE,
    season_id INTEGER,
    venue TEXT,
    toss_winner INTEGER,
    toss_decision TEXT,
    win_type TEXT,
    win_margin INTEGER,
    outcome_type TEXT,
    match_winner INTEGER,
    man_of_the_match INTEGER
);

INSERT INTO match (match_id, team_1, team_2, match_date, season_id, venue, toss_winner, toss_decision, win_type, win_margin, outcome_type, match_winner, man_of_the_match) VALUES (734020, 11, 1, '2014-05-18', 7, 'Rajiv Gandhi International Stadium Uppal', 11, 'bat', 'wickets', 7, 'Result', 1, 232), (598052, 5, 10, '2013-05-05', 6, 'Sawai Mansingh Stadium', 10, 'bat', 'wickets', 5, 'Result', 5, 85), (501273, 2, 3, '2011-05-24', 4, 'Wankhede Stadium', 3, 'field', 'wickets', 6, 'Result', 3, 21), (501217, 8, 4, '2011-04-16', 4, 'Rajiv Gandhi International Stadium Uppal', 4, 'field', 'wickets', 8, 'Result', 4, 167), (548324, 4, 10, '2012-04-12', 5, 'Punjab Cricket Association Stadium Mohali', 4, 'field', 'wickets', 7, 'Result', 4, 137);
-- DBMS: sqlite
CREATE TABLE player (
    player_id INTEGER,
    player_name TEXT,
    dob DATE,
    batting_hand TEXT,
    bowling_skill TEXT,
    country_name TEXT
);

INSERT INTO player (player_id, player_name, dob, batting_hand, bowling_skill, country_name) VALUES (410, 'Ishan Kishan', '1998-07-18', 'Left-hand bat', 'Right-arm medium', 'India'), (349, 'R Rampaul', '1984-10-15', 'Left-hand bat', 'Right-arm fast-medium', 'West Indies'), (112, 'DB Ravi Teja', '1987-09-05', 'Right-hand bat', 'Legbreak googly', 'India'), (85, 'AM Rahane', '1988-06-06', 'Right-hand bat', 'Right-arm medium', 'India'), (370, 'PV Tambe', '1971-10-08', 'Right-hand bat', 'Legbreak', 'India');
-- DBMS: sqlite
CREATE TABLE batsman_scored (
    match_id INTEGER,
    over_id INTEGER,
    ball_id INTEGER,
    runs_scored INTEGER,
    innings_no INTEGER
);

INSERT INTO batsman_scored (match_id, over_id, ball_id, runs_scored, innings_no) VALUES (734002, 2, 5, 0, 2), (419141, 14, 6, 1, 1), (419137, 8, 5, 2, 1), (829732, 5, 3, 1, 1), (419165, 15, 3, 1, 2);
-- DBMS: sqlite
CREATE TABLE player_match (
    match_id INTEGER,
    player_id INTEGER,
    role TEXT,
    team_id INTEGER
);

INSERT INTO player_match (match_id, player_id, role, team_id) VALUES (501266, 23, 'Player', 3), (501257, 38, 'Captain', 5), (336010, 31, 'Player', 5), (734010, 301, 'Player', 2), (501203, 186, 'Player', 3);
-- DBMS: sqlite
CREATE TABLE ball_by_ball (
    match_id INTEGER,
    over_id INTEGER,
    ball_id INTEGER,
    innings_no INTEGER,
    team_batting INTEGER,
    team_bowling INTEGER,
    striker_batting_position INTEGER,
    striker INTEGER,
    non_striker INTEGER,
    bowler INTEGER
);

INSERT INTO ball_by_ball (match_id, over_id, ball_id, innings_no, team_batting, team_bowling, striker_batting_position, striker, non_striker, bowler) VALUES (419154, 5, 5, 1, 6, 4, 5, 88, 241, 153), (598070, 17, 6, 1, 11, 5, 7, 280, 327, 310), (980972, 7, 6, 2, 11, 13, 4, 163, 42, 432), (598028, 20, 3, 1, 5, 2, 11, 39, 335, 349), (829766, 19, 3, 2, 6, 1, 7, 79, 191, 334);
-- DBMS: sqlite
CREATE TABLE Categories (
    CategoryID TEXT,
    CategoryDescription TEXT,
    DepartmentID INTEGER
);

INSERT INTO Categories (CategoryID, CategoryDescription, DepartmentID) VALUES ('CHE', 'Chemistry', 2), ('CSC', 'Computer Science', 5), ('ECO', 'Economics', 4), ('PHY', 'Physics', 2), ('CIS', 'Computer Information Systems', 5);
-- DBMS: sqlite
CREATE TABLE Buildings (
    BuildingCode TEXT,
    BuildingName TEXT,
    NumberOfFloors INTEGER,
    ElevatorAccess BOOLEAN,
    SiteParkingAvailable BOOLEAN
);

INSERT INTO Buildings (BuildingCode, BuildingName, NumberOfFloors, ElevatorAccess, SiteParkingAvailable) VALUES ('IB', 'Instructional Building', 3, 1, 1), ('CC', 'College Center', 3, 1, 0), ('GYM', 'PE and Wellness', 1, 0, 1), ('LB', 'Library', 2, 1, 1), ('AS', 'Arts and Sciences', 3, 1, 1);
-- DBMS: sqlite
CREATE TABLE Faculty_Subjects (
    StaffID INTEGER,
    SubjectID INTEGER,
    ProficiencyRating REAL
);

INSERT INTO Faculty_Subjects (StaffID, SubjectID, ProficiencyRating) VALUES (98064, 41, 8.0), (98019, 47, 8.0), (98012, 1, 9.0), (98020, 52, 8.0), (98005, 16, 10.0);
-- DBMS: sqlite
CREATE TABLE Faculty (
    StaffID INTEGER,
    Title TEXT,
    Status TEXT,
    Tenured BOOLEAN
);

INSERT INTO Faculty (StaffID, Title, Status, Tenured) VALUES (98040, 'Associate Professor', 'Full Time', 1), (98011, 'Instructor', 'Full Time', 1), (98064, 'Professor', 'Full Time', 1), (98028, 'Professor', 'Full Time', 1), (98014, 'Associate Professor', 'Full Time', 1);
-- DBMS: sqlite
CREATE TABLE Student_Schedules (
    StudentID INTEGER,
    ClassID INTEGER,
    ClassStatus INTEGER,
    Grade REAL
);

INSERT INTO Student_Schedules (StudentID, ClassID, ClassStatus, Grade) VALUES (1017, 1156, 2, 88.54), (1005, 1180, 2, 81.66), (1014, 5071, 1, 0.0), (1007, 5071, 1, 0.0), (1009, 1156, 2, 72.05);
-- DBMS: sqlite
CREATE TABLE Staff (
    StaffID INTEGER,
    StfFirstName TEXT,
    StfLastname TEXT,
    StfStreetAddress TEXT,
    StfCity TEXT,
    StfState TEXT,
    StfZipCode TEXT,
    StfAreaCode TEXT,
    StfPhoneNumber TEXT,
    Salary REAL,
    DateHired DATE,
    Position TEXT
);

INSERT INTO Staff (StaffID, StfFirstName, StfLastname, StfStreetAddress, StfCity, StfState, StfZipCode, StfAreaCode, StfPhoneNumber, Salary, DateHired, Position) VALUES (98057, 'Joe', 'Rosales III', '7288 Barrister Ave N', 'Tacoma', 'WA', '98413', '253', '555-2281', 35000.0, '1988-11-25', 'Graduate Advisor'), (98010, 'Jeffrey', 'Smith', '30301 - 166th Ave. N.E.', 'Fremont', 'CA', '94538', '510', '555-2596', 52000.0, '1983-10-06', 'Faculty'), (98062, 'Caroline', 'Coie', '298 Forest Lane', 'Seattle', 'WA', '98125', '206', '555-2306', 52000.0, '1983-01-28', 'Faculty'), (98005, 'Suzanne', 'Viescas', '15127 NE 24th, #383', 'Redmond', 'WA', '98052', '425', '555-2686', 44000.0, '1986-05-31', 'Faculty'), (98019, 'Mariya', 'Sergienko', '901 Pine Avenue', 'Portland', 'OR', '97208', '503', '555-2526', 45000.0, '1989-11-02', 'Faculty');
-- DBMS: sqlite
CREATE TABLE Classes (
    ClassID INTEGER,
    SubjectID INTEGER,
    ClassRoomID INTEGER,
    Credits INTEGER,
    StartDate DATE,
    StartTime TIME,
    Duration INTEGER,
    MondaySchedule BOOLEAN,
    TuesdaySchedule BOOLEAN,
    WednesdaySchedule BOOLEAN,
    ThursdaySchedule BOOLEAN,
    FridaySchedule BOOLEAN,
    SaturdaySchedule BOOLEAN
);

INSERT INTO Classes (ClassID, SubjectID, ClassRoomID, Credits, StartDate, StartTime, Duration, MondaySchedule, TuesdaySchedule, WednesdaySchedule, ThursdaySchedule, FridaySchedule, SaturdaySchedule) VALUES (1162, 37, 3443, 5, '2017-09-11', '09:00:00', 140, 1, 0, 1, 0, 0, 0), (4192, 9, 3309, 4, '2018-01-15', '08:00:00', 50, 1, 1, 1, 1, 1, 0), (3040, 31, 3352, 5, '2017-09-11', '11:00:00', 50, 1, 1, 1, 1, 1, 0), (4810, 23, 3319, 5, '2018-01-16', '08:00:00', 50, 0, 1, 0, 1, 0, 0), (3123, 56, 3346, 5, '2017-09-11', '12:00:00', 140, 1, 0, 0, 0, 1, 0);
-- DBMS: sqlite
CREATE TABLE Departments (
    DepartmentID INTEGER,
    DeptName TEXT,
    DeptChair INTEGER
);

INSERT INTO Departments (DepartmentID, DeptName, DeptChair) VALUES (1, 'Business Administration', 98012), (2, 'Sciences', 98010), (3, 'Humanities', 98005), (4, 'Social Sciences', 98059), (5, 'Information Technology', 98007);
-- DBMS: sqlite
CREATE TABLE Subjects (
    SubjectID INTEGER,
    CategoryID TEXT,
    SubjectCode TEXT,
    SubjectName TEXT,
    SubjectPreReq TEXT,
    SubjectDescription TEXT
);

INSERT INTO Subjects (SubjectID, CategoryID, SubjectCode, SubjectName, SubjectPreReq, SubjectDescription) VALUES (33, 'MUS', 'MUS 100', 'Music in the Western World', NULL, 'An introduction to music. Features music from a global perspective with a focus on Western Music. Many musical examples, listening, videos on great musicians of the past.'), (48, 'MAT', 'MAT 103', 'Geometry and Visualization', NULL, 'Basic plane geometry concepts, emphasizing problem-solving. Right triangle trigonometry. Introduction to 3-D geometry/spatial thinking. Directed towards students with no high school geometry but who plan a career in science/engineering.'), (21, 'CHE', 'CHE 139', 'Fundamentals of Chemistry', NULL, 'Prepatory for the science major chemistry courses for students without prior chemistry experience. This lecture format will include chemical mathematics, basic atomic structure, chemical bonding, chemical equation balancing and mole concept, and chemical stoichiometry.'), (35, 'MUS', 'MUS 201', 'Second Year Music Theory', 'MUS 101', 'Continuation of MUS 101. Chromatic harmony, modulations and related modern concepts. Prereq: MUS 101 or instructor permission.'), (31, 'ECO', 'ECO 200', 'Principles of Economics: Microeconomics', 'MAT 098', 'Covers resource allocation and income distribution with emphasis on price determination, production costs, and market structures. Intermediate algebra or equivalent required.');
-- DBMS: sqlite
CREATE TABLE Class_Rooms (
    ClassRoomID INTEGER,
    BuildingCode TEXT,
    PhoneAvailable BOOLEAN
);

INSERT INTO Class_Rooms (ClassRoomID, BuildingCode, PhoneAvailable) VALUES (3352, 'CC', 1), (1514, 'AS', 1), (2357, 'CC', 1), (1515, 'AS', 1), (3420, 'IB', 0);
-- DBMS: sqlite
CREATE TABLE Students (
    StudentID INTEGER,
    StudFirstName TEXT,
    StudLastName TEXT,
    StudStreetAddress TEXT,
    StudCity TEXT,
    StudState TEXT,
    StudZipCode TEXT,
    StudAreaCode TEXT,
    StudPhoneNumber TEXT,
    StudGPA REAL,
    StudMajor INTEGER
);

INSERT INTO Students (StudentID, StudFirstName, StudLastName, StudStreetAddress, StudCity, StudState, StudZipCode, StudAreaCode, StudPhoneNumber, StudGPA, StudMajor) VALUES (1017, 'George', 'Chavez', '281 Old Navy Road', 'Marysville', 'WA', '98270', '206', '555-9930', 79.25, 6), (1014, 'Kendra', 'Bonnicksen', '12330 Larchlemont Lane', 'Seattle', 'WA', '98105', '206', '555-2716', 85.55, 7), (1001, 'Kerry', 'Patterson', '9877 Hacienda Drive', 'San Antonio', 'TX', '78284', '210', '555-2706', 74.465, 1), (1015, 'Brannon', 'Jones', '777 Fenexet Blvd', 'Long Beach', 'CA', '90809', '562', '555-0399', 86.0, 2), (1010, 'Marianne', 'Wier', '908 W. Capital Way', 'Tacoma', 'WA', '98413', '253', '555-2606', 83.55, 3);
-- DBMS: sqlite
CREATE TABLE read_log (
    stamp varchar(255),
    session varchar(255),
    action varchar(255),
    url varchar(255)
);

INSERT INTO read_log (stamp, session, action, url) VALUES ('2016-12-29 21:45:47', '08962ace', 'view', 'http://www.example.com/article?id=trend132'), ('2016-12-29 21:46:05', 'df6eb25d', 'read-40%', 'http://www.example.com/article?id=news731'), ('2016-12-29 21:45:47', 'afbd3d09', 'view', 'http://www.example.com/article?id=news341'), ('2016-12-29 21:45:56', 'df6eb25d', 'read-20%', 'http://www.example.com/article?id=news731'), ('2016-12-29 21:45:47', '77d477cc', 'view', 'http://www.example.com/article?id=it605');
-- DBMS: sqlite
CREATE TABLE invalid_action_log (
    stamp varchar(255),
    session varchar(255),
    user_id varchar(255),
    action varchar(255),
    category varchar(255),
    products varchar(255),
    amount INTEGER
);

INSERT INTO invalid_action_log (stamp, session, user_id, action, category, products, amount) VALUES ('2016-11-03 18:02:00', '0CVKaz', 'U001', 'add_cart', 'drama', NULL, nan), ('2016-11-03 18:01:00', '0CVKaz', 'U001', 'add_cart', 'drama', 'D002', nan), ('2016-11-03 18:10:00', '0CVKaz', 'U001', 'purchase', 'drama', 'D001,D002', 2000.0), (NULL, '1QceiB', 'U002', 'purchase', 'action', 'A005,A006', 1000.0), ('2016-11-04 13:00:00', '1QceiB', 'U002', 'purchase', 'drama', 'D002', 1000.0);
-- DBMS: sqlite
CREATE TABLE action_log_with_ip (
    session varchar(255),
    user_id varchar(255),
    action varchar(255),
    ip varchar(255),
    stamp varchar(255)
);

INSERT INTO action_log_with_ip (session, user_id, action, ip, stamp) VALUES ('5d5b0997', 'U006', 'view', '172.16.0.5', '2016-11-04 20:00:00'), ('989004ea', 'U001', 'view', '216.58.220.238', '2016-11-03 18:00:00'), ('5eb2e107', 'U004', 'view', '127.0.0.1', '2016-11-03 21:00:00'), ('111f2996', 'U007', 'view', '192.168.0.23', '2016-11-04 21:00:00'), ('87b5725f', 'U005', 'view', '10.0.0.3', '2016-11-04 19:00:00');
-- DBMS: sqlite
CREATE TABLE dup_action_log (
    stamp varchar(255),
    session varchar(255),
    user_id varchar(255),
    action varchar(255),
    products varchar(255)
);

INSERT INTO dup_action_log (stamp, session, user_id, action, products) VALUES ('2016-11-03 18:00:00', '989004ea', 'U001', 'click', 'D001'), ('2016-11-04 21:00:00', '111f2996', 'U007', 'click', 'D002'), ('2016-11-04 18:00:00', '87b5725f', 'U001', 'click', 'D001'), ('2016-11-03 21:00:00', 'fe05e1d8', 'U004', 'click', 'D001'), ('2016-11-03 20:00:00', '1cf7678e', 'U003', 'click', 'A001');
-- DBMS: sqlite
CREATE TABLE form_log (
    stamp varchar(255),
    session varchar(255),
    action varchar(255),
    path varchar(255),
    status varchar(255)
);

INSERT INTO form_log (stamp, session, action, path, status) VALUES ('2016-12-30 00:57:04', '9b5f320f', 'view', '/regist/confirm', 'error'), ('2016-12-30 00:56:08', '8e9afadc', 'view', '/contact/input', ''), ('2016-12-30 00:57:31', '46b4c72c', 'view', '/regist/confirm', ''), ('2016-12-30 00:56:08', '539eb753', 'view', '/contact/input', ''), ('2016-12-30 00:58:58', 'b2dbcc54', 'view', '/contact/confirm', '');
-- DBMS: sqlite
CREATE TABLE mst_products_20170101 (
    product_id varchar(255),
    name varchar(255),
    price INTEGER,
    updated_at varchar(255)
);

INSERT INTO mst_products_20170101 (product_id, name, price, updated_at) VALUES ('B002', 'BBD', 3000, '2016-11-03 21:00:00'), ('D001', 'DAA', 5000, '2016-11-04 19:00:00'), ('C001', 'CCA', 5000, '2016-12-04 18:00:00'), ('D002', 'DAD', 5000, '2016-12-04 19:00:00'), ('A001', 'AAA', 3000, '2016-11-03 18:00:00');
-- DBMS: sqlite
CREATE TABLE action_log (
    session varchar(255),
    user_id varchar(255),
    action varchar(255),
    category varchar(255),
    products varchar(255),
    amount INTEGER,
    stamp varchar(255)
);

INSERT INTO action_log (session, user_id, action, category, products, amount, stamp) VALUES ('989004ea', 'U001', 'add_cart', 'drama', 'D001', nan, '2016-11-03 18:00:00'), ('989004ea', 'U001', 'add_cart', 'drama', 'D001', nan, '2016-11-03 18:00:00'), ('9afaf87c', 'U002', 'purchase', 'action', 'A005,A006', 1000.0, '2016-11-04 15:00:00'), ('989004ea', 'U001', 'add_cart', 'drama', 'D001', nan, '2016-11-03 18:00:00'), ('989004ea', 'U001', 'add_cart', 'drama', 'D001', nan, '2016-11-03 18:00:00');
-- DBMS: sqlite
CREATE TABLE mst_users_with_card_number (
    user_id varchar(255),
    card_number varchar(255)
);

INSERT INTO mst_users_with_card_number (user_id, card_number) VALUES ('U001', '1234-xxxx-xxxx-xxxx'), ('U002', NULL), ('U003', '5678-xxxx-xxxx-xxxx');
-- DBMS: sqlite
CREATE TABLE product_sales (
    category_name varchar(255),
    product_id varchar(255),
    sales INTEGER
);

INSERT INTO product_sales (category_name, product_id, sales) VALUES ('dvd', 'D003', 10000), ('cd', 'C001', 30000), ('book', 'B003', 10000), ('dvd', 'D001', 50000), ('dvd', 'D002', 20000);
-- DBMS: sqlite
CREATE TABLE access_log (
    session varchar(255),
    user_id varchar(255),
    action varchar(255),
    stamp varchar(255)
);

INSERT INTO access_log (session, user_id, action, stamp) VALUES ('98900e', 'U001', 'view', '2016-01-03 22:00:00'), ('2016-10-01 17:00:00', '2bGs3i', '1CwlSX', '/top'), ('1cf768', 'U002', 'view', '2016-01-04 23:00:00'), ('2016-10-02 14:00:00', '3CEHe1', 'FGkTe9', '/search'), ('2016-10-03 13:00:00', '7jjxQX', 'KKTw9P', '/top');
-- DBMS: sqlite
CREATE TABLE purchase_log (
    purchase_id INTEGER,
    user_id varchar(255),
    amount INTEGER,
    stamp varchar(255)
);

INSERT INTO purchase_log (purchase_id, user_id, amount, stamp) VALUES (10002, 'U001', 500, '2017-02-10 10:00:00'), (10005, 'U002', 400, '2017-03-02 10:00:00'), (10001, 'U001', 200, '2017-01-30 10:00:00'), (10003, 'U001', 200, '2017-02-12 10:00:00'), (10004, 'U002', 800, '2017-03-01 10:00:00');
-- DBMS: sqlite
CREATE TABLE mst_products_20161201 (
    product_id varchar(255),
    name varchar(255),
    price INTEGER,
    updated_at varchar(255)
);

INSERT INTO mst_products_20161201 (product_id, name, price, updated_at) VALUES ('A002', 'AAB', 4000, '2016-11-03 19:00:00'), ('C001', 'CCA', 4000, '2016-11-04 18:00:00'), ('B002', 'BBD', 3000, '2016-11-03 21:00:00'), ('D001', 'DAA', 5000, '2016-11-04 19:00:00'), ('A001', 'AAA', 3000, '2016-11-03 18:00:00');
-- DBMS: sqlite
CREATE TABLE mst_users (
    user_id varchar(255),
    sex varchar(255),
    birth_date varchar(255),
    register_date varchar(255),
    register_device varchar(255),
    withdraw_date varchar(255)
);

INSERT INTO mst_users (user_id, sex, birth_date, register_date, register_device, withdraw_date) VALUES ('U005', 'M', '1987-11-23', '2016-10-01', 'sp', NULL), ('U018', 'M', '2009-10-12', '2016-10-01', 'app', NULL), ('U010', 'F', '1987-03-18', '2016-10-01', 'pc', NULL), ('U006', 'F', '1950-01-21', '2016-10-10', 'pc', '2016-10-10'), ('U020', 'F', '1954-04-17', '2016-10-02', 'app', NULL);
-- DBMS: sqlite
CREATE TABLE mst_categories (
    id INTEGER,
    name varchar(255),
    stamp varchar(255)
);

INSERT INTO mst_categories (id, name, stamp) VALUES (6, 'cooking', '2016-02-01 10:00:00'), (2, 'mens_fashion', '2016-01-01 10:00:00'), (4, 'game', '2016-01-01 10:00:00'), (7, 'supplement', '2016-01-01 10:00:00'), (1, 'ladys_fashion', '2016-01-01 10:00:00');
-- DBMS: sqlite
CREATE TABLE activity_log (
    stamp varchar(255),
    session varchar(255),
    action varchar(255),
    option varchar(255),
    path varchar(255),
    search_type varchar(255)
);

INSERT INTO activity_log (stamp, session, action, option, path, search_type) VALUES ('2017-01-09 12:19:49', '36dd0df7', 'view', 'detail', '/detail/', ''), ('2017-01-09 12:18:43', '36dd0df7', 'view', 'search', '/search_list', 'Pref-with-Job'), ('2017-01-09 12:18:43', '111f2996', 'view', 'search', '/search_list/', 'Pref'), ('2017-01-09 12:24:13', '87b5725f', 'view', 'detail', '/detail', ''), ('2017-01-09 12:19:49', '36dd0df7', 'view', 'detail', '/detail', '');
-- DBMS: sqlite
CREATE TABLE form_error_log (
    stamp varchar(255),
    session varchar(255),
    form varchar(255),
    field varchar(255),
    error_type varchar(255),
    value varchar(255)
);

INSERT INTO form_error_log (stamp, session, form, field, error_type, value) VALUES ('2016-12-30 00:56:09', '035a1ebb', 'cart', 'tel', 'format_error', '03-99999999'), ('2016-12-30 00:56:08', '004dc3ef', 'regist', 'kana', 'require', ''), ('2016-12-30 00:56:08', '004dc3ef', 'regist', 'email', 'require', ''), ('2016-12-30 00:56:42', '01061716', 'regist', 'kana', 'not_kana', '山田 太郎'), ('2016-12-30 00:56:09', '02596e8a', 'regist', 'kana', 'require', '');
-- DBMS: sqlite
CREATE TABLE productdescription (
    productdescriptionid INTEGER,
    description TEXT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO productdescription (productdescriptionid, description, rowguid, modifieddate) VALUES (1726, 'ทำความสะอาดสิ่งสกปรกที่ฝังแน่น ละลายจาระบี และไม่เป็นอันตรายต่อสิ่งแวดล้อม  ขวดบรรจุ 1 ลิตร', '0d868adf-6413-4e81-ac29-365e6d42538a', '2014-02-08 10:32:17.973'), (1904, '专为竞赛者设计；高档且符合人体解剖学的铝合金车把。', 'a86defc7-837d-4ef1-aea4-dbe79a81a58e', '2013-04-30 00:00:00'), (1983, 'Roue de secours tout-terrain pour vététiste occasionnel.', '7825e905-37d3-40b8-992e-7f88d24c0a70', '2013-04-30 00:00:00'), (1640, 'สร้างจากอลูมิเนียมอัลลอยชนิดเดียวกับสุดยอดเฟรม HL เฟรม ML นี้มีน้ำหนักเบา สร้างขึ้นตามขนาดที่ให้ความแข็งแกร่งเป็นเลิศ  เวอร์ชันสำหรับสุภาพสตรี', 'cdb3338b-8cb8-4a4f-998e-e5a9ab0030c8', '2014-02-08 10:32:17.973'), (1517, 'Doté du même alliage en aluminium que notre cadre HL haut de gamme, le ML possède un tube léger dont le diamètre est prévu pour offrir une résistance optimale. Version femmes.', 'f3cd990a-b70d-43c8-a075-934a3e98b5aa', '2013-04-30 00:00:00');
-- DBMS: sqlite
CREATE TABLE productcategory (
    productcategoryid INTEGER,
    name TEXT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO productcategory (productcategoryid, name, rowguid, modifieddate) VALUES (1, 'Bikes', 'cfbda25c-df71-47a7-b81b-64ee161aa37c', '2008-04-30 00:00:00'), (2, 'Components', 'c657828d-d808-4aba-91a3-af2ce02300e9', '2008-04-30 00:00:00'), (3, 'Clothing', '10a7c342-ca82-48d4-8a38-46a2eb089b74', '2008-04-30 00:00:00'), (4, 'Accessories', '2be3be36-d9a2-4eee-b593-ed895d97c2a6', '2008-04-30 00:00:00');
-- DBMS: sqlite
CREATE TABLE salesperson (
    businessentityid INTEGER,
    territoryid INTEGER,
    salesquota INTEGER,
    bonus INTEGER,
    commissionpct FLOAT,
    salesytd FLOAT,
    saleslastyear FLOAT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO salesperson (businessentityid, territoryid, salesquota, bonus, commissionpct, salesytd, saleslastyear, rowguid, modifieddate) VALUES (287, '', '', 0, 0.0, 519905.932, 0.0, '1dd1f689-df74-4149-8600-59555eef154b', '2012-04-09 00:00:00'), (284, 1, 300000, 3900, 0.019, 1576562.1966, 0.0, 'ac94ec04-a2dc-43e3-8654-dd0c546abc17', '2012-09-23 00:00:00'), (283, 1, 250000, 3500, 0.012, 1573012.9383, 1371635.3158, '6bac15b2-8ffb-45a9-b6d5-040e16c2073f', '2011-05-24 00:00:00'), (279, 5, 300000, 6700, 0.01, 2315185.611, 1849640.9418, '52a5179d-3239-4157-ae29-17e868296dc0', '2011-05-24 00:00:00'), (290, 7, 250000, 985, 0.016, 3121616.3202, 2396539.7601, 'f509e3d4-76c8-42aa-b353-90b7b8db08de', '2012-05-23 00:00:00');
-- DBMS: sqlite
CREATE TABLE productsubcategory (
    productsubcategoryid INTEGER,
    productcategoryid INTEGER,
    name TEXT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO productsubcategory (productsubcategoryid, productcategoryid, name, rowguid, modifieddate) VALUES (26, 4, 'Bike Racks', '4624b5ce-66d6-496b-9201-c053df3556cc', '2008-04-30 00:00:00'), (35, 4, 'Panniers', '3002a5d5-fec3-464b-bef3-e0f81d35f431', '2008-04-30 00:00:00'), (10, 2, 'Forks', 'b5f9ba42-b69b-4fdd-b2ec-57fb7b42e3cf', '2008-04-30 00:00:00'), (31, 4, 'Helmets', 'f5e07a33-c9e0-439c-b5f3-9f25fb65becc', '2008-04-30 00:00:00'), (1, 1, 'Mountain Bikes', '2d364ade-264a-433c-b092-4fcbf3804e01', '2008-04-30 00:00:00');
-- DBMS: sqlite
CREATE TABLE countryregioncurrency (
    countryregioncode TEXT,
    currencycode TEXT,
    modifieddate DATE
);

INSERT INTO countryregioncurrency (countryregioncode, currencycode, modifieddate) VALUES ('CZ', 'CZK', '2014-02-08 10:17:21.51'), ('TW', 'TWD', '2014-02-08 10:17:21.51'), ('GR', 'GRD', '2014-02-08 10:17:21.51'), ('CR', 'CRC', '2014-02-08 10:17:21.51'), ('MU', 'MUR', '2014-02-08 10:17:21.51');
-- DBMS: sqlite
CREATE TABLE currencyrate (
    currencyrateid INTEGER,
    currencyratedate DATE,
    fromcurrencycode TEXT,
    tocurrencycode TEXT,
    averagerate FLOAT,
    endofdayrate FLOAT,
    modifieddate DATE
);

INSERT INTO currencyrate (currencyrateid, currencyratedate, fromcurrencycode, tocurrencycode, averagerate, endofdayrate, modifieddate) VALUES (5356, '2012-08-26 00:00:00', 'USD', 'CNY', 8.2772, 8.2764, '2012-08-26 00:00:00'), (9391, '2013-08-28 00:00:00', 'USD', 'BRL', 2.5417, 2.5449, '2013-08-28 00:00:00'), (11307, '2014-02-18 00:00:00', 'USD', 'CNY', 8.2867, 8.2873, '2014-02-18 00:00:00'), (11202, '2014-02-08 00:00:00', 'USD', 'SAR', 3.7504, 3.7505, '2014-02-08 00:00:00'), (6375, '2012-11-27 00:00:00', 'USD', 'ARS', 0.999, 0.9993, '2012-11-27 00:00:00');
-- DBMS: sqlite
CREATE TABLE salesorderheader (
    salesorderid INTEGER,
    revisionnumber INTEGER,
    orderdate DATE,
    duedate DATE,
    shipdate DATE,
    STATUS TEXT,
    onlineorderflag BOOLEAN,
    purchaseordernumber TEXT,
    accountnumber TEXT,
    customerid INTEGER,
    salespersonid INTEGER,
    territoryid INTEGER,
    billtoaddressid INTEGER,
    shiptoaddressid INTEGER,
    shipmethodid INTEGER,
    creditcardid INTEGER,
    creditcardapprovalcode TEXT,
    currencyrateid INTEGER,
    subtotal FLOAT,
    taxamt FLOAT,
    freight FLOAT,
    totaldue FLOAT,
    comment TEXT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO salesorderheader (salesorderid, revisionnumber, orderdate, duedate, shipdate, STATUS, onlineorderflag, purchaseordernumber, accountnumber, customerid, salespersonid, territoryid, billtoaddressid, shiptoaddressid, shipmethodid, creditcardid, creditcardapprovalcode, currencyrateid, subtotal, taxamt, freight, totaldue, comment, rowguid, modifieddate) VALUES (50818, 8, '2013-05-05 00:00:00', '2013-05-17 00:00:00', '2013-05-12 00:00:00', '5', 't', '', '10-4030-018019', 18019, '', 8, 12689, 12689, 1, 8077, '730504Vi41881', '', 2181.5625, 174.525, 54.5391, 2410.6266, '', 'baaad6cf-a8b6-4711-ad9a-a26997415da5', '2013-05-12 00:00:00'), (53462, 8, '2013-07-31 00:00:00', '2013-08-12 00:00:00', '2013-08-07 00:00:00', '5', 'f', 'PO17429162096', '10-4020-000338', 29607, 288, 8, 733, 733, 5, 4727, '55366Vi24795', 9086, 228.582, 22.5534, 7.0479, 258.1833, '', '5f474c4b-314a-44ee-a7dc-6fcb2a2fbd78', '2013-08-07 00:00:00'), (74417, 8, '2014-06-08 00:00:00', '2014-06-20 00:00:00', '2014-06-15 00:00:00', '5', 't', '', '10-4030-012690', 12690, '', 9, 22292, 22292, 1, 2, '817012Vi13', '', 32.27, 2.5816, 0.8068, 35.6584, '', 'b9bb0d61-9ae0-492b-9823-a305c5c2941a', '2014-06-15 00:00:00'), (45733, 8, '2012-02-21 00:00:00', '2012-03-04 00:00:00', '2012-02-28 00:00:00', '5', 't', '', '10-4030-011624', 11624, '', 4, 27054, 27054, 1, 4783, '1232526Vi25107', '', 3578.27, 286.2616, 89.4568, 3953.9884, '', '7ded6d3e-7865-4ac9-8073-3981dc5c84c3', '2012-02-28 00:00:00'), (55415, 8, '2013-08-31 00:00:00', '2013-09-12 00:00:00', '2013-09-07 00:00:00', '5', 't', '', '10-4030-016214', 16214, '', 1, 28617, 28617, 1, 8382, '625262Vi43419', '', 15.23, 1.2184, 0.3808, 16.8292, '', '4044edc4-70cb-444d-a701-5fa91d7ae4cd', '2013-09-07 00:00:00');
-- DBMS: sqlite
CREATE TABLE salesorderdetail (
    salesorderid INTEGER,
    salesorderdetailid INTEGER,
    carriertrackingnumber TEXT,
    orderqty INTEGER,
    productid INTEGER,
    specialofferid INTEGER,
    unitprice FLOAT,
    unitpricediscount FLOAT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO salesorderdetail (salesorderid, salesorderdetailid, carriertrackingnumber, orderqty, productid, specialofferid, unitprice, unitpricediscount, rowguid, modifieddate) VALUES (72082, 113886, '', 1, 922, 1, 3.99, 0.0, '1f383694-6df4-4b75-a946-3cb392ab3d37', '2014-05-03 00:00:00'), (65721, 91550, '', 1, 715, 1, 49.99, 0.0, '53b6886a-fcaa-42cb-9260-6663203aefb2', '2014-02-04 00:00:00'), (45795, 7799, 'EA72-4C1D-BB', 2, 714, 1, 28.8404, 0.0, '0c5eeb56-066e-4093-a26e-5e83a0b5cf17', '2012-02-29 00:00:00'), (70716, 107927, '', 1, 869, 1, 69.99, 0.0, '44b70744-e69e-4cce-8536-7fd2ca77ad60', '2014-04-15 00:00:00'), (70975, 108582, '', 1, 880, 1, 54.99, 0.0, 'eb78b526-0e49-4af2-a41d-87567425ea78', '2014-04-19 00:00:00');
-- DBMS: sqlite
CREATE TABLE salesterritory (
    territoryid INTEGER,
    name TEXT,
    countryregioncode TEXT,
    group TEXT,
    salesytd FLOAT,
    saleslastyear FLOAT,
    costytd FLOAT,
    costlastyear FLOAT,
    rowguid TEXT,
    modifieddate DATE
);

INSERT INTO salesterritory (territoryid, name, countryregioncode, group, salesytd, saleslastyear, costytd, costlastyear, rowguid, modifieddate) VALUES (5, 'Southeast', 'US', 'North America', 2538667.2515, 3925071.4318, 0.0, 0.0, '6dc4165a-5e4c-42d2-809d-4344e0ac75e7', '2008-04-30 00:00:00'), (1, 'Northwest', 'US', 'North America', 7887186.7882, 3298694.4938, 0.0, 0.0, '43689a10-e30b-497f-b0de-11de20267ff7', '2008-04-30 00:00:00'), (8, 'Germany', 'DE', 'Europe', 3805202.3478, 1307949.7917, 0.0, 0.0, '6d2450db-8159-414f-a917-e73ee91c38a9', '2008-04-30 00:00:00'), (7, 'France', 'FR', 'Europe', 4772398.3078, 2396539.7601, 0.0, 0.0, 'bf806804-9b4c-4b07-9d19-706f2e689552', '2008-04-30 00:00:00'), (9, 'Australia', 'AU', 'Pacific', 5977814.9154, 2278548.9776, 0.0, 0.0, '602e612e-dfe9-41d9-b894-27e489747885', '2008-04-30 00:00:00');
-- DBMS: sqlite
CREATE TABLE SalesPersonQuotaHistory (
    BusinessEntityID INTEGER,
    QuotaDate TEXT,
    SalesQuota REAL,
    rowguid TEXT,
    ModifiedDate TEXT
);

INSERT INTO SalesPersonQuotaHistory (BusinessEntityID, QuotaDate, SalesQuota, rowguid, ModifiedDate) VALUES (274, '2013-11-30 00:00:00', 84000.0, '{7CEA47B5-8391-4414-A866-FF6EC6628CD3}', '2013-10-16 00:00:00'), (282, '2012-11-30 00:00:00', 288000.0, '{292D397C-B094-44BD-8374-CFF90CF4B10A}', '2012-10-16 00:00:00'), (279, '2013-08-30 00:00:00', 675000.0, '{3BD5FB9E-0D3C-41B5-A619-CB98D6E5B7FE}', '2013-07-16 00:00:00'), (277, '2012-08-30 00:00:00', 1352000.0, '{64C8E4F4-F979-4816-A2EE-B044AD74224D}', '2012-07-16 00:00:00'), (281, '2014-03-01 00:00:00', 724000.0, '{634A330E-8683-42D4-824F-39B3F9076270}', '2014-01-15 00:00:00');