answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"
CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR)
What is the smallest grid for driver of juan pablo montoya?
SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR)
What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
SELECT chinese_title FROM table_name_91 WHERE premiere = 31
CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR)
What is the Chinese title with a premiere rating of 31?
SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά" AND peak < 41
CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR)
What is the premiere rating for a Chinese title of ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά, and a Peak smaller than 41?
SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR)
What is the premiere rating associated with an average of 35 ranked above 1?
SELECT date FROM table_name_21 WHERE venue = "arden street oval"
CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR)
When was there a game at Arden Street Oval?
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
How big was the crowd when Richmond was the away team?
SELECT away_team FROM table_name_89 WHERE venue = "arden street oval"
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
Which away team plays at Arden Street Oval?
SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)
How many fans were at Essendon?
SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"
CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR)
On 11 July 2003, which athlete performed?
SELECT away_team FROM table_name_27 WHERE home_team = "luton town"
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
What was the away team that played luton town?
SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = "r 20"
CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR)
Name the D 45 √ when it has D 41√ of r 20
SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18"
CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR)
Name the D 41 √ when it has D 43 √ of r 18
SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @"
CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR)
Name the D 49 √ for when D 46 √ of i 1 @
SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
CREATE TABLE table_name_89 (d_43_√ VARCHAR, d_46_√ VARCHAR)
Name the D 43 √ when it has D 46 √ of d 26
SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
CREATE TABLE table_name_93 (d_44_√ VARCHAR, d_41_√ VARCHAR)
Name the D 44 √ for when it has D 41 √ of r 41 +
SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
Name the D 42 √ for when it has D 49 √ of r 12
SELECT goals FROM table_name_5 WHERE score = "26-28"
CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR)
What were the goals in the game with the 26-28 final score?
SELECT score FROM table_name_60 WHERE date = "19/3/00"
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
What was the score of the game on 19/3/00?
SELECT competition FROM table_name_47 WHERE date = "17/9/00"
CREATE TABLE table_name_47 (competition VARCHAR, date VARCHAR)
Which competition was on 17/9/00?
SELECT competition FROM table_name_64 WHERE score = "58-4"
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
Which competition ended with a score of 58-4?
SELECT venue FROM table_name_92 WHERE score = "30-20"
CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)
Where was the game that had a final score of 30-20?
SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "8-8"
CREATE TABLE table_name_72 (date VARCHAR, venue VARCHAR, score VARCHAR)
When was the game at the boulevard that ended with an 8-8 score?
SELECT report FROM table_name_82 WHERE date = "6 may"
CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR)
Name the report for 6 may
SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"
CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR)
Tell me the report with winner of louis wagner
SELECT report FROM table_name_16 WHERE name = "cuban race"
CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR)
Name the report with cuban race
SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Name the circuit for darracq and name of cuban race
SELECT winning_driver FROM table_name_15 WHERE circuit = "havana"
CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR)
Name the winning driver for havana
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR)
What is the home team's score when st kilda is away?
SELECT decision FROM table_name_62 WHERE visitor = "montreal"
CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR)
No Decision listed above has a visitor of Montreal.
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)
On December 4, Tampa Bay has a record of 12-13-2.
SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR)
What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
How many airlines have the star alliance and are in brazil?
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
What was Rut's Slovenes percentage in 1991?
SELECT status FROM table_name_33 WHERE unit = "hamaoka-3"
CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR)
What is the status of the Hamaoka-3 unit?
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR)
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)
When was commercial operation where construction started June 10, 1971?
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
What is the gross capacity where the reactor is ABWR type?
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4"
CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR)
When was the Hamaoka-4 unit commercial operation date?
SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"
CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR)
What is the status of the unit with a net capacity of 1212 MW?
SELECT school FROM table_name_32 WHERE player = "rodney purvis"
CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)
Which school did player Rodney Purvis belong to?
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)
What was the NBA draft status for Northeast High School?
SELECT player FROM table_name_82 WHERE college = "baylor"
CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR)
Which players college was Baylor?
SELECT college FROM table_name_64 WHERE player = "alex poythress"
CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR)
What was the college for Alex Poythress?
SELECT height FROM table_name_78 WHERE player = "alex poythress"
CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR)
What is Alex Poythress height?
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR)
What was Allison Fouch score in the year larger than 2000?
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
How many release dates have a Country of west germany, and a Release format of vinyl?
SELECT label FROM table_name_31 WHERE country = "spain"
CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)
Which label is from Spain?
SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR)
What's the save when the loss was santiago (2–2)?
SELECT season FROM table_name_84 WHERE position = "2nd"
CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR)
Which season was 2nd position?
SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th"
CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR)
What's the value for played when the division is nbl div2 with 12th position?
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR)
What's the points when the division is ebl div1 with 22 played?
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)
What's the value for played when points is 8 and position is 11th?
SELECT driver FROM table_name_45 WHERE grid = 13
CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR)
Who was driving with a Grid of 13?
SELECT SUM(grid) FROM table_name_5 WHERE laps < 6
CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER)
For Laps smaller than 6, what does the Grid add up to?
SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR)
What is the report status of Hockenheimring circuit?
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position?
SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap?
SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"
CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
How much time does it take for jean alesi and grids lesser than 5?
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
What is the low grid for gerhard berger for laps over 56?
SELECT driver FROM table_name_42 WHERE grid = 13
CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR)
If the grid is 13 who is driving?
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)
What is the purse total for the royal caribbean golf classic?
SELECT title FROM table_name_52 WHERE length = "3:38"
CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
Which title is 3:38 long?
SELECT title FROM table_name_37 WHERE length = "3:43"
CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR)
Which title is 3:43 long?
SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR)
What Dance has the Visual Arts of Bryon Kim?
SELECT dance FROM table_name_55 WHERE year = 2004
CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR)
In 2004, what is the Dance?
SELECT artist FROM table_name_52 WHERE draw = 1
CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR)
What artist had 1 draw?
SELECT iata FROM table_name_28 WHERE city = "jeddah"
CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR)
Name the IATA for jeddah
SELECT iata FROM table_name_80 WHERE city = "jessore"
CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR)
Name the IATA for jessore
SELECT city FROM table_name_97 WHERE country = "thailand"
CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR)
Name the city for thailand
SELECT iata FROM table_name_20 WHERE icao = "wmkk"
CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR)
Name the IATA of wmkk
SELECT date FROM table_name_88 WHERE away_team = "carlton"
CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR)
When did the away team carlton play?
SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR)
Which constructor is from ITA with a rank less than 13?
SELECT opponent FROM table_name_25 WHERE week = 4
CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR)
Who was the opponent in the Week 4 game?
SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)
Who are the co-drivers before 2010 with under 326 laps?
SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR)
Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF?
SELECT MAX(laps) FROM table_name_24 WHERE time_retired = "+2 laps" AND driver = "felice bonetto"
CREATE TABLE table_name_24 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto
SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"
CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident
SELECT album FROM table_name_45 WHERE year > 2007
CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)
Name the album for years after 2007
SELECT score FROM table_name_33 WHERE date = "october 17, 2007"
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
What was the score on october 17, 2007?
SELECT competition FROM table_name_71 WHERE score = "3-0"
CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR)
What was the competition for score of 3-0
SELECT date FROM table_name_93 WHERE turkey_scorers = "nihat kahveci"
CREATE TABLE table_name_93 (date VARCHAR, turkey_scorers VARCHAR)
I want the date for nihat kahveci
SELECT MIN(pick__number) FROM table_name_8 WHERE reg_gp < 0
CREATE TABLE table_name_8 (pick__number INTEGER, reg_gp INTEGER)
What is the smallest pick with a Reg GP less than 0?
SELECT COUNT(pick__number) FROM table_name_80 WHERE reg_gp > 0
CREATE TABLE table_name_80 (pick__number VARCHAR, reg_gp INTEGER)
What is the total of pick numbers with a Reg GP larger than 0?
SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud"
CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR)
What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud?
SELECT COUNT(points) FROM table_name_96 WHERE horse = "chippison"
CREATE TABLE table_name_96 (points VARCHAR, horse VARCHAR)
What is the total points when the horse is Chippison?
SELECT total_time___s__ FROM table_name_53 WHERE horse = "pinot grigio"
CREATE TABLE table_name_53 (total_time___s__ VARCHAR, horse VARCHAR)
What is the total time (s) for the horse Pinot Grigio?
SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78"
CREATE TABLE table_name_93 (points INTEGER, time___s__ VARCHAR)
What is the average amount of points when the time (s) is 81.78?
SELECT position FROM table_name_59 WHERE school = "glades day school"
CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)
What is the position of the player from Glades Day School?
SELECT position FROM table_name_78 WHERE college = "notre dame"
CREATE TABLE table_name_78 (position VARCHAR, college VARCHAR)
What is the position of the player who went to college of notre dame?
SELECT school FROM table_name_2 WHERE college = "michigan" AND hometown = "wheaton, illinois"
CREATE TABLE table_name_2 (school VARCHAR, college VARCHAR, hometown VARCHAR)
What is the school of the player who went to the college of michigan and originally comes from Wheaton, Illinois?
SELECT chassis FROM table_name_12 WHERE driver = "otto stuppacher"
CREATE TABLE table_name_12 (chassis VARCHAR, driver VARCHAR)
What Chassis was driven by Otto Stuppacher?
SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13"
CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
Who drove the car with the n175 chassis in round 13?
SELECT chassis FROM table_name_4 WHERE driver = "john watson"
CREATE TABLE table_name_4 (chassis VARCHAR, driver VARCHAR)
What chassis did John Watson drive?
SELECT right_ascension___j2000__ FROM table_name_53 WHERE constellation = "sextans" AND declination___j2000__ = "Β°28β€²01β€³"
CREATE TABLE table_name_53 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, declination___j2000__ VARCHAR)
what is the right ascension (j2000) when the constellation is sextans and the declination (j2000) is Β°28β€²01β€³?
SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s"
CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?
SELECT MAX(ngc_number) FROM table_name_51 WHERE declination___j2000__ = "Β°25β€²26β€³"
CREATE TABLE table_name_51 (ngc_number INTEGER, declination___j2000__ VARCHAR)
what is the highest ngc number when the declination (j2000) is Β°25β€²26β€³?
SELECT home_team AS score FROM table_name_85 WHERE home_team = "collingwood"
CREATE TABLE table_name_85 (home_team VARCHAR)
What is the score for Collingwood as the home team?
SELECT home_team AS score FROM table_name_15 WHERE venue = "princes park"
CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)
What did the home team score at Princes Park?