text
stringlengths
197
8.39k
### Context: CREATE TABLE table_40991 ( "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_77947 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the competition at the ta'qali venue? ### Query: SELECT "Competition" FROM table_77...
### Context: CREATE TABLE table_23223 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real, "Current Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_15 ( round_1 INTEGER, place VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest round with a place of t15 in a year earlier than 1998? ### Query: SELECT MIN(round_1) FROM table_name_15 WHE...
### 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 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 bdmzjzjlb ( 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_27737 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many inputs joined this institution loc...
### 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 Faculty ( FacID VARCHAR ) CREATE TABLE Student ( advisor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the ids for all the faculty members who have at least 2 students. ### Query: SELECT T1.FacID FROM Faculty AS T1 JOIN Stud...
### Context: CREATE TABLE table_5200 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pick numbers did Matt Marquess have? ### Query: SELECT COUNT("Pick #") FROM...
### Context: CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellat...
### Context: CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) -- Using valid SQLite, answer the following question...
### 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### 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_64611 ( "Game" real, "Date" text, "Opponent" 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 ...
### Context: CREATE TABLE happy_hour ( hh_id number, shop_id number, month text, num_of_shaff_in_charge number ) CREATE TABLE shop ( shop_id number, address text, num_of_staff text, score number, open_year text ) CREATE TABLE happy_hour_member ( hh_id number, member_id numb...
### Context: CREATE TABLE table_18888159_1 ( points VARCHAR, _number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of points for number 6 ### Query: SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6
### Context: CREATE TABLE table_4460 ( "Episode #" real, "Title" text, "Air Date" text, "Demo" text, "Viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For demo 1.6/5, what is the title? ### Query: SELECT "Title" FROM table_4460 WHERE "Demo" ...
### 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_46608 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the verb meaning when part 2 is band? ### Query: SELECT "Ver...
### Context: CREATE TABLE table_38872 ( "Year" text, "1801" text, "1811" text, "1821" text, "1841" text, "1851" text, "1861" text, "1871" text, "1881" text, "1891" text, "1901" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- N...
### Context: CREATE TABLE table_name_4 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1994 when QF is 1999? ### Query: SELECT 1994 FROM table_name_4 WHERE 1999 = "qf"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE Tags ( Id number, TagName ...
### Context: CREATE TABLE table_name_22 ( pl_gp INTEGER, reg_gp INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest Pl GP with a Reg GP over 18? ### Query: SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18
### Context: CREATE TABLE table_67696 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Visitor of minnesota has what average attendance? ##...
### Context: CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE technician ( technician_id ...
### Context: CREATE TABLE table_name_97 ( date INTEGER, u_boats_destroyed__pola_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest Date listed that has U-boats destroyed (Pola) of 1? ### Query: SELECT MAX(date) FROM table_name_97 WHERE u_boa...
### Context: CREATE TABLE table_name_22 ( tries INTEGER, conversions INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number of tries with conversions more than 0? ### Query: SELECT MIN(tries) FROM table_name_22 WHERE conversions > 0
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, r...
### Context: CREATE TABLE table_11679 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-...
### 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 procedures_icd ( row_id number, subject_id...
### Context: CREATE TABLE table_49728 ( "Team" text, "Sets+" real, "Sets\u2013" real, "Points+" real, "Points\u2013" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Sets- for Team ushua a ibiza voley when the Points- were less than 1418 a...
### Context: CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Cont...
### Context: CREATE TABLE table_23848 ( "Parish" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes did Obama have at 32.12% ### Query: SELECT MIN("Obama#") FROM table_23848 W...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, ...
### 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_name_97 ( defensive VARCHAR, rookie VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played defensive when the rookie Craig Point was playing during week 6? ### Query: SELECT defensive FROM table_name_97 W...
### 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 Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_14673 ( "Type" text, "Fleet numbers" text, "Quantity made" text, "Date made" text, "GSR Class" text, "Inchicore Class" text, "GSR Nos." text, "Withdrawn" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
### Context: CREATE TABLE table_name_22 ( lost INTEGER, pct VARCHAR, total_games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number lost when the PCT is more than 0.7334 and the total number of games is larger than 48? ### Query: ...
### Context: CREATE TABLE table_19283982_4 ( _number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of total votes for # of seats won being 30 ### Query: SELECT _number_of_total_votes FROM table_1...
### Context: CREATE TABLE table_1745843_8 ( part_4 VARCHAR, part_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the part 4 when part 1 is 'lesan'? ### Query: SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan"
### 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 jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE flight_stop ( flight_id ...
### Context: CREATE TABLE table_name_23 ( year VARCHAR, pts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year had 13 points? ### Query: SELECT year FROM table_name_23 WHERE pts = 13
### Context: CREATE TABLE table_27755603_10 ( game INTEGER, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the game number when the location attendance was the Palace of Auburn Hills 15,166? ### Query: SELECT MIN(game) FROM tabl...
### Context: CREATE TABLE table_6664 ( "Season" text, "Competition" text, "Round" text, "Club" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the final score of the 1st round game of club Union Luxembourg? ### Query: SELECT "S...
### Context: CREATE TABLE table_name_61 ( county VARCHAR, cerclis_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What county is CERCLIS ID nhd062004569 in? ### Query: SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
### 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_24224647_2 ( year_premiered INTEGER, main_presenter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year premiered when Benjamin Castaldi is main presenter? ### Query: SELECT MAX(year_premiered) 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_27537870_6 ( january VARCHAR, decision VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the decision was by Lalime, when in January was it made? ### Query: SELECT january FROM table_27537870_6 WHERE decision = "Lalime"
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE table_name_4 ( nickname VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Post University has what nickname? ### Query: SELECT nickname FROM table_name_4 WHERE institution = "post university"
### Context: CREATE TABLE table_name_66 ( date VARCHAR, circuit VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit? ### Query: SELECT date FROM table_na...
### Context: CREATE TABLE table_2077192_2 ( italian VARCHAR, english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What does the word 'frog'in English translate to in Italian? ### Query: SELECT italian FROM table_2077192_2 WHERE english = "frog"
### 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 table_74585 ( "District" text, "Name" text, "Party" text, "Residence" text, "Assumed office" real, "Next election" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party of the Senator in District A, who assum...
### 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 jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_68081 ( "Year" real, "Office" text, "Candidate" text, "Popular Votes" real, "Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of popular votes for mn attorney general in 1994 ### Query...
### 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 zyjybgb ( BBCJBW tex...
### Context: CREATE TABLE department_store_chain ( dept_store_chain_id number, dept_store_chain_name text ) CREATE TABLE suppliers ( supplier_id number, supplier_name text, supplier_phone text ) CREATE TABLE products ( product_id number, product_type_code text, product_name text, p...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_i...
### Context: CREATE TABLE table_name_64 ( tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament has a Date of 20 december 2010? ### Query: SELECT tournament FROM table_name_64 WHERE date = "20 december 2010"
### Context: CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_name_57 ( debut_in_europe INTEGER, player VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the latest debut in Europe for Henrik Larsson, with less than 108 games? ### Query: SELECT MAX(debut_in_euro...
### 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 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_11 ( nationality VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nationality for the player in Round 1? ### Query: SELECT nationality FROM table_name_11 WHERE round = 1
### Context: CREATE TABLE table_25826954_7 ( name VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the name for norway nationality ### Query: SELECT name FROM table_25826954_7 WHERE nationality = "Norway"
### Context: CREATE TABLE table_11856 ( "Client" text, "Windows" text, "GNU/Linux" text, "Mac OS X" text, "Haiku" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which GNU/Linux had no haiku and a client of airdc++? ### Query: SELECT "GNU/Linux" FRO...
### Context: CREATE TABLE table_name_11 ( college VARCHAR, pick VARCHAR, pba_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college has a pick below 6 for the PBA team the Shell Turbo Chargers? ### Query: SELECT college FROM table_name_11 WHE...
### 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 table_14486 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the competition that was held on August 20, 2004? ### Query: SELECT "Co...
### Context: CREATE TABLE table_23439 ( "Episode" text, "First broadcast" text, "Rufus guest" text, "Marcus guest" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was episode 2x11 aired for the first time? ### Query: SELECT "Firs...
### 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_name_37 ( score VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score, when the Venue is L bker Golf Resort? ### Query: SELECT score FROM table_name_37 WHERE venue = "lübker golf resort"
### Context: CREATE TABLE table_37846 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What record has February 25 as the date? ### Query: SELECT "Record" FROM table_37846 WHERE "Date...
### Context: CREATE TABLE table_name_62 ( core__number INTEGER, tdp__w_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of core# with a TDP less than 85.3? ### Query: SELECT SUM(core__number) FROM table_name_62 WHERE tdp__w_ < 85.3
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_77446 ( "Game" text, "Date" text, "Opponent" text, "Result" text, "Dolphins' points" text, "Opponents' Points" text, "Record" text, "Streak" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### 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_79298 ( "Period" text, "Internet Explorer" text, "Firefox" text, "Chrome" text, "Safari" text, "Opera" text, "Other" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What internet explorer has 1.67% as the opera...
### Context: CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) 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 Allergy_Type ( Allergy V...
### Context: CREATE TABLE table_51459 ( "Episode" text, "Air Date" text, "Timeslot" text, "Households (Rating/Share)" text, "18-49 (Rating/Share)" text, "Viewers (m)" real, "Weekly Rank (#)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tel...
### Context: CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, ...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, ce...
### Context: CREATE TABLE table_11622562_1 ( location VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the GTE Suncoast Classic tournament held? ### Query: SELECT location FROM table_11622562_1 WHERE tournament = "GTE Suncoast Cl...
### Context: CREATE TABLE table_18193 ( "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. -- Name the result for New York 11 ### Query: SELECT "Result"...
### Context: CREATE TABLE table_1342393_17 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the candidates with incumbent being james o'connor ### Query: SELECT candidates FROM table_1342393_17 WHERE incumbent = "Jam...