question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Tell me the sum of rank for australia when points are less than 79
CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR)
SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79
### Context: CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR) ### Question: Tell me the sum of rank for australia when points are less than 79 ### Answer: SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79
How many ships for the nation with grand total of 20?
CREATE TABLE table_name_13 (s_motor_ship___s_naval_trawler VARCHAR, grand_total VARCHAR)
SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20
### Context: CREATE TABLE table_name_13 (s_motor_ship___s_naval_trawler VARCHAR, grand_total VARCHAR) ### Question: How many ships for the nation with grand total of 20? ### Answer: SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20
How many escorts does the nation with 6 cruisers have?
CREATE TABLE table_name_74 (escorts VARCHAR, cruisers VARCHAR)
SELECT escorts FROM table_name_74 WHERE cruisers = "6"
### Context: CREATE TABLE table_name_74 (escorts VARCHAR, cruisers VARCHAR) ### Question: How many escorts does the nation with 6 cruisers have? ### Answer: SELECT escorts FROM table_name_74 WHERE cruisers = "6"
Which address has 44 floors?
CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)
SELECT street_address FROM table_name_70 WHERE floors = 44
### Context: CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR) ### Question: Which address has 44 floors? ### Answer: SELECT street_address FROM table_name_70 WHERE floors = 44
What is the total for the person with 73.28 bodyweight and fewer snatches than 75?
CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
SELECT AVG(total__kg_) FROM table_name_22 WHERE bodyweight = 73.28 AND snatch < 75
### Context: CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR) ### Question: What is the total for the person with 73.28 bodyweight and fewer snatches than 75? ### Answer: SELECT AVG(total__kg_) FROM table_name_22 WHERE bodyweight = 73.28 AND snatch < 75
Which person has a bodyweight of 73.6?
CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR)
SELECT name FROM table_name_15 WHERE bodyweight = 73.6
### Context: CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR) ### Question: Which person has a bodyweight of 73.6? ### Answer: SELECT name FROM table_name_15 WHERE bodyweight = 73.6
What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8?
CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
SELECT AVG(total__kg_) FROM table_name_7 WHERE snatch > 87.5 AND bodyweight > 74.8
### Context: CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) ### Question: What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8? ### Answer: SELECT AVG(total__kg_) FROM table_name_7 WHERE snatch > 87.5 AND bodyweight > 74.8
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5?
CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5
### Context: CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) ### Question: What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5? ### Answer: SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5
Name the home team when the away team was essendon
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_75 WHERE away_team = "essendon"
### Context: CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) ### Question: Name the home team when the away team was essendon ### Answer: SELECT home_team AS score FROM table_name_75 WHERE away_team = "essendon"
Name the away team score for home team of university
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
### Context: CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR) ### Question: Name the away team score for home team of university ### Answer: SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
Name the venue for geelong away team
CREATE TABLE table_name_54 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_54 WHERE away_team = "geelong"
### Context: CREATE TABLE table_name_54 (venue VARCHAR, away_team VARCHAR) ### Question: Name the venue for geelong away team ### Answer: SELECT venue FROM table_name_54 WHERE away_team = "geelong"
Name the venue when the away team was richmond
CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_6 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR) ### Question: Name the venue when the away team was richmond ### Answer: SELECT venue FROM table_name_6 WHERE away_team = "richmond"
Name the away team score for geelong away team
CREATE TABLE table_name_25 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"
### Context: CREATE TABLE table_name_25 (away_team VARCHAR) ### Question: Name the away team score for geelong away team ### Answer: SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"
When the venue was brunswick street oval what was the home teams score?
CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_32 WHERE venue = "brunswick street oval"
### Context: CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR) ### Question: When the venue was brunswick street oval what was the home teams score? ### Answer: SELECT home_team AS score FROM table_name_32 WHERE venue = "brunswick street oval"
How many draws feature artist wendy fierce?
CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR)
SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"
### Context: CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR) ### Question: How many draws feature artist wendy fierce? ### Answer: SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"
What song is later than place 2 and has a draw number of 1?
CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR)
SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1
### Context: CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR) ### Question: What song is later than place 2 and has a draw number of 1? ### Answer: SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1
What day did Collingwood play as the home team?
CREATE TABLE table_name_64 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_64 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_64 (date VARCHAR, home_team VARCHAR) ### Question: What day did Collingwood play as the home team? ### Answer: SELECT date FROM table_name_64 WHERE home_team = "collingwood"
Who was the away team at Princes Park?
CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_26 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at Princes Park? ### Answer: SELECT away_team FROM table_name_26 WHERE venue = "princes park"
Who was Hawthorn's away opponent?
CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_68 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR) ### Question: Who was Hawthorn's away opponent? ### Answer: SELECT away_team FROM table_name_68 WHERE home_team = "hawthorn"
Name the record that has a stream of l1 and score of l 95–111
CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR)
SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111"
### Context: CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR) ### Question: Name the record that has a stream of l1 and score of l 95–111 ### Answer: SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111"
Name the attendance for when the washington wizards was visiting
CREATE TABLE table_name_71 (attendance VARCHAR, visitor VARCHAR)
SELECT attendance FROM table_name_71 WHERE visitor = "washington wizards"
### Context: CREATE TABLE table_name_71 (attendance VARCHAR, visitor VARCHAR) ### Question: Name the attendance for when the washington wizards was visiting ### Answer: SELECT attendance FROM table_name_71 WHERE visitor = "washington wizards"
What is the smallest grid for driver of juan pablo montoya?
CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"
### Context: CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR) ### Question: What is the smallest grid for driver of juan pablo montoya? ### Answer: SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"
What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
### Context: CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR) ### Question: What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda? ### Answer: SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
What is the Chinese title with a premiere rating of 31?
CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR)
SELECT chinese_title FROM table_name_91 WHERE premiere = 31
### Context: CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR) ### Question: What is the Chinese title with a premiere rating of 31? ### Answer: SELECT chinese_title FROM table_name_91 WHERE premiere = 31
What is the premiere rating for a Chinese title of ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά, and a Peak smaller than 41?
CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR)
SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά" AND peak < 41
### Context: CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR) ### Question: What is the premiere rating for a Chinese title of ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά, and a Peak smaller than 41? ### Answer: SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά" AND peak < 41
What is the premiere rating associated with an average of 35 ranked above 1?
CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
### Context: CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR) ### Question: What is the premiere rating associated with an average of 35 ranked above 1? ### Answer: SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
When was there a game at Arden Street Oval?
CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_21 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR) ### Question: When was there a game at Arden Street Oval? ### Answer: SELECT date FROM table_name_21 WHERE venue = "arden street oval"
How big was the crowd when Richmond was the away team?
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR) ### Question: How big was the crowd when Richmond was the away team? ### Answer: SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
Which away team plays at Arden Street Oval?
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_89 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) ### Question: Which away team plays at Arden Street Oval? ### Answer: SELECT away_team FROM table_name_89 WHERE venue = "arden street oval"
How many fans were at Essendon?
CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR) ### Question: How many fans were at Essendon? ### Answer: SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
On 11 July 2003, which athlete performed?
CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR)
SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"
### Context: CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR) ### Question: On 11 July 2003, which athlete performed? ### Answer: SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"
What was the away team that played luton town?
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_27 WHERE home_team = "luton town"
### Context: CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team that played luton town? ### Answer: SELECT away_team FROM table_name_27 WHERE home_team = "luton town"
Name the D 45 √ when it has D 41√ of r 20
CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR)
SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = "r 20"
### Context: CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR) ### Question: Name the D 45 √ when it has D 41√ of r 20 ### Answer: SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = "r 20"
Name the D 41 √ when it has D 43 √ of r 18
CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR)
SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18"
### Context: CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR) ### Question: Name the D 41 √ when it has D 43 √ of r 18 ### Answer: SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18"
Name the D 49 √ for when D 46 √ of i 1 @
CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @"
### Context: CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR) ### Question: Name the D 49 √ for when D 46 √ of i 1 @ ### Answer: SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @"
Name the D 43 √ when it has D 46 √ of d 26
CREATE TABLE table_name_89 (d_43_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
### Context: CREATE TABLE table_name_89 (d_43_√ VARCHAR, d_46_√ VARCHAR) ### Question: Name the D 43 √ when it has D 46 √ of d 26 ### Answer: SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
Name the D 44 √ for when it has D 41 √ of r 41 +
CREATE TABLE table_name_93 (d_44_√ VARCHAR, d_41_√ VARCHAR)
SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
### Context: CREATE TABLE table_name_93 (d_44_√ VARCHAR, d_41_√ VARCHAR) ### Question: Name the D 44 √ for when it has D 41 √ of r 41 + ### Answer: SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
Name the D 42 √ for when it has D 49 √ of r 12
CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
### Context: CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR) ### Question: Name the D 42 √ for when it has D 49 √ of r 12 ### Answer: SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
What were the goals in the game with the 26-28 final score?
CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR)
SELECT goals FROM table_name_5 WHERE score = "26-28"
### Context: CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR) ### Question: What were the goals in the game with the 26-28 final score? ### Answer: SELECT goals FROM table_name_5 WHERE score = "26-28"
What was the score of the game on 19/3/00?
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_60 WHERE date = "19/3/00"
### Context: CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR) ### Question: What was the score of the game on 19/3/00? ### Answer: SELECT score FROM table_name_60 WHERE date = "19/3/00"
Which competition was on 17/9/00?
CREATE TABLE table_name_47 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_47 WHERE date = "17/9/00"
### Context: CREATE TABLE table_name_47 (competition VARCHAR, date VARCHAR) ### Question: Which competition was on 17/9/00? ### Answer: SELECT competition FROM table_name_47 WHERE date = "17/9/00"
Which competition ended with a score of 58-4?
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_64 WHERE score = "58-4"
### Context: CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR) ### Question: Which competition ended with a score of 58-4? ### Answer: SELECT competition FROM table_name_64 WHERE score = "58-4"
Where was the game that had a final score of 30-20?
CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_92 WHERE score = "30-20"
### Context: CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR) ### Question: Where was the game that had a final score of 30-20? ### Answer: SELECT venue FROM table_name_92 WHERE score = "30-20"
When was the game at the boulevard that ended with an 8-8 score?
CREATE TABLE table_name_72 (date VARCHAR, venue VARCHAR, score VARCHAR)
SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "8-8"
### Context: CREATE TABLE table_name_72 (date VARCHAR, venue VARCHAR, score VARCHAR) ### Question: When was the game at the boulevard that ended with an 8-8 score? ### Answer: SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "8-8"
Name the report for 6 may
CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_82 WHERE date = "6 may"
### Context: CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR) ### Question: Name the report for 6 may ### Answer: SELECT report FROM table_name_82 WHERE date = "6 may"
Tell me the report with winner of louis wagner
CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"
### Context: CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR) ### Question: Tell me the report with winner of louis wagner ### Answer: SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"
Name the report with cuban race
CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR)
SELECT report FROM table_name_16 WHERE name = "cuban race"
### Context: CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR) ### Question: Name the report with cuban race ### Answer: SELECT report FROM table_name_16 WHERE name = "cuban race"
Name the circuit for darracq and name of cuban race
CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
### Context: CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR) ### Question: Name the circuit for darracq and name of cuban race ### Answer: SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
Name the winning driver for havana
CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_15 WHERE circuit = "havana"
### Context: CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR) ### Question: Name the winning driver for havana ### Answer: SELECT winning_driver FROM table_name_15 WHERE circuit = "havana"
What is the home team's score when st kilda is away?
CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team's score when st kilda is away? ### Answer: SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
No Decision listed above has a visitor of Montreal.
CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_62 WHERE visitor = "montreal"
### Context: CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR) ### Question: No Decision listed above has a visitor of Montreal. ### Answer: SELECT decision FROM table_name_62 WHERE visitor = "montreal"
On December 4, Tampa Bay has a record of 12-13-2.
CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
### Context: CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR) ### Question: On December 4, Tampa Bay has a record of 12-13-2. ### Answer: SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?
CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR)
SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
### Context: CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR) ### Question: What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance? ### Answer: SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
How many airlines have the star alliance and are in brazil?
CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
### Context: CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR) ### Question: How many airlines have the star alliance and are in brazil? ### Answer: SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
### Context: CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR) ### Question: What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? ### Answer: SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
What was Rut's Slovenes percentage in 1991?
CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
### Context: CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR) ### Question: What was Rut's Slovenes percentage in 1991? ### Answer: SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
What is the status of the Hamaoka-3 unit?
CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR)
SELECT status FROM table_name_33 WHERE unit = "hamaoka-3"
### Context: CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR) ### Question: What is the status of the Hamaoka-3 unit? ### Answer: SELECT status FROM table_name_33 WHERE unit = "hamaoka-3"
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR)
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
### Context: CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR) ### Question: What is the gross capacity of the unit that started commercial operation on August 28, 1987? ### Answer: SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
When was commercial operation where construction started June 10, 1971?
CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)
SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
### Context: CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR) ### Question: When was commercial operation where construction started June 10, 1971? ### Answer: SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
What is the gross capacity where the reactor is ABWR type?
CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
### Context: CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR) ### Question: What is the gross capacity where the reactor is ABWR type? ### Answer: SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
When was the Hamaoka-4 unit commercial operation date?
CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR)
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4"
### Context: CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR) ### Question: When was the Hamaoka-4 unit commercial operation date? ### Answer: SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4"
What is the status of the unit with a net capacity of 1212 MW?
CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR)
SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"
### Context: CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR) ### Question: What is the status of the unit with a net capacity of 1212 MW? ### Answer: SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"
Which school did player Rodney Purvis belong to?
CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_32 WHERE player = "rodney purvis"
### Context: CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR) ### Question: Which school did player Rodney Purvis belong to? ### Answer: SELECT school FROM table_name_32 WHERE player = "rodney purvis"
What was the NBA draft status for Northeast High School?
CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
### Context: CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR) ### Question: What was the NBA draft status for Northeast High School? ### Answer: SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
Which players college was Baylor?
CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_82 WHERE college = "baylor"
### Context: CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR) ### Question: Which players college was Baylor? ### Answer: SELECT player FROM table_name_82 WHERE college = "baylor"
What was the college for Alex Poythress?
CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_64 WHERE player = "alex poythress"
### Context: CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR) ### Question: What was the college for Alex Poythress? ### Answer: SELECT college FROM table_name_64 WHERE player = "alex poythress"
What is Alex Poythress height?
CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR)
SELECT height FROM table_name_78 WHERE player = "alex poythress"
### Context: CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR) ### Question: What is Alex Poythress height? ### Answer: SELECT height FROM table_name_78 WHERE player = "alex poythress"
What was Allison Fouch score in the year larger than 2000?
CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR)
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
### Context: CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR) ### Question: What was Allison Fouch score in the year larger than 2000? ### Answer: SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
How many release dates have a Country of west germany, and a Release format of vinyl?
CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
### Context: CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR) ### Question: How many release dates have a Country of west germany, and a Release format of vinyl? ### Answer: SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
Which label is from Spain?
CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)
SELECT label FROM table_name_31 WHERE country = "spain"
### Context: CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR) ### Question: Which label is from Spain? ### Answer: SELECT label FROM table_name_31 WHERE country = "spain"
What's the save when the loss was santiago (2–2)?
CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR)
SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
### Context: CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR) ### Question: What's the save when the loss was santiago (2–2)? ### Answer: SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
Which season was 2nd position?
CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR)
SELECT season FROM table_name_84 WHERE position = "2nd"
### Context: CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR) ### Question: Which season was 2nd position? ### Answer: SELECT season FROM table_name_84 WHERE position = "2nd"
What's the value for played when the division is nbl div2 with 12th position?
CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR)
SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th"
### Context: CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR) ### Question: What's the value for played when the division is nbl div2 with 12th position? ### Answer: SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th"
What's the points when the division is ebl div1 with 22 played?
CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR)
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
### Context: CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR) ### Question: What's the points when the division is ebl div1 with 22 played? ### Answer: SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
What's the value for played when points is 8 and position is 11th?
CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
### Context: CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR) ### Question: What's the value for played when points is 8 and position is 11th? ### Answer: SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
Who was driving with a Grid of 13?
CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_45 WHERE grid = 13
### Context: CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) ### Question: Who was driving with a Grid of 13? ### Answer: SELECT driver FROM table_name_45 WHERE grid = 13
For Laps smaller than 6, what does the Grid add up to?
CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_5 WHERE laps < 6
### Context: CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER) ### Question: For Laps smaller than 6, what does the Grid add up to? ### Answer: SELECT SUM(grid) FROM table_name_5 WHERE laps < 6
What is the report status of Hockenheimring circuit?
CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
### Context: CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR) ### Question: What is the report status of Hockenheimring circuit? ### Answer: SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position?
CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
### Context: CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) ### Question: Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? ### Answer: SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap?
CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
### Context: CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) ### Question: Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap? ### Answer: SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
How much time does it take for jean alesi and grids lesser than 5?
CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"
### Context: CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: How much time does it take for jean alesi and grids lesser than 5? ### Answer: SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"
What is the low grid for gerhard berger for laps over 56?
CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
### Context: CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: What is the low grid for gerhard berger for laps over 56? ### Answer: SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
If the grid is 13 who is driving?
CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_42 WHERE grid = 13
### Context: CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR) ### Question: If the grid is 13 who is driving? ### Answer: SELECT driver FROM table_name_42 WHERE grid = 13
What is the purse total for the royal caribbean golf classic?
CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
### Context: CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR) ### Question: What is the purse total for the royal caribbean golf classic? ### Answer: SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
Which title is 3:38 long?
CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
SELECT title FROM table_name_52 WHERE length = "3:38"
### Context: CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR) ### Question: Which title is 3:38 long? ### Answer: SELECT title FROM table_name_52 WHERE length = "3:38"
Which title is 3:43 long?
CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR)
SELECT title FROM table_name_37 WHERE length = "3:43"
### Context: CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR) ### Question: Which title is 3:43 long? ### Answer: SELECT title FROM table_name_37 WHERE length = "3:43"
What Dance has the Visual Arts of Bryon Kim?
CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR)
SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
### Context: CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR) ### Question: What Dance has the Visual Arts of Bryon Kim? ### Answer: SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
In 2004, what is the Dance?
CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR)
SELECT dance FROM table_name_55 WHERE year = 2004
### Context: CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR) ### Question: In 2004, what is the Dance? ### Answer: SELECT dance FROM table_name_55 WHERE year = 2004
What artist had 1 draw?
CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR)
SELECT artist FROM table_name_52 WHERE draw = 1
### Context: CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR) ### Question: What artist had 1 draw? ### Answer: SELECT artist FROM table_name_52 WHERE draw = 1
Name the IATA for jeddah
CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_28 WHERE city = "jeddah"
### Context: CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR) ### Question: Name the IATA for jeddah ### Answer: SELECT iata FROM table_name_28 WHERE city = "jeddah"
Name the IATA for jessore
CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_80 WHERE city = "jessore"
### Context: CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR) ### Question: Name the IATA for jessore ### Answer: SELECT iata FROM table_name_80 WHERE city = "jessore"
Name the city for thailand
CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR)
SELECT city FROM table_name_97 WHERE country = "thailand"
### Context: CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR) ### Question: Name the city for thailand ### Answer: SELECT city FROM table_name_97 WHERE country = "thailand"
Name the IATA of wmkk
CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_20 WHERE icao = "wmkk"
### Context: CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR) ### Question: Name the IATA of wmkk ### Answer: SELECT iata FROM table_name_20 WHERE icao = "wmkk"
When did the away team carlton play?
CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_88 WHERE away_team = "carlton"
### Context: CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR) ### Question: When did the away team carlton play? ### Answer: SELECT date FROM table_name_88 WHERE away_team = "carlton"
Which constructor is from ITA with a rank less than 13?
CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR)
SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
### Context: CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR) ### Question: Which constructor is from ITA with a rank less than 13? ### Answer: SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
Who was the opponent in the Week 4 game?
CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_25 WHERE week = 4
### Context: CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) ### Question: Who was the opponent in the Week 4 game? ### Answer: SELECT opponent FROM table_name_25 WHERE week = 4
Who are the co-drivers before 2010 with under 326 laps?
CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)
SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
### Context: CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR) ### Question: Who are the co-drivers before 2010 with under 326 laps? ### Answer: SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF?
CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR)
SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
### Context: CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR) ### Question: Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? ### Answer: SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto
CREATE TABLE table_name_24 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MAX(laps) FROM table_name_24 WHERE time_retired = "+2 laps" AND driver = "felice bonetto"
### Context: CREATE TABLE table_name_24 (laps INTEGER, time_retired VARCHAR, driver VARCHAR) ### Question: Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto ### Answer: SELECT MAX(laps) FROM table_name_24 WHERE time_retired = "+2 laps" AND driver = "felice bonetto"
I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident
CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"
### Context: CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident ### Answer: SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"