text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
How many times was the GFR 2006 equal to 53.2?
### CONTEXT
CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR)
### ANSWER
SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.2" | {
"answer": "SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = \"53.2\"",
"context": "CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR)",
"question": "How many times was the GFR 2006 equal to 53.2?"
} |
### QUESTION
What is the to par for Leonard Thompson from the United States with a place of T6?
### CONTEXT
CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
### ANSWER
SELECT to_par FROM table_name_3 WHERE place = "t6" AND country = "united states" AND player = "leonard thompson" | {
"answer": "SELECT to_par FROM table_name_3 WHERE place = \"t6\" AND country = \"united states\" AND player = \"leonard thompson\"",
"context": "CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)",
"question": "What is the to par for Leonard Thompson from the United States with a place of T6?"
} |
### QUESTION
Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?
### CONTEXT
CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
### ANSWER
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0 | {
"answer": "SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = \"Frankfurt\" AND year < 1993.0",
"context": "CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)",
"question": "Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?"
} |
### QUESTION
Name the D 45 O with D 44 O majority →
### CONTEXT
CREATE TABLE table_name_5 (d_45_o VARCHAR, d_44_o VARCHAR)
### ANSWER
SELECT d_45_o FROM table_name_5 WHERE d_44_o = "majority →" | {
"answer": "SELECT d_45_o FROM table_name_5 WHERE d_44_o = \"majority →\"",
"context": "CREATE TABLE table_name_5 (d_45_o VARCHAR, d_44_o VARCHAR)",
"question": "Name the D 45 O with D 44 O majority →"
} |
### QUESTION
What is the smallest number of European Parliament sets when the international affiliation is global greens, egp?
### CONTEXT
CREATE TABLE table_158282_1 (european_parliament_seats INTEGER, international_affiliation VARCHAR)
### ANSWER
SELECT MIN(european_parliament_seats) FROM table_158282_1 WHERE international_affiliation = "Global Greens, EGP" | {
"answer": "SELECT MIN(european_parliament_seats) FROM table_158282_1 WHERE international_affiliation = \"Global Greens, EGP\"",
"context": "CREATE TABLE table_158282_1 (european_parliament_seats INTEGER, international_affiliation VARCHAR)",
"question": "What is the smallest number of European Parliament sets when the international affiliation is global greens, egp? "
} |
### QUESTION
When 21 is the number of assists how many sets of blocks are there?
### CONTEXT
CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR)
### ANSWER
SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21 | {
"answer": "SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21",
"context": "CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR)",
"question": "When 21 is the number of assists how many sets of blocks are there?"
} |
### QUESTION
During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
### CONTEXT
CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR)
### ANSWER
SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457" | {
"answer": "SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = \"$2,628,457\"",
"context": "CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR)",
"question": "During the period in which gross sales totals for \"The Show Girl Must Go On\" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office? "
} |
### QUESTION
How much money did reestore request ?
### CONTEXT
CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
### ANSWER
SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" | {
"answer": "SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = \"reestore\"",
"context": "CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)",
"question": "How much money did reestore request ?"
} |
### QUESTION
What engines have the year 1992?
### CONTEXT
CREATE TABLE table_name_7 (engine_s_ VARCHAR, year VARCHAR)
### ANSWER
SELECT engine_s_ FROM table_name_7 WHERE year = 1992 | {
"answer": "SELECT engine_s_ FROM table_name_7 WHERE year = 1992",
"context": "CREATE TABLE table_name_7 (engine_s_ VARCHAR, year VARCHAR)",
"question": "What engines have the year 1992?"
} |
### QUESTION
What is the area of the corporation named the powell river, the corporation of the city of?
### CONTEXT
CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)
### ANSWER
SELECT area__km²_ FROM table_28367242_1 WHERE corporate_name = "Powell River, The Corporation of the City of" | {
"answer": "SELECT area__km²_ FROM table_28367242_1 WHERE corporate_name = \"Powell River, The Corporation of the City of\"",
"context": "CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)",
"question": "What is the area of the corporation named the powell river, the corporation of the city of?"
} |
### QUESTION
Which party does Tom Luken belong to?
### CONTEXT
CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT party FROM table_1341577_36 WHERE incumbent = "Tom Luken" | {
"answer": "SELECT party FROM table_1341577_36 WHERE incumbent = \"Tom Luken\"",
"context": "CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)",
"question": "Which party does Tom Luken belong to?"
} |
### QUESTION
which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday?
### CONTEXT
CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR)
### ANSWER
SELECT friday FROM table_18173916_8 WHERE monday = "515 The Adventures of Tintin" | {
"answer": "SELECT friday FROM table_18173916_8 WHERE monday = \"515 The Adventures of Tintin\"",
"context": "CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR)",
"question": "which episode was Transmitted on friday if the episode of \"515 the adventures of tintin\" was transmitted on monday? "
} |
### QUESTION
What is Industrial Use (m 3 /p/yr)(in %), when Total Freshwater Withdrawal (km 3/yr) is less than 82.75, and when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%)?
### CONTEXT
CREATE TABLE table_name_32 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
### ANSWER
SELECT industrial_use__m_3__p_yr__in__percentage_ FROM table_name_32 WHERE total_freshwater_withdrawal__km_3__yr_ < 82.75 AND agricultural_use__m_3__p_yr__in__percentage_ = "1363(92%)" | {
"answer": "SELECT industrial_use__m_3__p_yr__in__percentage_ FROM table_name_32 WHERE total_freshwater_withdrawal__km_3__yr_ < 82.75 AND agricultural_use__m_3__p_yr__in__percentage_ = \"1363(92%)\"",
"context": "CREATE TABLE table_name_32 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)",
"question": "What is Industrial Use (m 3 /p/yr)(in %), when Total Freshwater Withdrawal (km 3/yr) is less than 82.75, and when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%)?"
} |
### QUESTION
What are the names , themes , and number of singers for every concert ?
### CONTEXT
CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)
### ANSWER
SELECT t2.concert_name, t2.theme, COUNT(*) FROM singer_in_concert AS t1 JOIN concert AS t2 ON t1.concert_id = t2.concert_id GROUP BY t2.concert_id | {
"answer": "SELECT t2.concert_name, t2.theme, COUNT(*) FROM singer_in_concert AS t1 JOIN concert AS t2 ON t1.concert_id = t2.concert_id GROUP BY t2.concert_id",
"context": "CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)",
"question": "What are the names , themes , and number of singers for every concert ?"
} |
### QUESTION
Who did the fastest lap when pole position was damon hill and the location was magny-cours?
### CONTEXT
CREATE TABLE table_name_33 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR)
### ANSWER
SELECT fastest_lap FROM table_name_33 WHERE pole_position = "damon hill" AND location = "magny-cours" | {
"answer": "SELECT fastest_lap FROM table_name_33 WHERE pole_position = \"damon hill\" AND location = \"magny-cours\"",
"context": "CREATE TABLE table_name_33 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR)",
"question": "Who did the fastest lap when pole position was damon hill and the location was magny-cours?"
} |
### QUESTION
How many people directed episode 7 In the season?
### CONTEXT
CREATE TABLE table_23937219_3 (directed_by VARCHAR, season__number VARCHAR)
### ANSWER
SELECT COUNT(directed_by) FROM table_23937219_3 WHERE season__number = 7 | {
"answer": "SELECT COUNT(directed_by) FROM table_23937219_3 WHERE season__number = 7",
"context": "CREATE TABLE table_23937219_3 (directed_by VARCHAR, season__number VARCHAR)",
"question": "How many people directed episode 7 In the season?"
} |
### QUESTION
What is the average area with valparaíso as the capital?
### CONTEXT
CREATE TABLE table_name_34 (area INTEGER, capital VARCHAR)
### ANSWER
SELECT AVG(area) FROM table_name_34 WHERE capital = "valparaíso" | {
"answer": "SELECT AVG(area) FROM table_name_34 WHERE capital = \"valparaíso\"",
"context": "CREATE TABLE table_name_34 (area INTEGER, capital VARCHAR)",
"question": "What is the average area with valparaíso as the capital?"
} |
### QUESTION
Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?
### CONTEXT
CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)
### ANSWER
SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong" | {
"answer": "SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = \"Rochelle Romero Ong\"",
"context": "CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)",
"question": "Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?"
} |
### QUESTION
Which country has an IATA of JFK?
### CONTEXT
CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR)
### ANSWER
SELECT country FROM table_name_3 WHERE iata = "jfk" | {
"answer": "SELECT country FROM table_name_3 WHERE iata = \"jfk\"",
"context": "CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR)",
"question": "Which country has an IATA of JFK?"
} |
### QUESTION
How many first downs did the bills have when their opponent had 6
### CONTEXT
CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
### ANSWER
SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6 | {
"answer": "SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6",
"context": "CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)",
"question": "How many first downs did the bills have when their opponent had 6"
} |
### QUESTION
Who is the candidate that was first elected in 1914?
### CONTEXT
CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR)
### ANSWER
SELECT candidates FROM table_1341973_11 WHERE first_elected = 1914 | {
"answer": "SELECT candidates FROM table_1341973_11 WHERE first_elected = 1914",
"context": "CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR)",
"question": "Who is the candidate that was first elected in 1914?"
} |
### QUESTION
What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium?
### CONTEXT
CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadium" | {
"answer": "SELECT SUM(year) FROM table_name_39 WHERE winner = \"new york jets\" AND result = \"24–17\" AND location = \"giants stadium\"",
"context": "CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)",
"question": "What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium?"
} |
### QUESTION
What is the smallest sales area (m²) that has €4,094/m² and more than 2 stores?
### CONTEXT
CREATE TABLE table_name_20 (sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR)
### ANSWER
SELECT MIN(sales_area__m²_) FROM table_name_20 WHERE sales_per_area = "€4,094/m²" AND no_of_stores > 2 | {
"answer": "SELECT MIN(sales_area__m²_) FROM table_name_20 WHERE sales_per_area = \"€4,094/m²\" AND no_of_stores > 2",
"context": "CREATE TABLE table_name_20 (sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR)",
"question": "What is the smallest sales area (m²) that has €4,094/m² and more than 2 stores?"
} |
### QUESTION
What was the location of the club where the home ground is wilfred taylor reserve?
### CONTEXT
CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)
### ANSWER
SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve" | {
"answer": "SELECT location FROM table_name_80 WHERE home_ground = \"wilfred taylor reserve\"",
"context": "CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)",
"question": "What was the location of the club where the home ground is wilfred taylor reserve?"
} |
### QUESTION
what's the highest player number from the list from 2000-2001
### CONTEXT
CREATE TABLE table_16494599_5 (no INTEGER, years_for_grizzlies VARCHAR)
### ANSWER
SELECT MAX(no) FROM table_16494599_5 WHERE years_for_grizzlies = "2000-2001" | {
"answer": "SELECT MAX(no) FROM table_16494599_5 WHERE years_for_grizzlies = \"2000-2001\"",
"context": "CREATE TABLE table_16494599_5 (no INTEGER, years_for_grizzlies VARCHAR)",
"question": "what's the highest player number from the list from 2000-2001"
} |
### QUESTION
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
### CONTEXT
CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7" | {
"answer": "SELECT mountains_classification FROM table_name_82 WHERE general_classification = \"kim kirchen\" AND stage = \"7\"",
"context": "CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)",
"question": "What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?"
} |
### QUESTION
How many Total medals did the country with 16 Silver and less than 32 Bronze receive?
### CONTEXT
CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR)
### ANSWER
SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32 | {
"answer": "SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32",
"context": "CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR)",
"question": "How many Total medals did the country with 16 Silver and less than 32 Bronze receive?"
} |
### QUESTION
Which tie number had an away team of the Tranmere Rovers?
### CONTEXT
CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR)
### ANSWER
SELECT tie_no FROM table_name_36 WHERE away_team = "tranmere rovers" | {
"answer": "SELECT tie_no FROM table_name_36 WHERE away_team = \"tranmere rovers\"",
"context": "CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR)",
"question": "Which tie number had an away team of the Tranmere Rovers?"
} |
### QUESTION
how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)?
### CONTEXT
CREATE TABLE table_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)
### ANSWER
SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = "McDyess (9)" AND high_assists = "Billups (10)" | {
"answer": "SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = \"McDyess (9)\" AND high_assists = \"Billups (10)\"",
"context": "CREATE TABLE table_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)",
"question": "how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)?"
} |
### QUESTION
The original artist The Temptations has what week #?
### CONTEXT
CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR)
### ANSWER
SELECT week__number FROM table_26250253_1 WHERE original_artist = "The Temptations" | {
"answer": "SELECT week__number FROM table_26250253_1 WHERE original_artist = \"The Temptations\"",
"context": "CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR)",
"question": "The original artist The Temptations has what week #?"
} |
### QUESTION
What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?
### CONTEXT
CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)
### ANSWER
SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth" | {
"answer": "SELECT AVG(height__m_) FROM table_name_45 WHERE class = \"hewitt\" AND prom__m_ < 86 AND peak = \"gragareth\"",
"context": "CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)",
"question": "What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?"
} |
### QUESTION
What is the average of the Series #s that were directed by Matthew Penn?
### CONTEXT
CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR)
### ANSWER
SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = "matthew penn" | {
"answer": "SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = \"matthew penn\"",
"context": "CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR)",
"question": "What is the average of the Series #s that were directed by Matthew Penn?"
} |
### QUESTION
What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id.
### CONTEXT
CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Benefits_Overpayments (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)
### ANSWER
SELECT T1.source_system_code, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id | {
"answer": "SELECT T1.source_system_code, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id",
"context": "CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Benefits_Overpayments (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)",
"question": "What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id."
} |
### QUESTION
When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party?
### CONTEXT
CREATE TABLE table_name_37 (term_end VARCHAR, party VARCHAR, minister VARCHAR)
### ANSWER
SELECT term_end FROM table_name_37 WHERE party = "national religious party" AND minister = "shlomo-yisrael ben-meir" | {
"answer": "SELECT term_end FROM table_name_37 WHERE party = \"national religious party\" AND minister = \"shlomo-yisrael ben-meir\"",
"context": "CREATE TABLE table_name_37 (term_end VARCHAR, party VARCHAR, minister VARCHAR)",
"question": "When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party?"
} |
### QUESTION
What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?
### CONTEXT
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR)
### ANSWER
SELECT AVG(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix" | {
"answer": "SELECT AVG(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = \"Monaco Grand Prix\"",
"context": "CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR)",
"question": "What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?"
} |
### QUESTION
what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?
### CONTEXT
CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008" | {
"answer": "SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = \"contract terminated\" AND position_in_table = \"23rd\" AND date_of_appointment = \"31 december 2008\"",
"context": "CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)",
"question": "what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?"
} |
### QUESTION
What denominations are the stamps with themes opera, léopold simoneau and pierrette alarie?
### CONTEXT
CREATE TABLE table_11900773_4 (denomination VARCHAR, theme VARCHAR)
### ANSWER
SELECT denomination FROM table_11900773_4 WHERE theme = "Opera, Léopold Simoneau and Pierrette Alarie" | {
"answer": "SELECT denomination FROM table_11900773_4 WHERE theme = \"Opera, Léopold Simoneau and Pierrette Alarie\"",
"context": "CREATE TABLE table_11900773_4 (denomination VARCHAR, theme VARCHAR)",
"question": "What denominations are the stamps with themes opera, léopold simoneau and pierrette alarie?"
} |
### QUESTION
What is the reserved for value for constituency number 132?
### CONTEXT
CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
### ANSWER
SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132" | {
"answer": "SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = \"132\"",
"context": "CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)",
"question": "What is the reserved for value for constituency number 132?"
} |
### QUESTION
Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447
### CONTEXT
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
### ANSWER
SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447 | {
"answer": "SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = \"tønsberg\" AND population_112006 > 45.447",
"context": "CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)",
"question": "Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447"
} |
### QUESTION
Who performed the song named "Badlands"? Show the first name and the last name.
### CONTEXT
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
### ANSWER
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Badlands" | {
"answer": "SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = \"Badlands\"",
"context": "CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)",
"question": "Who performed the song named \"Badlands\"? Show the first name and the last name."
} |
### QUESTION
WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?
### CONTEXT
CREATE TABLE table_name_88 (year INTEGER, bronze VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_88 WHERE bronze = "valentin novikov" | {
"answer": "SELECT AVG(year) FROM table_name_88 WHERE bronze = \"valentin novikov\"",
"context": "CREATE TABLE table_name_88 (year INTEGER, bronze VARCHAR)",
"question": "WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?"
} |
### QUESTION
What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s?
### CONTEXT
CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
### ANSWER
SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0_62mph_ = "10.5 s" | {
"answer": "SELECT transmission FROM table_name_99 WHERE engine = \"2.0l\" AND acceleration_0_100km_h__0_62mph_ = \"10.5 s\"",
"context": "CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)",
"question": "What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s?"
} |
### QUESTION
state all the spokesperson for the channel where commentator is dmitriy guberniyev
### CONTEXT
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR)
### ANSWER
SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev" | {
"answer": "SELECT spokesperson FROM table_1992924_3 WHERE commentator = \"Dmitriy Guberniyev\"",
"context": "CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR)",
"question": "state all the spokesperson for the channel where commentator is dmitriy guberniyev"
} |
### QUESTION
What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake?
### CONTEXT
CREATE TABLE table_name_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR)
### ANSWER
SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake" | {
"answer": "SELECT title FROM table_name_69 WHERE lyricist_s_ = \"yarosake\" AND composer_s_ = \"yarosake\"",
"context": "CREATE TABLE table_name_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR)",
"question": "What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake?"
} |
### QUESTION
what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?
### CONTEXT
CREATE TABLE table_name_61 (rank INTEGER, constituency VARCHAR, swing_to_gain VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_61 WHERE constituency = "edinburgh northern and leith" AND swing_to_gain < 4.16 | {
"answer": "SELECT MIN(rank) FROM table_name_61 WHERE constituency = \"edinburgh northern and leith\" AND swing_to_gain < 4.16",
"context": "CREATE TABLE table_name_61 (rank INTEGER, constituency VARCHAR, swing_to_gain VARCHAR)",
"question": "what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?"
} |
### QUESTION
What is the most Champions League assists for those with a total of 6 and position of Midfielder?
### CONTEXT
CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR)
### ANSWER
SELECT MAX(Champions) AS league FROM table_name_48 WHERE total = 6 AND position = "midfielder" | {
"answer": "SELECT MAX(Champions) AS league FROM table_name_48 WHERE total = 6 AND position = \"midfielder\"",
"context": "CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR)",
"question": "What is the most Champions League assists for those with a total of 6 and position of Midfielder?"
} |
### QUESTION
What is the Location of the Frequency with a Callsign of DXBL?
### CONTEXT
CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)
### ANSWER
SELECT location FROM table_name_89 WHERE callsign = "dxbl" | {
"answer": "SELECT location FROM table_name_89 WHERE callsign = \"dxbl\"",
"context": "CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)",
"question": "What is the Location of the Frequency with a Callsign of DXBL?"
} |
### QUESTION
How many players are there for mens singles when chen qi ma lin played mens doubles?
### CONTEXT
CREATE TABLE table_28138035_20 (mens_singles VARCHAR, mens_doubles VARCHAR)
### ANSWER
SELECT COUNT(mens_singles) FROM table_28138035_20 WHERE mens_doubles = "Chen Qi Ma Lin" | {
"answer": "SELECT COUNT(mens_singles) FROM table_28138035_20 WHERE mens_doubles = \"Chen Qi Ma Lin\"",
"context": "CREATE TABLE table_28138035_20 (mens_singles VARCHAR, mens_doubles VARCHAR)",
"question": "How many players are there for mens singles when chen qi ma lin played mens doubles?"
} |
### QUESTION
Do the Sky Calcio 5 channels have PPV?
### CONTEXT
CREATE TABLE table_15887683_4 (ppv VARCHAR, television_service VARCHAR)
### ANSWER
SELECT ppv FROM table_15887683_4 WHERE television_service = "Sky Calcio 5" | {
"answer": "SELECT ppv FROM table_15887683_4 WHERE television_service = \"Sky Calcio 5\"",
"context": "CREATE TABLE table_15887683_4 (ppv VARCHAR, television_service VARCHAR)",
"question": "Do the Sky Calcio 5 channels have PPV?"
} |
### QUESTION
What was the spending per capita when the revenue per capita was $7,755?
### CONTEXT
CREATE TABLE table_14700336_1 (spending_per_capita VARCHAR, revenue_per_capita VARCHAR)
### ANSWER
SELECT spending_per_capita FROM table_14700336_1 WHERE revenue_per_capita = "$7,755" | {
"answer": "SELECT spending_per_capita FROM table_14700336_1 WHERE revenue_per_capita = \"$7,755\"",
"context": "CREATE TABLE table_14700336_1 (spending_per_capita VARCHAR, revenue_per_capita VARCHAR)",
"question": "What was the spending per capita when the revenue per capita was $7,755?"
} |
### QUESTION
What are the number of days in 1945 where the constituent was heywood and radcliffe?
### CONTEXT
CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
### ANSWER
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe" | {
"answer": "SELECT days FROM table_name_18 WHERE year = \"1945\" AND constituency = \"heywood and radcliffe\"",
"context": "CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)",
"question": "What are the number of days in 1945 where the constituent was heywood and radcliffe?"
} |
### QUESTION
What is the Score with a Home of colorado, and a Date with may 11?
### CONTEXT
CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_72 WHERE home = "colorado" AND date = "may 11" | {
"answer": "SELECT score FROM table_name_72 WHERE home = \"colorado\" AND date = \"may 11\"",
"context": "CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR)",
"question": "What is the Score with a Home of colorado, and a Date with may 11?"
} |
### QUESTION
What is the name of the person whose country is West Indies.
### CONTEXT
CREATE TABLE table_name_53 (name VARCHAR, country VARCHAR)
### ANSWER
SELECT name FROM table_name_53 WHERE country = "west indies" | {
"answer": "SELECT name FROM table_name_53 WHERE country = \"west indies\"",
"context": "CREATE TABLE table_name_53 (name VARCHAR, country VARCHAR)",
"question": "What is the name of the person whose country is West Indies."
} |
### QUESTION
Show the names of players and names of their coaches in descending order of the votes of players.
### CONTEXT
CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR); CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR, Votes VARCHAR)
### ANSWER
SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID ORDER BY T3.Votes DESC | {
"answer": "SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID ORDER BY T3.Votes DESC",
"context": "CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR); CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR, Votes VARCHAR)",
"question": "Show the names of players and names of their coaches in descending order of the votes of players."
} |
### QUESTION
Find the male friend of Alice whose job is a doctor?
### CONTEXT
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)
### ANSWER
SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor' | {
"answer": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor'",
"context": "CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)",
"question": "Find the male friend of Alice whose job is a doctor?"
} |
### QUESTION
what team has a drive name emmanuel de graffenried and a position larger than 1 as well as the date of 9/1953?
### CONTEXT
CREATE TABLE table_name_46 (team VARCHAR, driver VARCHAR, position VARCHAR, date VARCHAR)
### ANSWER
SELECT team FROM table_name_46 WHERE position > 1 AND date = "9/1953" AND driver = "emmanuel de graffenried" | {
"answer": "SELECT team FROM table_name_46 WHERE position > 1 AND date = \"9/1953\" AND driver = \"emmanuel de graffenried\"",
"context": "CREATE TABLE table_name_46 (team VARCHAR, driver VARCHAR, position VARCHAR, date VARCHAR)",
"question": "what team has a drive name emmanuel de graffenried and a position larger than 1 as well as the date of 9/1953?"
} |
### QUESTION
Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7?
### CONTEXT
CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR)
### ANSWER
SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica" | {
"answer": "SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = \"dominica\"",
"context": "CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR)",
"question": "Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7?"
} |
### QUESTION
Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov
### CONTEXT
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = "Diana Koleva Emilia Dimitrova" AND mens_singles = "Jeliazko Valkov" | {
"answer": "SELECT COUNT(year) FROM table_14903491_1 WHERE womens_doubles = \"Diana Koleva Emilia Dimitrova\" AND mens_singles = \"Jeliazko Valkov\"",
"context": "CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR, mens_singles VARCHAR)",
"question": "Name the number of years for womens doubles being diana koleva emilia dimitrova and jeliazko valkov"
} |
### QUESTION
What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC?
### CONTEXT
CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR)
### ANSWER
SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = "vancouver, bc" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01 | {
"answer": "SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = \"vancouver, bc\" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01",
"context": "CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR)",
"question": "What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC?"
} |
### QUESTION
What amount of senior high school where junior high school is 114cm?
### CONTEXT
CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
### ANSWER
SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm" | {
"answer": "SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = \"114cm\"",
"context": "CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)",
"question": "What amount of senior high school where junior high school is 114cm?"
} |
### QUESTION
What Class to 1928 has the Quantity smaller than 440 and Seats of 29/29?
### CONTEXT
CREATE TABLE table_name_16 (class_to_1928 VARCHAR, quantity VARCHAR, seats VARCHAR)
### ANSWER
SELECT class_to_1928 FROM table_name_16 WHERE quantity < 440 AND seats = "29/29" | {
"answer": "SELECT class_to_1928 FROM table_name_16 WHERE quantity < 440 AND seats = \"29/29\"",
"context": "CREATE TABLE table_name_16 (class_to_1928 VARCHAR, quantity VARCHAR, seats VARCHAR)",
"question": "What Class to 1928 has the Quantity smaller than 440 and Seats of 29/29?"
} |
### QUESTION
Name the record for arizona
### CONTEXT
CREATE TABLE table_22815259_1 (record VARCHAR, opponent VARCHAR)
### ANSWER
SELECT record FROM table_22815259_1 WHERE opponent = "Arizona" | {
"answer": "SELECT record FROM table_22815259_1 WHERE opponent = \"Arizona\"",
"context": "CREATE TABLE table_22815259_1 (record VARCHAR, opponent VARCHAR)",
"question": "Name the record for arizona"
} |
### QUESTION
How many NBA years did the player from the United States who was previously on the los angeles lakers have?
### CONTEXT
CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)
### ANSWER
SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers" | {
"answer": "SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = \"united states\" AND previous_team = \"los angeles lakers\"",
"context": "CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)",
"question": "How many NBA years did the player from the United States who was previously on the los angeles lakers have?"
} |
### QUESTION
How many different directors are associated with the writer Gaby Chiappe?
### CONTEXT
CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR)
### ANSWER
SELECT COUNT(director) FROM table_15026994_2 WHERE writer = "Gaby Chiappe" | {
"answer": "SELECT COUNT(director) FROM table_15026994_2 WHERE writer = \"Gaby Chiappe\"",
"context": "CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR)",
"question": "How many different directors are associated with the writer Gaby Chiappe?"
} |
### QUESTION
What is the name of the Home Stadium in which the Division is in the south, and Conference is national, as well as being in the city named charlotte, North Carolina?
### CONTEXT
CREATE TABLE table_name_64 (home_stadium VARCHAR, city VARCHAR, division VARCHAR, conference VARCHAR)
### ANSWER
SELECT home_stadium FROM table_name_64 WHERE division = "south" AND conference = "national" AND city = "charlotte, north carolina" | {
"answer": "SELECT home_stadium FROM table_name_64 WHERE division = \"south\" AND conference = \"national\" AND city = \"charlotte, north carolina\"",
"context": "CREATE TABLE table_name_64 (home_stadium VARCHAR, city VARCHAR, division VARCHAR, conference VARCHAR)",
"question": "What is the name of the Home Stadium in which the Division is in the south, and Conference is national, as well as being in the city named charlotte, North Carolina?"
} |
### QUESTION
What points awarded are higher than 6 but smaller than 9
### CONTEXT
CREATE TABLE table_name_51 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR, points_awarded__silver_ VARCHAR)
### ANSWER
SELECT MAX(points_awarded__platinum_) FROM table_name_51 WHERE points_awarded__gold_ = 9 AND points_awarded__silver_ > 6 | {
"answer": "SELECT MAX(points_awarded__platinum_) FROM table_name_51 WHERE points_awarded__gold_ = 9 AND points_awarded__silver_ > 6",
"context": "CREATE TABLE table_name_51 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR, points_awarded__silver_ VARCHAR)",
"question": "What points awarded are higher than 6 but smaller than 9"
} |
### QUESTION
What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?
### CONTEXT
CREATE TABLE table_name_5 (site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR)
### ANSWER
SELECT site FROM table_name_5 WHERE orbit = "leo" AND decay___utc__ = "still in orbit" AND function = "magnetosphere research" | {
"answer": "SELECT site FROM table_name_5 WHERE orbit = \"leo\" AND decay___utc__ = \"still in orbit\" AND function = \"magnetosphere research\"",
"context": "CREATE TABLE table_name_5 (site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR)",
"question": "What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?"
} |
### QUESTION
Name the number of parish for vilnes kyrkje
### CONTEXT
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
### ANSWER
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje" | {
"answer": "SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = \"Vilnes kyrkje\"",
"context": "CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)",
"question": "Name the number of parish for vilnes kyrkje"
} |
### QUESTION
What was the location of the Havaianas Beachley Classic, held in Australia?
### CONTEXT
CREATE TABLE table_name_99 (location VARCHAR, country VARCHAR, event VARCHAR)
### ANSWER
SELECT location FROM table_name_99 WHERE country = "australia" AND event = "havaianas beachley classic" | {
"answer": "SELECT location FROM table_name_99 WHERE country = \"australia\" AND event = \"havaianas beachley classic\"",
"context": "CREATE TABLE table_name_99 (location VARCHAR, country VARCHAR, event VARCHAR)",
"question": "What was the location of the Havaianas Beachley Classic, held in Australia?"
} |
### QUESTION
How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress?
### CONTEXT
CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR)
### ANSWER
SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c" | {
"answer": "SELECT COUNT(margin) FROM table_22753245_1 WHERE party = \"Indian National Congress\" AND winner = \"L. Adaikalaraj c\"",
"context": "CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR)",
"question": "How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? "
} |
### QUESTION
What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?
### CONTEXT
CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)
### ANSWER
SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = "lower snake" AND digits = 6 AND level < 3 | {
"answer": "SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = \"lower snake\" AND digits = 6 AND level < 3",
"context": "CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)",
"question": "What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?"
} |
### QUESTION
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
### CONTEXT
CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR)
### ANSWER
SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941 | {
"answer": "SELECT MIN(week) FROM table_name_70 WHERE date = \"september 19, 1965\" AND attendance < 46 OFFSET 941",
"context": "CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR)",
"question": "What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?"
} |
### QUESTION
What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?
### CONTEXT
CREATE TABLE table_name_13 (wk_9 INTEGER, wk_11 VARCHAR, wk_7 VARCHAR, wk_6 VARCHAR, wk_10 VARCHAR)
### ANSWER
SELECT MAX(wk_9) FROM table_name_13 WHERE wk_6 = "7" AND wk_10 > 2 AND wk_7 = "5" AND wk_11 < 2 | {
"answer": "SELECT MAX(wk_9) FROM table_name_13 WHERE wk_6 = \"7\" AND wk_10 > 2 AND wk_7 = \"5\" AND wk_11 < 2",
"context": "CREATE TABLE table_name_13 (wk_9 INTEGER, wk_11 VARCHAR, wk_7 VARCHAR, wk_6 VARCHAR, wk_10 VARCHAR)",
"question": "What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?"
} |
### QUESTION
What was the capacity for the Denver Broncos?
### CONTEXT
CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
### ANSWER
SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos" | {
"answer": "SELECT capacity_percentage FROM table_28884858_2 WHERE team = \"Denver Broncos\"",
"context": "CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)",
"question": "What was the capacity for the Denver Broncos?"
} |
### QUESTION
Where was the world race walking cup held before 2001?
### CONTEXT
CREATE TABLE table_name_49 (venue VARCHAR, year VARCHAR, competition VARCHAR)
### ANSWER
SELECT venue FROM table_name_49 WHERE year < 2001 AND competition = "world race walking cup" | {
"answer": "SELECT venue FROM table_name_49 WHERE year < 2001 AND competition = \"world race walking cup\"",
"context": "CREATE TABLE table_name_49 (venue VARCHAR, year VARCHAR, competition VARCHAR)",
"question": "Where was the world race walking cup held before 2001?"
} |
### QUESTION
Which slope length has a type of surface lift, and an elevation groundstation smaller than 1974, and a construction year(s) of 1971, and a Name or route of alpmatten 1?
### CONTEXT
CREATE TABLE table_name_43 (slope_length VARCHAR, name_or_route VARCHAR, construction_year_s_ VARCHAR, type VARCHAR, elevation_groundstation VARCHAR)
### ANSWER
SELECT slope_length FROM table_name_43 WHERE type = "surface lift" AND elevation_groundstation < 1974 AND construction_year_s_ = "1971" AND name_or_route = "alpmatten 1" | {
"answer": "SELECT slope_length FROM table_name_43 WHERE type = \"surface lift\" AND elevation_groundstation < 1974 AND construction_year_s_ = \"1971\" AND name_or_route = \"alpmatten 1\"",
"context": "CREATE TABLE table_name_43 (slope_length VARCHAR, name_or_route VARCHAR, construction_year_s_ VARCHAR, type VARCHAR, elevation_groundstation VARCHAR)",
"question": "Which slope length has a type of surface lift, and an elevation groundstation smaller than 1974, and a construction year(s) of 1971, and a Name or route of alpmatten 1?"
} |
### QUESTION
What is the league name for the regular season status of 2nd, mid atlantic?
### CONTEXT
CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR)
### ANSWER
SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic" | {
"answer": "SELECT league FROM table_16636344_1 WHERE regular_season = \"2nd, Mid Atlantic\"",
"context": "CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR)",
"question": "What is the league name for the regular season status of 2nd, mid atlantic?"
} |
### QUESTION
When five is the new channel what is the date of original removal?
### CONTEXT
CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)
### ANSWER
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five" | {
"answer": "SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = \"Five\"",
"context": "CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)",
"question": "When five is the new channel what is the date of original removal?"
} |
### QUESTION
What is the first year that Mario Lemieux from Canada won playing center?
### CONTEXT
CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" | {
"answer": "SELECT MIN(year) FROM table_name_21 WHERE country = \"canada\" AND position = \"center\" AND player = \"mario lemieux\"",
"context": "CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)",
"question": "What is the first year that Mario Lemieux from Canada won playing center?"
} |
### QUESTION
What is the number of earning for more than 2 wins and less than 25 events?
### CONTEXT
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)
### ANSWER
SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25 | {
"answer": "SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25",
"context": "CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)",
"question": "What is the number of earning for more than 2 wins and less than 25 events?"
} |
### QUESTION
What is the highest scored in the 2010 east asian football championship?
### CONTEXT
CREATE TABLE table_name_66 (scored INTEGER, competition VARCHAR)
### ANSWER
SELECT MAX(scored) FROM table_name_66 WHERE competition = "2010 east asian football championship" | {
"answer": "SELECT MAX(scored) FROM table_name_66 WHERE competition = \"2010 east asian football championship\"",
"context": "CREATE TABLE table_name_66 (scored INTEGER, competition VARCHAR)",
"question": "What is the highest scored in the 2010 east asian football championship?"
} |
### QUESTION
Name the date for the palace of auburn hills 14,554
### CONTEXT
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554" | {
"answer": "SELECT date FROM table_27700375_11 WHERE location_attendance = \"The Palace of Auburn Hills 14,554\"",
"context": "CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)",
"question": "Name the date for the palace of auburn hills 14,554"
} |
### QUESTION
What is the Date that chicago black hawks has a Record of 2–2?
### CONTEXT
CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR)
### ANSWER
SELECT date FROM table_name_5 WHERE visitor = "chicago black hawks" AND record = "2–2" | {
"answer": "SELECT date FROM table_name_5 WHERE visitor = \"chicago black hawks\" AND record = \"2–2\"",
"context": "CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR)",
"question": "What is the Date that chicago black hawks has a Record of 2–2?"
} |
### QUESTION
What college did Louis LeBlanc attend?
### CONTEXT
CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_66 WHERE player = "louis leblanc" | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_66 WHERE player = \"louis leblanc\"",
"context": "CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR)",
"question": "What college did Louis LeBlanc attend?"
} |
### QUESTION
What team acquired as a rookie draft in the position of guard Dennis Miranda?
### CONTEXT
CREATE TABLE table_name_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_84 WHERE acquisition_via = "rookie draft" AND position = "guard" AND name = "dennis miranda" | {
"answer": "SELECT school_club_team FROM table_name_84 WHERE acquisition_via = \"rookie draft\" AND position = \"guard\" AND name = \"dennis miranda\"",
"context": "CREATE TABLE table_name_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR)",
"question": "What team acquired as a rookie draft in the position of guard Dennis Miranda?"
} |
### QUESTION
Find the name of the department that has the fewest members.
### CONTEXT
CREATE TABLE MEMBER_OF (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR)
### ANSWER
SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY COUNT(*) LIMIT 1 | {
"answer": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY COUNT(*) LIMIT 1",
"context": "CREATE TABLE MEMBER_OF (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR)",
"question": "Find the name of the department that has the fewest members."
} |
### QUESTION
Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?
### CONTEXT
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)
### ANSWER
SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11" | {
"answer": "SELECT opponent FROM table_name_7 WHERE method = \"tko\" AND location = \"elgin, illinois, usa\" AND date = \"2001-02-11\"",
"context": "CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)",
"question": "Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?"
} |
### QUESTION
How many models does each car maker produce? List maker full name, id and the number.
### CONTEXT
CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)
### ANSWER
SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id | {
"answer": "SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id",
"context": "CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)",
"question": "How many models does each car maker produce? List maker full name, id and the number."
} |
### QUESTION
During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round?
### CONTEXT
CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, phase VARCHAR, clubs_involved VARCHAR)
### ANSWER
SELECT winners_from_previous_round FROM table_1281200_1 WHERE phase = "First phase" AND clubs_involved = 16 | {
"answer": "SELECT winners_from_previous_round FROM table_1281200_1 WHERE phase = \"First phase\" AND clubs_involved = 16",
"context": "CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, phase VARCHAR, clubs_involved VARCHAR)",
"question": "During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round?"
} |
### QUESTION
what is the points against when the losing bonus is 0 and the club is banwen rfc?
### CONTEXT
CREATE TABLE table_name_32 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR)
### ANSWER
SELECT points_against FROM table_name_32 WHERE losing_bonus = "0" AND club = "banwen rfc" | {
"answer": "SELECT points_against FROM table_name_32 WHERE losing_bonus = \"0\" AND club = \"banwen rfc\"",
"context": "CREATE TABLE table_name_32 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR)",
"question": "what is the points against when the losing bonus is 0 and the club is banwen rfc?"
} |
### QUESTION
Which Constructor has the goodwood circuit?
### CONTEXT
CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR)
### ANSWER
SELECT constructor FROM table_name_53 WHERE circuit = "goodwood" | {
"answer": "SELECT constructor FROM table_name_53 WHERE circuit = \"goodwood\"",
"context": "CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR)",
"question": "Which Constructor has the goodwood circuit?"
} |
### QUESTION
What is the alpha 2 code for the area also known as NZL?
### CONTEXT
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)
### ANSWER
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "NZL" | {
"answer": "SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = \"NZL\"",
"context": "CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)",
"question": "What is the alpha 2 code for the area also known as NZL?"
} |
### QUESTION
How many poles did the player have during the Formula BMW Pacific race?
### CONTEXT
CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR)
### ANSWER
SELECT MAX(poles) FROM table_17246160_1 WHERE series = "Formula BMW Pacific" | {
"answer": "SELECT MAX(poles) FROM table_17246160_1 WHERE series = \"Formula BMW Pacific\"",
"context": "CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR)",
"question": "How many poles did the player have during the Formula BMW Pacific race?"
} |
### QUESTION
What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?
### CONTEXT
CREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR)
### ANSWER
SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 4 | {
"answer": "SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = \"poland\" AND rank > 4",
"context": "CREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR)",
"question": "What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?"
} |
### QUESTION
What title has rouben mamoulian directing after 1940 with linda darnell as the leading lady?
### CONTEXT
CREATE TABLE table_name_16 (title VARCHAR, leading_lady VARCHAR, director VARCHAR, year VARCHAR)
### ANSWER
SELECT title FROM table_name_16 WHERE director = "rouben mamoulian" AND year > 1940 AND leading_lady = "linda darnell" | {
"answer": "SELECT title FROM table_name_16 WHERE director = \"rouben mamoulian\" AND year > 1940 AND leading_lady = \"linda darnell\"",
"context": "CREATE TABLE table_name_16 (title VARCHAR, leading_lady VARCHAR, director VARCHAR, year VARCHAR)",
"question": "What title has rouben mamoulian directing after 1940 with linda darnell as the leading lady?"
} |
### QUESTION
What was the latest year of release for the greatest hits title?
### CONTEXT
CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)
### ANSWER
SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits" | {
"answer": "SELECT MAX(year_of_release) FROM table_name_71 WHERE title = \"greatest hits\"",
"context": "CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)",
"question": "What was the latest year of release for the greatest hits title?"
} |
### QUESTION
what is the salary and name of the employee who has the most number of aircraft certificates?
### CONTEXT
CREATE TABLE Certificate (eid VARCHAR); CREATE TABLE Employee (name VARCHAR, salary VARCHAR, eid VARCHAR)
### ANSWER
SELECT T1.name, T1.salary FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.name, T1.salary FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Certificate (eid VARCHAR); CREATE TABLE Employee (name VARCHAR, salary VARCHAR, eid VARCHAR)",
"question": "what is the salary and name of the employee who has the most number of aircraft certificates?"
} |
### QUESTION
Name the mountains classification for bradley white
### CONTEXT
CREATE TABLE table_23944514_15 (mountains_classification VARCHAR, aggressive_rider VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_23944514_15 WHERE aggressive_rider = "Bradley White" | {
"answer": "SELECT mountains_classification FROM table_23944514_15 WHERE aggressive_rider = \"Bradley White\"",
"context": "CREATE TABLE table_23944514_15 (mountains_classification VARCHAR, aggressive_rider VARCHAR)",
"question": "Name the mountains classification for bradley white"
} |
### QUESTION
List all candidates in the democratic party where the election had the incumbent Frank Chelf running.
### CONTEXT
CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf" | {
"answer": "SELECT candidates FROM table_1342218_17 WHERE party = \"Democratic\" AND incumbent = \"Frank Chelf\"",
"context": "CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)",
"question": "List all candidates in the democratic party where the election had the incumbent Frank Chelf running."
} |
### QUESTION
What is the overall sum of round 3?
### CONTEXT
CREATE TABLE table_name_55 (overall INTEGER, round VARCHAR)
### ANSWER
SELECT SUM(overall) FROM table_name_55 WHERE round = 3 | {
"answer": "SELECT SUM(overall) FROM table_name_55 WHERE round = 3",
"context": "CREATE TABLE table_name_55 (overall INTEGER, round VARCHAR)",
"question": "What is the overall sum of round 3?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.