text
stringlengths
197
8.39k
### 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 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 table_27756572_10 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the game on March 26? ### Query: SELECT score FROM table_27756572_10 WHERE date = "March 26"
### Context: CREATE TABLE table_name_59 ( date VARCHAR, opponents_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has Opponents in the final of valeria casillo lilly raffa? ### Query: SELECT date FROM table_name_59 WHERE opponents_in_...
### Context: CREATE TABLE table_59954 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Place that has Money of 150, and a Player of bobby cruickshank? ...
### Context: CREATE TABLE table_name_88 ( end_term INTEGER, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total End term with a Title of prince regent of bavaria? ### Query: SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince re...
### Context: CREATE TABLE table_name_43 ( visitor VARCHAR, decision VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor on november 14 with leclaire recording the decision? ### Query: SELECT visitor FROM table_name_43 WHERE ...
### Context: CREATE TABLE table_name_70 ( abbr VARCHAR, votes__2011_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE ABBR WITH VOTES OF 11.2% IN 2011? ### Query: SELECT abbr FROM table_name_70 WHERE votes__2011_ = "11.2%"
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### Context: CREATE TABLE table_name_25 ( laps VARCHAR, start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps have 1 as the start? ### Query: SELECT COUNT(laps) FROM table_name_25 WHERE start = "1"
### Context: CREATE TABLE table_10794 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for the game that has a loss of Johnson (5-6)? ### Qu...
### Context: CREATE TABLE table_14782 ( "Candidate" text, "Background" text, "Original Team" text, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original team that was Hired by Trump (5-19-2005)? ### Query: SE...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER, Location_ID INTEGER ) CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Agreem...
### 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 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 table_27755784_6 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record after the game on November 10? ### Query: SELECT record FROM table_27755784_6 WHERE date = "November 10"
### Context: CREATE TABLE table_13764 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many totals have 38.023 (6) as the 3rd run? ### Query: SELECT COUNT("To...
### Context: CREATE TABLE table_13544 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What man...
### Context: CREATE TABLE table_79753 ( "Exam" text, "2006 First Time" text, "2006 All" text, "2007 First Time" text, "2007 All" text, "2008 First Time" text, "2008 All" text, "2009 First Time" text, "2009 All" text, "2010 First Time" text, "2011 First Time" text, "2012 F...
### Context: CREATE TABLE table_name_75 ( team VARCHAR, seed VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team with a seed value greater than 7 has a note that they were an NCRAA champion? ### Query: SELECT team FROM table_name_75 ...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE table_1473672_2 ( nhl_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nhl team does stan weir play for? ### Query: SELECT nhl_team FROM table_1473672_2 WHERE player = "Stan Weir"
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, ...
### Context: CREATE TABLE table_name_32 ( college_junior_club_team__league_ VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What College/Junior/Club Team (League) has a round of 3? ### Query: SELECT college_junior_club_team__league_ FROM table...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_33053 ( "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's score when...
### Context: CREATE TABLE table_name_28 ( boat_builder VARCHAR, number VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What boat builder built the valmai with a number less than 65? ### Query: SELECT boat_builder FROM table_name_28 WHERE nu...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID d...
### 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 table_name_44 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the match on November 15, 2011? ### Query: SELECT score FROM table_name_44 WHERE date = "november 15, 2011"
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, item...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_37462 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has dallas cowboys as the opponent? ###...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE table_1831262_2 ( hydroxymatairesinol VARCHAR, sesamin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of hydroxymatairesinol where sesamin is 62724? ### Query: SELECT hydroxymatairesinol FROM table_1831262_2 WHER...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_...
### Context: CREATE TABLE table_51295 ( "Event" text, "2nd round" text, "Quarterfinal" text, "Semifinal" text, "Final" text, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Quarterfinal has a Rank larger than 9? ### Query: SELECT "Q...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration n...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE table_name_41 ( home_captain VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the home captain that played at Edgbaston? ### Query: SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE ENROLL ( CLASS_CODE varchar(5), STU_NUM int, ENROLL_GRADE varchar(50) ) CREATE TABLE CLASS ( CLASS_CODE varchar(5), CRS_CODE varchar(10), CLASS_SECTION varchar(2), CLASS_TIME varchar(20), CLASS_ROOM varchar(8), PROF_NUM int ) CREATE TABLE STUDENT ( STU...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturet...
### Context: CREATE TABLE table_31445 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Series" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_49684 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Event, when Year is 2002, and when Competition is European Indoor Championship...
### Context: CREATE TABLE table_204_703 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country won more total medals than tue french ...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_45619 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result after the week # top 11? ### Query: SELECT "Result" FROM ta...
### Context: CREATE TABLE table_1213511_2 ( nationality VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player from Buffalo Sabres? ### Query: SELECT nationality FROM table_1213511_2 WHERE nhl_team = "Buffalo ...
### Context: CREATE TABLE table_71730 ( "Hull No." real, "Year" real, "Project" text, "Length overall in meters (without bowsprit)" real, "Name" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the project with length over...
### Context: CREATE TABLE table_79282 ( "Year" real, "Team" text, "Manufacturer" text, "Start" real, "Finish" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had a start of 8 in years under 2008? ### Query: SELECT "Team" FROM table_79282 ...
### 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE table_name_61 ( time VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time did team kawasaki zx10 1000cc have? ### Query: SELECT time FROM table_name_61 WHERE team = "kawasaki zx10 1000cc"
### Context: CREATE TABLE table_11636213_7 ( partnering VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches had the result of 6 3, 6 2? ### Query: SELECT COUNT(partnering) FROM table_11636213_7 WHERE result = "6–3, 6–2"
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE cost ( ...
### Context: CREATE TABLE table_name_5 ( ground VARCHAR, away VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what grounds did the away team of the Toronto Rebels play? ### Query: SELECT ground FROM table_name_5 WHERE away = "toronto rebels"
### Context: CREATE TABLE table_1341453_40 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what district was Tim Holden the incumbent? ### Query: SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden"
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE table_name_88 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the opponent for June 13? ### Query: SELECT opponent FROM table_name_88 WHERE date = "june 13"
### Context: CREATE TABLE table_name_23 ( time_retired VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Time/Retired with a Grid of 12? ### Query: SELECT time_retired FROM table_name_23 WHERE grid = 12
### Context: CREATE TABLE table_name_68 ( position VARCHAR, played INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position has a played entry of more than 24? ### Query: SELECT COUNT(position) FROM table_name_68 WHERE played > 24
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_5082 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which events have a Rank of 1? ### Query: SELECT "Events" FROM table_...
### Context: CREATE TABLE table_78053 ( "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. -- How many spectators were at the gam...
### Context: CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name V...
### Context: CREATE TABLE table_51065 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Socket" text, "Release date" text, "Part number(s)" text ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE table_2380212_1 ( league VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What League was played in 2007? ### Query: SELECT league FROM table_2380212_1 WHERE year = 2007
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gende...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### 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_20453681_1 ( county VARCHAR, obama_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Obama get 37.1%? ### Query: SELECT county FROM table_20453681_1 WHERE obama_percentage = "37.1%"
### Context: CREATE TABLE postseason ( year INTEGER, round TEXT, team_id_winner TEXT, league_id_winner TEXT, team_id_loser TEXT, league_id_loser TEXT, wins INTEGER, losses INTEGER, ties INTEGER ) CREATE TABLE player_award ( player_id TEXT, award_id TEXT, year INTEGER, ...
### Context: CREATE TABLE table_203_270 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which four competitions are the only competitions tha...
### Context: CREATE TABLE table_72962 ( "Rank" real, "Railway Station" text, "Annual entry/exit (millions) 2011\u201312" text, "Annual interchanges (millions) 2011\u201312" text, "Total Passengers (millions) 2011\u201312" text, "Location" text, "Main Services" text, "Number of Platforms"...
### Context: CREATE TABLE table_203_727 ( id number, "year" number, "miss northern ireland" text, "hometown" text, "placement at miss world" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was miss uk 2005 and miss universe 2005...
### Context: CREATE TABLE table_24032 ( "Series Year" real, "Series-Ending Tournament" text, "Location" text, "Surface" text, "Champion" text, "Runner-up" text, "Score in Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the fin...
### Context: CREATE TABLE table_name_2 ( weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did the girl, nicknamed Chidi, weigh at birth? ### Query: SELECT weight_at_birth FROM table_name_2 WHERE g...
### Context: CREATE TABLE table_name_30 ( area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Area (km ) that shows Excised from shire of cook and a Popula...
### Context: CREATE TABLE table_35649 ( "Season" real, "Episodes" real, "First air date" text, "Last air date" text, "Timeslot" text, "DVD Release" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the last episode air date for season 3? #...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### Context: CREATE TABLE table_name_16 ( date VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date with a hilly stage? ### Query: SELECT date FROM table_name_16 WHERE type = "hilly stage"
### Context: CREATE TABLE table_name_67 ( bronze INTEGER, gold VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total amount of bronze medals a team with 1 gold and more than 3 silver medals has? ### Query: SELECT SUM(bronze) F...
### Context: CREATE TABLE stock ( shop_id number, device_id number, quantity number ) CREATE TABLE device ( device_id number, device text, carrier text, package_version text, applications text, software_platform text ) CREATE TABLE shop ( shop_id number, shop_name text, ...
### Context: CREATE TABLE table_7321 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Outcome of the match played on Hard (i) Surface? ### Query...
### Context: CREATE TABLE table_name_97 ( circuit VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Circuit has a Pole position of andr ribeiro? ### Query: SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
### Context: CREATE TABLE table_55199 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the surface of the match when the oppone...
### Context: CREATE TABLE table_52354 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date had a Japan region? ### Query: SELECT "Date" FROM table_52354 WHERE "Region" = 'j...
### Context: CREATE TABLE table_name_32 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2007 that has a grand slam tournaments in 2006. ### Query: SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments"
### Context: CREATE TABLE table_train_66 ( "id" int, "pregnancy_or_lactation" bool, "white_blood_cell_count_wbc" int, "acute_pyelonephritis" bool, "intrabdominal_infection" bool, "body_weight" float, "oxygen_therapy_by_face_mask" bool, "temperature" float, "heart_rate" int, "paco...
### Context: CREATE TABLE table_55939 ( "Rank" real, "Name" text, "Nation" text, "Placings" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a rank great than 3 and a placing of 64? ### Query: SELECT "Name" FROM table_55939 WHER...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE d_items ( row_id number, itemid number, ...