text
stringlengths
197
8.39k
### Context: CREATE TABLE table_16439764_1 ( m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees? ### Query: SELECT MAX(m_v...
### 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 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 table_9578 ( "Name" text, "Rank" text, "Tenure" text, "Date of death" text, "Cause of death" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Detective Donald William Schneider's Cause of death? ### Query: SELECT "Ca...
### Context: CREATE TABLE table_name_65 ( gold INTEGER, nation VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average gold medals Uzbekistan, which has less than 24 total medals, has? ### Query: SELECT AVG(gold) FROM table_nam...
### Context: CREATE TABLE table_15555661_2 ( percentage_of_total_area VARCHAR, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of total area in the ecozone that the area is 1782252 km2? ### Query: SELECT percentage_of_total_...
### Context: CREATE TABLE table_72276 ( "Name" text, "Location" text, "Light vehicle" text, "Heavy vehicle (2 axles)" text, "Heavy vehicle (3/4 axles)" text, "Heavy vehicle (5+ axles)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the t...
### 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 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 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 table_60795 ( "Battle" text, "Date" text, "Bulgarian Commander" text, "Byzantine Commander" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the Bulgarian Victory at the Battle of Arcadiopol...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, ...
### Context: CREATE TABLE table_44723 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time when the set 3 score is 31 29? ### Query: SELE...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagn...
### 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 table_204_200 ( id number, "iso/iec standard" text, "title" text, "status" text, "description" text, "wg" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which has the same wg as systems and software engineering - syst...
### Context: CREATE TABLE table_4662 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team score when st ...
### Context: CREATE TABLE table_54813 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum grid number when the driver was Luciano Burti? ### Query: SELECT COUN...
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE Badges ( Id number, UserId numbe...
### Context: CREATE TABLE table_16725 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_9956 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ($)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is T3 Place Player Bobby Locke's Score? ### Query: SELECT "Score" F...
### Context: CREATE TABLE table_73601 ( "Name" text, "Location" text, "Act. Units" real, "Stacks" text, "In Service Dates" text, "Unit Capacity (2009)" text, "Nameplate Capacity (2009 MW )" text, "Owner Type" text, "Owner(s) (2009)" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_43060 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Cover model when the Centerfold Model was Marketa J...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDura...
### Context: CREATE TABLE table_name_4 ( date VARCHAR, score VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the match against leonardo tavares with a score of 6 4, 6 4? ### Query: SELECT date FROM table_name_4 WHERE score...
### 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_19359427_6 ( date_of_vacancy VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the old manager vacate his position in Plymouth Argyle? ### Query: SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "...
### Context: CREATE TABLE table_name_64 ( partner VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Silva's Partner in the match with a Score of 6 3, 7 6 (7 3)? ### Query: SELECT partner FROM table_name_64 WHERE score = "6–3, 7–6 (7–3)"
### Context: CREATE TABLE table_73063 ( "Parliament" text, "Name" text, "Period in office" text, "Birth and death years" text, "General election contested" real, "Constituency contested" text, "Political party" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_name_20 ( venue VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what venue was the result a draw? ### Query: SELECT venue FROM table_name_20 WHERE result = "draw"
### Context: CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE train ( id int, train_number int, name text, ...
### Context: CREATE TABLE table_name_85 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Date is February 5? ### Query: SELECT score FROM table_name_85 WHERE date = "february 5"
### 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 allergy ...
### 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 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_67914 ( "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_88 ( competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition has 4-0 as the score? ### Query: SELECT competition FROM table_name_88 WHERE score = "4-0"
### Context: CREATE TABLE table_name_98 ( year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast l...
### Context: CREATE TABLE table_23659 ( "Season" real, "Division" text, "Coach" text, "Overall Record" text, "Conference Record" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season was the conferen...
### Context: CREATE TABLE table_27756164_2 ( score VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game in which Danny Granger (30) did the high points? ### Query: SELECT score FROM table_27756164_2 WHERE high_p...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, ...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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...
### Context: CREATE TABLE table_35842 ( "Name" text, "Date" text, "Goals" real, "Assists" real, "Team" text, "Venue" text, "Opponent" text, "Competition" text, "Total Goals" real, "Total Assists" real ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE table_13050003_2 ( year INTEGER, blocks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has Nerlens Noel (4) as blocker? ### Query: SELECT MIN(year) FROM table_13050003_2 WHERE blocks = "Nerlens Noel (4)"
### Context: CREATE TABLE table_name_30 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of player bill rogers? ### Query: SELECT score FROM table_name_30 WHERE player = "bill rogers"
### Context: CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_1408 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Ho...
### Context: CREATE TABLE table_5756 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people...
### Context: CREATE TABLE table_name_56 ( score VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game against Divij Sharan? ### Query: SELECT score FROM table_name_56 WHERE opponent_in_the_final = "divi...
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, ic...
### Context: CREATE TABLE table_name_61 ( region VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Region, when Date is 2004? ### Query: SELECT region FROM table_name_61 WHERE date = 2004
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### 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_3411 ( "No." real, "#" real, "Episode" text, "Writer" text, "Director" text, "Original air date" text, "Viewing figure" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many items are listed under the column...
### Context: CREATE TABLE table_63235 ( "Engine" text, "Production" text, "Transmission" text, "Power" text, "Torque" text, "Acceleration 0\u2013100km/h (0\u201362mph)" text, "Top Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is...
### Context: CREATE TABLE table_204_636 ( id number, "season" text, "tier" number, "division" text, "pos." text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the least successful season ? ### Query: SELECT "season" FROM table...
### Context: CREATE TABLE table_19564 ( "Rank" real, "Country" text, "International tourist arrivals (2011)" text, "International tourist arrivals (2010)" text, "Change (2010 to 2011)" text, "Change (2009 to 2010)" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_73192 ( "Season" text, "RL S\u00fcd (1st)" text, "RL S\u00fcd (2nd)" text, "RL S\u00fcdwest (1st)" text, "RL S\u00fcdwest (2nd)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season was Freiburger FC the RL S d ...
### Context: CREATE TABLE table_79606 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when there were 7 ties? ### Query: SELECT "Score" FROM table_796...
### Context: CREATE TABLE table_203_240 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on wh...
### Context: CREATE TABLE table_name_30 ( pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99? ### Query: SELECT COUNT(pick__number) ...
### Context: CREATE TABLE table_203_153 ( id number, "stamp issue date" text, "stamp set" text, "#cards" text, "card set ref" text, "qty. issued" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which card was issued most ? ### Query: SELECT "s...
### Context: CREATE TABLE book_club ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many book clubs are there? ### Query: SELECT COUNT(*) FROM book_club
### Context: CREATE TABLE table_56764 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid total for bruce mclaren with over 73 laps? ### Query: SELECT SUM("Gr...
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airline ( airline_...
### Context: CREATE TABLE table_name_78 ( format VARCHAR, release_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What format was released in August 1996? ### Query: SELECT format FROM table_name_78 WHERE release_date = "august 1996"
### Context: CREATE TABLE table_36685 ( "Name" text, "Number" text, "Namesake" text, "Albedo feature name" text, "Area" text, "Current map" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current map designation for Debussy? ### Quer...
### Context: CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point...
### Context: CREATE TABLE table_name_21 ( ecclesiastical_province VARCHAR, type VARCHAR, latin_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Ecclesiastical Province has a type diocese and a latin name alexiensis? ### Query: SELECT ecclesiasti...
### 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 transfers ( row_id number, subject_id numb...
### Context: CREATE TABLE table_30713 ( "Player" text, "Nation" text, "TeBe career" text, "League matches" real, "League goals" real, "Cup matches" real, "Cup goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of league...
### Context: CREATE TABLE table_1953516_1 ( winning_span VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning span for the name of bernard gallacher? ### Query: SELECT winning_span FROM table_1953516_1 WHERE name = "Bernard Galla...
### Context: CREATE TABLE table_15478 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what dates did the draw at the Antigua Recreation Ground happen? ### Query: SELE...
### Context: CREATE TABLE table_59839 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What To par has a Score of 71-73-71-71=286? ### Query: SELECT "T...
### Context: CREATE TABLE table_38064 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on a clay surface in a year later than 2006 with...
### Context: CREATE TABLE trip ( id VARCHAR, duration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the id of the trip that has the shortest duration? ### Query: SELECT id FROM trip ORDER BY duration LIMIT 1
### 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE table_28329 ( "Frequency (Hz)" text, "R (\u03a9/km)" text, "L (mH/km)" text, "G (\u03bcS/km)" text, "C (nF/km)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the g ( s/km)when the frequency (hz) is 100k? ### Query...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text, person_info_CSD text, person_info_CSRQ time, person_info_GJDM text, person_info_GJMC text, person_info_JGDM text, person_info_JGMC text, person_info_MZDM text, person_info_MZMC text, pers...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstop...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts te...
### Context: CREATE TABLE table_204_979 ( id number, "place" number, "nation" text, "5 hoops" text, "3 balls,\n2 ribbons" text, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams score 19.000 or greater in the 5 hoops compet...
### Context: CREATE TABLE Student ( StuID VARCHAR, city_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show ids for all students who live in CHI. ### Query: SELECT StuID FROM Student WHERE city_code = "CHI"
### Context: CREATE TABLE table_25403 ( "Season" real, "Episodes" real, "Timeslot (ET)" text, "Season Premiere" text, "Season Finale" text, "TV Season" text, "Rank" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_26 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away Team Score of the Collingwood Home Team? ### Query: SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"
### 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. -- what was the most marathons that pavel loskutov ran i...
### Context: CREATE TABLE table_17693171_1 ( laps INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the laps is 191, what is the maximum laps led? ### Query: SELECT MAX(laps) AS Led FROM table_17693171_1 WHERE laps = 191
### Context: CREATE TABLE table_name_90 ( episode_count VARCHAR, dvd_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the episode count for Ben 10: Alien Force Volume 8 on DVD? ### Query: SELECT episode_count FROM table_name_90 WHERE dvd_title = "b...
### Context: CREATE TABLE table_12246 ( "7:00 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "4:00 pm" text, "4:30 pm" text, "5:00 pm" text, ...
### Context: CREATE TABLE table_6549 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the game on May 14 with Philadelphia as the road team? ### Query: SEL...
### Context: CREATE TABLE table_name_23 ( four VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the four for 6 march 1801 ### Query: SELECT four FROM table_name_23 WHERE date = "6 march 1801"
### Context: CREATE TABLE table_name_87 ( chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis has the year 1987? ### Query: SELECT chassis FROM table_name_87 WHERE year = 1987
### Context: CREATE TABLE table_name_3 ( opponent VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent against which the result was w20-0? ### Query: SELECT opponent FROM table_name_3 WHERE result = "w20-0"
### Context: CREATE TABLE table_71202 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class of the co-driver emanuele pirro jj lehto? ### Query: S...