text
stringlengths
197
8.39k
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text ) CREATE TABLE purchase ( member_id number, branch_id text, year text, total_pounds number ) CREATE TABLE membership_register_branch ( member...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, ...
### Context: CREATE TABLE table_27361255_1 ( team_nickname VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nickname of the Adrian, Michigan team? ### Query: SELECT team_nickname FROM table_27361255_1 WHERE location = "Adrian, Mi...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intake...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ...
### Context: CREATE TABLE table_16864968_8 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on March 21, 2009? ### Query: SELECT score FROM table_16864968_8 WHERE date = "March 21, 2009"
### Context: CREATE TABLE table_name_68 ( home_ground VARCHAR, coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is home ground for coach Andrej Lemanis? ### Query: SELECT home_ground FROM table_name_68 WHERE coach = "andrej lemanis"
### Context: CREATE TABLE table_23491 ( "Season" real, "Network" text, "Host" text, "Contestants" real, "Winner" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the season with Africa as its destination? ### Query: SE...
### Context: CREATE TABLE table_1857216_1 ( acceleration_0_100km_h__0_62mph_ VARCHAR, production VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the acceleration 0-100km/h that was produced in 2002-2006? ### Query: SELECT acceleration_0_100km_h__0_62...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, ...
### Context: CREATE TABLE table_name_92 ( game INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the first game played against the Chicago Black Hawks? ### Query: SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black haw...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City t...
### Context: CREATE TABLE table_204_73 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least the starzzs have scored at a home game ? ### Query: SELECT ...
### Context: CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, ...
### Context: CREATE TABLE table_66981 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least decile for state authority and area of eketa...
### Context: CREATE TABLE table_name_52 ( telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Telugu has a Tamil of p sam ? ### Query: SELECT telugu_తెలుగు FROM table_name_52 WHERE tamil_தமிழ் = "pūsam பூசம்"
### Context: CREATE TABLE table_name_84 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position does the Player Vince Carter hold? ### Query: SELECT position FROM table_name_84 WHERE player = "vince carter"
### Context: CREATE TABLE table_name_78 ( year VARCHAR, award VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was there an award for TV Adicto Golden Awards and the category Female Revelation? ### Query: SELECT year FROM ta...
### Context: CREATE TABLE table_20799587_1 ( mccain_percentage VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of the votes in Copiah did McCain get? ### Query: SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Co...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden b...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_name_31 ( heat_semifinal_final VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What heat, semifinal or final has a time of 25.00? ### Query: SELECT heat_semifinal_final FROM table_name_31 WHERE time = "25.00"
### Context: CREATE TABLE table_name_67 ( base VARCHAR, play VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the base when the play is thesmophoriazusae? ### Query: SELECT base FROM table_name_67 WHERE play = "thesmophoriazusae"
### Context: CREATE TABLE table_203_154 ( id number, "type" text, "manufacturer" text, "numbers" text, "year built" number, "quantity built" number, "power (horsepower)" number, "max speed (km/h)" number, "note" text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_15647838_3 ( _number INTEGER, location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent? ### Query: SELECT MIN(_number) FROM tab...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, ...
### Context: CREATE TABLE table_49915 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player had a to par score of +2? ### Query: SELECT "Player" FRO...
### Context: CREATE TABLE table_38196 ( "Team" text, "Driver" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Laps have a Driver of satrio hermanto? ### Query: SELECT SUM("Laps") FROM table_38196 WHERE...
### Context: CREATE TABLE table_28182 ( "Institution" text, "Seniors" text, "Juniors" text, "Women" text, "Status" text, "Founded" real, "Affiliation (Population)" text, "Color" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### Context: CREATE TABLE table_269920_17 ( l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI sp...
### Context: CREATE TABLE table_24195232_1 ( location VARCHAR, team_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location for the team name of eagles? ### Query: SELECT location FROM table_24195232_1 WHERE team_name = "Eagles"
### Context: CREATE TABLE table_22397 ( "Episode" text, "Garfield Episode 1" text, "U.S. Acres Episode" text, "Garfield Episode 2" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Garfield episode 2 has Garfield episode ...
### Context: CREATE TABLE Department_Stores ( dept_store_id INTEGER, dept_store_chain_id INTEGER, store_name VARCHAR(80), store_address VARCHAR(255), store_phone VARCHAR(80), store_email VARCHAR(80) ) CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(10), cus...
### Context: CREATE TABLE table_name_32 ( losses INTEGER, goals_against VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses has more than 59 goals against and more than 17 position? ### Query: SELECT MIN(losses) FROM table_n...
### Context: CREATE TABLE table_name_62 ( points VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the points when the club blaengarw rfc? ### Query: SELECT points FROM table_name_62 WHERE club = "blaengarw rfc"
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_32890 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest crowd at arden ...
### Context: CREATE TABLE table_79205 ( "Country" text, "Event" text, "Time" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the 10,000m Event? ### Query: SELECT "Country" FROM table_79205 WHERE "Eve...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_66391 ( "Year" real, "Title" text, "Type" text, "Label" text, "Label-Nr" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year with a label-Nr of st-43? ### Query: SELECT MIN("Year") FROM table_663...
### Context: CREATE TABLE table_2610582_3 ( branding VARCHAR, callsign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the branding of the callsign DWBA-TV? ### Query: SELECT branding FROM table_2610582_3 WHERE callsign = "DWBA-TV"
### Context: CREATE TABLE table_38674 ( "Make" text, "Year placed in service" text, "Quantity" real, "Number of seats" real, "Wheelchair accessible? ()" text, "Current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current st...
### Context: CREATE TABLE table_49139 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has player Scott Verplank? ### Query: SELECT "Country" FROM table_49139 WHERE "P...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days te...
### Context: CREATE TABLE table_204_658 ( id number, "week" number, "date" text, "kickoff" text, "opponent" text, "results\nfinal score" text, "results\nteam record" text, "game site" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE table_79172 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country did Raymond Floyd play for? ### Query: SELECT "Country" FROM table_79172 WHERE "...
### Context: CREATE TABLE table_204_42 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long have they been playing ? ### Query: SEL...
### Context: CREATE TABLE table_16101 ( "No. in series" real, "No. in season" real, "Title" text, "Setting" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE table_9413 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Kirk Triplett's Place? ### Query: SELECT "Place" FROM table_9413 WHERE "Player" = 'kir...
### Context: CREATE TABLE table_name_93 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the match played on 13 October 1993? ### Query: SELECT result FROM table_name_93 WHERE date = "13 october 1993"
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name ...
### Context: CREATE TABLE table_28901 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the first elected when the candidates is thomas la...
### Context: CREATE TABLE table_25469 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_243664_1 ( real_life_years_of_operation VARCHAR, currently¹_part_of VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the real life years of operation for amtrak ### Query: SELECT real_life_years_of_operation FROM table_243...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Creation...
### Context: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many scienti...
### Context: CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE table_57146 ( "Number & Name" text, "Description" text, "Livery" text, "Owner(s)" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which owner has a description of Mark 1 CK and is dated 1953? ### Query: SELECT ...
### Context: CREATE TABLE table_11893 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Away team score was 13.20 (9...
### Context: CREATE TABLE table_43652 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when 58,516 were in attendance? ### Query: SELECT "Result" FROM table_...
### Context: CREATE TABLE table_63911 ( "Year" text, "Total Support and Revenue" text, "Total Expenses" text, "Increase in Net Assets" text, "Net Assets at End of Year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With an increase in net assets of...
### Context: CREATE TABLE table_name_68 ( event VARCHAR, medal VARCHAR, olympics VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the event in the 2000 summer olympics with a bronze medal? ### Query: SELECT event FROM table_name_68 WHERE medal = "...
### Context: CREATE TABLE table_204_881 ( id number, "round" number, "date" text, "score" text, "opponent" text, "opponent's score" text, "result" text, "venue" text, "attendance" number, "best on ground" text, "team" text ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeo...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, rel...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text,...
### Context: CREATE TABLE table_70040 ( "Season" text, "Competition" text, "Round" text, "Club" text, "Home" text, "Away" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season did the Sporting CP Club have a 1. roun...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, ...
### Context: CREATE TABLE table_29728787_1 ( la_roche VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1971 is the year what is the la roche? ### Query: SELECT la_roche FROM table_29728787_1 WHERE year = "1971"
### Context: CREATE TABLE table_name_32 ( attendance INTEGER, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? ### Query: SELECT AVG(attendance) FROM table...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, i...
### Context: CREATE TABLE table_train_261 ( "id" int, "allergy_to_biological_products" bool, "renal_disease" bool, "bursing_mothers" bool, "metabolic_bone_disease" bool, "liver_disease" bool, "allergy_to_drug" bool, "alcohol_abuse" bool, "drug_abuse" bool, "NOUSE" float ) -- Us...
### Context: CREATE TABLE table_16803 ( "House Name" text, "Composition" text, "Named after" text, "Founded" real, "Colours" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the benue house made of? ### Query: SELECT "Composition" FROM table_...
### Context: CREATE TABLE table_33128 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" real, "Round of 32" real, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperfield ( fieldid i...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_18958648_1 ( overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all percentages of overweight or obese adults for obesity rank of 21? ### Query: SELECT overweight__inc...
### Context: CREATE TABLE table_14624447_39 ( hometown VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the hometown for ventrell jenkins ### Query: SELECT hometown FROM table_14624447_39 WHERE name = "Ventrell Jenkins"
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospital...
### Context: CREATE TABLE city ( City_ID int, City text, Hanzi text, Hanyu_Pinyin text, Regional_Population int, GDP real ) CREATE TABLE match ( Match_ID int, Date text, Venue text, Score text, Result text, Competition text ) CREATE TABLE hosting_city ( Year int, ...
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, O...
### Context: CREATE TABLE addresses ( address_id number, line_1 text, line_2 text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE candidate_assessments ( candidate_id number, qualification text, assessment_date time, asessment_outcome_c...
### Context: CREATE TABLE table_41210 ( "Year" real, "Film" text, "Director" text, "Producer" text, "Writer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With yes under writer and in 2014, what is the director? ### Query: SELECT "Director" FROM t...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, coun...
### Context: CREATE TABLE table_53445 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the home team when Carlton...
### Context: CREATE TABLE table_name_83 ( to_par VARCHAR, money___$__ VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the to par for $242,813 with score 68-72-74-66=280 ### Query: SELECT to_par FROM table_name_83 WHERE money___$__ ...
### Context: CREATE TABLE table_71014 ( "From" text, "Until" text, "Name" text, "Party" text, "Function" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Until date that has a party of VLD and a beginning from date of December 17, 2007? #...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year t...
### Context: CREATE TABLE table_name_36 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the game played against the Milwaukee Bucks? ### Query: SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks"
### Context: CREATE TABLE table_23690 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Bonus Points" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_65710 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Week number on December 18, 1960? ### Query: SELECT COUNT("Week") FROM table_6...
### Context: CREATE TABLE table_27756014_1 ( team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team played on october 5? ### Query: SELECT team FROM table_27756014_1 WHERE date = "October 5"
### Context: CREATE TABLE table_32095 ( "2nd component" text, "b.p. 2nd comp. (\u02daC)" real, "3rd component" text, "b.p. 3rd comp. (\u02daC)" text, "b.p. azeo. (\u02daC)" text, "% wt 1st" text, "% wt 2nd" text, "% wt 3rd" text ) -- Using valid SQLite, answer the following questions f...
### Context: CREATE TABLE table_43685 ( "Class" text, "Team" text, "Driver" text, "Chassis \u2013 Engine" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest amount of laps for class c1 and driver Derek Bell? ### Query:...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, in...