text
stringlengths
197
8.39k
### Context: CREATE TABLE table_70190 ( "Year" text, "Venue" text, "Winners" text, "Runner-up" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the 3rd place team at Pardubice? ### Query: SELECT "3rd place" FROM table_70190 ...
### Context: CREATE TABLE screen_mode ( Graphics_mode real, Char_cells text, Pixels text, Hardware_colours real, used_kb real, map text, Type text ) CREATE TABLE chip_model ( Model_name text, Launch_year real, RAM_MiB real, ROM_MiB real, Slots text, WiFi text, Bl...
### Context: CREATE TABLE table_38684 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest pick # that has a 228 overall and a round less than 7...
### Context: CREATE TABLE table_1119 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original Airdate" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the inroductory phase for...
### 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 prescriptions ( row_id number, subject_id ...
### Context: CREATE TABLE table_25146455_1 ( position VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the driver earn 31 points? ### Query: SELECT position FROM table_25146455_1 WHERE points = 31
### 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_75794 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when Television Service is Eurospor...
### Context: CREATE TABLE table_58890 ( "Team" text, "2006\u201307 Pts" text, "2007\u201308 Pts" text, "2008\u201309 Pts" real, "Total Pts" real, "Total Pld" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of points with ...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### 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 assignedto ( project VARCHAR, scientist VARCHAR ) CREATE TABLE projects ( name VARCHAR, code VARCHAR ) CREATE TABLE scientists ( SSN VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the...
### Context: CREATE TABLE t_kc21 ( 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE table_47007 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On November 2 what...
### Context: CREATE TABLE table_50606 ( "Oklahoma vs." text, "Overall Record" text, "at Norman" text, "at Opponent's Venue" text, "at Neutral Site" text, "Last 5 Meetings" text, "Last 10 Meetings" text, "Current Streak" text, "Since Beginning of Big 12" text ) -- Using valid SQLite...
### Context: CREATE TABLE table_51341 ( "Record" text, "Hard" text, "Clay" text, "Grass" text, "Carpet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which hard has a Clay of 0 0, Grass of 0 0, Carpet of 0 0, and a Record of 1 0? ### Query: SELECT...
### Context: CREATE TABLE table_name_89 ( visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the visitor team on Saturday, November 22 when link pings hc was the home team and there were more than...
### Context: CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE city ( city_code ...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) 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, thu...
### 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 zyjzjlb ( CYBQDM tex...
### Context: CREATE TABLE table_15162 ( "Year" text, "League" text, "Position" text, "Leading Scorer" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Position of 7th of 24, and a Goals smaller than 24 is what league? ### Query: SELECT ...
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEG...
### Context: CREATE TABLE table_60774 ( "Date" text, "Nationality / Opponent" text, "Ground" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name The Ground on 18 january 1998? ### Query: SELECT "Ground" FROM table...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varc...
### Context: CREATE TABLE table_22097588_9 ( spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was spent per voter when total amount spent was 210,280,000? ### Query: SELECT spent_per_voter___php__ FRO...
### Context: CREATE TABLE table_name_58 ( player VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has a pick of 175? ### Query: SELECT player FROM table_name_58 WHERE pick = 175
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_71860 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many strokes for arnold palmer with a to par of greater than 9? ### Query: SELECT A...
### Context: CREATE TABLE table_56007 ( "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. -- When did the north melbourne team p...
### Context: CREATE TABLE table_204_812 ( id number, "#" number, "prime minister" text, "date of birth" text, "start date\nof (first) term" text, "age at beginning\nof (first) term" text, "end date\nof (final) term" text, "total time in\noffice" text, "date of death" text, "lifes...
### Context: CREATE TABLE table_74265 ( "Pick" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions does the draft pick whose nati...
### Context: CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, int...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE table_name_28 ( japanese_voice_actor VARCHAR, mecha VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Japanese voice actor had the Mecha of airplane? ### Query: SELECT japanese_voice_actor FROM table_name_28 WHERE mecha = "airpl...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### 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 paperdataset ( paperid int, datasetid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE cite ( citingpaperid int...
### Context: CREATE TABLE zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_75193 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which surface had a partner of Sand...
### Context: CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), ...
### Context: CREATE TABLE table_76350 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_34189 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "# / County" text, "Year joined" real, "Previous conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whi...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, even...
### Context: CREATE TABLE table_name_18 ( month_ VARCHAR, _year VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which month and year held the Bolivia Special title? ### Query: SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia...
### Context: CREATE TABLE table_name_30 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was St Kilda's away team score? ### Query: SELECT away_team AS score FROM table_name_30 WHERE home_team = "st kilda"
### Context: CREATE TABLE table_name_77 ( directed_by VARCHAR, season VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director of the episode with a season after 8 and an episode of XVI? ### Query: SELECT directed_by FROM tab...
### Context: CREATE TABLE table_66400 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score March 27? ### Query: SELECT "Score" FROM tabl...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number,...
### Context: CREATE TABLE table_71810 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver s...
### Context: CREATE TABLE table_name_90 ( cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the cargo tonnes when the international (non-CIS) is 297 421? ### Query: SELECT cargo__tonnes_ FROM table_name_...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, 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, ...
### Context: CREATE TABLE table_170961_2 ( official_name VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the parish where the area is 508.30? ### Query: SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = ...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_70230 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location, when the Winner is the Baltimore Colts, when the Year i...
### Context: CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE party ( Party_ID int, Minister text, ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug t...
### Context: CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE csu_fees ( campus number, ...
### Context: CREATE TABLE table_12636 ( "Clubs" text, "Seasons at this level" text, "Settlements" text, "Season joined league" text, "Position in 1960/1961" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the Belenenses club occupy ...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varc...
### Context: CREATE TABLE table_32932 ( "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 day is hawthorn the away side?...
### Context: CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int...
### Context: CREATE TABLE table_name_24 ( english_spelling VARCHAR, hebrew_word VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How do you spell the Hebrew word in English? ### Query: SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט...
### Context: CREATE TABLE table_64873 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronze medals for West Germany having a total more than 2? ### Query:...
### 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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE diagnoses_icd ( row_id number, ...
### Context: CREATE TABLE table_name_76 ( round VARCHAR, team__number2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round has Team #2 Gomel? ### Query: SELECT round FROM table_name_76 WHERE team__number2 = "gomel"
### Context: CREATE TABLE table_name_37 ( competition VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Competition has a Venue of jan breydel, bruges, belgium? ### Query: SELECT competition FROM table_name_37 WHERE venue = "jan breydel, b...
### Context: CREATE TABLE table_name_14 ( country VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is Dyer from? ### Query: SELECT country FROM table_name_14 WHERE name = "dyer"
### Context: CREATE TABLE table_name_83 ( third VARCHAR, location VARCHAR, second VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In Winterberg, who was 3rd the year that Monique Riekewald was 2nd? ### Query: SELECT third FROM table_name_83 WHERE locatio...
### Context: CREATE TABLE document_sections ( section_id number, document_code text, section_sequence number, section_code text, section_title text ) CREATE TABLE document_structures ( document_structure_code text, parent_document_structure_code text, document_structure_description text...
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE airline ( airl...
### Context: CREATE TABLE table_2679061_11 ( nationality VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players were drafted by the Philadelphia Flyers? ### Query: SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "...
### Context: CREATE TABLE table_204_971 ( id number, "m" number, "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score" text, "attendance" number, "dinamo scorers" text, "report" text ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE table_name_65 ( site VARCHAR, winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the series that the Kansas City Royals lost? ### Query: SELECT site FROM table_name_65 WHERE winning_team = "kansas city royals"
### 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_name_9 ( goberman VARCHAR, obrist VARCHAR, merkley VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Goberman has an Obrist of 2%, and a Merkley of 34%? ### Query: SELECT goberman FROM table_name_9 WHERE obrist = "2%" ...
### Context: CREATE TABLE table_name_52 ( series VARCHAR, home VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series score on april 17 with minnesota at home? ### Query: SELECT series FROM table_name_52 WHERE home = "minnesota...
### Context: CREATE TABLE table_53161 ( "Title" text, "Composer(s)" text, "Guest performer" text, "Producer(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has a length of 4:22? ### Query: SELECT "Title" FROM table_53161...
### Context: CREATE TABLE table_57483 ( "Date" text, "Home Team" text, "Score" text, "Away Team" text, "Goals" text, "Attendance" real, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On 21/07/07, what was the score? ### Query:...
### Context: CREATE TABLE table_22883210_7 ( location_attendance VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location had a record of 20-12, and how many people attended? ### Query: SELECT location_attendance FROM table_22883210_7 WH...
### Context: CREATE TABLE table_74301 ( "For shank type" text, "Singer part number" text, "Uses templates?" text, "Description" text, "Storage case" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the description of the buttonholer whose singe...
### Context: CREATE TABLE diagnoses ( 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, reli...
### 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_22 ( year INTEGER, opponents_in_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year were the opponents Shingo Kunieda Satoshi Saida? ### Query: SELECT MIN(year) FROM table_name_22 WHERE opponents_in_final = "s...
### Context: CREATE TABLE table_name_38 ( capacity INTEGER, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Capacity has a Location of mogilev? ### Query: SELECT SUM(capacity) FROM table_name_38 WHERE location = "mogilev"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE table_1974545_2 ( nickname VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the nickname of Westfield State University's students? ### Query: SELECT nickname FROM table_1974545_2 WHERE institution = "Westf...
### Context: CREATE TABLE table_35100 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What incumbent has a re-elected result and first elected larger than 1884? ### Qu...
### Context: CREATE TABLE table_name_25 ( nebraska VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nebraska has 2004 year? ### Query: SELECT nebraska FROM table_name_25 WHERE year = "2004"
### Context: CREATE TABLE table_12967 ( "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. -- What is Dave Rummells's to par? ### Query: SELECT "To par" FROM table...
### Context: CREATE TABLE table_name_17 ( player VARCHAR, home_town VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player's home town is Swift Current, AB? ### Query: SELECT player FROM table_name_17 WHERE home_town = "swift current, ab"
### Context: CREATE TABLE table_43326 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number of cuts when there were...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DAT...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...