question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
What are the points in the season with 47 games and 28 goals?
CREATE TABLE table_name_38 (points VARCHAR, goals VARCHAR, games VARCHAR)
SELECT points FROM table_name_38 WHERE goals = "28" AND games = "47"
### Context: CREATE TABLE table_name_38 (points VARCHAR, goals VARCHAR, games VARCHAR) ### Question: What are the points in the season with 47 games and 28 goals? ### Answer: SELECT points FROM table_name_38 WHERE goals = "28" AND games = "47"
How many goals were there in game 47?
CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)
SELECT goals FROM table_name_29 WHERE games = "47"
### Context: CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR) ### Question: How many goals were there in game 47? ### Answer: SELECT goals FROM table_name_29 WHERE games = "47"
How much Snatch has a Total (kg) smaller than 257?
CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)
SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257
### Context: CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER) ### Question: How much Snatch has a Total (kg) smaller than 257? ### Answer: SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257
Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83?
CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83
### Context: CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) ### Question: Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83? ### Answer: SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83
What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths?
CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR)
SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27
### Context: CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR) ### Question: What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths? ### Answer: SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27
What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded?
CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR)
SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33"
### Context: CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR) ### Question: What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded? ### Answer: SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33"
What is the total number of casualties when there are 12 total deaths and more than 1 military death?
CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR)
SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1
### Context: CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR) ### Question: What is the total number of casualties when there are 12 total deaths and more than 1 military death? ### Answer: SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1
which Total has a Score points of 11?
CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR)
SELECT total FROM table_name_13 WHERE score_points = "11"
### Context: CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR) ### Question: which Total has a Score points of 11? ### Answer: SELECT total FROM table_name_13 WHERE score_points = "11"
Which Total has an olympic bronze medalist?
CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR)
SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"
### Context: CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR) ### Question: Which Total has an olympic bronze medalist? ### Answer: SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"
Which Shooter has Score points of olympic silver medalist?
CREATE TABLE table_name_40 (shooter VARCHAR, score_points VARCHAR)
SELECT shooter FROM table_name_40 WHERE score_points = "olympic silver medalist"
### Context: CREATE TABLE table_name_40 (shooter VARCHAR, score_points VARCHAR) ### Question: Which Shooter has Score points of olympic silver medalist? ### Answer: SELECT shooter FROM table_name_40 WHERE score_points = "olympic silver medalist"
Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18?
CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR)
SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "18"
### Context: CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR) ### Question: Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18? ### Answer: SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "18"
What is the Film title used in nomination of Cilvēka Bērns?
CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns"
### Context: CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### Question: What is the Film title used in nomination of Cilvēka Bērns? ### Answer: SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns"
What is the Original Title of the 1992 (65th) Film
CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR)
SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)"
### Context: CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR) ### Question: What is the Original Title of the 1992 (65th) Film ### Answer: SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)"
What is the Director of Gulf Stream Under the Iceberg?
CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg"
### Context: CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What is the Director of Gulf Stream Under the Iceberg? ### Answer: SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg"
What is the Original Title of the movie directed by Aigars Grauba?
CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR)
SELECT original_title FROM table_name_36 WHERE director = "aigars grauba"
### Context: CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR) ### Question: What is the Original Title of the movie directed by Aigars Grauba? ### Answer: SELECT original_title FROM table_name_36 WHERE director = "aigars grauba"
What is the British letter with o /oʊ/?
CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR)
SELECT british FROM table_name_55 WHERE letter = "o /oʊ/"
### Context: CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR) ### Question: What is the British letter with o /oʊ/? ### Answer: SELECT british FROM table_name_55 WHERE letter = "o /oʊ/"
Which letter has the British aɪ?
CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR)
SELECT letter FROM table_name_40 WHERE british = "aɪ"
### Context: CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR) ### Question: Which letter has the British aɪ? ### Answer: SELECT letter FROM table_name_40 WHERE british = "aɪ"
What does American have if Australia has əʉ?
CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)
SELECT american FROM table_name_65 WHERE australian = "əʉ"
### Context: CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR) ### Question: What does American have if Australia has əʉ? ### Answer: SELECT american FROM table_name_65 WHERE australian = "əʉ"
What is the British letter if American is ə?
CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)
SELECT british FROM table_name_10 WHERE american = "ə"
### Context: CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR) ### Question: What is the British letter if American is ə? ### Answer: SELECT british FROM table_name_10 WHERE american = "ə"
What is the Australian letter with a British of ɪ and a letter of æ /i/??
CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR)
SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"
### Context: CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR) ### Question: What is the Australian letter with a British of ɪ and a letter of æ /i/?? ### Answer: SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"
What is sheffield united's away team?
CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_74 WHERE home_team = "sheffield united"
### Context: CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR) ### Question: What is sheffield united's away team? ### Answer: SELECT away_team FROM table_name_74 WHERE home_team = "sheffield united"
How many people attended the Away team of middlesbrough?
CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
### Context: CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR) ### Question: How many people attended the Away team of middlesbrough? ### Answer: SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
Which Score has an Away team of middlesbrough?
CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"
### Context: CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR) ### Question: Which Score has an Away team of middlesbrough? ### Answer: SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"
WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR)
SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
### Context: CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR) ### Question: WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street? ### Answer: SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street?
CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR)
SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street"
### Context: CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR) ### Question: WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? ### Answer: SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street"
WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
### Context: CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) ### Question: WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street? ### Answer: SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
WHAT IS THE NAME WITH 01.0 10 light street?
CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
### Context: CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR) ### Question: WHAT IS THE NAME WITH 01.0 10 light street? ### Answer: SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
What is the Name of the Player with a Height of m (ft 1in)?
CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR)
SELECT name FROM table_name_20 WHERE height = "m (ft 1in)"
### Context: CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR) ### Question: What is the Name of the Player with a Height of m (ft 1in)? ### Answer: SELECT name FROM table_name_20 WHERE height = "m (ft 1in)"
What is Tatyana Gubina's Weight?
CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR)
SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"
### Context: CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR) ### Question: What is Tatyana Gubina's Weight? ### Answer: SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"
What is Alyona Klimenko's Pos.?
CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR)
SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
### Context: CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR) ### Question: What is Alyona Klimenko's Pos.? ### Answer: SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
How many third places has a total greater than 2 and a rank less than 2?
CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR)
SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2
### Context: CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR) ### Question: How many third places has a total greater than 2 and a rank less than 2? ### Answer: SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2
What is the number for R Bacon in Passaic County?
CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR)
SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
### Context: CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR) ### Question: What is the number for R Bacon in Passaic County? ### Answer: SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
What is the number for D. Shulman if C. Abate has 728 (43%)
CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR)
SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
### Context: CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR) ### Question: What is the number for D. Shulman if C. Abate has 728 (43%) ### Answer: SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
Which county has 728 (43%) listed under C. Abate?
CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR)
SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)"
### Context: CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR) ### Question: Which county has 728 (43%) listed under C. Abate? ### Answer: SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)"
What are the numbers for D. Shulman in Warren County?
CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR)
SELECT d_shulman FROM table_name_12 WHERE county = "warren"
### Context: CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR) ### Question: What are the numbers for D. Shulman in Warren County? ### Answer: SELECT d_shulman FROM table_name_12 WHERE county = "warren"
Which County has Precincts of 90/90?
CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR)
SELECT county FROM table_name_51 WHERE precincts = "90/90"
### Context: CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR) ### Question: Which County has Precincts of 90/90? ### Answer: SELECT county FROM table_name_51 WHERE precincts = "90/90"
Which county has 438 (4%) listed under R. Bacon?
CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR)
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
### Context: CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR) ### Question: Which county has 438 (4%) listed under R. Bacon? ### Answer: SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
What is the format of the album Pacific Ocean Blue in 1991?
CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR)
SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
### Context: CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR) ### Question: What is the format of the album Pacific Ocean Blue in 1991? ### Answer: SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
Who is the artist with catalog number ZK 34354?
CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR)
SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
### Context: CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR) ### Question: Who is the artist with catalog number ZK 34354? ### Answer: SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
How tall is player James Stanton?
CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_19 WHERE name = "james stanton"
### Context: CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR) ### Question: How tall is player James Stanton? ### Answer: SELECT height FROM table_name_19 WHERE name = "james stanton"
Which player is on the roster for the Sydney University Lions?
CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR)
SELECT name FROM table_name_58 WHERE club = "sydney university lions"
### Context: CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR) ### Question: Which player is on the roster for the Sydney University Lions? ### Answer: SELECT name FROM table_name_58 WHERE club = "sydney university lions"
What is the height of player James Stanton?
CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_63 WHERE name = "james stanton"
### Context: CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR) ### Question: What is the height of player James Stanton? ### Answer: SELECT height FROM table_name_63 WHERE name = "james stanton"
What is the highest draft after round 2, is from the United States and has picked less than 113?
CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
### Context: CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR) ### Question: What is the highest draft after round 2, is from the United States and has picked less than 113? ### Answer: SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
What is the average draft with a pick larger than 42, and player Grant Eakin after round 8?
CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
### Context: CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR) ### Question: What is the average draft with a pick larger than 42, and player Grant Eakin after round 8? ### Answer: SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
What venue was the 2000 AFC Asian Cup qualification held at?
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
### Context: CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR) ### Question: What venue was the 2000 AFC Asian Cup qualification held at? ### Answer: SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
What were the lowest goals when the matches were smaller than 29?
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
### Context: CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER) ### Question: What were the lowest goals when the matches were smaller than 29? ### Answer: SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
What is the lowest match for goals larger than 36?
CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER)
SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
### Context: CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER) ### Question: What is the lowest match for goals larger than 36? ### Answer: SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
For the 2013 completion schedule, what is the total S.no.?
CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
### Context: CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) ### Question: For the 2013 completion schedule, what is the total S.no.? ### Answer: SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800?
CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR)
SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800
### Context: CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR) ### Question: What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800? ### Answer: SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800
When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
### Context: CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR) ### Question: When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.? ### Answer: SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
### Context: CREATE TABLE table_name_32 (tournament VARCHAR) ### Question: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? ### Answer: SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009?
CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters"
### Context: CREATE TABLE table_name_34 (tournament VARCHAR) ### Question: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? ### Answer: SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters"
What is the 2012 of the hamburg masters?
CREATE TABLE table_name_45 (tournament VARCHAR)
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
### Context: CREATE TABLE table_name_45 (tournament VARCHAR) ### Question: What is the 2012 of the hamburg masters? ### Answer: SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
What is the 2008 value of the hamburg masters?
CREATE TABLE table_name_30 (tournament VARCHAR)
SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters"
### Context: CREATE TABLE table_name_30 (tournament VARCHAR) ### Question: What is the 2008 value of the hamburg masters? ### Answer: SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters"
What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"
### Context: CREATE TABLE table_name_19 (Id VARCHAR) ### Question: What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008? ### Answer: SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"
What is the 2010 value of the monte carlo masters, which had A in 2012?
CREATE TABLE table_name_97 (tournament VARCHAR)
SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters"
### Context: CREATE TABLE table_name_97 (tournament VARCHAR) ### Question: What is the 2010 value of the monte carlo masters, which had A in 2012? ### Answer: SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters"
What is the quantity when the DRG was E 62 01–E 62 05?
CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
### Context: CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR) ### Question: What is the quantity when the DRG was E 62 01–E 62 05? ### Answer: SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
Which Opponent in the final has a Partnering of graydon oliver?
CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR)
SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"
### Context: CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) ### Question: Which Opponent in the final has a Partnering of graydon oliver? ### Answer: SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"
which Score has a Partnering of dmitry tursunov?
CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR)
SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
### Context: CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR) ### Question: which Score has a Partnering of dmitry tursunov? ### Answer: SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
Which Score has an Opponent in the final of chris haggard robbie koenig?
CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
### Context: CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) ### Question: Which Score has an Opponent in the final of chris haggard robbie koenig? ### Answer: SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
Which Partnering has a Score of 7–6 7 , 6–1?
CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR)
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
### Context: CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR) ### Question: Which Partnering has a Score of 7–6 7 , 6–1? ### Answer: SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
Name the Surface that of Tournament of valencia , spain?
CREATE TABLE table_name_92 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain"
### Context: CREATE TABLE table_name_92 (surface VARCHAR, tournament VARCHAR) ### Question: Name the Surface that of Tournament of valencia , spain? ### Answer: SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain"
Name the Opponent in the final on july 4, 2005?
CREATE TABLE table_name_52 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_52 WHERE date = "july 4, 2005"
### Context: CREATE TABLE table_name_52 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Name the Opponent in the final on july 4, 2005? ### Answer: SELECT opponent_in_the_final FROM table_name_52 WHERE date = "july 4, 2005"
What was the Result F–A on 21 February 2009, when the league position was 1st?
CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)
SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
### Context: CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) ### Question: What was the Result F–A on 21 February 2009, when the league position was 1st? ### Answer: SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
What club does John Westin play for?
CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin"
### Context: CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR) ### Question: What club does John Westin play for? ### Answer: SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin"
In what round was a left wing drafted?
CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_58 WHERE position = "left wing"
### Context: CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) ### Question: In what round was a left wing drafted? ### Answer: SELECT round FROM table_name_58 WHERE position = "left wing"
What player was drafted in Round 5?
CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_30 WHERE round = 5
### Context: CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR) ### Question: What player was drafted in Round 5? ### Answer: SELECT player FROM table_name_30 WHERE round = 5
Where did the player who won in 1991 finish?
CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_1 WHERE year_s__won = "1991"
### Context: CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR) ### Question: Where did the player who won in 1991 finish? ### Answer: SELECT finish FROM table_name_1 WHERE year_s__won = "1991"
Which player is from scotland?
CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_24 WHERE country = "scotland"
### Context: CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR) ### Question: Which player is from scotland? ### Answer: SELECT player FROM table_name_24 WHERE country = "scotland"
What are the Lyrics (l) / Music (m) when the draw was 5?
CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR)
SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5
### Context: CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR) ### Question: What are the Lyrics (l) / Music (m) when the draw was 5? ### Answer: SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5
What score has friendly as the competition?
CREATE TABLE table_name_11 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_11 WHERE competition = "friendly"
### Context: CREATE TABLE table_name_11 (score VARCHAR, competition VARCHAR) ### Question: What score has friendly as the competition? ### Answer: SELECT score FROM table_name_11 WHERE competition = "friendly"
Playing against Chelmsford City on 15 November 1986, who was the home team?
CREATE TABLE table_name_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city"
### Context: CREATE TABLE table_name_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) ### Question: Playing against Chelmsford City on 15 November 1986, who was the home team? ### Answer: SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city"
When Lincoln City was the away team what is the tie number?
CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city"
### Context: CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR) ### Question: When Lincoln City was the away team what is the tie number? ### Answer: SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city"
When was the game played that had Rochdale as the away team?
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_95 WHERE away_team = "rochdale"
### Context: CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR) ### Question: When was the game played that had Rochdale as the away team? ### Answer: SELECT date FROM table_name_95 WHERE away_team = "rochdale"
Scunthorpe United as the home team has what tie number?
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe united"
### Context: CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) ### Question: Scunthorpe United as the home team has what tie number? ### Answer: SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe united"
The game played on 6 December 1986 had what score?
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_12 WHERE date = "6 december 1986"
### Context: CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) ### Question: The game played on 6 December 1986 had what score? ### Answer: SELECT score FROM table_name_12 WHERE date = "6 december 1986"
WHAT IS THE TYPE WITH 124?
CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR)
SELECT type FROM table_name_56 WHERE quantity = "124"
### Context: CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR) ### Question: WHAT IS THE TYPE WITH 124? ### Answer: SELECT type FROM table_name_56 WHERE quantity = "124"
What is Score, when Total is "28:42"?
CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR)
SELECT score FROM table_name_32 WHERE total = "28:42"
### Context: CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR) ### Question: What is Score, when Total is "28:42"? ### Answer: SELECT score FROM table_name_32 WHERE total = "28:42"
What is Date, when Set 1 is "20:22"?
CREATE TABLE table_name_49 (date VARCHAR, set_1 VARCHAR)
SELECT date FROM table_name_49 WHERE set_1 = "20:22"
### Context: CREATE TABLE table_name_49 (date VARCHAR, set_1 VARCHAR) ### Question: What is Date, when Set 1 is "20:22"? ### Answer: SELECT date FROM table_name_49 WHERE set_1 = "20:22"
What is Set 1, when Set 2 is "21:18"?
CREATE TABLE table_name_48 (set_1 VARCHAR, set_2 VARCHAR)
SELECT set_1 FROM table_name_48 WHERE set_2 = "21:18"
### Context: CREATE TABLE table_name_48 (set_1 VARCHAR, set_2 VARCHAR) ### Question: What is Set 1, when Set 2 is "21:18"? ### Answer: SELECT set_1 FROM table_name_48 WHERE set_2 = "21:18"
What is Set 2, when Total is "52:44"?
CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)
SELECT set_2 FROM table_name_81 WHERE total = "52:44"
### Context: CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR) ### Question: What is Set 2, when Total is "52:44"? ### Answer: SELECT set_2 FROM table_name_81 WHERE total = "52:44"
What is the away team with a 4 tie no.?
CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_57 WHERE tie_no = "4"
### Context: CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) ### Question: What is the away team with a 4 tie no.? ### Answer: SELECT away_team FROM table_name_57 WHERE tie_no = "4"
What is the date southampton was the away team?
CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_52 WHERE away_team = "southampton"
### Context: CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR) ### Question: What is the date southampton was the away team? ### Answer: SELECT date FROM table_name_52 WHERE away_team = "southampton"
What is the score of the home team tottenham hotspur?
CREATE TABLE table_name_94 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur"
### Context: CREATE TABLE table_name_94 (score VARCHAR, home_team VARCHAR) ### Question: What is the score of the home team tottenham hotspur? ### Answer: SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur"
What was the score of the game on 16 december 1987?
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE date = "16 december 1987"
### Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) ### Question: What was the score of the game on 16 december 1987? ### Answer: SELECT score FROM table_name_36 WHERE date = "16 december 1987"
Who played against the away team hereford united?
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"
### Context: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) ### Question: Who played against the away team hereford united? ### Answer: SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"
Who played against away team hereford united?
CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
### Context: CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR) ### Question: Who played against away team hereford united? ### Answer: SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
Which club was in Position 1 in 1959-1960?
CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR)
SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1"
### Context: CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR) ### Question: Which club was in Position 1 in 1959-1960? ### Answer: SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1"
In which season did the évora settlements join the league?
CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR)
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
### Context: CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR) ### Question: In which season did the évora settlements join the league? ### Answer: SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
What was the position in 1959-1960 for the club that had 14 seasons at this level?
CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR)
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"
### Context: CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) ### Question: What was the position in 1959-1960 for the club that had 14 seasons at this level? ### Answer: SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"
What was the position in 1959-1960 for the Sporting De Braga club?
CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR)
SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
### Context: CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR) ### Question: What was the position in 1959-1960 for the Sporting De Braga club? ### Answer: SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
What is the "season joined league" for the club that had 15 seasons at this level?
CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR)
SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
### Context: CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR) ### Question: What is the "season joined league" for the club that had 15 seasons at this level? ### Answer: SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
What country has a score of 71-66-72-72=281?
CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281
### Context: CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR) ### Question: What country has a score of 71-66-72-72=281? ### Answer: SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281
What is the total amount of money that Payne Stewart has?
CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR)
SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"
### Context: CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR) ### Question: What is the total amount of money that Payne Stewart has? ### Answer: SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"
What country has player Nick Faldo?
CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_92 WHERE player = "nick faldo"
### Context: CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR) ### Question: What country has player Nick Faldo? ### Answer: SELECT country FROM table_name_92 WHERE player = "nick faldo"
What is the to par for the score 64-73-74-69=280?
CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_40 WHERE score = 64 - 73 - 74 - 69 = 280
### Context: CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) ### Question: What is the to par for the score 64-73-74-69=280? ### Answer: SELECT to_par FROM table_name_40 WHERE score = 64 - 73 - 74 - 69 = 280
What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055?
CREATE TABLE table_name_89 (rank INTEGER, carriers VARCHAR, passengers VARCHAR)
SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055
### Context: CREATE TABLE table_name_89 (rank INTEGER, carriers VARCHAR, passengers VARCHAR) ### Question: What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055? ### Answer: SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055
What is the smallest rank for passengers more than 73,754?
CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER)
SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
### Context: CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) ### Question: What is the smallest rank for passengers more than 73,754? ### Answer: SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
Which carrier is ranked 20?
CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR)
SELECT carriers FROM table_name_19 WHERE rank = 20
### Context: CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR) ### Question: Which carrier is ranked 20? ### Answer: SELECT carriers FROM table_name_19 WHERE rank = 20
What is the highest rank when there are fewer than 124,296 passengers?
CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER)
SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296
### Context: CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER) ### Question: What is the highest rank when there are fewer than 124,296 passengers? ### Answer: SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296