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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_30685 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date of...
### Context: CREATE TABLE table_2679061_4 ( pick__number VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number pick was the player from HIFK Helsinki (Finland)? ### Query: SELECT pick__number FROM table_2679061_4 WHERE...
### Context: CREATE TABLE STUDENT ( Fname VARCHAR, LName VARCHAR, StuID VARCHAR ) CREATE TABLE ENROLLED_IN ( Grade VARCHAR, StuID VARCHAR ) CREATE TABLE GRADECONVERSION ( gradepoint VARCHAR, lettergrade VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE table_name_28 ( winner_and_score VARCHAR, finalist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the winner and score for finalist s bastien grosjean? ### Query: SELECT winner_and_score FROM table_name_28 WHERE finalist = "...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, d...
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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, JZZ...
### 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 table_204_68 ( id number, "name" text, "profession" text, "hometown" text, "term expires" number, "office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which state regent 's term will last the longest ? ### Query: SE...
### Context: CREATE TABLE table_name_61 ( director_s_ VARCHAR, writer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director worked with Al Mackay as writer? ### Query: SELECT director_s_ FROM table_name_61 WHERE writer_s_ = "al mackay"
### Context: CREATE TABLE table_44520 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nationality, when Player is 'Andrew Campbell'? ### ...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE table_80349 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the rank for 151 Laps ### Query: SELECT "Rank" FROM table_80349 WHERE "Laps" ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE table_19604 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "2nd" real, "3rd" real, "Top 10s" real, "Best finish" text, "Earnings ( $ )" real, "Money list rank" text, "Scoring average" text, "Scoring rank" text ) -- Usi...
### Context: CREATE TABLE table_7815 ( "Tournament" text, "Wins" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number of events with 24 cuts and less than 11 in...
### Context: CREATE TABLE table_13074 ( "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text, "Radon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What neon has an Argon of 4.203? ### Query: SELECT "Neon" FROM table_13074 WH...
### Context: CREATE TABLE table_204_185 ( id number, "location" text, "town" text, "output (mw ac)" number, "modules" number, "number of arrays" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which project location has the lowest outupt ? ###...
### Context: CREATE TABLE table_22373 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers watched the 16mm t/r episode? ### Query: SELECT ...
### Context: CREATE TABLE table_204_230 ( id number, "team #1" text, "agg." text, "team #2" text, "1st match" text, "2nd match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was the only team to score 5 points in the 1st match ? ### Quer...
### Context: CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Proj...
### Context: CREATE TABLE table_66037 ( "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. -- When was the game that has tie no 2? ### Query: SELECT "Date" FROM table_66037 WHERE "Tie...
### Context: CREATE TABLE table_17102076_5 ( high_rebounds VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high rebounds for game 11 ### Query: SELECT high_rebounds FROM table_17102076_5 WHERE game = 11
### Context: CREATE TABLE film_market_estimation ( Estimation_ID int, Low_Estimate real, High_Estimate real, Film_ID int, Type text, Market_ID int, Year int ) CREATE TABLE market ( Market_ID int, Country text, Number_cities int ) CREATE TABLE film ( Film_ID int, Title t...
### Context: CREATE TABLE table_name_46 ( goals INTEGER, tries VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of goals from 24 tries and 96 or greater points? ### Query: SELECT SUM(goals) FROM table_name_46 WHERE...
### Context: CREATE TABLE track ( name VARCHAR, track_id VARCHAR ) CREATE TABLE race ( track_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name of track with most number of races. ### Query: SELECT T2.name FROM race AS T1 JOIN track AS T2 ...
### Context: CREATE TABLE table_23284597_3 ( year VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year for guillermo ca as ### Query: SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"
### Context: CREATE TABLE table_39712 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a position of 2nd? ### Query: SELECT COUNT("Year") ...
### Context: CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_1342292_45 ( party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many incumbents were first elected in 1930? ### Query: SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930
### Context: CREATE TABLE table_48961 ( "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. -- What team was the away team when the home team was Hereford United? ### Query: SELECT "Aw...
### Context: CREATE TABLE table_name_5 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away team at punt road oval? ### Query: SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### 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_27426 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the year 2013, what was the outcome? ### Q...
### Context: CREATE TABLE table_27435931_1 ( elevation_ft VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is elevation of tanzania? ### Query: SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania"
### Context: CREATE TABLE airports ( name VARCHAR, elevation INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of airports whose altitude is between -50 and 50. ### Query: SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50
### 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 table_39954 ( "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of wins against the smaller score 1148? ### Query: SELECT SUM("Wins") FROM table...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int )...
### Context: CREATE TABLE table_name_18 ( college VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is College, when Pick is 20? ### Query: SELECT college FROM table_name_18 WHERE pick = 20
### Context: CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state varchar(20) ) CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10...
### Context: CREATE TABLE courses ( course_id text, course_name text, course_description text, other_details text ) CREATE TABLE candidates ( candidate_id number, candidate_details text ) CREATE TABLE people_addresses ( person_address_id number, person_id number, address_id number,...
### Context: CREATE TABLE table_36856 ( "City" text, "State/Territory" text, "IATA" text, "ICAO" text, "Airport" text, "Begin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IATA that has new south wales as the state/territory beginn...
### Context: CREATE TABLE table_1139835_1 ( venue VARCHAR, scores VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the venue where the scores are 15.13 (103) 8.4 (52)? ### Query: SELECT venue FROM table_1139835_1 WHERE scores = "15.13 (103) – 8.4 (52)...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_26927 ( "Player" text, "Played" real, "Sets Won" real, "Sets Lost" real, "Legs Won" real, "Legs Lost" real, "LWAT" real, "100+" real, "140+" real, "180s" real, "High Checkout" real, "3-dart Average" text ) -- Using valid SQLite, answer th...
### 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 jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, insp...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( ...
### Context: CREATE TABLE table_32902 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Young rider classification" text, "Team classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### 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_65859 ( "Year" real, "Category" text, "Recipients and nominees" text, "Role/Episode" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the earliest year when the result is won and the role/episode ...
### Context: CREATE TABLE rooms ( roomid text, roomname text, beds number, bedtype text, maxoccupancy number, baseprice number, decor text ) CREATE TABLE reservations ( code number, room text, checkin text, checkout text, rate number, lastname text, firstname tex...
### Context: CREATE TABLE table_79957 ( "Year built" text, "Builder" text, "Model" text, "Fleet ID" text, "Seats" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which model has 175 seats? ### Query: SELECT "Model" FROM table_79957 WHERE "Seats" = '...
### 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_31 ( notes VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes of the United States? ### Query: SELECT notes FROM table_name_31 WHERE country = "united states"
### Context: CREATE TABLE table_48523 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position has an Overall smaller than 64, and a Round of 1? ### Query...
### Context: CREATE TABLE table_52309 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average frequency MHz for license of eastvi...
### Context: CREATE TABLE table_77556 ( "Draw" real, "Artist" text, "Song" text, "Place" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Draw when the Place is larger than 5? ### Query: SELECT AVG("Draw") FROM tabl...
### Context: CREATE TABLE table_name_34 ( airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? ### Que...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, ...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_528 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the branding in Dagupan? ### Query: SELECT "Branding" FROM table_528 WHE...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text,...
### Context: CREATE TABLE table_17827271_1 ( roleplay VARCHAR, flatspin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many RolePlay actors played the same role as FlatSpin's Tracy Taylor? ### Query: SELECT COUNT(roleplay) FROM table_17827271_1 WHERE fl...
### Context: CREATE TABLE table_61189 ( "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. -- What was the score when the tie no was 13? ### Query: SELECT "Score" FROM table_61189 WHE...
### 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 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 exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, A...
### Context: CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE aircraft ( aircr...
### 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 admissions ( row_id number, subject_id number, hadm_id number, admittim...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) 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_...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_icd_p...
### Context: CREATE TABLE table_68067 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race did Meo Constantini win at the circuit of monz...
### Context: CREATE TABLE table_80195 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ICAO of Lohausen airport? ### Query: SELECT "ICAO" FROM table_80195 WHERE "Airport" ...
### Context: CREATE TABLE table_204_95 ( id number, "name" text, "title" text, "first year\nin this position" number, "years at nebraska" text, "alma mater" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many coaches have nebraska as their a...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jybgb ( YLJGDM text,...
### Context: CREATE TABLE table_45608 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which grid did less than 20 laps in a time of +58.353? ### Query: SELECT MIN("Grid") FROM tab...
### Context: CREATE TABLE table_name_21 ( winning_score VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Winning score when the To par was 21? ### Query: SELECT winning_score FROM table_name_21 WHERE to_par = "−21"
### Context: CREATE TABLE table_70552 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away captain at Brisbane Cricket Ground? ### Query: SELECT "Away captai...
### 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 mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE table_14903355_2 ( men_doubles VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of men doubles for 2007 ### Query: SELECT COUNT(men_doubles) FROM table_14903355_2 WHERE year = 2007
### Context: CREATE TABLE table_name_13 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team against the Bolton Wanderers? ### Query: SELECT home_team FROM table_name_13 WHERE away_team = "bolton wanderers"
### Context: CREATE TABLE table_204_52 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many were friendly competitions ? ...
### 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 ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, ...
### Context: CREATE TABLE table_203_412 ( id number, "school" text, "conference" text, "record (conference)" text, "head coach" text, "cws appearances" text, "cws best finish" text, "cws record" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_83 ( venue VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has a Notes of 2:28:31? ### Query: SELECT venue FROM table_name_83 WHERE notes = "2:28:31"
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseReasonTypes ( Id number, Name text, ...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year t...
### Context: CREATE TABLE table_40367 ( "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 sum of bronzes associated with 0 golds and a rank of 10? ### Query...
### Context: CREATE TABLE table_30988 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Rider" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the pole position(s) whe...
### Context: CREATE TABLE table_78429 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Song Title" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the catalogue number for the song that is 3:17 and was...
### 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 Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Course_Authors_and_Tutors ( ...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_42782 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" real, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Volume:Issue that has Peter Cetera as the artist and was on top for lon...
### Context: CREATE TABLE table_71077 ( "DATE" text, "SCORE" text, "H.T." text, "VENUE" text, "COMPETITION" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the HT for the game at Zagreb, with a full-time score of 0-2? ### Query: SELECT "H.T...