instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_81 ( tries_for VARCHAR, points_for VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Tries has Points for smaller than 137, and Tries against larger than 12? ### Response:
SELECT COUNT(tries_for) FROM table_name_81 WHERE points_for < 137 AND tries_against > 12
### Instruction: CREATE TABLE table_71210 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who took the loss on May 25? ### Response:
SELECT "Loss" FROM table_71210 WHERE "Date" = 'may 25'
### Instruction: CREATE TABLE table_8227 ( "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 whole of Drawn that has a Lost of 4? ### Response:
SELECT SUM("Drawn") FROM table_8227 WHERE "Lost" = '4'
### Instruction: CREATE TABLE table_76158 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which winning song had a debut album in progress? ### ...
SELECT "Winning Song" FROM table_76158 WHERE "Debut Album" = 'in progress'
### Instruction: CREATE TABLE table_43959 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team against the Bolton Wanderers? ### Response:
SELECT "Home team" FROM table_43959 WHERE "Away team" = 'bolton wanderers'
### Instruction: CREATE TABLE table_40668 ( "Name" text, "Location" text, "Type" text, "Completed" text, "List entry number" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which type has list entry number of 1356677? ### Response:
SELECT "Type" FROM table_40668 WHERE "List entry number" = '1356677'
### Instruction: CREATE TABLE table_594 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What current club does the player born in 1984 play for? ### Re...
SELECT "Current Club" FROM table_594 WHERE "Year born" = '1984'
### Instruction: CREATE TABLE table_76534 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record of the game with a Score of 65-48? ### Response:
SELECT "Record" FROM table_76534 WHERE "Score" = '65-48'
### Instruction: CREATE TABLE table_63259 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Artist had a Percentage of 17.14%? ### Response:
SELECT "Artist" FROM table_63259 WHERE "Percentage" = '17.14%'
### Instruction: CREATE TABLE table_name_90 ( number INTEGER, name VARCHAR, year_end VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Number has a Name of cooper, c. kenneth, and a Year End larger than 1984? ### Response:
SELECT AVG(number) FROM table_name_90 WHERE name = "cooper, c. kenneth" AND year_end > 1984
### Instruction: CREATE TABLE table_name_81 ( other_deaths VARCHAR, israeli_and_or_foreigner_wounded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many other deaths were in the attack with 242 Israelis and/or foreigners wounded? ### Response:
SELECT other_deaths FROM table_name_81 WHERE israeli_and_or_foreigner_wounded = "242"
### Instruction: CREATE TABLE table_25381 ( "No." real, "Player" text, "Position" text, "Height" text, "Weight" real, "Class" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class was ren alde? ### Response:
SELECT "Class" FROM table_25381 WHERE "Player" = 'Ren Alde'
### Instruction: CREATE TABLE table_80324 ( "Week" real, "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team played on the road against the Buffalo Bills at home ? ### Respons...
SELECT "Visiting Team" FROM table_80324 WHERE "Host Team" = 'buffalo bills'
### Instruction: CREATE TABLE table_79359 ( "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 is the tie no for the away team altrincham? ### Response:
SELECT "Tie no" FROM table_79359 WHERE "Away team" = 'altrincham'
### Instruction: CREATE TABLE table_56844 ( "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 date was Colorado the home team? ### Respo...
SELECT "Date" FROM table_56844 WHERE "Home" = 'colorado'
### Instruction: CREATE TABLE table_58401 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for 13 october 2004 ### Response:
SELECT "Result" FROM table_58401 WHERE "Date" = '13 october 2004'
### Instruction: CREATE TABLE table_44571 ( "Skip" text, "Third" text, "Second" text, "Lead" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG? ### Response:
SELECT "Skip" FROM table_44571 WHERE "Third" = 'deanna doig'
### Instruction: CREATE TABLE table_name_59 ( number_of_households INTEGER, per_capita_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Number of Households that have a Per Capita Income of $21,345? ### Response:
SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345"
### Instruction: CREATE TABLE table_12294557_3 ( title VARCHAR, us_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of title with a u.s. air date of April 17, 2009 ### Response:
SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009"
### Instruction: CREATE TABLE table_46697 ( "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 Position, when College is 'Houston'? ### Response:
SELECT "Position" FROM table_46697 WHERE "College" = 'houston'
### Instruction: CREATE TABLE table_8267 ( "Tie 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 was the tie number when the away team was Wrexham? ### Response:
SELECT "Tie no" FROM table_8267 WHERE "Away team" = 'wrexham'
### Instruction: CREATE TABLE table_6294 ( "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 was the Attendance of August 26? ### Response:
SELECT "Attendance" FROM table_6294 WHERE "Date" = 'august 26'
### Instruction: CREATE TABLE table_204_90 ( id number, "rank" number, "name" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people from ethiopia ranked in the top 9 ? ### Response:
SELECT COUNT("name") FROM table_204_90 WHERE "nationality" = 'ethiopia' AND id <= 9
### Instruction: CREATE TABLE table_67623 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year has an Engine(s) of yamaha v8? ### Response:
SELECT "Year" FROM table_67623 WHERE "Engine(s)" = 'yamaha v8'
### Instruction: CREATE TABLE table_204_679 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which one is the last on the chart ### Respon...
SELECT "player" FROM table_204_679 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_name_64 ( scored INTEGER, competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the averag scored for 2011 long teng cup and 2 october 2011 ### Response:
SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"
### Instruction: CREATE TABLE table_54561 ( "Name" text, "Current version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a license of proprietary (available on inquiry)? ### Response:
SELECT "Name" FROM table_54561 WHERE "License" = 'proprietary (available on inquiry)'
### Instruction: CREATE TABLE table_12654 ( "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. -- Who was the home team when grimsby town was the away team? ### Response:
SELECT "Home team" FROM table_12654 WHERE "Away team" = 'grimsby town'
### Instruction: CREATE TABLE table_51185 ( "Year" real, "Theme" text, "Artist" text, "Mintage" text, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the issue price for the Trumpeter Swan set? ### Response:
SELECT "Issue Price" FROM table_51185 WHERE "Theme" = 'trumpeter swan'
### Instruction: CREATE TABLE table_name_29 ( lap_by_lap VARCHAR, year VARCHAR, ratings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21? ### Response:
SELECT lap_by_lap FROM table_name_29 WHERE year < 1994 AND ratings = "8.0/21"
### Instruction: CREATE TABLE table_19852 ( "Category" text, "Type" text, "Attribute" text, "Description" text, "Bubbles" text, "Cancelable" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many categories are there when the attribute is 'onre...
SELECT COUNT("Category") FROM table_19852 WHERE "Attribute" = 'onreset'
### Instruction: CREATE TABLE table_19246_1 ( connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the connection speed when launched on 07.06.2005? ### Response:
SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005"
### Instruction: CREATE TABLE table_name_84 ( name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? ### Response:
SELECT name FROM table_name_84 WHERE heat = 4 AND rank < 23 AND result = "55.91"
### Instruction: CREATE TABLE table_6375 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has Attempts of 282 ? ### Response:
SELECT "Year" FROM table_6375 WHERE "Attempts" = '282'
### Instruction: CREATE TABLE table_204_295 ( id number, "model" text, "origin" text, "type" text, "version" text, "in service" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what model was in service the least ? ### Respon...
SELECT "model" FROM table_204_295 ORDER BY "in service" LIMIT 1
### Instruction: CREATE TABLE table_40437 ( "Band" text, "Value" text, "Ratio" text, "Ratio as %" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Value has a Ratio as % of 100%? ### Response:
SELECT "Value" FROM table_40437 WHERE "Ratio as %" = '100%'
### Instruction: CREATE TABLE table_9654 ( "Artist" text, "Title" text, "Label" text, "Number" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title was created in 2001 by Mellow? ### Response:
SELECT "Title" FROM table_9654 WHERE "Date" = '2001' AND "Artist" = 'mellow'
### Instruction: CREATE TABLE table_67867 ( "Bowler" text, "Over no." real, "Venue" text, "Date" text, "Wickets" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Bowler of shane bond has what lowest overall number? ### Response:
SELECT MIN("Over no.") FROM table_67867 WHERE "Bowler" = 'shane bond'
### Instruction: CREATE TABLE table_204_593 ( id number, "year" text, "chairperson" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total chairpersons were there between 1905 and 1921 ? ### Response:
SELECT COUNT("chairperson") FROM table_204_593 WHERE "year" >= 1905 AND "year" <= 1921
### Instruction: CREATE TABLE table_1289762_1 ( s_spoilt_vote INTEGER, constituency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the smallest possible spoilt vote with the s r-tr ndelag constituency. ### Response:
SELECT MIN(s_spoilt_vote) FROM table_1289762_1 WHERE constituency = "Sør-Trøndelag"
### Instruction: CREATE TABLE table_75194 ( "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 is the average number of field goals for players with more than 60 po...
SELECT AVG("Field goals") FROM table_75194 WHERE "Points" > '60'
### 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. -- what is the longest track in terms of time ? ### Response:
SELECT "title" FROM table_203_353 ORDER BY "time" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_633 ( id number, "title" text, "year" number, "platform" text, "developer" text, "publisher" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many consecutive games were released in 2006 ? ### Response...
SELECT COUNT("title") FROM table_203_633 WHERE "year" = 2006
### Instruction: CREATE TABLE table_61548 ( "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. -- count the the average Total of ian baker-finch? ### Response:
SELECT AVG("Total") FROM table_61548 WHERE "Player" = 'ian baker-finch'
### Instruction: CREATE TABLE table_1618358_1 ( year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what years are the percentage over total tax revenue is 0.65? ### Response:
SELECT year FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.65"
### Instruction: CREATE TABLE table_37915 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on 16 November 2003? ### Response:
SELECT "Result" FROM table_37915 WHERE "Date" = '16 november 2003'
### Instruction: CREATE TABLE table_29102100_1 ( title VARCHAR, directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode directed by Rich Correll and written by Dennis Rinsler? ### Response:
SELECT title FROM table_29102100_1 WHERE directed_by = "Rich Correll" AND written_by = "Dennis Rinsler"
### Instruction: CREATE TABLE table_28147 ( "Total #" real, "Series #" real, "Title" text, "Director" text, "Writer(s)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the director of 'new girls'? ### Response:
SELECT "Director" FROM table_28147 WHERE "Title" = 'New Girls'
### Instruction: CREATE TABLE table_64426 ( "Player" text, "Original Season" text, "Gender" text, "Eliminated" text, "Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the original season in 11th place? ### Response:
SELECT "Original Season" FROM table_64426 WHERE "Placing" = '11th place'
### Instruction: CREATE TABLE table_46974 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Year was the Game on September 26? ### Response:
SELECT SUM("Year") FROM table_46974 WHERE "Date" = 'september 26'
### Instruction: CREATE TABLE table_203_700 ( id number, "year" number, "species" text, "height" text, "location grown" text, "state" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- each of the species average 65 feet ### Resp...
SELECT "species" FROM table_203_700 WHERE "height" = 65
### Instruction: CREATE TABLE table_53199 ( "Player" text, "Car." real, "Yards" text, "Avg." text, "TD's" real, "Long" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many carries for the player with a 2 yard long? ### Response:
SELECT COUNT("Car.") FROM table_53199 WHERE "Long" = '2'
### Instruction: CREATE TABLE table_30269 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the player who was drafted by Calgary go to? ### Response:
SELECT "College" FROM table_30269 WHERE "CFL Team" = 'Calgary'
### Instruction: CREATE TABLE table_24212608_1 ( radio_1_presenter VARCHAR, viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the radio 1 presenter for the broadcast that had 9.73 million viewers? ### Response:
SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73"
### Instruction: CREATE TABLE table_881 ( "Position" real, "Artist" text, "Song title" text, "Highest position" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many artbeingt with song title being ' save the last dance for me ###...
SELECT COUNT("Artist") FROM table_881 WHERE "Song title" = ' Save the Last Dance for Me '
### Instruction: CREATE TABLE table_50855 ( "Internet Plan" text, "Downstream" text, "Upstream" text, "Bandwidth Included" text, "Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Internet Plan, when Price is '22 EUR'? ### Response:
SELECT "Internet Plan" FROM table_50855 WHERE "Price" = '22 eur'
### Instruction: CREATE TABLE table_42707 ( "Team" text, "Stadium" text, "Capacity" real, "Opened" real, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest opened year of the team in Glasgow, Scotland? ### Response:
SELECT MAX("Opened") FROM table_42707 WHERE "City" = 'glasgow, scotland'
### Instruction: CREATE TABLE table_13956521_2 ( writer_s_ VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the writer(s) with original airdate being february 7, 2001 ### Response:
SELECT writer_s_ FROM table_13956521_2 WHERE original_airdate = "February 7, 2001"
### Instruction: CREATE TABLE player ( player_id VARCHAR ) CREATE TABLE all_star ( player_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are first and last names of players participating in all star game in 1998? ### Response:
SELECT name_first, name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998
### Instruction: CREATE TABLE table_name_95 ( rank INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank of a nation with fewer than 3 gold medals, more than 2 bronze medals, and 0 silver...
SELECT MIN(rank) FROM table_name_95 WHERE gold < 3 AND silver = 0 AND bronze > 2
### Instruction: CREATE TABLE table_17359181_1 ( points_2 INTEGER, goal_average_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest value for Points 2 when the goal average 1 is 0.65? ### Response:
SELECT MAX(points_2) FROM table_17359181_1 WHERE goal_average_1 = "0.65"
### Instruction: CREATE TABLE table_2146364_2 ( third_place INTEGER, city_ VARCHAR, _nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of third place finishes when the city & nation was Vancouver, Canada? ### Response:
SELECT MIN(third_place) FROM table_2146364_2 WHERE city_ & _nation = "Vancouver, Canada"
### Instruction: CREATE TABLE table_66636 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average draws for the song 'Europe is My Home!'? ### Response:
SELECT AVG("Draw") FROM table_66636 WHERE "Song" = 'europe is my home!'
### Instruction: CREATE TABLE table_name_39 ( gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Operational? ### Respo...
SELECT gauge FROM table_name_39 WHERE status = "operational" AND owner = "aurizon" AND locomotive = "g534"
### Instruction: CREATE TABLE table_203_577 ( id number, "tenure" text, "coach" text, "years" number, "record" text, "pct." number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only coach to serve for only six years ? ### Response:
SELECT "coach" FROM table_203_577 WHERE "years" = 6
### Instruction: CREATE TABLE table_26967904_2 ( f_bolt VARCHAR, p1_diameter__mm_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the f bolt for 11.35 p1 diameter (mm)? ### Response:
SELECT f_bolt FROM table_26967904_2 WHERE p1_diameter__mm_ = "11.35"
### Instruction: CREATE TABLE table_2504 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Language(s)" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for already famous ### Response:
SELECT "Result" FROM table_2504 WHERE "Film title used in nomination" = 'Already Famous'
### Instruction: CREATE TABLE table_32858 ( "Year" text, "US 200" text, "UK Albums" text, "RIAA certification" text, "BPI certification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 15 albums were released in the UK during which year? ### Respon...
SELECT "Year" FROM table_32858 WHERE "UK Albums" = '15'
### Instruction: CREATE TABLE table_55029 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Did Jason Pennycooke win the award he was nominated for? ### Response:
SELECT "Result" FROM table_55029 WHERE "Nominee" = 'jason pennycooke'
### Instruction: CREATE TABLE table_10280 ( "Driver" text, "Constructor" text, "Laps" real, "Time/retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the Laps for time/retired of +8 laps ### Response:
SELECT "Laps" FROM table_10280 WHERE "Time/retired" = '+8 laps'
### Instruction: CREATE TABLE table_59461 ( "Club" text, "Coach" text, "City" text, "Stadium" text, "2007-2008 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the coach for qadsia? ### Response:
SELECT "Coach" FROM table_59461 WHERE "Club" = 'qadsia'
### Instruction: CREATE TABLE table_23414 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the air date for uk17 ### Response:
SELECT "Original air date" FROM table_23414 WHERE "No. overall" = 'UK17'
### Instruction: CREATE TABLE table_34769 ( "Title" text, "Translation" text, "Lyricist" text, "Composer" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has a translation in it of 1000 lies? ### Response:
SELECT "Title" FROM table_34769 WHERE "Translation" = '1000 lies'
### Instruction: CREATE TABLE table_name_41 ( years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state? ### Re...
SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana state"
### Instruction: CREATE TABLE table_204_240 ( id number, "name" text, "current use" text, "completed" text, "namesake" text, "info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many buildings on the list are chapels ? ### Response:
SELECT COUNT("name") FROM table_204_240 WHERE "current use" = 'chapel'
### Instruction: CREATE TABLE table_204_376 ( id number, "date" text, "venue" text, "opponents" text, "score" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has guam been an opponent ? ### Response:
SELECT COUNT(*) FROM table_204_376 WHERE "opponents" = 'guam'
### Instruction: CREATE TABLE table_17070 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE HOMETOWN OF TONY STEWARD? ### Response:
SELECT "Hometown" FROM table_17070 WHERE "Player" = 'Tony Steward'
### Instruction: CREATE TABLE table_2624098_1 ( english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different meanings does Wednesday have? ### Response:
SELECT COUNT(english_day_name_meaning) FROM table_2624098_1 WHERE modern_english_day_name = "Wednesday"
### Instruction: CREATE TABLE table_203_864 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which two players tied for first place ? ### ...
SELECT "player" FROM table_203_864 WHERE "place" = 1
### Instruction: CREATE TABLE table_3974 ( "Winners" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Losers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the aggregate score for the match won by Viadana? ### Re...
SELECT "Aggregate score" FROM table_3974 WHERE "Winners" = 'Viadana'
### Instruction: CREATE TABLE table_name_14 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359? ### Response:
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359
### Instruction: CREATE TABLE table_66263 ( "Event" text, "Performance" text, "Athlete" text, "Nation" text, "Place" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the performance of Dire Tune? ### Response:
SELECT "Performance" FROM table_66263 WHERE "Athlete" = 'dire tune'
### Instruction: CREATE TABLE table_48521 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Date is December 23? ### Response:
SELECT "Score" FROM table_48521 WHERE "Date" = 'december 23'
### Instruction: CREATE TABLE table_509 ( "Institution" text, "Main Campus Location" text, "Founded" real, "Mascot" text, "School Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the instition where the main campus location is overland...
SELECT "Institution" FROM table_509 WHERE "Main Campus Location" = 'Overland Park'
### Instruction: CREATE TABLE table_name_75 ( bronze INTEGER, silver VARCHAR, gold VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average bronze when gold is more than 0, the nation is greece and silver is less than 0? #...
SELECT AVG(bronze) FROM table_name_75 WHERE gold > 0 AND nation = "greece" AND silver < 0
### Instruction: CREATE TABLE table_4562 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator(s)" text, "Sideline reporter(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What network is working in 2014? ### Response:
SELECT "Network" FROM table_4562 WHERE "Year" = '2014'
### Instruction: CREATE TABLE table_50892 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team raced at Amaroo Park? ### Response:
SELECT "Team" FROM table_50892 WHERE "Circuit" = 'amaroo park'
### Instruction: CREATE TABLE table_9929 ( "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 IS THE DATE WITH AN AWAY TEAM OF WORKINGTON? ### Response:
SELECT "Date" FROM table_9929 WHERE "Away team" = 'workington'
### Instruction: CREATE TABLE table_203_788 ( id number, "year" number, "author" text, "illustrator" text, "title" text, "publisher" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which illustrator was responsible for the last award winner ? #...
SELECT "illustrator" FROM table_203_788 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_26428602_1 ( ε__m_−1_cm_−1__ VARCHAR, color VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the (m 1 cm 1 ) of the orange flourescent dye? ### Response:
SELECT ε__m_−1_cm_−1__ FROM table_26428602_1 WHERE color = "orange"
### Instruction: CREATE TABLE table_6688 ( "207." real, "3 March" text, "Friendly" text, "Belgium" text, "Croatia" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Friendly has a 3 March of 17 november? ### Response:
SELECT "Friendly" FROM table_6688 WHERE "3 March" = '17 november'
### Instruction: CREATE TABLE table_79892 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Nominating festival was party of the adjustment film? ### Respo...
SELECT "Nominating Festival" FROM table_79892 WHERE "Film" = 'adjustment'
### Instruction: CREATE TABLE table_67597 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Spain had what time with lanes smaller than 4? ### Response:
SELECT "Time" FROM table_67597 WHERE "Lane" < '4' AND "Nationality" = 'spain'
### Instruction: CREATE TABLE table_36548 ( "Year" real, "Title" text, "Format" text, "Label" text, "Catalogno" text, "Remark" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Catalogno was #160 us? ### Response:
SELECT "Catalogno" FROM table_36548 WHERE "Remark" = '#160 us'
### Instruction: CREATE TABLE table_23697 ( "County" text, "McCain #" real, "McCain %" text, "Obama #" real, "Obama %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the obama # in carson city ### Response:
SELECT "Obama #" FROM table_23697 WHERE "County" = 'Carson City'
### Instruction: CREATE TABLE table_name_74 ( games_lost INTEGER, points_against VARCHAR, points_difference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Games lost has Points against of 61, and Points difference smaller than 42? ### Response:
SELECT SUM(games_lost) FROM table_name_74 WHERE points_against = 61 AND points_difference < 42
### Instruction: CREATE TABLE table_6803 ( "Round" text, "Year" real, "Team" text, "Opponent" text, "Goals" real, "Behinds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Round with 1 Behinds? ### Response:
SELECT "Round" FROM table_6803 WHERE "Behinds" = '1'
### Instruction: CREATE TABLE table_12929 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year(s) won with a To par of 12? ### Response:
SELECT "Year(s) won" FROM table_12929 WHERE "To par" = '12'
### Instruction: CREATE TABLE table_32995 ( "Player" text, "Nationality" text, "Position" text, "From" text, "School/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school added a player to the Lakers in 1948? ### Response:
SELECT "School/Country" FROM table_32995 WHERE "From" = '1948'
### Instruction: CREATE TABLE table_38496 ( "Number" real, "Station" text, "Japanese" text, "Distance (km)" real, "Stop" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the distance of Kawage station? ### Response:
SELECT SUM("Distance (km)") FROM table_38496 WHERE "Station" = 'kawage'