instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which Joined has a Nickname of knights, and an Enrollment larger than 2,960?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (joined INTEGER, nickname VARCHAR, enrollment VARCHAR)
SELECT SUM(joined) FROM table_name_61 WHERE nickname = "knights" AND enrollment > 2 OFFSET 960
Write a SQL query that answers the following question: Which Nickname has an Enrollment smaller than 501, and a Location of clarkesville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (nickname VARCHAR, enrollment VARCHAR, location VARCHAR)
SELECT nickname FROM table_name_37 WHERE enrollment < 501 AND location = "clarkesville"
Write a SQL query that answers the following question: Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR)
SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284
Write a SQL query that answers the following question: What is Away Team Score, when Ground is Optus Oval, and when Away Team is Fremantle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR)
SELECT away_team AS score FROM table_name_65 WHERE ground = "optus oval" AND away_team = "fremantle"
Write a SQL query that answers the following question: What is Away Team, when Ground is Colonial Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (away_team VARCHAR, ground VARCHAR)
SELECT away_team FROM table_name_19 WHERE ground = "colonial stadium"
Write a SQL query that answers the following question: A score of 71-71=142 earned what place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_11 WHERE score = 71 - 71 = 142
Write a SQL query that answers the following question: What was José María Olazábal's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_68 WHERE player = "josé maría olazábal"
Write a SQL query that answers the following question: What team was the opponent on October 15, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_66 WHERE date = "october 15, 1967"
Write a SQL query that answers the following question: What was the lowest attendance when the Green Bay Packers played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (attendance INTEGER, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_31 WHERE opponent = "green bay packers"
Write a SQL query that answers the following question: What was the week number when a game was played on November 19, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_15 WHERE date = "november 19, 1967"
Write a SQL query that answers the following question: If a team has a grid of over 8 with less than 4 points, what's the team name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (team VARCHAR, grid VARCHAR, points VARCHAR)
SELECT team FROM table_name_31 WHERE grid > 8 AND points < 4
Write a SQL query that answers the following question: When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (team VARCHAR, driver VARCHAR, laps VARCHAR, points VARCHAR)
SELECT team FROM table_name_43 WHERE laps = 90 AND points < 19 AND driver = "patrick carpentier"
Write a SQL query that answers the following question: What was the score where the total points was 50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (score VARCHAR, total_points VARCHAR)
SELECT score FROM table_name_34 WHERE total_points = 50
Write a SQL query that answers the following question: For the match that had detail of 2001 nrl grand final, what was the lowest total points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR)
SELECT MIN(total_points) FROM table_name_73 WHERE details = "2001 nrl grand final"
Write a SQL query that answers the following question: Which average Game has a High points of wilson chandler (16)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (game INTEGER, high_points VARCHAR)
SELECT AVG(game) FROM table_name_7 WHERE high_points = "wilson chandler (16)"
Write a SQL query that answers the following question: Which Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson chandler (8)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)
SELECT score FROM table_name_71 WHERE game > 76 AND location_attendance = "madison square garden 19,763" AND high_rebounds = "wilson chandler (8)"
Write a SQL query that answers the following question: Which Team has a Record of 32–50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (team VARCHAR, record VARCHAR)
SELECT team FROM table_name_24 WHERE record = "32–50"
Write a SQL query that answers the following question: Which Date has a Record of 29–47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_4 WHERE record = "29–47"
Write a SQL query that answers the following question: Which Date has a Location Attendance of madison square garden 19,763, and a High rebounds of david lee (12)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_99 WHERE location_attendance = "madison square garden 19,763" AND high_rebounds = "david lee (12)"
Write a SQL query that answers the following question: Which Record has a Score of w 107–102 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_3 WHERE score = "w 107–102 (ot)"
Write a SQL query that answers the following question: Which Team has a Location Attendance of fedexforum 11,731?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_4 WHERE location_attendance = "fedexforum 11,731"
Write a SQL query that answers the following question: Which Record has a Score of l 97–99 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_88 WHERE score = "l 97–99 (ot)"
Write a SQL query that answers the following question: What is game 34's record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_11 WHERE game = 34
Write a SQL query that answers the following question: What were the high assist on january 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_61 WHERE date = "january 2"
Write a SQL query that answers the following question: Who was the director that had a film titled "Floating Life"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life"
Write a SQL query that answers the following question: Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (played VARCHAR, drawn VARCHAR, position VARCHAR, points VARCHAR)
SELECT COUNT(played) FROM table_name_60 WHERE position > 5 AND points = 11 AND drawn < 1
Write a SQL query that answers the following question: Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR)
SELECT MAX(played) FROM table_name_36 WHERE points > 11 AND lost > 7
Write a SQL query that answers the following question: What was Dave Hill's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_85 WHERE player = "dave hill"
Write a SQL query that answers the following question: What is the to par of Al Mengert of the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_73 WHERE country = "united states" AND player = "al mengert"
Write a SQL query that answers the following question: What is the score of T5 place in the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_67 WHERE country = "united states" AND place = "t5"
Write a SQL query that answers the following question: Who was the player from the United States in T10 place with a score of 67-77=144?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_1 WHERE country = "united states" AND place = "t10" AND score = 67 - 77 = 144
Write a SQL query that answers the following question: What was Billy Casper's to par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_51 WHERE player = "billy casper"
Write a SQL query that answers the following question: What is the sum of Wins, when Played is less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (wins INTEGER, played INTEGER)
SELECT SUM(wins) FROM table_name_42 WHERE played < 5
Write a SQL query that answers the following question: What is the highest Wins, when Rank is greater than 2, and when Played is less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, played VARCHAR)
SELECT MAX(wins) FROM table_name_75 WHERE rank > 2 AND played < 5
Write a SQL query that answers the following question: What is the sum of Wins, when Team is Sweden, and when Played is less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (wins INTEGER, team VARCHAR, played VARCHAR)
SELECT SUM(wins) FROM table_name_79 WHERE team = "sweden" AND played < 5
Write a SQL query that answers the following question: What is the highest Points, when Played is greater than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (points INTEGER, played INTEGER)
SELECT MAX(points) FROM table_name_30 WHERE played > 5
Write a SQL query that answers the following question: What is the average Ties, when Played is greater than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (ties INTEGER, played INTEGER)
SELECT AVG(ties) FROM table_name_68 WHERE played > 5
Write a SQL query that answers the following question: What is Date, when Runner(s)-Up is Oliver Wilson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_71 WHERE runner_s__up = "oliver wilson"
Write a SQL query that answers the following question: What is Date, when Margin Of Victory is 4 Strokes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_1 WHERE margin_of_victory = "4 strokes"
Write a SQL query that answers the following question: What is Runner(s)-up, when Date is 21 Jan 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (runner_s__up VARCHAR, date VARCHAR)
SELECT runner_s__up FROM table_name_47 WHERE date = "21 jan 2007"
Write a SQL query that answers the following question: What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_5 WHERE margin_of_victory = "1 stroke" AND date = "18 jan 2009"
Write a SQL query that answers the following question: what is the U.S. senate when the year is after 2002 and the party is working families?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (us_senate VARCHAR, year VARCHAR, party VARCHAR)
SELECT us_senate FROM table_name_80 WHERE year > 2002 AND party = "working families"
Write a SQL query that answers the following question: How many times what the comptroller alan hevesi and the party working families?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR)
SELECT COUNT(year) FROM table_name_78 WHERE comptroller = "alan hevesi" AND party = "working families"
Write a SQL query that answers the following question: What is the highest number of points of the game in Conseco fieldhouse 7,134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)
SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"
Write a SQL query that answers the following question: What is the highest number of rebounds of the game with a 6-14 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_name_53 WHERE record = "6-14"
Write a SQL query that answers the following question: Can you tell me the Record that has the Visitor of pittsburgh, and the Points smaller than 27, and the Home of boston?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (record VARCHAR, home VARCHAR, visitor VARCHAR, points VARCHAR)
SELECT record FROM table_name_21 WHERE visitor = "pittsburgh" AND points < 27 AND home = "boston"
Write a SQL query that answers the following question: Can you tell me the average Points that has the Attendance of 3,806?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (points INTEGER, attendance VARCHAR)
SELECT AVG(points) FROM table_name_42 WHERE attendance = 3 OFFSET 806
Write a SQL query that answers the following question: Which opponent had 38,642 attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_69 WHERE attendance = "38,642"
Write a SQL query that answers the following question: What date had 51,265 attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_84 WHERE attendance = "51,265"
Write a SQL query that answers the following question: When 7th place, what is the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, place VARCHAR)
SELECT date FROM table_name_45 WHERE place = "7th"
Write a SQL query that answers the following question: What is the score of game 34?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_3 WHERE game = 34
Write a SQL query that answers the following question: What is the record of game 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_97 WHERE game = 33
Write a SQL query that answers the following question: What is the Country, when Place is "T4", and when Player is "Scott Simpson"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_64 WHERE place = "t4" AND player = "scott simpson"
Write a SQL query that answers the following question: What is To Par, when Score is 70, and when Player is "Craig Stadler"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (to_par VARCHAR, score VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_98 WHERE score = 70 AND player = "craig stadler"
Write a SQL query that answers the following question: What is Player, when Score is less than 69, and when Country is "United States"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR)
SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states"
Write a SQL query that answers the following question: Who was the writer that the director was Alice Troughton and the producer was Phil Collinson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (writer VARCHAR, producer VARCHAR, director VARCHAR)
SELECT writer FROM table_name_89 WHERE producer = "phil collinson" AND director = "alice troughton"
Write a SQL query that answers the following question: What is the location and attendance after game 2, and the team New Orleans?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_99 WHERE game > 2 AND team = "new orleans"
Write a SQL query that answers the following question: What is Teleplay, when Season is greater than 1.1, and when First Broadcast is "February 20, 1981"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (teleplay VARCHAR, season VARCHAR, first_broadcast VARCHAR)
SELECT teleplay FROM table_name_37 WHERE season > 1.1 AND first_broadcast = "february 20, 1981"
Write a SQL query that answers the following question: What is Title, when Season is less than 1.8, and when First Broadcast is March 6, 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (title VARCHAR, season VARCHAR, first_broadcast VARCHAR)
SELECT title FROM table_name_2 WHERE season < 1.8 AND first_broadcast = "march 6, 1981"
Write a SQL query that answers the following question: What is Director, when Season is 1.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (director VARCHAR, season VARCHAR)
SELECT director FROM table_name_11 WHERE season = 1.4
Write a SQL query that answers the following question: What is Teleplay, when Director is "George McCowan", when Season is less than 1.1400000000000001, and when First Broadcast is April 3, 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (teleplay VARCHAR, first_broadcast VARCHAR, director VARCHAR, season VARCHAR)
SELECT teleplay FROM table_name_24 WHERE director = "george mccowan" AND season < 1.1400000000000001 AND first_broadcast = "april 3, 1981"
Write a SQL query that answers the following question: What is the average Season, when First Broadcast is January 23, 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (season INTEGER, first_broadcast VARCHAR)
SELECT AVG(season) FROM table_name_14 WHERE first_broadcast = "january 23, 1981"
Write a SQL query that answers the following question: What is Teleplay, when First Broadcast is April 10, 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (teleplay VARCHAR, first_broadcast VARCHAR)
SELECT teleplay FROM table_name_57 WHERE first_broadcast = "april 10, 1981"
Write a SQL query that answers the following question: What the H/A when the opponent is the Bohemians?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (h___a VARCHAR, opponents VARCHAR)
SELECT h___a FROM table_name_25 WHERE opponents = "bohemians"
Write a SQL query that answers the following question: What is the attendance when Cork City is the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)
SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"
Write a SQL query that answers the following question: What is the H/A when Cork City is the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (h___a VARCHAR, opponents VARCHAR)
SELECT h___a FROM table_name_53 WHERE opponents = "cork city"
Write a SQL query that answers the following question: What is the H/A on 5 August 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (h___a VARCHAR, date VARCHAR)
SELECT h___a FROM table_name_46 WHERE date = "5 august 1990"
Write a SQL query that answers the following question: What is the result F-A on 5 August 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (result_f___a VARCHAR, date VARCHAR)
SELECT result_f___a FROM table_name_70 WHERE date = "5 august 1990"
Write a SQL query that answers the following question: What is the value for internal floppy disk with s-100 slots greater than 8 introduced earlier than 1978?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (internal_floppy_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)
SELECT internal_floppy_disk FROM table_name_19 WHERE s_100_slots > 8 AND year_introduced < 1978
Write a SQL query that answers the following question: Which system introduced earlier than 1981 has an internal hard disk of 11 megabytes and less than 21 s-100 slots?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (system VARCHAR, internal_hard_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)
SELECT system FROM table_name_47 WHERE s_100_slots < 21 AND year_introduced < 1981 AND internal_hard_disk = "11 megabytes"
Write a SQL query that answers the following question: What college did Marcus Wilson attend?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_45 WHERE player = "marcus wilson"
Write a SQL query that answers the following question: Who is the player that attended Notre Dame with a pick smaller than 304?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame"
Write a SQL query that answers the following question: What college did Leon Perry attend?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_93 WHERE player = "leon perry"
Write a SQL query that answers the following question: What NFL team did the Tight End position belong to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nfl_team VARCHAR, position VARCHAR)
SELECT nfl_team FROM table_name_62 WHERE position = "tight end"
Write a SQL query that answers the following question: What is the total number of weeks that the buffalo bills played against the San Diego Chargers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_49 WHERE opponent = "san diego chargers"
Write a SQL query that answers the following question: What is the attendance of the game that had a date listed as Bye?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_76 WHERE date = "bye"
Write a SQL query that answers the following question: How many weeks were there games with 41,384 fans in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_48 WHERE attendance = "41,384"
Write a SQL query that answers the following question: What is the lowest week number that had a game on December 3, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_97 WHERE date = "december 3, 1967"
Write a SQL query that answers the following question: What was the result of the game that had 20,627 fans in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_79 WHERE attendance = "20,627"
Write a SQL query that answers the following question: Who is the rider with 22 laps and a +19.435 time/retired?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT rider FROM table_name_86 WHERE laps = "22" AND time_retired = "+19.435"
Write a SQL query that answers the following question: What is the grid with a yamaha manufacturer and a +19.435 time/retired?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435"
Write a SQL query that answers the following question: What is the grid of rider shinya nakano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (grid VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_28 WHERE rider = "shinya nakano"
Write a SQL query that answers the following question: Who is the rider with 22 laps and a +1:44.775 time/retired?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT rider FROM table_name_70 WHERE laps = "22" AND time_retired = "+1:44.775"
Write a SQL query that answers the following question: What is the manufacturer with a 14 grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_13 WHERE grid = "14"
Write a SQL query that answers the following question: Who is the rider with a yamaha manufacturer and a 17 grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_21 WHERE manufacturer = "yamaha" AND grid = "17"
Write a SQL query that answers the following question: What is the total of attendance at Venue h when Auxerre were playing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre"
Write a SQL query that answers the following question: Which vehicle failed at launch?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (vehicle VARCHAR, ceased_operation VARCHAR)
SELECT vehicle FROM table_name_34 WHERE ceased_operation = "failed at launch"
Write a SQL query that answers the following question: What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR)
SELECT notes FROM table_name_82 WHERE vehicle = "scout x-4" AND ceased_operation = "june 1971"
Write a SQL query that answers the following question: What was the ceased operation with a launch date of August 8, 1968?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (ceased_operation VARCHAR, launched VARCHAR)
SELECT ceased_operation FROM table_name_86 WHERE launched = "august 8, 1968"
Write a SQL query that answers the following question: What was the ceased operation that launched June 29, 1961?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR)
SELECT ceased_operation FROM table_name_5 WHERE launched = "june 29, 1961"
Write a SQL query that answers the following question: What place in the United States having a score of 67-75-68=210?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_10 WHERE country = "united states" AND score = 67 - 75 - 68 = 210
Write a SQL query that answers the following question: What country is in T4 place having a score of 66-71-72=209?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_46 WHERE place = "t4" AND score = 66 - 71 - 72 = 209
Write a SQL query that answers the following question: What place is the United States in that has a score of 68-73-68=209?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209
Write a SQL query that answers the following question: Who is the player from the United States in T4 place with a score of 68-73-68=209?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_77 WHERE country = "united states" AND place = "t4" AND score = 68 - 73 - 68 = 209
Write a SQL query that answers the following question: How many played when lost is more than 17, drawn is 15 and goals against is less than 75?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR)
SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 75
Write a SQL query that answers the following question: what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR)
SELECT SUM(position) FROM table_name_88 WHERE lost < 14 AND goal_difference = "+1" AND drawn > 15
Write a SQL query that answers the following question: How many lost when goals for is 43 and the position number is higher than 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR)
SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 15
Write a SQL query that answers the following question: What was the score of the game against Charlotte?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_42 WHERE team = "charlotte"
Write a SQL query that answers the following question: Who had the high assists in the game against Memphis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_13 WHERE team = "memphis"
Write a SQL query that answers the following question: Who was the home team when Boston is the road team in game 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_89 WHERE road_team = "boston" AND game = "game 4"