instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_22 ( draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 ag...
SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250
### Instruction: CREATE TABLE table_22163 ( "Title" text, "Developer" text, "Category" text, "Function" text, "Release date" text, "Version" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the function of 1.4 version of Windows live messe...
SELECT "Function" FROM table_22163 WHERE "Version" = '1.4' AND "Title" = 'Windows Live Messenger'
### Instruction: CREATE TABLE table_42725 ( "Institution name" text, "City/ town" text, "State/ province" text, "Total enrollment" text, "Year founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Waynesburg University founded in Pen...
SELECT "Year founded" FROM table_42725 WHERE "State/ province" = 'pennsylvania' AND "Institution name" = 'waynesburg university'
### Instruction: CREATE TABLE table_204_276 ( id number, "record" text, "date" text, "result" text, "opponent" text, "location" text, "method" text, "round" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on which date was the match wit...
SELECT "date" FROM table_204_276 ORDER BY "round" LIMIT 1
### Instruction: CREATE TABLE table_204_996 ( id number, "no." text, "air date" text, "network" text, "household\nrating" number, "viewers\n(millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which network had the all time top number of v...
SELECT "network" FROM table_204_996 ORDER BY "viewers\n(millions)" DESC LIMIT 1
### Instruction: CREATE TABLE table_2459 ( "#" real, "Japanese title" text, "R\u014dmaji" text, "Japanese translation" text, "Vocalist" text, "Episodes used" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 5 is the number what is the japanes...
SELECT "Japanese title" FROM table_2459 WHERE "#" = '5'
### Instruction: CREATE TABLE table_25016824_2 ( reward VARCHAR, immunity VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46? ### Response:...
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46"
### Instruction: CREATE TABLE table_61017 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament has a Date of 20 december 2010? ### Response:
SELECT "Tournament" FROM table_61017 WHERE "Date" = '20 december 2010'
### Instruction: CREATE TABLE table_name_82 ( wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 2...
SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20
### Instruction: CREATE TABLE table_11129 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the decision of the Lightning game when ...
SELECT "Decision" FROM table_11129 WHERE "Visitor" = 'canadiens'
### Instruction: CREATE TABLE table_65578 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest game when the score is 102-104? ### Res...
SELECT MIN("Game") FROM table_65578 WHERE "Score" = '102-104'
### Instruction: CREATE TABLE table_71678 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had Lubomira Bacheva as the opponent in the final? ##...
SELECT "Tournament" FROM table_71678 WHERE "Opponent in the final" = 'lubomira bacheva'
### Instruction: CREATE TABLE table_15865 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is the player that went to Georg...
SELECT "Nationality" FROM table_15865 WHERE "School/Club Team" = 'Georgetown'
### Instruction: CREATE TABLE table_11881 ( "Date" text, "Opponent" text, "Score" text, "Site/Stadium" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were in attendance on March ...
SELECT "Attendance" FROM table_11881 WHERE "Date" = 'march 4'
### Instruction: CREATE TABLE table_74642 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who built Warren Booth's car with the Cosworth DFV V8 engine? ### Response:
SELECT "Constructor" FROM table_74642 WHERE "Engine" = 'cosworth dfv v8' AND "Driver" = 'warren booth'
### Instruction: CREATE TABLE table_80418 ( "Year" text, "Carries" real, "Rushing Yards" real, "Average" real, "Touchdowns" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of carries that have more than 7...
SELECT AVG("Carries") FROM table_80418 WHERE "Touchdowns" > '72'
### Instruction: CREATE TABLE table_61421 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft ( m )" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE NAME WITH 01.0 10 light street? ### Response:
SELECT "Name" FROM table_61421 WHERE "Street address" = '01.0 10 light street'
### Instruction: CREATE TABLE table_22123920_4 ( dates__mdy_ VARCHAR, gross_sales VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which specific dates encompass the time period when 'The Show Girl Must Go On' showed a gross sales figure total of $2,877,906? ...
SELECT dates__mdy_ FROM table_22123920_4 WHERE gross_sales = "$2,877,906"
### Instruction: CREATE TABLE table_4463 ( "Round" real, "Track" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which track did Takashi Kogure hold pole po...
SELECT "Track" FROM table_4463 WHERE "Pole Position" = 'takashi kogure'
### Instruction: CREATE TABLE table_69405 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the film Jehovah's Witness? ### Response:
SELECT "Writer(s)" FROM table_69405 WHERE "Film" = 'jehovah''s witness'
### Instruction: CREATE TABLE table_name_68 ( laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps? ...
SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired = "+ 2 laps"
### Instruction: CREATE TABLE table_name_16 ( rushing_yards INTEGER, rushes VARCHAR, rushing_tds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the greatest number of rushing yards for a runner who had 283 rushes and less than 10 rushing TDs? ...
SELECT MAX(rushing_yards) FROM table_name_16 WHERE rushes = 283 AND rushing_tds < 10
### Instruction: CREATE TABLE table_65048 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the year of the World Half Marathon Championships with a result of 3rd? ### Re...
SELECT "Year" FROM table_65048 WHERE "Tournament" = 'world half marathon championships' AND "Result" = '3rd'
### Instruction: CREATE TABLE table_name_79 ( last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Last title that has Wins smaller than 71 and a First title larger than 19...
SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = "fiji"
### Instruction: CREATE TABLE table_18023 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game against Kansas C...
SELECT "Date" FROM table_18023 WHERE "Opponent" = 'Kansas City Chiefs'
### Instruction: CREATE TABLE table_1943 ( "Property" text, "K-band" text, "Ka-band" text, "Q-band" text, "V-band" text, "W-band" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 5.5 is the l-band what is the v-band? ### Response:
SELECT "V-band" FROM table_1943 WHERE "K-band" = '5.5'
### Instruction: CREATE TABLE table_43709 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is average frequency MHZ when is in portales, new mexico? ### ...
SELECT AVG("Frequency MHz") FROM table_43709 WHERE "City of license" = 'portales, new mexico'
### Instruction: CREATE TABLE table_name_15 ( against INTEGER, byes VARCHAR, losses VARCHAR, mininera_dfl VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many against for the Moyston-Willaura team with 4 losses and fewer than 2 byes? ### Respons...
SELECT MAX(against) FROM table_name_15 WHERE losses = 4 AND mininera_dfl = "moyston-willaura" AND byes < 2
### Instruction: CREATE TABLE table_37757 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the total number of field goals when there were 0 touchdowns and...
SELECT COUNT("Field goals") FROM table_37757 WHERE "Touchdowns" = '0' AND "Extra points" = '2'
### Instruction: CREATE TABLE table_1560673_1 ( position_in_2013 VARCHAR, number_of_seasons_in_second_tier VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the players position in 2013 who had 29 seasons in the second tier ### Response:
SELECT position_in_2013 FROM table_1560673_1 WHERE number_of_seasons_in_second_tier = "29"
### Instruction: CREATE TABLE table_8820 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when the TKO (elbows) method was...
SELECT "Record" FROM table_8820 WHERE "Method" = 'tko (elbows)'
### Instruction: CREATE TABLE table_2668329_18 ( result VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0% ### Response:
SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%"
### Instruction: CREATE TABLE table_63779 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number played with 1 drawn, and less than 7 points? #...
SELECT COUNT("Played") FROM table_63779 WHERE "Drawn" = '1' AND "Points" < '7'
### Instruction: CREATE TABLE table_25945 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on October...
SELECT "Score" FROM table_25945 WHERE "Date" = 'October 29'
### Instruction: CREATE TABLE table_18496 ( "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. -- how many first elected with incumbent being charles edw...
SELECT COUNT("First elected") FROM table_18496 WHERE "Incumbent" = 'Charles Edward Bennett'
### Instruction: CREATE TABLE table_73143 ( "Draw" real, "Artist" text, "Song" text, "Jury votes" real, "Televotes" real, "Total votes" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of song for julia bermejo ...
SELECT COUNT("Song") FROM table_73143 WHERE "Artist" = 'Julia Bermejo'
### Instruction: CREATE TABLE table_15047 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the film 'Monsters' come out? ...
SELECT "Date" FROM table_15047 WHERE "Film" = 'monsters'
### Instruction: CREATE TABLE table_21983 ( "Season" text, "Division North" text, "Division South" text, "Division East" text, "Division West" text, "Division Southwest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many division southwest ...
SELECT COUNT("Division Southwest") FROM table_21983 WHERE "Division East" = 'Babi'
### Instruction: CREATE TABLE table_31544 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the pick for pittsburgh penguins ##...
SELECT "Pick" FROM table_31544 WHERE "NHL team" = 'pittsburgh penguins'
### Instruction: CREATE TABLE table_203_853 ( id number, "date" text, "opponent" text, "home/away" text, "field" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did they win more and home or away ? ### Response:
SELECT "home/away" FROM table_203_853 WHERE "result" = 'w' GROUP BY "home/away" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_34074 ( "Track number" real, "Song title" text, "Songwriter(s)" text, "Orchestra" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the time with track number less than 4 for you're my everything ...
SELECT "Time" FROM table_34074 WHERE "Track number" < '4' AND "Song title" = 'you''re my everything'
### Instruction: CREATE TABLE table_31627 ( "Species" text, "Lived when ( mya )" text, "Lived where" text, "Fossil record" text, "Discovery / publication of name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the discovery/publication for s...
SELECT "Discovery / publication of name" FROM table_31627 WHERE "Fossil record" = 'still living'
### Instruction: CREATE TABLE table_204_539 ( id number, "date" text, "name" text, "moving from" text, "moving to" text, "fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team was silvestre varela a member of before moving to porto ? #...
SELECT "moving from" FROM table_204_539 WHERE "name" = 'silvestre varela'
### Instruction: CREATE TABLE table_name_42 ( year VARCHAR, score VARCHAR, location VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years had a location at Forest Hills and a score of 6 3, 6 3 for John McEnroe? ### Respon...
SELECT COUNT(year) FROM table_name_42 WHERE location = "forest hills" AND runner_up = "john mcenroe" AND score = "6–3, 6–3"
### Instruction: CREATE TABLE table_11174 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Result of 8 2, and a Score with 6 2? ### Response:
SELECT "Date" FROM table_11174 WHERE "Result" = '8–2' AND "Score" = '6–2'
### Instruction: CREATE TABLE table_203_651 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times after the year 1989 did she come in 1st position ? ...
SELECT COUNT(*) FROM table_203_651 WHERE "position" = 1 AND "year" > 1989
### Instruction: CREATE TABLE table_22740 ( "Mother Tongue" text, "Population (2006)" real, "Percentage (2006)" text, "Population (2011)" real, "Percentage (2011)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest population(2011)? ...
SELECT MIN("Population (2011)") FROM table_22740
### Instruction: CREATE TABLE table_2528382_5 ( movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics? ### Response:
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni"
### Instruction: CREATE TABLE table_75349 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of fiel...
SELECT MIN("Field goals") FROM table_75349 WHERE "Points" < '5'
### Instruction: CREATE TABLE table_18227 ( "District" text, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the incumbents elected in 1974? ### Response:
SELECT "Incumbent" FROM table_18227 WHERE "Elected" = '1974'
### Instruction: CREATE TABLE table_20549371_3 ( epa_rated_highway_fuel_economy VARCHAR, type_of_powertrain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the epa highway fuel economy for an electric suv? ### Response:
SELECT epa_rated_highway_fuel_economy FROM table_20549371_3 WHERE type_of_powertrain = "Electric SUV"
### Instruction: CREATE TABLE table_11638 ( "Route Name" text, "Direction" text, "Termini" text, "Junctions" text, "Length" text, "Population Area" text, "Remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the high...
SELECT "Length" FROM table_11638 WHERE "Route Name" = 'sh 2'
### Instruction: CREATE TABLE table_67520 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were there when the Time/Retired was +1:00.003? ### Response:
SELECT "Laps" FROM table_67520 WHERE "Time/Retired" = '+1:00.003'
### Instruction: CREATE TABLE table_46547 ( "Name" text, "Date" text, "Defending forces" text, "Brigade" text, "Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the brigade when Al-Hamra ('arab al-hamra) shows for name? ### Respo...
SELECT "Brigade" FROM table_46547 WHERE "Name" = 'al-hamra (''arab al-hamra)'
### Instruction: CREATE TABLE table_72912 ( "Country" text, "Preliminary" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country had a swimsuit score of 8.788? ### Re...
SELECT "Country" FROM table_72912 WHERE "Swimsuit" = '8.788'
### Instruction: CREATE TABLE table_12522 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has a Result of l 13 30? ### Re...
SELECT "Record" FROM table_12522 WHERE "Result" = 'l 13–30'
### Instruction: CREATE TABLE table_56971 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the home game when the New Jersey team's record became 7-23-7? ### Response:
SELECT "Date" FROM table_56971 WHERE "Home" = 'new jersey' AND "Record" = '7-23-7'
### Instruction: CREATE TABLE table_67805 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Opponent has the Attendance of 14,029? ### Response:
SELECT "Opponent" FROM table_67805 WHERE "Attendance" = '14,029'
### Instruction: CREATE TABLE table_10497 ( "Title" text, "Format" text, "Label" text, "Catalog number" text, "Formats" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the label for digital format with nebula remixes ### Re...
SELECT "Label" FROM table_10497 WHERE "Formats" = 'digital' AND "Title" = 'nebula remixes'
### Instruction: CREATE TABLE table_203_406 ( id number, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many drivers drove all th...
SELECT COUNT("driver") FROM table_203_406 WHERE "rounds" = 'all'
### Instruction: CREATE TABLE table_70709 ( "Model" text, "Specification" text, "Build date" text, "Total produced" real, "Wheel arrangement" text, "Prime mover" text, "Power output" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the bu...
SELECT "Build date" FROM table_70709 WHERE "Total produced" = '146'
### Instruction: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) -- Using valid SQLite, answer the follo...
SELECT Height, Weight FROM people
### Instruction: CREATE TABLE table_70020 ( "Season" real, "Host" text, "Winners" text, "Score" text, "Runners-up" text, "Third place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest season where Al Ahly is the runners-up? ##...
SELECT MAX("Season") FROM table_70020 WHERE "Runners-up" = 'al ahly'
### Instruction: CREATE TABLE table_67945 ( "Date" text, "Round" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most attendance for 25 january 2004 ### Response:
SELECT MAX("Attendance") FROM table_67945 WHERE "Date" = '25 january 2004'
### Instruction: CREATE TABLE table_23217 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is located in Chestnut Hill...
SELECT "Institution" FROM table_23217 WHERE "Location" = 'Chestnut Hill, Massachusetts'
### Instruction: CREATE TABLE table_42281 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year of the Honda Engine with a finish of 4? ### Re...
SELECT MIN("Year") FROM table_42281 WHERE "Engine" = 'honda' AND "Finish" = '4'
### Instruction: CREATE TABLE table_46741 ( "Letter" text, "IPv6 address" text, "AS-number" text, "Operator" text, "Location #sites (global/local)" text, "Software" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which letter has an operator of t...
SELECT "Letter" FROM table_46741 WHERE "Operator" = 'defense information systems agency'
### Instruction: CREATE TABLE table_17217 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Barry University had the highest enroll...
SELECT MAX("Enrollment") FROM table_17217 WHERE "Institution" = 'Barry University'
### Instruction: CREATE TABLE table_name_24 ( score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? ### Respons...
SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990
### Instruction: CREATE TABLE table_204_364 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many races did she run after the 2008 olympic...
SELECT COUNT("competition") FROM table_204_364 WHERE "year" > 2008
### Instruction: CREATE TABLE table_name_70 ( name VARCHAR, college VARCHAR, aafc_team VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name has a AAFC Team of los angeles dons, and a Position of fb, and a College of oklahoma a&...
SELECT name FROM table_name_70 WHERE aafc_team = "los angeles dons" AND position = "fb" AND college = "oklahoma a&m"
### Instruction: CREATE TABLE table_41339 ( "Week" real, "Date" text, "Time" text, "Opponent" text, "Result" text, "Game site" text, "NFL Recap" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record for week 12...
SELECT "Record" FROM table_41339 WHERE "Week" = '12'
### Instruction: CREATE TABLE table_name_75 ( career_win_loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001? ### Response:
SELECT career_win_loss FROM table_name_75 WHERE 2002 = "1r" AND 2000 = "2r" AND 2001 = "2r"
### Instruction: CREATE TABLE table_70091 ( "Project" text, "Year" text, "Location" text, "Capacity" real, "Suites" text, "Architect" text, "Cost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location has a capacity larger than 52,00...
SELECT "Location" FROM table_70091 WHERE "Capacity" > '52,000'
### Instruction: CREATE TABLE table_68325 ( "Year" text, "Human Resources & Operations" text, "Local Affairs" text, "Academic & University Affairs" text, "External Affairs" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was in external affairs w...
SELECT "External Affairs" FROM table_68325 WHERE "Human Resources & Operations" = 'jakki doyle'
### Instruction: CREATE TABLE table_71686 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What qual had a finish of 16 in 1968? ### Response:
SELECT "Qual" FROM table_71686 WHERE "Finish" = '16' AND "Year" = '1968'
### Instruction: CREATE TABLE table_50517 ( "Nominative" text, "Ergative" text, "Dative" text, "Genitive" text, "Instrumental" text, "Adverbial" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a nominative of chven-i what is the ergative? ...
SELECT "Ergative" FROM table_50517 WHERE "Nominative" = 'chven-i'
### Instruction: CREATE TABLE table_203_8 ( id number, "player" text, "rec." number, "yards" number, "avg." number, "td's" number, "long" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player had the most receptions but no touchdowns...
SELECT "player" FROM table_203_8 WHERE "td's" = 0 ORDER BY "rec." DESC LIMIT 1
### Instruction: CREATE TABLE table_60957 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
SELECT "Median household income" FROM table_60957 WHERE "County" = 'cape girardeau'
### Instruction: CREATE TABLE table_12197 ( "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. -- What is the total for a to par bigger than 7 and a player of al geiberger? ### Res...
SELECT COUNT("Total") FROM table_12197 WHERE "Player" = 'al geiberger' AND "To par" > '7'
### Instruction: CREATE TABLE table_204_650 ( id number, "season" number, "level" number, "name" text, "position" text, "nationality" text, "international\ncaps" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the only player from n...
SELECT "name" FROM table_204_650 WHERE "nationality" = 'new zealand'
### Instruction: CREATE TABLE table_18224 ( "District" text, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many incumbents represent district California 34? ### Res...
SELECT COUNT("Incumbent") FROM table_18224 WHERE "District" = 'California 34'
### Instruction: CREATE TABLE table_18615 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the result with dbeingtrict being california 10 ...
SELECT "Result" FROM table_18615 WHERE "District" = 'California 10'
### Instruction: CREATE TABLE table_33800 ( "Medal" text, "Name" text, "Games" text, "Sport" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which event in the 2008 Beijing Games had a bronze medal? ### Response:
SELECT "Event" FROM table_33800 WHERE "Games" = '2008 beijing' AND "Medal" = 'bronze'
### Instruction: CREATE TABLE table_71836 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for detroit and decision of denis...
SELECT "Record" FROM table_71836 WHERE "Home" = 'detroit' AND "Decision" = 'denis'
### Instruction: CREATE TABLE table_44348 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the race when Lineth Chepkurui is the athlete? ### Resp...
SELECT "Race" FROM table_44348 WHERE "Athlete" = 'lineth chepkurui'
### Instruction: CREATE TABLE table_77733 ( "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. -- Where does center Joakim Andersson come from? ### Resp...
SELECT "Nationality" FROM table_77733 WHERE "Position" = 'center' AND "Player" = 'joakim andersson'
### Instruction: CREATE TABLE table_66358 ( "Title" text, "Series" text, "Director" text, "Production Number" real, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production number for Bell Hoppy in th...
SELECT COUNT("Production Number") FROM table_66358 WHERE "Series" = 'mm' AND "Title" = 'bell hoppy'
### Instruction: CREATE TABLE table_25419 ( "Year" real, "Majors" real, "ATP wins" real, "Total wins" real, "Earnings ($)" real, "Money list rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was his money list rank in 2001? ### Respons...
SELECT MIN("Money list rank") FROM table_25419 WHERE "Year" = '2001'
### Instruction: CREATE TABLE table_203_367 ( id number, "year" text, "driver" text, "constructor" text, "location" text, "report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the year before alain prost ? ### Response:
SELECT "driver" FROM table_203_367 WHERE id = (SELECT id FROM table_203_367 WHERE "driver" = 'alain prost') - 1
### Instruction: CREATE TABLE table_30133_3 ( gap_from_thailand_as_of_1980__times_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max 2010 value for a 1980 gap value is 2.43? ### Response:
SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43"
### Instruction: CREATE TABLE table_201_31 ( id number, "number" number, "author" text, "first line" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which author had a poem on this list with the first line as it fell upon day and also a...
SELECT "author" FROM table_201_31 WHERE "first line" = '"as it fell upon a day"'
### Instruction: CREATE TABLE table_name_88 ( Severe INTEGER, strongest_storm VARCHAR, tropical_lows VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropic...
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = "tiffany" AND tropical_lows > 10
### Instruction: CREATE TABLE table_33252 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which airport is in South Africa and has a ICAO fajs? ### Response:
SELECT "Airport" FROM table_33252 WHERE "Country" = 'south africa' AND "ICAO" = 'fajs'
### Instruction: CREATE TABLE table_name_98 ( date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? ...
SELECT date FROM table_name_98 WHERE position = "back" AND year > 1964 AND test_debut = "1st rl test v new zealand"
### Instruction: CREATE TABLE table_57108 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest pick from Elitserien (Sweden)? ###...
SELECT MIN("Pick #") FROM table_57108 WHERE "League from" = 'elitserien (sweden)'
### Instruction: CREATE TABLE table_31746 ( "Nomination" text, "Actor's Name" text, "Film Name" text, "Director" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the director for the movie with svetlana zelenkovskaya ### Resp...
SELECT "Director" FROM table_31746 WHERE "Actor's Name" = 'svetlana zelenkovskaya'
### Instruction: CREATE TABLE table_19302 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in the election where John Beat...
SELECT "Candidates" FROM table_19302 WHERE "Incumbent" = 'John Beatty'
### Instruction: CREATE TABLE table_24800 ( "District" text, "Municipalities" real, "Parishes" real, "Province of 1936" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name province of 1936 viana do castelo ### Response:
SELECT "Province of 1936" FROM table_24800 WHERE "District" = 'Viana do Castelo'
### Instruction: CREATE TABLE table_78178 ( "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 city has larger than 94.1 as a frequency? ##...
SELECT "City of license" FROM table_78178 WHERE "Frequency MHz" > '94.1'