text
stringlengths
197
8.39k
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_48791 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What NFL team did the Tight End position belong to? ### Query: SELECT "NFL Team" FROM t...
### Context: CREATE TABLE table_17941032_3 ( tries_against VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tries against when tries for is 30 ### Query: SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30"
### Context: CREATE TABLE table_204_137 ( id number, "race" number, "race name" text, "pole position" text, "fastest lap" text, "winning driver" text, "winning team" text, "yokohama winner" text, "jay-ten winner" text, "report" text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_39840 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "2008 Candidates" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the year Elected of Republican ...
### Context: CREATE TABLE table_59654 ( "Year recorded" text, "Title" text, "Genre" text, "Label" text, "Year inducted" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the genre of the song recorded in 1929? ### Query: SELECT "Genre" FROM tab...
### Context: CREATE TABLE table_49151 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the pick # for william loftus? ### Query: SELECT "Pick #" FROM table_49151 WHER...
### Context: CREATE TABLE table_79269 ( "Driver" text, "Navigator" text, "Vehicle" text, "Class" text, "Capacity" real, "Total Time" text, "Margin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which vehicle has a class 6c3g? ### Query: SE...
### Context: CREATE TABLE table_60149 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks had an Attendance of 43,272? ### Query: SELECT COUNT("Week") FROM table_601...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, ...
### Context: CREATE TABLE table_name_45 ( opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent with the 20-12 record? ### Query: SELECT opponent FROM table_name_45 WHERE record = "20-12"
### 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 table_26682 ( "Region/Country" text, "Local name" text, "Main presenter" text, "Network" text, "Year premiered" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every year premiered when Behzat Uighur is main presente...
### Context: CREATE TABLE table_name_89 ( name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2005-2006 team for player Phil Kessel? ### Query: SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel"
### Context: CREATE TABLE ftxmzjzjlb ( 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 tex...
### Context: CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text ) CREATE TABLE teaches ( id text, course_id text, sec_id text, semester text, year number ) CREATE TABLE prereq ( course_i...
### Context: CREATE TABLE table_name_41 ( games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena ### Query: S...
### 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 admissions ( row_id number, subject_id num...
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE time_interval ( period text, begin_time int,...
### Context: CREATE TABLE airport ( name VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of the airports which are not in the country 'Iceland'? ### Query: SELECT name FROM airport WHERE country <> 'Iceland'
### Context: CREATE TABLE table_65706 ( "Score" 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 2008 has 14.2% as the 2009? ### Query: SELECT "2008" FROM tabl...
### Context: CREATE TABLE table_name_26 ( date VARCHAR, week VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game before week 15 with the result of bye? ### Query: SELECT date FROM table_name_26 WHERE week < 15 AND result = "...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatme...
### Context: CREATE TABLE table_203_300 ( id number, "year" number, "tournament" text, "venue" text, "result" text, "extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of tournaments in the year 2006 ? ### Query: SEL...
### Context: CREATE TABLE table_18672 ( "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. -- what's the result with district being kansas 1 ### Query: ...
### Context: CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text ) CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles...
### Context: CREATE TABLE table_204_625 ( id number, "model" text, "availability" text, "introduced" text, "length of use" text, "last of whiteness" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which discontinued product was introduced the sam...
### 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 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### 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 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_name_81 ( name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city? ...
### Context: CREATE TABLE table_name_18 ( points INTEGER, chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average points of the Ferrari 1512 Chassis after 1965? ### Query: SELECT AVG(points) FROM table_name_18 WHERE chas...
### Context: CREATE TABLE table_15547 ( "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. -- Name the years with authority of state and decile more than...
### Context: CREATE TABLE table_2102945_1 ( viewers__in_millions_ VARCHAR, run_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 24:31 is the run time how many measurements of viewers (in millions) are there? ### Query: SELECT COUNT(viewers__in_milli...
### Context: CREATE TABLE table_23619212_1 ( _percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants ...
### Context: CREATE TABLE table_53651 ( "Rank" real, "Player" text, "Goals" real, "Apps" real, "Avg/Game" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average avg/game of the player with 97 goals and a rank above 7? ### Query: SELECT ...
### Context: CREATE TABLE table_name_42 ( last_win VARCHAR, club VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Last wins have a Club of mansfield town, and Wins smaller than 1? ### Query: SELECT COUNT(last_win) FROM table_name_42...
### Context: CREATE TABLE table_name_20 ( play VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the play for 1976 ### Query: SELECT play FROM table_name_20 WHERE year = 1976
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_40210 ( "Event" text, "2007\u201308" text, "2008\u201309" text, "2009\u201310" text, "2010\u201311" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2008 09 when the 2009 10 shows q? ### Query: SELECT "2008...
### Context: CREATE TABLE table_80211 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine did the porsche 718 chassis use? ### Query: SELECT "Engine" FROM table_80211 WHE...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time...
### Context: CREATE TABLE bank ( branch_id number, bname text, no_of_customers number, city text, state text ) CREATE TABLE customer ( cust_id text, cust_name text, acc_type text, acc_bal number, no_of_loans number, credit_score number, branch_id number, state text )...
### Context: CREATE TABLE table_140968_1 ( copies_per_particle VARCHAR, function VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many copies per particle are created by the enterotoxin? ### Query: SELECT copies_per_particle FROM table_140968_1 WHERE func...
### Context: CREATE TABLE table_name_57 ( place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place was Corey Pavin in? ### Query: SELECT place FROM table_name_57 WHERE player = "corey pavin"
### Context: CREATE TABLE EVENTS ( service_id VARCHAR, event_details VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the service id and details for the events. ### Query: SELECT service_id, event_details FROM EVENTS
### Context: CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Student_Tests_Taken ( regi...
### Context: CREATE TABLE table_name_6 ( losses INTEGER, conceded VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many loses does the team have that conceded 25 and won more than 6 games? ### Query: SELECT SUM(losses) FROM table_name_6 ...
### Context: CREATE TABLE table_name_70 ( jockey VARCHAR, year VARCHAR, owner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What jockey rode for Michael House before 2012 ### Query: SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michae...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, ad...
### Context: CREATE TABLE table_22917 ( "Version" text, "Code name" text, "Release date" text, "Desktops" text, "Servers" text, "Kernel Version" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the release date of the operating system wit...
### Context: CREATE TABLE table_34364 ( "Surname" text, "First" text, "D.O.B." text, "Uni#" real, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which does the lhp player with the first name lachlan bat...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_47859 ( "Date" text, "Time" text, "Opponent" text, "Site" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the opponent on 03/18/08? ### Query: SELECT "Opponent" FROM table_47859 WHERE "Date"...
### Context: CREATE TABLE table_name_30 ( year VARCHAR, venue VARCHAR, opposition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which number of Years has a Venue of old trafford, and an Opposition of yorkshire? ### Query: SELECT COUNT(year) FROM table_...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE zyb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real,...
### Context: CREATE TABLE table_204_612 ( id number, "draft order\nround" number, "draft order\nchoice" number, "player" text, "position" text, "height" text, "weight" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is bra...
### Context: CREATE TABLE inst ( instid number, name text, country text ) CREATE TABLE authors ( authid number, lname text, fname text ) CREATE TABLE authorship ( authid number, instid number, paperid number, authorder number ) CREATE TABLE papers ( paperid number, tit...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Post...
### Context: CREATE TABLE table_79970 ( "Season" text, "Tier" real, "League" text, "Turkish Cup" text, "European Competitions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tier of 2, and a Season of 2004 05 is what European competitions? ### Quer...
### Context: CREATE TABLE table_name_14 ( tries_against VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tries against when they had 32 tries for? ### Query: SELECT tries_against FROM table_name_14 WHERE tries_for = "32"
### 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 cost ( costid ...
### Context: CREATE TABLE table_75892 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of draws for songs performed by Miranda with fewer than 48 points? ###...
### Context: CREATE TABLE table_204_741 ( id number, "rank" number, "name" text, "nationality" text, "1,62" text, "1,67" text, "1,72" text, "1,75" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what name is at the top o...
### Context: CREATE TABLE table_17841 ( "Colt model no." text, "Name" text, "Stock" text, "Fire control" text, "Rear sight" text, "Forward assist" text, "Case deflector" text, "Barrel length" text, "Barrel profile" text, "Barrel twist" text, "Hand guards" text, "Bayonet L...
### 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_1628792_1 ( champion VARCHAR, tournament_location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the champion for london hunt and country club ( london , on ) ### Query: SELECT champion FROM table_1628792_1 WHERE tournam...
### Context: CREATE TABLE table_70629 ( "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_72597 ( "Tournament" text, "Country" text, "Location" text, "Current Venue" text, "Began" real, "Court surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the tournament first held in Italy? ###...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time...
### 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 mzjybgb ( BBCJBW tex...
### Context: CREATE TABLE table_11120 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is the result 6th in munich, west germany? ### Query: SELECT SUM("Year") FROM tabl...
### Context: CREATE TABLE table_73836 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the points for donald boor ### Query: SELECT "Points" FROM table_73836 W...
### Context: CREATE TABLE table_11027 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue will hold the 2013 Concacaf Gold Cup competition? ### Query: SELECT "Venue" FROM...
### Context: CREATE TABLE table_29743928_3 ( name VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of players from the dr congo? ### Query: SELECT name FROM table_29743928_3 WHERE country = "DR Congo"
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_1855841_1 ( running_with__in_team_ VARCHAR, candidate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the running with for elizabeth falco ### Query: SELECT running_with__in_team_ FROM table_1855841_1 WHERE candidate = "E...
### Context: CREATE TABLE table_71443 ( "Election" 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. -- What is the 2nd party in the 1874 election? ### Query: SELECT "2nd Party" FR...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Te...
### Context: CREATE TABLE table_name_70 ( pick VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick of wiley college? ### Query: SELECT pick FROM table_name_70 WHERE college = "wiley"
### Context: CREATE TABLE table_7522 ( "Event" text, "2006\u201307" text, "2007\u201308" text, "2008\u201309" text, "2010\u201311" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2007 08 event has 2008 09 of dnp and an Event of players'? ### Q...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE weekly_weather ( station_id int, day...
### Context: CREATE TABLE table_45718 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week has a Result of w 20-13? ### Query: SELECT AVG("Week") FROM table_45718 WHERE "...
### Context: CREATE TABLE table_43311 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Event with a Time that is ...
### Context: CREATE TABLE table_12001616_4 ( status VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of joe gibbs racing? ### Query: SELECT status FROM table_12001616_4 WHERE entrant = "Joe Gibbs Racing"
### 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_24304 ( "Census division" text, "Area (km\u00b2)" text, "Pop. (2011)" real, "Pop. (2006)" real, "Pop. (2001)" real, "Pop. (1996)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people lived in the census ...
### 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 medicati...
### Context: CREATE TABLE table_name_10 ( team VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team with grid 9? ### Query: SELECT team FROM table_name_10 WHERE grid = 9
### Context: CREATE TABLE table_32910 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When an away team scored 11.17 (83)...
### Context: CREATE TABLE table_204_835 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did it take ryosuke irie to finish ? ### Query:...
### 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_29545 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election with incumbent john lewis? ### Q...
### Context: CREATE TABLE table_24028 ( "Ep." real, "Season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. Code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the title that aired for novem...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ...
### Context: CREATE TABLE table_19515 ( "No." real, "Station Code" text, "Station" text, "Arrival" text, "Departure" text, "Kilometers" real, "Day" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the arrival time for no. 14? ### Quer...
### Context: CREATE TABLE table_name_6 ( manager VARCHAR, year VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the manager when the year is before 1994 and finish is 5th? ### Query: SELECT manager FROM table_name_6 WHERE year < 199...