text
stringlengths
197
8.39k
### Context: CREATE TABLE table_11511 ( "Pick" real, "Round" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has more than 3 rounds with jason odom? ### Query: SELECT "School" FROM table_11...
### Context: CREATE TABLE Shipments ( shipment_id INTEGER, order_id INTEGER, invoice_number INTEGER, shipment_tracking_number VARCHAR(80), shipment_date DATETIME, other_shipment_details VARCHAR(255) ) CREATE TABLE Order_Items ( order_item_id INTEGER, product_id INTEGER, order_id INT...
### Context: CREATE TABLE table_1341423_21 ( first_elected INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest first elected? ### Query: SELECT MIN(first_elected) FROM table_1341423_21
### Context: CREATE TABLE table_19534677_1 ( _number VARCHAR, creators VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the # for bill finger edmond hamilton dick sprang , et al. ### Query: SELECT _number FROM table_19534677_1 WHERE creators = "Bill Fing...
### Context: CREATE TABLE table_3948 ( "Order" real, "Episode" text, "Original airdate" text, "Timeslot" text, "Viewers (millions)" text, "Nightly rank" real, "Weekly rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode had vie...
### Context: CREATE TABLE table_44971 ( "Player" text, "League" real, "Title Playoff" real, "Super Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest League, when Title Playoff is greater than 0? ### Query: SELECT...
### Context: CREATE TABLE table_name_67 ( caps INTEGER, club_province VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many caps for alister campbell from brumbies? ### Query: SELECT MIN(caps) FROM table_name_67 WHERE club_province = "...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE dat...
### Context: CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active te...
### 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 Parking_Fines ( council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR ) CREATE TABLE CMI_Cross_References ( source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_87 ( money_requested__ INTEGER, first_aired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how much money was requested on the show which aired on 4 september 2011? ### Query: SELECT SUM(money_requested__) AS £_ FROM tab...
### Context: CREATE TABLE customers_cards ( card_id number, customer_id number, card_type_code text, card_number text, date_valid_from time, date_valid_to time, other_card_details text ) CREATE TABLE accounts ( account_id number, customer_id number, account_name text, other_...
### Context: CREATE TABLE table_18276 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who were the candidates for district ohio 6? ### Query: SE...
### Context: CREATE TABLE table_50919 ( "Episode" text, "Air Date" text, "Timeslot" text, "18-49" text, "Viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of viewers for the episode that has an 18-49 of 1.8/6? ### Q...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_44668 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the manufacturer for Henk Vd Lagemaat? ### Query: SELECT "Manufacturer" FROM t...
### Context: CREATE TABLE department ( dno number, division text, dname text, room text, building text, dphone number ) CREATE TABLE minor_in ( stuid number, dno number ) CREATE TABLE faculty ( facid number, lname text, fname text, rank text, sex text, phone num...
### Context: CREATE TABLE table_46322 ( "Club" text, "Played" 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 tables provided abov...
### Context: CREATE TABLE table_24837 ( "Episode number" real, "Title" text, "Original airing on Channel 4" text, "Time of airing on Channel 4" text, "Original airing on E4" text, "Time of airing on E4" text, "Position in Channel 4s ratings a" text, "Position in E4s ratings b" 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( ...
### Context: CREATE TABLE table_30375 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### 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_49648 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rider is grid 7? ### Query: SELECT "Rider" FROM table_49648 WHERE "Grid" = '7'
### 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 Assets ( asset_id INTEGER, maintenance_contract_id INTEGER, supplier_company_id INTEGER, asset_details VARCHAR(255), asset_make VARCHAR(20), asset_model VARCHAR(20), asset_acquired_date DATETIME, asset_disposed_date DATETIME, other_asset_details VARCHAR(255)...
### 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 t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### 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_name_41 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nationality, when Player is 'Andrew Campbell'? ### Query: SELECT nationality FROM table_name_41 WHERE player = "andrew campbell"
### 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 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, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_93 ( money___ INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Money ($) player Loren Roberts has made? ### Query: SELECT MAX(money___) AS $__ FROM table_name_93 WHERE player = "loren roberts"
### Context: CREATE TABLE table_77405 ( "Club" text, "Chinese name" text, "Home stadium" text, "Capacity" real, "Seasons in CSL" text, "Best finish" text, "Worst finish" text, "Spell in level 1" text, "Top Division Titles (Overall)" real, "Top Division Titles (Professional)" real...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_204_448 ( id number, "team" text, "winners" number, "runners-up" number, "years won" text, "years runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- liverpool had 8 wins . who is next ? ### Query: SELECT "...
### Context: CREATE TABLE table_name_29 ( assists INTEGER, games VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Assists for the Player with 13 Games and a Rank less than 3? ### Query: SELECT SUM(assists) FROM table_name_29 WHERE g...
### Context: CREATE TABLE table_1007688_1 ( typhoid_fever VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the typhoid fever number for the year 1929 ### Query: SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1929"
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE flight_stop...
### 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_14803 ( "Station No." real, "Station Name" text, "Chinese Name" text, "Travel Time (hrs)" text, "Distance (km)" real, "Transfers" text, "Location ( District )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Th...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requireme...
### Context: CREATE TABLE table_name_91 ( draw INTEGER, jury VARCHAR, televote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What sum of draw had more than 22 in Jury and a Televote of 130? ### Query: SELECT SUM(draw) FROM table_name_91 WHERE jury > 22...
### Context: CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm_amenity ( amenid INTEGE...
### 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_54892 ( "Year" real, "Place" text, "Event" text, "Performance" text, "Age (years)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest age (years) that the 1st place had a performance of 62.20m? ### Qu...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, ...
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...
### 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_27133147_3 ( date_of_vacancy VARCHAR, incoming_head_coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the incoming head coach is Carlos Azenha, what is the date of vacancy? ### Query: SELECT date_of_vacancy FROM table_2...
### Context: CREATE TABLE Complaints ( complaint_id INTEGER, product_id INTEGER, customer_id INTEGER, complaint_outcome_code VARCHAR(20), complaint_status_code VARCHAR(20), complaint_type_code VARCHAR(20), date_complaint_raised DATETIME, date_complaint_closed DATETIME, staff_id INTEG...
### Context: CREATE TABLE table_train_265 ( "id" int, "systolic_blood_pressure_sbp" int, "fasting_blood_glucose_fbg" float, "diastolic_blood_pressure_dbp" int, "hba1c" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE club ( clubid number, clubname text, clubdesc text, clublocation text ) CREATE TABLE member_of_club ( stuid nu...
### Context: CREATE TABLE diagnoses ( 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_204_174 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many nationalities are there after rank 5 ? ### Query: SELECT COUNT...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### 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 mzjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_name_28 ( home VARCHAR, decision VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Home team when the Visitor was Florida, with a Decision of Ramo? ### Query: SELECT home FROM table_name_28 WHERE...
### Context: CREATE TABLE table_name_75 ( pick__number VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks have an Overall of 114? ### Query: SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114
### Context: CREATE TABLE table_24122653_2 ( finish VARCHAR, vote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the finish associated with a 3-2 vote? ### Query: SELECT finish FROM table_24122653_2 WHERE vote = "3-2"
### Context: CREATE TABLE table_235 ( "Season" real, "Season premiere" text, "Season finale" text, "TV season" text, "Ranking" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tv season had a season finale of aug...
### Context: CREATE TABLE table_name_72 ( category VARCHAR, nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What category was danson tang nominated? ### Query: SELECT category FROM table_name_72 WHERE nomination = "danson tang"
### Context: CREATE TABLE table_name_57 ( notes VARCHAR, shirt_printing VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for the shirt that said Pavv before 2005? ### Query: SELECT notes FROM table_name_57 WHERE shirt_prin...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE ReviewTaskResults ( Id number, ReviewT...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE diagnoses ( 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_67 ( category VARCHAR, character VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what category was character Jacqui Mcqueen nominated before 2011? ### Query: SELECT category FROM table_name_67 WHERE c...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### 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 table_28601467_1 ( year INTEGER, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent year in which the winner record is Ireland 4 points? ### Query: SELECT MAX(year) FROM table_28601467_1 WHERE winner = "I...
### Context: CREATE TABLE table_name_54 ( number_1971 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748? ### Query: SELECT 1981 FROM table_name_54 WHERE numb...
### Context: CREATE TABLE table_60337 ( "Nat." text, "Name" text, "Since" text, "Goals" real, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals did coe get? ### Query: SELECT MIN("Goals") FROM table_60337...
### Context: CREATE TABLE table_27537518_4 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record for the October 16 game? ### Query: SELECT record FROM table_27537518_4 WHERE date = "October 16"
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, ...
### Context: CREATE TABLE table_name_99 ( week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Week 11 when Week 10 had Nebraska (7-1)? ### Query: SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebra...
### Context: CREATE TABLE table_1342249_42 ( result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results have Jere Cooper as incumbent? ### Query: SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper"
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, adm...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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...
### Context: CREATE TABLE table_43718 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What title did George Fury win when on the Oran Park Raceway? ### ...
### Context: CREATE TABLE table_31174 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" real, "Earnings ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum start record for player of Jeff...
### Context: CREATE TABLE table_10238 ( "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 score for th...
### Context: CREATE TABLE table_203_618 ( id number, "pick" number, "player" text, "team" text, "position" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- selected before mark mulder ? ### Query: SELECT "player" FROM table_203_618...
### Context: CREATE TABLE table_19401346_1 ( title VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the title of the episode with production code 10018? ### Query: SELECT title FROM table_19401346_1 WHERE production_code = 1001...
### 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_38504 ( "Borough" text, "Components" text, "Population" real, "Number of Borough Councilors" real, "Number of Municipal Councilors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which components have a borough of Len...
### Context: CREATE TABLE table_23183195_2 ( road_record VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the road record for Vanderbilt? ### Query: SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = "Vanderbilt"
### Context: CREATE TABLE table_41662 ( "20 years" text, "2400 kWh/kW p y" real, "2200 kWh/kW p y" real, "2000 kWh/kW p y" real, "1800 kWh/kW p y" real, "1600 kWh/kW p y" real, "1400 kWh/kW p y" real, "1200 kWh/kW p y" real, "1000 kWh/kW p y" real, "800 kWh/kW p y" real ) -- Us...
### 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 table_name_41 ( avg INTEGER, player VARCHAR, fumbles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Buck Pierce's highest average when there were less than 2 fumbles? ### Query: SELECT MAX(avg) FROM table_name_41 WHERE...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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...
### Context: CREATE TABLE table_61530 ( "Bow number" text, "Ship name" text, "Launched" text, "Commissioned" text, "Service" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the ship that was commissioned July 1948 with a bow number of ps-31 ...
### Context: CREATE TABLE table_54118 ( "Tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position for 2008, where 2012 was...
### 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_name_29 ( director VARCHAR, serial_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the director for heroes of the wild ### Query: SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild"
### Context: CREATE TABLE table_name_45 ( game INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average game has January 30 as the date? ### Query: SELECT AVG(game) FROM table_name_45 WHERE date = "january 30"
### 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 lab ( ...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_train_19 ( "id" int, "white_blood_cell_count_wbc" int, "active_infection" bool, "heart_disease" bool, "temperature" float, "skin_lesion" bool, "heart_rate" int, "paco2" float, "immature_form" int, "respiratory_rate" int, "age" float, "NOUSE...