text
stringlengths
197
8.39k
### Context: CREATE TABLE player_college ( player_id text, college_id text, year number ) CREATE TABLE player_award_vote ( award_id text, year number, league_id text, player_id text, points_won number, points_max number, votes_first number ) CREATE TABLE fielding_postseason ( ...
### 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 ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden...
### 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_48546 ( "Tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "Career SR" text, "Career W\u2013L" text ) -- Using valid SQLite, answer the following questio...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, Dele...
### Context: CREATE TABLE table_name_96 ( height VARCHAR, pos VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height of the player from club vk primorac kotor who plays gk? ### Query: SELECT height FROM table_name_96 WHERE pos =...
### Context: CREATE TABLE table_40293 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which week was the result safe and the song choice ' acro...
### Context: CREATE TABLE table_36214 ( "Rank" real, "Player" text, "Country" text, "Events" real, "Prize money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What amount of prize money was there when the rank was less than 7, there were more...
### Context: CREATE TABLE table_80141 ( "Year" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1865, what was the first party? ### Query: SELECT "1st Party" FROM table_8014...
### Context: CREATE TABLE table_name_4 ( title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Title has an album of tough talk, and a Label-Nr of x-371? ### Query: SELECT title FROM...
### Context: CREATE TABLE football_data ( season text, datetime time, div text, country text, league text, referee text, hometeam text, awayteam text, fthg number, ftag number, ftr text, hthg number, htag number, htr text, psh number, psd number, psa n...
### Context: CREATE TABLE table_name_43 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the home team that played Geelong? ### Query: SELECT home_team AS score FROM table_name_43 WHERE away_team = "geelong"
### Context: CREATE TABLE table_10997 ( "Stadium" text, "Capacity" text, "City" text, "Province" text, "Expected Completion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city expects their project completion in 2017? ### Query: SELECT "City...
### Context: CREATE TABLE table_24594 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE music_festival ( ID int, Music_Festival text, Date_of_ceremony text, Category text, Volume int, Result text ) CREATE TABLE volume ( Volume_ID int, Volume_Issue text, Issue_Date text, Weeks_on_Top real, Song text, Artist_ID int ) CREATE TABLE ar...
### 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 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 table_11459 ( "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 is the 2011 value that has a 2r in 2008 a...
### Context: CREATE TABLE table_10842344_1 ( no_in_season INTEGER, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number had production code e4423? ### Query: SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code ...
### Context: CREATE TABLE table_30977 ( "Season no." real, "Series no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slo...
### 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 affiliated_with ( physician number, department number, primaryaffiliation boolean ) CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE on_call ( nurse number, blockfloor number, blockcode number, oncallstart time, oncallen...
### Context: CREATE TABLE table_204_375 ( id number, "#" number, "season" number, "competition" text, "date" text, "round" text, "opponent" text, "h / a" text, "result" text, "scorer (s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_name_63 ( roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8? ### Query: SELECT SUM...
### Context: CREATE TABLE table_name_38 ( position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With 0 Goals and less than 1 Tries, what is Matt James position? ### Query: SELECT position FROM table_na...
### Context: CREATE TABLE table_203_543 ( id number, "year" text, "show" text, "role" text, "channel" text, "extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of channels she has appeared on ? ### Query: SELECT COUNT(DIST...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE comment_instructor ( instruct...
### Context: CREATE TABLE student_course_registrations ( student_id VARCHAR, course_id VARCHAR, registration_date VARCHAR ) CREATE TABLE courses ( course_id VARCHAR, course_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the id of stude...
### Context: CREATE TABLE table_44429 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Kickoff Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Attendance before Week 17 with a R...
### Context: CREATE TABLE table_47450 ( "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. -- Which Year(s) won has a Total of 147? ### Query: SELECT "Year(s) won" FROM table_47450 ...
### Context: CREATE TABLE table_name_85 ( grid INTEGER, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the lowest Grid for David Coulthard ### Query: SELECT MIN(grid) FROM table_name_85 WHERE driver = "david coulthard"
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( cos...
### Context: CREATE TABLE table_69789 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the roll number for East Gore School? ### Query: S...
### Context: CREATE TABLE table_204_735 ( id number, "rank" number, "team" text, "names" text, "time" text, "qualification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team ranked below chile 's ? ### Query: SELECT "team" FROM table_20...
### 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_66 ( position VARCHAR, debut VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position had a debut in round 6? ### Query: SELECT position FROM table_name_66 WHERE debut = "round 6"
### Context: CREATE TABLE table_29631 ( "#" real, "No." real, "Title" text, "Directed by" text, "Written by" text, "Viewers" real, "Original airdate" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people watch...
### Context: CREATE TABLE table_28285 ( "Year" real, "Population" real, "Total" real, "Violent" real, "Property Crimes" real, "Forcible rape" real, "Robbery" real, "Aggravated assault" real, "Burglary" real, "Larceny Theft" real, "Vehicle Theft" real ) -- Using valid SQLite...
### Context: CREATE TABLE table_42725 ( "Institution name" text, "City/ town" text, "State/ province" text, "Total enrollment" text, "Year founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Waynesburg University founded in Pennsyl...
### Context: CREATE TABLE table_name_44 ( mark VARCHAR, lane VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Mark, when Lane is greater than 2, and when Country is Bahamas? ### Query: SELECT mark FROM table_name_44 WHERE lane > 2...
### Context: CREATE TABLE table_name_78 ( dipole_moment___d__ VARCHAR, solvent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the dipole moment of ethyl acetate (etoac)? ### Query: SELECT dipole_moment___d__ FROM table_name_78 WHERE solvent = "ethyl ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, 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, XM text, ...
### Context: CREATE TABLE table_66104 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the game on 13 December 1975 with Halifax Town as the away team what was the score? #...
### Context: CREATE TABLE table_14539 ( "Race" text, "Position" text, "Time" text, "Speed" text, "Replica" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the speed of the Superbike race? ### Query: SELECT "Speed" FROM table_14539 WHERE "Ra...
### Context: CREATE TABLE table_58918 ( "Week 9 Oct 29" text, "Week 10 Nov 5" text, "Week 11 Nov 12" text, "Week 12 Nov 19" text, "Week 13 Nov 26" text, "Week 14 Dec 3" text, "Week 15 (Final) Dec 9" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_75942 ( "Round" text, "Date" text, "Home team" text, "Score" text, "Away team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team on April 13, 2008 when Itabuna was the away team? ### Query: SELECT ...
### 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_80254 ( "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. -- Which country has a prize smaller than $250 and the player Henry Picar...
### 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 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 flight_fare ( flight_id int, fare_id int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_zone ( time_zone_code text, ...
### Context: CREATE TABLE table_name_26 ( date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the R...
### Context: CREATE TABLE table_57612 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How big was the crowd in a game tha...
### Context: CREATE TABLE Mailshot_Customers ( mailshot_id INTEGER, customer_id INTEGER, outcome_code VARCHAR(15), mailshot_customer_date DATETIME ) CREATE TABLE Premises ( premise_id INTEGER, premises_type VARCHAR(15), premise_details VARCHAR(255) ) CREATE TABLE Products ( product_id ...
### Context: CREATE TABLE table_4880 ( "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's score at pun...
### Context: CREATE TABLE table_name_48 ( location VARCHAR, round VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location of the match that ended before round 2, against Hikaru Sato? ### Query: SELECT location FROM table_n...
### Context: CREATE TABLE table_5726 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the tournament on Feb 10? ### Query: S...
### Context: CREATE TABLE table_43128 ( "Rank" text, "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 number of medals when the bronze is more than 1, and Germany ...
### Context: CREATE TABLE table_43006 ( "Pos." text, "Nationality" text, "Previous team" text, "NBA years [a ]" real, "Career with the franchise [b ]" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the previous team of the United States play...
### Context: CREATE TABLE table_name_77 ( constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771? ### Query: S...
### Context: CREATE TABLE table_name_39 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the visiting team of Melbourne's score? ### Query: SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne"
### Context: CREATE TABLE DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(...
### Context: CREATE TABLE table_12765 ( "Rank" real, "Name" text, "Birth date" text, "Death date" text, "Age (as of 1 February 2014)" text, "Place of death or residence" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Death date has a Rank ...
### Context: CREATE TABLE table_name_31 ( place_of_birth VARCHAR, elector VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed as the Place of birth for the Elector of Soffredo? ### Query: SELECT place_of_birth FROM table_name_31 WHERE elector = "s...
### Context: CREATE TABLE table_8183 ( "Club" text, "Sport" text, "Founded" real, "League" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Club has a Founded smaller than 1882, and a League of fa premier league? ### Query: SELECT...
### Context: CREATE TABLE table_name_47 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest crowd for Home team of geelong? ### Query: SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_37 ( opponent VARCHAR, game VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a Game smaller than 43, and a Record of 23-14-3? ### Query: SELECT opponent FROM table_name_37 WHERE game < 43 AND re...
### Context: CREATE TABLE table_44441 ( "Driver" text, "Team" text, "Laps" text, "Time/Retired" text, "Grid" text, "Laps Led" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid of team dreyer & reinbold racing, wh...
### Context: CREATE TABLE table_7261 ( "Tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2007 when the 2010...
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniq...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar...
### Context: CREATE TABLE table_80390 ( "Team" text, "Manager" text, "Captain" text, "Kit manufacturer" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which captain has howard wilkinson as the manager? ### Query: SELECT "Capta...
### 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_name_49 ( prince_devitt VARCHAR, block_a VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Prince Devitt when Block A is Yamato? ### Query: SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato"
### Context: CREATE TABLE table_58946 ( "Binary" real, "Octal" real, "Decimal" real, "Hexadecimal" real, "Glyph" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a...
### Context: CREATE TABLE table_name_77 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had a 2009 result of 1R? ### Query: SELECT tournament FROM table_name_77 WHERE 2009 = "1r"
### Context: CREATE TABLE table_name_98 ( rank VARCHAR, nation VARCHAR, places VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number of rank for places less than 94 and points less than 169.8 for japan ### Query: SE...
### Context: CREATE TABLE table_2562572_5 ( city___municipality VARCHAR, cyrillic_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the city for ### Query: SELECT city___municipality FROM table_2562572_5 WHERE cyrillic_name = "Ада"
### Context: CREATE TABLE table_70143 ( "Year" text, "Starts" real, "Cuts made" real, "Wins" real, "Top 10" real, "Top 25" real, "Earnings (\u20ac)" real, "Money list rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which total numbe...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( ...
### Context: CREATE TABLE table_76464 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Score of 92-111? ### Query: SELECT "Opponent" FROM ta...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, Ow...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE cost...
### Context: CREATE TABLE table_19744915_18 ( rank INTEGER, couple VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When roxanne and daniel are the couple what is the highest rank? ### Query: SELECT MAX(rank) FROM table_19744915_18 WHERE couple = "Roxanne and...
### Context: CREATE TABLE table_name_60 ( score VARCHAR, visitor VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which score was for the Spurs as visitors with record of 35 16? ### Query: SELECT score FROM table_name_60 WHERE visitor = "s...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE wdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTM...
### 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 county_public_safety ( County_ID int, Name text, Population int, Police_officers int, Residents_per_officer int, Case_burden int, Crime_rate real, Police_force text, Location text ) CREATE TABLE city ( City_ID int, County_ID int, Name text, ...
### Context: CREATE TABLE table_14563349_11 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many days were the Kansas City Chiefs the opposing team? ### Query: SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas Ci...
### 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 Companies ( Industry VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the industry shared by the most companies. ### Query: SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC LIMIT 1
### 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_72 ( driver VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver for Rovero Campello? ### Query: SELECT driver FROM table_name_72 WHERE entrant = "rovero campello"
### Context: CREATE TABLE table_69832 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Chassis was featured in the year 1971? ### Query: SELECT "Chassis" FROM table_69832 WH...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE table_76542 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner in the Indian Wells? ### Query: SELECT "Wi...