instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_28498999_4 ( before INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the before for the score of 63-67-66-71=267? ### Response:
SELECT MIN(before) FROM table_28498999_4 WHERE score = 63 - 67 - 66 - 71 = 267
### Instruction: CREATE TABLE table_60885 ( "Builder" text, "Model" text, "Years of Daylight Service" text, "Retired" text, "Current Disposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year of daylight service when the builder wa...
SELECT "Years of Daylight Service" FROM table_60885 WHERE "Builder" = 'alco'
### Instruction: CREATE TABLE table_47316 ( "Title" text, "Parent magazine" text, "Magazine type" text, "Frequency" text, "First published" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the type of the magazine that was named dengeki game ...
SELECT "Magazine type" FROM table_47316 WHERE "Title" = 'dengeki game appli'
### Instruction: CREATE TABLE table_75934 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result of the game with 72,949 in attendance? ### Response:
SELECT "Result" FROM table_75934 WHERE "Attendance" = '72,949'
### Instruction: CREATE TABLE table_16731248_1 ( bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes? ### Response:
SELECT bypass_boosters FROM table_16731248_1 WHERE spi = "Yes" AND exhaust_ports = "Slit"
### Instruction: CREATE TABLE table_66682 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest week that has Minnesota Vikings as the opponent? ### Response:
SELECT MIN("Week") FROM table_66682 WHERE "Opponent" = 'minnesota vikings'
### Instruction: CREATE TABLE table_24520 ( "Period" real, "Civilians" text, "Security forces" text, "Insurgents" text, "Total per period" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are named for security forces in 1998? ### R...
SELECT COUNT("Security forces") FROM table_24520 WHERE "Period" = '1998'
### Instruction: CREATE TABLE table_19534677_1 ( material_collected VARCHAR, volume_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of material collected for justice league of america by george p rez, vol. 2 ### Response:
SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = "Justice League of America by George Pérez, Vol. 2"
### Instruction: CREATE TABLE table_204_882 ( id number, "number" number, "builder" text, "entered service" text, "withdrawn" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the most reason given in the notes column ? ###...
SELECT "notes" FROM table_204_882 GROUP BY "notes" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_32876 ( "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. -- Which Constructor won the Roussillon Grand Prix? #...
SELECT "Winning constructor" FROM table_32876 WHERE "Name" = 'roussillon grand prix'
### Instruction: CREATE TABLE table_35567 ( "Version" text, "Length" text, "Album" text, "Remixed by" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Remixed by with a Version of Strings for Soul's Mix? ### Response:
SELECT "Remixed by" FROM table_35567 WHERE "Version" = 'strings for soul''s mix'
### Instruction: CREATE TABLE table_22839669_1 ( outcome VARCHAR, score_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match with score 4 6, 3 6, 2 6? ### Response:
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–6"
### Instruction: CREATE TABLE table_52665 ( "Chemical class" text, "Group" text, "Formula" text, "Prefix" text, "Suffix" text, "Example" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What prefix has chemical class Iodoalkane? ### Response:
SELECT "Prefix" FROM table_52665 WHERE "Chemical class" = 'iodoalkane'
### Instruction: CREATE TABLE table_49678 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Finish had a To par of +10? ### Response:
SELECT "Finish" FROM table_49678 WHERE "To par" = '+10'
### Instruction: CREATE TABLE table_8648 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Call sign of the Frequency 106.9 the X? ### Response:
SELECT "Call sign" FROM table_8648 WHERE "Branding" = '106.9 the x'
### Instruction: CREATE TABLE table_44587 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the verb meaning for class 4? ### Response:
SELECT "Verb meaning" FROM table_44587 WHERE "Class" = '4'
### Instruction: CREATE TABLE table_70028 ( "Event" text, "Individual" text, "Sprint" text, "Pursuit" text, "Mass Start" text, "Relay" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sprint with mass start of 2nd ### Response:
SELECT "Sprint" FROM table_70028 WHERE "Mass Start" = '2nd'
### Instruction: CREATE TABLE table_65997 ( "Country" text, "Airport" text, "City" text, "2010" real, "Change (10/09)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2010 total for ghana? ### Response:
SELECT COUNT("2010") FROM table_65997 WHERE "Country" = 'ghana'
### Instruction: CREATE TABLE table_36389 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Decision of myre? ### Response...
SELECT "Date" FROM table_36389 WHERE "Decision" = 'myre'
### Instruction: CREATE TABLE table_name_83 ( week INTEGER, attendance VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13? ### Response:
SELECT MAX(week) FROM table_name_83 WHERE attendance = "64,900" AND result = "l 34-13"
### Instruction: CREATE TABLE table_30253 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pick# for CFL team of Toronto Argonauts? ### Response:
SELECT COUNT("Pick #") FROM table_30253 WHERE "CFL Team" = 'Toronto Argonauts'
### Instruction: CREATE TABLE table_name_20 ( fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which FA Cup goals have a League goals of 18, and a Club of sheffield united? ### Response:
SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = "18" AND club = "sheffield united"
### Instruction: CREATE TABLE table_42411 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Identifier, when City of License is Terrace Bay?...
SELECT "Identifier" FROM table_42411 WHERE "City of license" = 'terrace bay'
### Instruction: CREATE TABLE table_13453 ( "Name" text, "Party" text, "Member of" text, "First elected" text, "Constiuency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Party of the council member for the Fifth District? ### Respons...
SELECT "Party" FROM table_13453 WHERE "Constiuency" = 'council member for the fifth district'
### Instruction: CREATE TABLE table_59135 ( "Station Name" text, "Opening Year" text, "Municipality" text, "Park and Ride Lot" text, "Free Fare Zone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the free fare zone for the Arena station? ...
SELECT "Free Fare Zone" FROM table_59135 WHERE "Station Name" = 'arena'
### Instruction: CREATE TABLE table_35390 ( "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 college had an overall number more than 180? ### Response:
SELECT "College" FROM table_35390 WHERE "Overall" > '180'
### Instruction: CREATE TABLE table_20032301_3 ( poll_source VARCHAR, dates_administered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What poll source administered their poll on June 14-16, 2010? ### Response:
SELECT poll_source FROM table_20032301_3 WHERE dates_administered = "June 14-16, 2010"
### Instruction: CREATE TABLE table_17472 ( "Year" real, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What open cups where played in 2002 ### Response:
SELECT "Open Cup" FROM table_17472 WHERE "Year" = '2002'
### Instruction: CREATE TABLE table_28121 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer(s)" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many writers were for season #1? ### Response:
SELECT COUNT("Writer(s)") FROM table_28121 WHERE "Season #" = '1'
### Instruction: CREATE TABLE table_79152 ( "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. -- How many strokes off par was the winner in 1978? ### Response:
SELECT "To par" FROM table_79152 WHERE "Year(s) won" = '1978'
### Instruction: CREATE TABLE table_12379297_1 ( coverage__transmitter_site_ VARCHAR, station_type VARCHAR, ch__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coverage for relay tv-37? ### Response:
SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND ch__number = "TV-37"
### Instruction: CREATE TABLE table_35881 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis has 2012 as the year? ### Response:
SELECT "Chassis" FROM table_35881 WHERE "Year" = '2012'
### Instruction: CREATE TABLE table_29474407_11 ( country_of_origin VARCHAR, name__designation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country made the Flieger-Doppelpistole 1919? ### Response:
SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
### Instruction: CREATE TABLE table_6667 ( "Season" text, "Competition" text, "Round" text, "Club" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the final score of the competition that features the club of fk Austria wien? ##...
SELECT "Score" FROM table_6667 WHERE "Club" = 'fk austria wien'
### Instruction: CREATE TABLE table_4134 ( "Stadium" text, "Location" text, "Opened" real, "Built for" text, "Capacity at Construction" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the Moorabbin Oval stadium? ### Response...
SELECT "Location" FROM table_4134 WHERE "Stadium" = 'Moorabbin Oval'
### Instruction: CREATE TABLE table_35845 ( "Event Circuit" text, "City / State" text, "Date" text, "Format" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city is the hidden valley raceway in? ### Response:
SELECT "City / State" FROM table_35845 WHERE "Event Circuit" = 'hidden valley raceway'
### Instruction: CREATE TABLE table_38300 ( "Rank" text, "Film" text, "Director(s)" text, "Country" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Rank is the Director(s) of satoko okita? ### Response:
SELECT "Rank" FROM table_38300 WHERE "Director(s)" = 'satoko okita'
### Instruction: CREATE TABLE table_203_634 ( id number, "date" text, "venue" text, "score" text, "victor" text, "comments" text, "match reports" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the first union match between new ...
SELECT MIN("date") FROM table_203_634
### Instruction: CREATE TABLE table_52359 ( "Year" real, "Result" text, "Award" text, "Film or series" text, "Character" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award was nominated in 2007? ### Response:
SELECT "Award" FROM table_52359 WHERE "Result" = 'nominated' AND "Year" = '2007'
### Instruction: CREATE TABLE table_23793770_1 ( production_code INTEGER, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the production code for the episode with 16.10 U.S. viewers? ### Response:
SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = "16.10"
### Instruction: CREATE TABLE table_69239 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the agg with a second leg of 0-1? ### Response:
SELECT "Agg." FROM table_69239 WHERE "2nd leg" = '0-1'
### Instruction: CREATE TABLE table_name_38 ( enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926? ### Respons...
SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926
### Instruction: CREATE TABLE table_49889 ( "Subject" real, "Proximity" text, "Honor" text, "Singular" text, "Plural" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What subject has a plural of am( )ra (we)? ### Response:
SELECT AVG("Subject") FROM table_49889 WHERE "Plural" = 'am(ô)ra (we)'
### Instruction: CREATE TABLE table_name_37 ( event VARCHAR, opponent VARCHAR, res VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Event has Res of loss, and a Time of 5:00, and an Opponent of lance everson? ### Response:
SELECT event FROM table_name_37 WHERE res = "loss" AND time = "5:00" AND opponent = "lance everson"
### Instruction: CREATE TABLE table_60787 ( "Year" real, "First member" text, "First party" text, "Second member" text, "Second party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the second member when RT Hon. Edward Stanley is the first m...
SELECT "Second member" FROM table_60787 WHERE "First member" = 'rt hon. edward stanley'
### Instruction: CREATE TABLE table_203_3 ( id number, "province" text, "capital" text, "population" number, "density" text, "municipalities" text, "legal districts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what province has the leas...
SELECT "province" FROM table_203_3 ORDER BY "population" LIMIT 1
### Instruction: CREATE TABLE table_58312 ( "Sport" text, "Year" real, "Class" text, "Coach" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team's record in 3a volleyball? ### Response:
SELECT "Record" FROM table_58312 WHERE "Class" = '3a' AND "Sport" = 'volleyball'
### Instruction: CREATE TABLE table_61887 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the clubs involved with 16 ...
SELECT "Clubs involved" FROM table_61887 WHERE "Clubs remaining" = '16'
### Instruction: CREATE TABLE table_27720737_1 ( original_air_date VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date when the u.s. viewers in millions was 5.39? ### Response:
SELECT original_air_date FROM table_27720737_1 WHERE us_viewers__million_ = "5.39"
### Instruction: CREATE TABLE table_79192 ( "Year" real, "Awards show" text, "Nominees" text, "Nominated Work" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the results of the 71st Academy Awards show? ### Response:
SELECT "Results" FROM table_79192 WHERE "Awards show" = '71st academy awards'
### Instruction: CREATE TABLE table_47617 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Runner-up" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Tournament on May 2? ### Response:
SELECT "Tournament" FROM table_47617 WHERE "Week" = 'may 2'
### Instruction: CREATE TABLE table_5299 ( "Episode No." text, "Episode Title" text, "UK Broadcast Date" text, "Presenter" text, "Countries Visited" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the broadcast date of the episode that visit...
SELECT "UK Broadcast Date" FROM table_5299 WHERE "Countries Visited" = 'south africa'
### Instruction: CREATE TABLE table_40526 ( "Match 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 is the attendance of the match with kochi university as the away team? ...
SELECT "Attendance" FROM table_40526 WHERE "Away Team" = 'kochi university'
### Instruction: CREATE TABLE table_75971 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Time that is 18:45? ### Response:
SELECT "Date" FROM table_75971 WHERE "Time" = '18:45'
### Instruction: CREATE TABLE table_4725 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tony O'Sullivan's county? ### Response:
SELECT "County" FROM table_4725 WHERE "Player" = 'tony o''sullivan'
### Instruction: CREATE TABLE table_18173 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district is bill thomas from? ### Response:
SELECT "District" FROM table_18173 WHERE "Incumbent" = 'Bill Thomas'
### Instruction: CREATE TABLE table_45524 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Olivier Jacque's Time/Retired? ### Response:
SELECT "Time/Retired" FROM table_45524 WHERE "Rider" = 'olivier jacque'
### Instruction: CREATE TABLE table_61797 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is team 1 when team 2 is Manchester United? ### Response:
SELECT "Team 1" FROM table_61797 WHERE "Team 2" = 'manchester united'
### Instruction: CREATE TABLE table_52308 ( "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 call sign for a class of A? ### Respo...
SELECT "Call sign" FROM table_52308 WHERE "Class" = 'a'
### Instruction: CREATE TABLE table_name_18 ( points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than ...
SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 2
### Instruction: CREATE TABLE table_name_42 ( opening_week_nett_gross INTEGER, rank VARCHAR, studio_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment...
SELECT MAX(opening_week_nett_gross) FROM table_name_42 WHERE rank < 5 AND studio_s_ = "reliance entertainment"
### Instruction: CREATE TABLE table_23961 ( "Round" real, "Choice" real, "Player" text, "Position" text, "Height" text, "Weight" real, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds did Virginia have? ### Response...
SELECT "Round" FROM table_23961 WHERE "College" = 'Virginia'
### Instruction: CREATE TABLE table_14280 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent at america west arena? ### Response:
SELECT "Opponent" FROM table_14280 WHERE "Location" = 'america west arena'
### Instruction: CREATE TABLE products ( color_code VARCHAR ) CREATE TABLE ref_colors ( color_description VARCHAR, color_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the description of the color for most products? ### Response:
SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code GROUP BY t2.color_description ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_75616 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of people went to the tiger stadium ### Response:
SELECT "Result" FROM table_75616 WHERE "Venue" = 'tiger stadium'
### Instruction: CREATE TABLE table_6380 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had a score of 6 3, 7 6? ### Response:
SELECT "Tournament" FROM table_6380 WHERE "Score" = '6–3, 7–6'
### Instruction: CREATE TABLE table_204_164 ( id number, "branding" text, "callsign" text, "frequency" text, "power (kw)" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the radio with the most mhz ? ### Response:
SELECT "branding" FROM table_204_164 ORDER BY "frequency" DESC LIMIT 1
### Instruction: CREATE TABLE table_77527 ( "Diagram(s)" text, "Quantity" real, "Numbers" text, "Completed" real, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the quantity of the item with the numbers of 29-36? ### Response:
SELECT AVG("Quantity") FROM table_77527 WHERE "Numbers" = '29-36'
### Instruction: CREATE TABLE table_51960 ( "Train No." text, "Train Name" text, "Origin" text, "Destination" text, "Frequency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From where did the train that arrived in the Anand Vihar Terminal originat...
SELECT "Origin" FROM table_51960 WHERE "Destination" = 'anand vihar terminal'
### Instruction: CREATE TABLE table_37621 ( "Game #" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home has a Game # of 59? ### Response:
SELECT "Home" FROM table_37621 WHERE "Game #" = '59'
### Instruction: CREATE TABLE table_64340 ( "play" text, "author" text, "company" text, "base" text, "country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of the play based in Athens at the Attis Theatre company? ### Respons...
SELECT "country" FROM table_64340 WHERE "base" = 'athens' AND "company" = 'attis theatre'
### Instruction: CREATE TABLE table_name_1 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? ### Response:
SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a"
### Instruction: CREATE TABLE table_47383 ( "Name" text, "Born-Died" text, "Term start" text, "Term end" text, "Political Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Term Start date of the Progressive Party Prime Minister? ##...
SELECT "Term start" FROM table_47383 WHERE "Political Party" = 'progressive party'
### Instruction: CREATE TABLE table_58198 ( "Character" text, "Portrayed by" text, "Crime" text, "First appearance" text, "Last appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the first appearance when Chad Williams is...
SELECT "First appearance" FROM table_58198 WHERE "Portrayed by" = 'chad williams'
### Instruction: CREATE TABLE table_62814 ( "Club" text, "Winners" real, "Last final won" text, "Runners-up" real, "Last final lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is runners-up less than 0? ### Response:
SELECT COUNT("Winners") FROM table_62814 WHERE "Runners-up" < '0'
### Instruction: CREATE TABLE table_22266 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the calling for the 18.42 arrival time? ### Response:
SELECT "Calling at" FROM table_22266 WHERE "Arrival" = '18.42'
### Instruction: CREATE TABLE table_28759261_5 ( united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the united fc where pifa colaba is sporting options? ### Response:
SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Sporting Options"
### Instruction: CREATE TABLE table_9793 ( "Actor" text, "Role" text, "Status" text, "Number Of Episodes" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Actor, when Number Of Episodes is '117 Episodes'? ### Response:
SELECT "Actor" FROM table_9793 WHERE "Number Of Episodes" = '117 episodes'
### Instruction: CREATE TABLE table_name_39 ( place VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Place has a Country of united states, and a Money ($) larger than 0, and a Player of craig ...
SELECT place FROM table_name_39 WHERE country = "united states" AND money___$__ > 0 AND player = "craig wood"
### Instruction: CREATE TABLE table_52672 ( "Year" real, "Movie" text, "Record Held" text, "Studio(s)" text, "Nett Gross" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total count of net gross in 1957? ### Response:
SELECT COUNT("Nett Gross") FROM table_52672 WHERE "Year" = '1957'
### Instruction: CREATE TABLE table_79203 ( "Country" text, "Event" text, "Time" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Event on August 25, 2007? ### Response:
SELECT "Place" FROM table_79203 WHERE "Date" = 'august 25, 2007'
### Instruction: CREATE TABLE table_name_13 ( opponents VARCHAR, score_f_a VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score F A of 3 0, and a Date of 31 july 2007 had what opponents? ### Response:
SELECT opponents FROM table_name_13 WHERE score_f_a = "3–0" AND date = "31 july 2007"
### Instruction: CREATE TABLE table_51350 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player has a conv of 14? ### Response:
SELECT "Player" FROM table_51350 WHERE "Conv" = '14'
### Instruction: CREATE TABLE table_11950720_4 ( first_class_team VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of first class team with birthday of 5 december 1970? ### Response:
SELECT COUNT(first_class_team) FROM table_11950720_4 WHERE date_of_birth = "5 December 1970"
### Instruction: CREATE TABLE table_203_353 ( id number, "#" number, "title" text, "producer(s)" text, "featured guest(s)" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs were produced by chaos ? ### Response:
SELECT COUNT("title") FROM table_203_353 WHERE "producer(s)" = 'chaos'
### Instruction: CREATE TABLE table_204_894 ( id number, "season" number, "winner" text, "score" text, "runners-up" text, "venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team was the winner the most times ? ### Response:
SELECT "winner" FROM table_204_894 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_23066 ( "Draw" real, "Artist" text, "Original" text, "English Meaning" text, "Language" text, "Authors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the artist for the origin Shake it, Europe? ### ...
SELECT "Artist" FROM table_23066 WHERE "Original" = 'Shake It, Europe'
### Instruction: CREATE TABLE table_name_65 ( type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type of the Leeds United source, winter transfer window and moving from Northa...
SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town"
### Instruction: CREATE TABLE table_name_74 ( goals_against INTEGER, club VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Goals Against, when Club is 'Pontevedra CF', and when Played is less than 38? ### Response:
SELECT MAX(goals_against) FROM table_name_74 WHERE club = "pontevedra cf" AND played < 38
### Instruction: CREATE TABLE table_45467 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the diameter of kaiwan fluctus? ### Response:
SELECT "Diameter (km)" FROM table_45467 WHERE "Name" = 'kaiwan fluctus'
### Instruction: CREATE TABLE table_71885 ( "Date" text, "Visiting team" text, "Final score" text, "Host team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Stadium has a Visiting team of pittsburgh steelers? ### Response:
SELECT "Stadium" FROM table_71885 WHERE "Visiting team" = 'pittsburgh steelers'
### Instruction: CREATE TABLE table_19586 ( "Number of episode" real, "Number of season" real, "Title (original)" text, "Title (English)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the episode number where the E...
SELECT "Number of episode" FROM table_19586 WHERE "Title (English)" = 'Pilot'
### Instruction: CREATE TABLE table_70311 ( "Classification" text, "Fastest time (s)" real, "Athlete" text, "Country" text, "Date" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of Classification of T12? #...
SELECT "Location" FROM table_70311 WHERE "Classification" = 't12'
### Instruction: CREATE TABLE table_61471 ( "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. -- Scunthorpe United as the home team has what tie number? ### Response:
SELECT "Tie no" FROM table_61471 WHERE "Home team" = 'scunthorpe united'
### Instruction: CREATE TABLE table_69762 ( "Value" real, "Khmer" real, "Word Form" text, "UNGEGN" text, "ALA-LC" text, "Other" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What can you say is the word from of sam sep? ### Response:
SELECT "Word Form" FROM table_69762 WHERE "Other" = 'sam sep'
### Instruction: CREATE TABLE table_44648 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest overall when the pick is 20? ### Response:
SELECT MIN("Overall") FROM table_44648 WHERE "Pick" = '20'
### Instruction: CREATE TABLE table_57979 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player is a lock with 1 cap? ### Response:
SELECT "Player" FROM table_57979 WHERE "Position" = 'lock' AND "Caps" = '1'
### Instruction: CREATE TABLE table_58362 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What constructor has less than 3 laps and grid 15? ### Response:
SELECT "Constructor" FROM table_58362 WHERE "Laps" < '3' AND "Grid" = '15'
### Instruction: CREATE TABLE table_33956 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What record has a score of 111-96? ### Response:
SELECT "Record" FROM table_33956 WHERE "Score" = '111-96'
### Instruction: CREATE TABLE table_204_109 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" text, "result" text, "candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many districts are there in virgi...
SELECT COUNT("district") FROM table_204_109