text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the Tournament with a Opponents in the final with rod laver fred stolle?
### CONTEXT
CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)
### ANSWER
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle" | {
"answer": "SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = \"rod laver fred stolle\"",
"context": "CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)",
"question": "What is the Tournament with a Opponents in the final with rod laver fred stolle?"
} |
### QUESTION
What was the date of the game in week 14?
### CONTEXT
CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)
### ANSWER
SELECT date FROM table_13023925_2 WHERE week = 14 | {
"answer": "SELECT date FROM table_13023925_2 WHERE week = 14",
"context": "CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)",
"question": "What was the date of the game in week 14?"
} |
### QUESTION
What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?
### CONTEXT
CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)
### ANSWER
SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65 | {
"answer": "SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = \"chernomorets novorossiysk\" AND drawn < 65",
"context": "CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)",
"question": "What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?"
} |
### QUESTION
Which Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected?
### CONTEXT
CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
### ANSWER
SELECT condition FROM table_name_53 WHERE bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" AND prothrombin_time = "unaffected" | {
"answer": "SELECT condition FROM table_name_53 WHERE bleeding_time = \"unaffected\" AND partial_thromboplastin_time = \"prolonged\" AND prothrombin_time = \"unaffected\"",
"context": "CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)",
"question": "Which Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected?"
} |
### QUESTION
which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner
### CONTEXT
CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)
### ANSWER
SELECT championship FROM table_1918850_2 WHERE outcome = "Winner" AND surface = "Hard" AND partner = "Nicole Provis" AND opponents_in_the_final = "Helena Suková Tom Nijssen" | {
"answer": "SELECT championship FROM table_1918850_2 WHERE outcome = \"Winner\" AND surface = \"Hard\" AND partner = \"Nicole Provis\" AND opponents_in_the_final = \"Helena Suková Tom Nijssen\"",
"context": "CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)",
"question": "which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner"
} |
### QUESTION
How many candidates were elected first in 1980?
### CONTEXT
CREATE TABLE table_1341453_20 (candidates VARCHAR, first_elected VARCHAR)
### ANSWER
SELECT COUNT(candidates) FROM table_1341453_20 WHERE first_elected = 1980 | {
"answer": "SELECT COUNT(candidates) FROM table_1341453_20 WHERE first_elected = 1980",
"context": "CREATE TABLE table_1341453_20 (candidates VARCHAR, first_elected VARCHAR)",
"question": "How many candidates were elected first in 1980?"
} |
### QUESTION
what is the largest city where the population is 6620100?
### CONTEXT
CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR)
### ANSWER
SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100 | {
"answer": "SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100",
"context": "CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR)",
"question": "what is the largest city where the population is 6620100?"
} |
### QUESTION
What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?
### CONTEXT
CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)
### ANSWER
SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = "25,600" | {
"answer": "SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = \"25,600\"",
"context": "CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)",
"question": "What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?"
} |
### QUESTION
Which Score has a Date of october 8, 2005, and a Venue of estadio alfonso lastras, san luis potosí, mexico?
### CONTEXT
CREATE TABLE table_name_96 (score VARCHAR, date VARCHAR, venue VARCHAR)
### ANSWER
SELECT score FROM table_name_96 WHERE date = "october 8, 2005" AND venue = "estadio alfonso lastras, san luis potosí, mexico" | {
"answer": "SELECT score FROM table_name_96 WHERE date = \"october 8, 2005\" AND venue = \"estadio alfonso lastras, san luis potosí, mexico\"",
"context": "CREATE TABLE table_name_96 (score VARCHAR, date VARCHAR, venue VARCHAR)",
"question": "Which Score has a Date of october 8, 2005, and a Venue of estadio alfonso lastras, san luis potosí, mexico?"
} |
### QUESTION
Find the names of stadiums that the most swimmers have been to.
### CONTEXT
CREATE TABLE record (event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR, id VARCHAR)
### ANSWER
SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id = t2.id JOIN stadium AS t3 ON t3.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id = t2.id JOIN stadium AS t3 ON t3.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE record (event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR, id VARCHAR)",
"question": "Find the names of stadiums that the most swimmers have been to."
} |
### QUESTION
What is the method of the match with 1 round and a time of 1:58?
### CONTEXT
CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR)
### ANSWER
SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58" | {
"answer": "SELECT method FROM table_name_60 WHERE round = 1 AND time = \"1:58\"",
"context": "CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR)",
"question": "What is the method of the match with 1 round and a time of 1:58?"
} |
### QUESTION
I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011
### CONTEXT
CREATE TABLE table_name_77 (plaid_cymru VARCHAR, polling_organisation_client VARCHAR, date_s__conducted VARCHAR)
### ANSWER
SELECT plaid_cymru FROM table_name_77 WHERE polling_organisation_client = "yougov/itv wales" AND date_s__conducted = "4 may 2011" | {
"answer": "SELECT plaid_cymru FROM table_name_77 WHERE polling_organisation_client = \"yougov/itv wales\" AND date_s__conducted = \"4 may 2011\"",
"context": "CREATE TABLE table_name_77 (plaid_cymru VARCHAR, polling_organisation_client VARCHAR, date_s__conducted VARCHAR)",
"question": "I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011"
} |
### QUESTION
What the rank of the Virgin Islands athlete with react under 0.168?
### CONTEXT
CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR)
### ANSWER
SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = "virgin islands" | {
"answer": "SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = \"virgin islands\"",
"context": "CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR)",
"question": "What the rank of the Virgin Islands athlete with react under 0.168?"
} |
### QUESTION
Find the first name and country code of the player who did the most number of tours.
### CONTEXT
CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR, tours VARCHAR)
### ANSWER
SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1 | {
"answer": "SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id ORDER BY T2.tours DESC LIMIT 1",
"context": "CREATE TABLE players (country_code VARCHAR, first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR, tours VARCHAR)",
"question": "Find the first name and country code of the player who did the most number of tours."
} |
### QUESTION
What Score has a Date of 11 september 2010?
### CONTEXT
CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_25 WHERE date = "11 september 2010" | {
"answer": "SELECT score FROM table_name_25 WHERE date = \"11 september 2010\"",
"context": "CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR)",
"question": "What Score has a Date of 11 september 2010?"
} |
### QUESTION
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
### CONTEXT
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008" | {
"answer": "SELECT score FROM table_name_11 WHERE surface = \"clay\" AND date = \"19 may 2008\"",
"context": "CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)",
"question": "What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?"
} |
### QUESTION
Show the crime rate of counties with a city having white percentage more than 90.
### CONTEXT
CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR); CREATE TABLE city (County_ID VARCHAR, White INTEGER)
### ANSWER
SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID WHERE T1.White > 90 | {
"answer": "SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID WHERE T1.White > 90",
"context": "CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR); CREATE TABLE city (County_ID VARCHAR, White INTEGER)",
"question": "Show the crime rate of counties with a city having white percentage more than 90."
} |
### QUESTION
Tell me the School/Club team of the player from the United States that play'de guard?
### CONTEXT
CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard" | {
"answer": "SELECT school_club_team FROM table_name_53 WHERE nationality = \"united states\" AND position = \"guard\"",
"context": "CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)",
"question": "Tell me the School/Club team of the player from the United States that play'de guard?"
} |
### QUESTION
Which continent has the most diverse languages?
### CONTEXT
CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Continent VARCHAR, Code VARCHAR)
### ANSWER
SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Continent VARCHAR, Code VARCHAR)",
"question": "Which continent has the most diverse languages?"
} |
### QUESTION
What is the average points of players from club with name "AIB".
### CONTEXT
CREATE TABLE player (Points INTEGER, Club_ID VARCHAR); CREATE TABLE club (Club_ID VARCHAR, name VARCHAR)
### ANSWER
SELECT AVG(T2.Points) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID WHERE T1.name = "AIB" | {
"answer": "SELECT AVG(T2.Points) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID WHERE T1.name = \"AIB\"",
"context": "CREATE TABLE player (Points INTEGER, Club_ID VARCHAR); CREATE TABLE club (Club_ID VARCHAR, name VARCHAR)",
"question": "What is the average points of players from club with name \"AIB\"."
} |
### QUESTION
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
### CONTEXT
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)" | {
"answer": "SELECT MIN(year) FROM table_name_95 WHERE competition = \"all-ireland hurling final\" AND waterford_score = \"6-08 (24)\"",
"context": "CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)",
"question": "What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?"
} |
### QUESTION
Please show the names of aircrafts associated with airport with name "London Gatwick".
### CONTEXT
CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### ANSWER
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick" | {
"answer": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"context": "CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)",
"question": "Please show the names of aircrafts associated with airport with name \"London Gatwick\"."
} |
### QUESTION
Who was nominated for best supporting actor in the movie Going My Way?
### CONTEXT
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)
### ANSWER
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Best Supporting Actor" | {
"answer": "SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = \"Going My Way\" AND category = \"Best Supporting Actor\"",
"context": "CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)",
"question": "Who was nominated for best supporting actor in the movie Going My Way?"
} |
### QUESTION
Find the id, forename and number of races of all drivers who have at least participated in two races?
### CONTEXT
CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)
### ANSWER
SELECT T1.driverid, T1.forename, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING COUNT(*) >= 2 | {
"answer": "SELECT T1.driverid, T1.forename, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING COUNT(*) >= 2",
"context": "CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)",
"question": "Find the id, forename and number of races of all drivers who have at least participated in two races?"
} |
### QUESTION
What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is higher than 68?
### CONTEXT
CREATE TABLE table_name_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)
### ANSWER
SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_33 WHERE club = "cruz azul" AND number_of_seasons_in_top_division > 68 | {
"answer": "SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_33 WHERE club = \"cruz azul\" AND number_of_seasons_in_top_division > 68",
"context": "CREATE TABLE table_name_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)",
"question": "What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is higher than 68?"
} |
### QUESTION
Which city does has most number of customers?
### CONTEXT
CREATE TABLE Customers (customer_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
### ANSWER
SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Customers (customer_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)",
"question": "Which city does has most number of customers?"
} |
### QUESTION
What was the score when a save of ||25,354||63–43 occurred?
### CONTEXT
CREATE TABLE table_name_49 (score VARCHAR, save VARCHAR)
### ANSWER
SELECT score FROM table_name_49 WHERE save = "||25,354||63–43" | {
"answer": "SELECT score FROM table_name_49 WHERE save = \"||25,354||63–43\"",
"context": "CREATE TABLE table_name_49 (score VARCHAR, save VARCHAR)",
"question": "What was the score when a save of ||25,354||63–43 occurred?"
} |
### QUESTION
What was the violent crime rate in the city where the robbery rate was 201.4?
### CONTEXT
CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)
### ANSWER
SELECT violent_crime FROM table_1818254_1 WHERE robbery = "201.4" | {
"answer": "SELECT violent_crime FROM table_1818254_1 WHERE robbery = \"201.4\"",
"context": "CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)",
"question": "What was the violent crime rate in the city where the robbery rate was 201.4?"
} |
### QUESTION
What is the shortest Time for David Neville when his React time was greater than 0.183?
### CONTEXT
CREATE TABLE table_name_35 (time INTEGER, react VARCHAR, athlete VARCHAR)
### ANSWER
SELECT MIN(time) FROM table_name_35 WHERE react > 0.183 AND athlete = "david neville" | {
"answer": "SELECT MIN(time) FROM table_name_35 WHERE react > 0.183 AND athlete = \"david neville\"",
"context": "CREATE TABLE table_name_35 (time INTEGER, react VARCHAR, athlete VARCHAR)",
"question": "What is the shortest Time for David Neville when his React time was greater than 0.183?"
} |
### QUESTION
What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?
### CONTEXT
CREATE TABLE table_name_99 (w_plyf INTEGER, w_l_percentage VARCHAR, first_yr VARCHAR, g_plyf VARCHAR, g_ VARCHAR, _500 VARCHAR)
### ANSWER
SELECT MAX(w_plyf) FROM table_name_99 WHERE first_yr < 1960 AND g_plyf > 0 AND g_ > _500 < 43 AND w_l_percentage < 0.578 | {
"answer": "SELECT MAX(w_plyf) FROM table_name_99 WHERE first_yr < 1960 AND g_plyf > 0 AND g_ > _500 < 43 AND w_l_percentage < 0.578",
"context": "CREATE TABLE table_name_99 (w_plyf INTEGER, w_l_percentage VARCHAR, first_yr VARCHAR, g_plyf VARCHAR, g_ VARCHAR, _500 VARCHAR)",
"question": "What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?"
} |
### QUESTION
Where did Collingwood play ae the away team?
### CONTEXT
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
### ANSWER
SELECT venue FROM table_name_57 WHERE away_team = "collingwood" | {
"answer": "SELECT venue FROM table_name_57 WHERE away_team = \"collingwood\"",
"context": "CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)",
"question": "Where did Collingwood play ae the away team?"
} |
### QUESTION
Which films participated when the category was Best Newcomer?
### CONTEXT
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR)
### ANSWER
SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" | {
"answer": "SELECT participants_recipients FROM table_29644931_1 WHERE category = \"Best Newcomer\"",
"context": "CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR)",
"question": "Which films participated when the category was Best Newcomer?"
} |
### QUESTION
What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell?
### CONTEXT
### ANSWER
SELECT COUNT(*) AS $__ FROM table_name_15 WHERE country = "united states" AND score < 271 AND year > 1964 AND winner = "bobby mitchell" | {
"answer": "SELECT COUNT(*) AS $__ FROM table_name_15 WHERE country = \"united states\" AND score < 271 AND year > 1964 AND winner = \"bobby mitchell\"",
"context": "",
"question": "What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell?"
} |
### QUESTION
Which To par has a Country of united states, and a Player of duffy waldorf?
### CONTEXT
CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_22 WHERE country = "united states" AND player = "duffy waldorf" | {
"answer": "SELECT to_par FROM table_name_22 WHERE country = \"united states\" AND player = \"duffy waldorf\"",
"context": "CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR)",
"question": "Which To par has a Country of united states, and a Player of duffy waldorf?"
} |
### QUESTION
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?
### CONTEXT
CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR)
### ANSWER
SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = "Darren Flutie, Eric Tillman and Greg Frers" | {
"answer": "SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = \"Darren Flutie, Eric Tillman and Greg Frers\"",
"context": "CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR)",
"question": "How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?"
} |
### QUESTION
When did the New England Patriots play as the visiting team?
### CONTEXT
CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR)
### ANSWER
SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" | {
"answer": "SELECT date FROM table_name_23 WHERE visiting_team = \"new england patriots\"",
"context": "CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR)",
"question": "When did the New England Patriots play as the visiting team?"
} |
### QUESTION
what is the minimum games played with goals for/against being 7-5
### CONTEXT
CREATE TABLE table_14181578_1 (games_played INTEGER, goals_for_against VARCHAR)
### ANSWER
SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = "7-5" | {
"answer": "SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = \"7-5\"",
"context": "CREATE TABLE table_14181578_1 (games_played INTEGER, goals_for_against VARCHAR)",
"question": "what is the minimum games played with goals for/against being 7-5"
} |
### QUESTION
Show different tourist attractions' names, ids, and the corresponding number of visits.
### CONTEXT
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
### ANSWER
SELECT T1.Name, T2.Tourist_Attraction_ID, COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID | {
"answer": "SELECT T1.Name, T2.Tourist_Attraction_ID, COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID",
"context": "CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)",
"question": "Show different tourist attractions' names, ids, and the corresponding number of visits."
} |
### QUESTION
How many totals have andy north as the player?
### CONTEXT
CREATE TABLE table_name_96 (total INTEGER, player VARCHAR)
### ANSWER
SELECT SUM(total) FROM table_name_96 WHERE player = "andy north" | {
"answer": "SELECT SUM(total) FROM table_name_96 WHERE player = \"andy north\"",
"context": "CREATE TABLE table_name_96 (total INTEGER, player VARCHAR)",
"question": "How many totals have andy north as the player?"
} |
### QUESTION
What is the description of the treatment type that costs the least money in total?
### CONTEXT
CREATE TABLE Treatments (treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)
### ANSWER
SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY SUM(cost_of_treatment) LIMIT 1 | {
"answer": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY SUM(cost_of_treatment) LIMIT 1",
"context": "CREATE TABLE Treatments (treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)",
"question": "What is the description of the treatment type that costs the least money in total?"
} |
### QUESTION
How many QB ratings for the player with 1069 completions?
### CONTEXT
CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
### ANSWER
SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069 | {
"answer": "SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069",
"context": "CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)",
"question": "How many QB ratings for the player with 1069 completions?"
} |
### QUESTION
At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.
### CONTEXT
CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
### ANSWER
SELECT Restaurant.ResName, SUM(Visits_Restaurant.Spent) FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID GROUP BY Restaurant.ResID ORDER BY SUM(Visits_Restaurant.Spent) LIMIT 1 | {
"answer": "SELECT Restaurant.ResName, SUM(Visits_Restaurant.Spent) FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID GROUP BY Restaurant.ResID ORDER BY SUM(Visits_Restaurant.Spent) LIMIT 1",
"context": "CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)",
"question": "At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total."
} |
### QUESTION
When salyut 7 – ve-4 – eva 1 is the spacecraft, what is the duration?
### CONTEXT
CREATE TABLE table_245801_2 (duration VARCHAR, spacecraft VARCHAR)
### ANSWER
SELECT duration FROM table_245801_2 WHERE spacecraft = "Salyut 7 – VE-4 – EVA 1" | {
"answer": "SELECT duration FROM table_245801_2 WHERE spacecraft = \"Salyut 7 – VE-4 – EVA 1\"",
"context": "CREATE TABLE table_245801_2 (duration VARCHAR, spacecraft VARCHAR)",
"question": "When salyut 7 – ve-4 – eva 1 is the spacecraft, what is the duration?"
} |
### QUESTION
Show the ids of all employees who have either destroyed a document or made an authorization to do this.
### CONTEXT
CREATE TABLE Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR, Destruction_Authorised_by_Employee_ID VARCHAR)
### ANSWER
SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | {
"answer": "SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"context": "CREATE TABLE Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR, Destruction_Authorised_by_Employee_ID VARCHAR)",
"question": "Show the ids of all employees who have either destroyed a document or made an authorization to do this."
} |
### QUESTION
What is the Position of Pick #321?
### CONTEXT
CREATE TABLE table_name_97 (position VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT position FROM table_name_97 WHERE pick__number = 321 | {
"answer": "SELECT position FROM table_name_97 WHERE pick__number = 321",
"context": "CREATE TABLE table_name_97 (position VARCHAR, pick__number VARCHAR)",
"question": "What is the Position of Pick #321?"
} |
### QUESTION
Show the church names for the weddings of all people older than 30.
### CONTEXT
CREATE TABLE church (name VARCHAR, church_id VARCHAR); CREATE TABLE people (people_id VARCHAR, age VARCHAR); CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, church_id VARCHAR)
### ANSWER
SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30 | {
"answer": "SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30",
"context": "CREATE TABLE church (name VARCHAR, church_id VARCHAR); CREATE TABLE people (people_id VARCHAR, age VARCHAR); CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, church_id VARCHAR)",
"question": "Show the church names for the weddings of all people older than 30."
} |
### QUESTION
Name the episode number that aired on july 23, 2000
### CONTEXT
CREATE TABLE table_name_34 (episode__number VARCHAR, original_airdate VARCHAR)
### ANSWER
SELECT episode__number FROM table_name_34 WHERE original_airdate = "july 23, 2000" | {
"answer": "SELECT episode__number FROM table_name_34 WHERE original_airdate = \"july 23, 2000\"",
"context": "CREATE TABLE table_name_34 (episode__number VARCHAR, original_airdate VARCHAR)",
"question": "Name the episode number that aired on july 23, 2000"
} |
### QUESTION
How many viewers in millions for episode number 38?
### CONTEXT
CREATE TABLE table_2602958_3 (us_viewers__million_ VARCHAR, no VARCHAR)
### ANSWER
SELECT us_viewers__million_ FROM table_2602958_3 WHERE no = 38 | {
"answer": "SELECT us_viewers__million_ FROM table_2602958_3 WHERE no = 38",
"context": "CREATE TABLE table_2602958_3 (us_viewers__million_ VARCHAR, no VARCHAR)",
"question": "How many viewers in millions for episode number 38?"
} |
### QUESTION
What is the cores when the L3 cache is 8 mb, and the frequency is 2.5 ghz?
### CONTEXT
CREATE TABLE table_name_58 (cores VARCHAR, l3_cache VARCHAR, frequency VARCHAR)
### ANSWER
SELECT cores FROM table_name_58 WHERE l3_cache = "8 mb" AND frequency = "2.5 ghz" | {
"answer": "SELECT cores FROM table_name_58 WHERE l3_cache = \"8 mb\" AND frequency = \"2.5 ghz\"",
"context": "CREATE TABLE table_name_58 (cores VARCHAR, l3_cache VARCHAR, frequency VARCHAR)",
"question": "What is the cores when the L3 cache is 8 mb, and the frequency is 2.5 ghz?"
} |
### QUESTION
What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?
### CONTEXT
CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846 | {
"answer": "SELECT SUM(enrollment) FROM table_name_62 WHERE location = \"buffalo, new york\" AND affiliation = \"public\" AND founded > 1846",
"context": "CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)",
"question": "What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?"
} |
### QUESTION
Which player has a Club/province of direito, less than 21 caps, and a Position of lock?
### CONTEXT
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)
### ANSWER
SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock" | {
"answer": "SELECT player FROM table_name_99 WHERE club_province = \"direito\" AND caps < 21 AND position = \"lock\"",
"context": "CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)",
"question": "Which player has a Club/province of direito, less than 21 caps, and a Position of lock?"
} |
### QUESTION
Show the names of all the activities Mark Giuliano participates in.
### CONTEXT
CREATE TABLE Activity (activity_name VARCHAR, actid VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR)
### ANSWER
SELECT T3.activity_name FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN Activity AS T3 ON T3.actid = T2.actid WHERE T1.fname = "Mark" AND T1.lname = "Giuliano" | {
"answer": "SELECT T3.activity_name FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN Activity AS T3 ON T3.actid = T2.actid WHERE T1.fname = \"Mark\" AND T1.lname = \"Giuliano\"",
"context": "CREATE TABLE Activity (activity_name VARCHAR, actid VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR)",
"question": "Show the names of all the activities Mark Giuliano participates in."
} |
### QUESTION
Which round has pain and glory 2006 as the event?
### CONTEXT
CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR)
### ANSWER
SELECT round FROM table_name_94 WHERE event = "pain and glory 2006" | {
"answer": "SELECT round FROM table_name_94 WHERE event = \"pain and glory 2006\"",
"context": "CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR)",
"question": "Which round has pain and glory 2006 as the event?"
} |
### QUESTION
What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"?
### CONTEXT
CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR)
### ANSWER
SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins" | {
"answer": "SELECT date FROM table_name_10 WHERE partnering = \"francesca lubiani\" AND opponent_in_final = \"yuliya beygelzimer / jennifer hopkins\"",
"context": "CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR)",
"question": "What is the Date, when Partnering is \"Francesca Lubiani\", and when Opponent in Final is \"Yuliya Beygelzimer / Jennifer Hopkins\"?"
} |
### QUESTION
What parish did McCain have 45.37% of the votes?
### CONTEXT
CREATE TABLE table_20722805_1 (parish VARCHAR, mccain_percentage VARCHAR)
### ANSWER
SELECT parish FROM table_20722805_1 WHERE mccain_percentage = "45.37%" | {
"answer": "SELECT parish FROM table_20722805_1 WHERE mccain_percentage = \"45.37%\"",
"context": "CREATE TABLE table_20722805_1 (parish VARCHAR, mccain_percentage VARCHAR)",
"question": "What parish did McCain have 45.37% of the votes?"
} |
### QUESTION
What packages offer the Cartello Promozionale Sky HD service?
### CONTEXT
CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)
### ANSWER
SELECT package_option FROM table_15887683_3 WHERE television_service = "Cartello promozionale Sky HD" | {
"answer": "SELECT package_option FROM table_15887683_3 WHERE television_service = \"Cartello promozionale Sky HD\"",
"context": "CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)",
"question": "What packages offer the Cartello Promozionale Sky HD service?"
} |
### QUESTION
How many reservations for sc/st are there in constituency 191?
### CONTEXT
CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR)
### ANSWER
SELECT COUNT(reservation_for_sc_st) FROM table_29785324_4 WHERE constituency_no = 191 | {
"answer": "SELECT COUNT(reservation_for_sc_st) FROM table_29785324_4 WHERE constituency_no = 191",
"context": "CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR)",
"question": "How many reservations for sc/st are there in constituency 191?"
} |
### QUESTION
Find the names of customers who never placed an order.
### CONTEXT
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
### ANSWER
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id | {
"answer": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id",
"context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)",
"question": "Find the names of customers who never placed an order."
} |
### QUESTION
What was the score for United States when the player was Mike Reid and the To par was e?
### CONTEXT
CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
### ANSWER
SELECT score FROM table_name_30 WHERE country = "united states" AND to_par = "e" AND player = "mike reid" | {
"answer": "SELECT score FROM table_name_30 WHERE country = \"united states\" AND to_par = \"e\" AND player = \"mike reid\"",
"context": "CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)",
"question": "What was the score for United States when the player was Mike Reid and the To par was e?"
} |
### QUESTION
what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?
### CONTEXT
CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)
### ANSWER
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" | {
"answer": "SELECT country FROM table_name_55 WHERE notes = \"sa/b\" AND rank > 1 AND athlete = \"zhang xiuyun\"",
"context": "CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)",
"question": "what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?"
} |
### QUESTION
When they were playing the detroit lions at tampa stadium, what was the score?
### CONTEXT
CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)
### ANSWER
SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions" | {
"answer": "SELECT result FROM table_name_49 WHERE game_site = \"tampa stadium\" AND opponent = \"detroit lions\"",
"context": "CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)",
"question": "When they were playing the detroit lions at tampa stadium, what was the score?"
} |
### QUESTION
What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?
### CONTEXT
CREATE TABLE table_name_35 (money___ INTEGER, to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(money___) AS $__ FROM table_name_35 WHERE to_par = "e" AND player = "ernie els" | {
"answer": "SELECT MAX(money___) AS $__ FROM table_name_35 WHERE to_par = \"e\" AND player = \"ernie els\"",
"context": "CREATE TABLE table_name_35 (money___ INTEGER, to_par VARCHAR, player VARCHAR)",
"question": "What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?"
} |
### QUESTION
Name the to par with money of 200,000 for australia
### CONTEXT
CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR)
### ANSWER
SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" | {
"answer": "SELECT to_par FROM table_name_30 WHERE money___£__ = \"200,000\" AND country = \"australia\"",
"context": "CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR)",
"question": "Name the to par with money of 200,000 for australia"
} |
### QUESTION
Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?
### CONTEXT
CREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR)
### ANSWER
SELECT MAX(laps) FROM table_name_25 WHERE time_retired = "+1 lap" AND constructor = "brm" AND grid > 1 | {
"answer": "SELECT MAX(laps) FROM table_name_25 WHERE time_retired = \"+1 lap\" AND constructor = \"brm\" AND grid > 1",
"context": "CREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR)",
"question": "Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?"
} |
### QUESTION
Find the state of the college which player Charles is attending.
### CONTEXT
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
### ANSWER
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles' | {
"answer": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'",
"context": "CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)",
"question": "Find the state of the college which player Charles is attending."
} |
### QUESTION
Name the runner-up for janice yan (閻奕格)
### CONTEXT
CREATE TABLE table_name_35 (runner_up VARCHAR, winner VARCHAR)
### ANSWER
SELECT runner_up FROM table_name_35 WHERE winner = "janice yan (閻奕格)" | {
"answer": "SELECT runner_up FROM table_name_35 WHERE winner = \"janice yan (閻奕格)\"",
"context": "CREATE TABLE table_name_35 (runner_up VARCHAR, winner VARCHAR)",
"question": "Name the runner-up for janice yan (閻奕格)"
} |
### QUESTION
What is the penalty for Jonathan Toews?
### CONTEXT
CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)
### ANSWER
SELECT penalty FROM table_name_19 WHERE player = "jonathan toews" | {
"answer": "SELECT penalty FROM table_name_19 WHERE player = \"jonathan toews\"",
"context": "CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)",
"question": "What is the penalty for Jonathan Toews?"
} |
### QUESTION
Which duration was defeated by retired?
### CONTEXT
CREATE TABLE table_name_84 (duration VARCHAR, defeated_by VARCHAR)
### ANSWER
SELECT duration FROM table_name_84 WHERE defeated_by = "retired" | {
"answer": "SELECT duration FROM table_name_84 WHERE defeated_by = \"retired\"",
"context": "CREATE TABLE table_name_84 (duration VARCHAR, defeated_by VARCHAR)",
"question": "Which duration was defeated by retired?"
} |
### QUESTION
What were the lowest goals when the matches were smaller than 29?
### CONTEXT
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
### ANSWER
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29 | {
"answer": "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?"
} |
### QUESTION
Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q?
### CONTEXT
CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR)
### ANSWER
SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = "northern premier league premier division" AND fa_cup = "2q" | {
"answer": "SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = \"northern premier league premier division\" AND fa_cup = \"2q\"",
"context": "CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR)",
"question": "Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q?"
} |
### QUESTION
What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?
### CONTEXT
CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR)
### ANSWER
SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.5 | {
"answer": "SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = \"0.1%\" AND area__percentage_of_eu = \"0.1%\" AND population_in_millions > 0.5",
"context": "CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR)",
"question": "What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?"
} |
### QUESTION
What is the total number of purchases for members with level 6?
### CONTEXT
CREATE TABLE member (member_id VARCHAR, level VARCHAR); CREATE TABLE purchase (member_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T2.level = 6 | {
"answer": "SELECT COUNT(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T2.level = 6",
"context": "CREATE TABLE member (member_id VARCHAR, level VARCHAR); CREATE TABLE purchase (member_id VARCHAR)",
"question": "What is the total number of purchases for members with level 6?"
} |
### QUESTION
Who directed the film Nuits d'arabie?
### CONTEXT
CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
### ANSWER
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Nuits d'Arabie" | {
"answer": "SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = \"Nuits d'Arabie\"",
"context": "CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)",
"question": "Who directed the film Nuits d'arabie?"
} |
### QUESTION
What pick number was the Boston Bruins selection for defence?
### CONTEXT
CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR)
### ANSWER
SELECT pick__number FROM table_2897457_8 WHERE position = "Defence" AND nhl_team = "Boston Bruins" | {
"answer": "SELECT pick__number FROM table_2897457_8 WHERE position = \"Defence\" AND nhl_team = \"Boston Bruins\"",
"context": "CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR)",
"question": "What pick number was the Boston Bruins selection for defence?"
} |
### QUESTION
What is the lowest round that a pick had a position of ls?
### CONTEXT
CREATE TABLE table_name_26 (round INTEGER, position VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_26 WHERE position = "ls" | {
"answer": "SELECT MIN(round) FROM table_name_26 WHERE position = \"ls\"",
"context": "CREATE TABLE table_name_26 (round INTEGER, position VARCHAR)",
"question": "What is the lowest round that a pick had a position of ls?"
} |
### QUESTION
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
### CONTEXT
CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)
### ANSWER
SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = "australia" AND best_bowling = "5/36" AND average < 23.33 | {
"answer": "SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = \"australia\" AND best_bowling = \"5/36\" AND average < 23.33",
"context": "CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)",
"question": "What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?"
} |
### QUESTION
Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.
### CONTEXT
CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)
### ANSWER
SELECT T1.first_name, T1.middle_name, T1.last_name, T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) = 2 | {
"answer": "SELECT T1.first_name, T1.middle_name, T1.last_name, T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) = 2",
"context": "CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)",
"question": "Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id."
} |
### QUESTION
What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038?
### CONTEXT
CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR)
### ANSWER
SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038 | {
"answer": "SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = \"cape agulhas\" AND population__2011_ < 33 OFFSET 038",
"context": "CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR)",
"question": "What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038?"
} |
### QUESTION
What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
### CONTEXT
CREATE TABLE table_name_70 (total INTEGER, b_score VARCHAR, gymnast VARCHAR)
### ANSWER
SELECT AVG(total) FROM table_name_70 WHERE b_score = 9.15 AND gymnast = "cheng fei ( chn )" | {
"answer": "SELECT AVG(total) FROM table_name_70 WHERE b_score = 9.15 AND gymnast = \"cheng fei ( chn )\"",
"context": "CREATE TABLE table_name_70 (total INTEGER, b_score VARCHAR, gymnast VARCHAR)",
"question": "What is the total when the B Score was 9.15 for Cheng Fei ( chn )?"
} |
### QUESTION
which brand have drivers who won with the names of ryan briscoe and tomas scheckter
### CONTEXT
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
### ANSWER
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter" | {
"answer": "SELECT winning_team FROM table_13512105_3 WHERE winning_driver = \"Ryan Briscoe\" AND fastest_lap = \"Tomas Scheckter\"",
"context": "CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)",
"question": "which brand have drivers who won with the names of ryan briscoe and tomas scheckter"
} |
### QUESTION
What's the highest First Elected with a Result of Re-elected and DIstrict of California 5?
### CONTEXT
CREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR)
### ANSWER
SELECT MAX(first_elected) FROM table_name_21 WHERE result = "re-elected" AND district = "california 5" | {
"answer": "SELECT MAX(first_elected) FROM table_name_21 WHERE result = \"re-elected\" AND district = \"california 5\"",
"context": "CREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR)",
"question": "What's the highest First Elected with a Result of Re-elected and DIstrict of California 5?"
} |
### QUESTION
Find the name of the organization that has published the largest number of papers.
### CONTEXT
CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
### ANSWER
SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)",
"question": "Find the name of the organization that has published the largest number of papers."
} |
### QUESTION
What district is Mac Collins an incumbent in?
### CONTEXT
CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins" | {
"answer": "SELECT district FROM table_1341472_12 WHERE incumbent = \"Mac Collins\"",
"context": "CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR)",
"question": "What district is Mac Collins an incumbent in?"
} |
### QUESTION
How many times has a wrestler whose federation was roh, wwe competed in this event?
### CONTEXT
CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR)
### ANSWER
SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = "ROH, WWE" | {
"answer": "SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = \"ROH, WWE\"",
"context": "CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR)",
"question": "How many times has a wrestler whose federation was roh, wwe competed in this event?"
} |
### QUESTION
What Utah Jazz Forward played for Southern Methodist?
### CONTEXT
CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT player FROM table_name_74 WHERE position = "forward" AND school_club_team = "southern methodist" | {
"answer": "SELECT player FROM table_name_74 WHERE position = \"forward\" AND school_club_team = \"southern methodist\"",
"context": "CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)",
"question": "What Utah Jazz Forward played for Southern Methodist?"
} |
### QUESTION
Which Goals For has a Position larger than 2, a Lost larger than 18, a Team of matlock town, and a Goals Against larger than 79?
### CONTEXT
CREATE TABLE table_name_74 (goals_for INTEGER, goals_against VARCHAR, team VARCHAR, position VARCHAR, lost VARCHAR)
### ANSWER
SELECT MAX(goals_for) FROM table_name_74 WHERE position > 2 AND lost > 18 AND team = "matlock town" AND goals_against > 79 | {
"answer": "SELECT MAX(goals_for) FROM table_name_74 WHERE position > 2 AND lost > 18 AND team = \"matlock town\" AND goals_against > 79",
"context": "CREATE TABLE table_name_74 (goals_for INTEGER, goals_against VARCHAR, team VARCHAR, position VARCHAR, lost VARCHAR)",
"question": "Which Goals For has a Position larger than 2, a Lost larger than 18, a Team of matlock town, and a Goals Against larger than 79?"
} |
### QUESTION
Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008?
### CONTEXT
CREATE TABLE table_name_50 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)
### ANSWER
SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008 | {
"answer": "SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008",
"context": "CREATE TABLE table_name_50 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)",
"question": "Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008?"
} |
### QUESTION
What is the Date of the match with a Score in the final of 6–3, 6–3, 2–6, 6–4?
### CONTEXT
CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR)
### ANSWER
SELECT date FROM table_name_9 WHERE score_in_the_final = "6–3, 6–3, 2–6, 6–4" | {
"answer": "SELECT date FROM table_name_9 WHERE score_in_the_final = \"6–3, 6–3, 2–6, 6–4\"",
"context": "CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR)",
"question": "What is the Date of the match with a Score in the final of 6–3, 6–3, 2–6, 6–4?"
} |
### QUESTION
Find the name of dorms which have TV Lounge but no Study Room as amenity.
### CONTEXT
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
### ANSWER
SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room' | {
"answer": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room'",
"context": "CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)",
"question": "Find the name of dorms which have TV Lounge but no Study Room as amenity."
} |
### QUESTION
Name the extension for university of washington
### CONTEXT
CREATE TABLE table_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR)
### ANSWER
SELECT extension FROM table_22771048_3 WHERE city_neighborhood = "University of Washington" | {
"answer": "SELECT extension FROM table_22771048_3 WHERE city_neighborhood = \"University of Washington\"",
"context": "CREATE TABLE table_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR)",
"question": "Name the extension for university of washington"
} |
### QUESTION
What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order.
### CONTEXT
CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR)
### ANSWER
SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_type_description = 'Sponsor' ORDER BY organisation_details | {
"answer": "SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_type_description = 'Sponsor' ORDER BY organisation_details",
"context": "CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR)",
"question": "What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order."
} |
### QUESTION
What date is the 1:00 pm game at arrowhead stadium?
### CONTEXT
CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR)
### ANSWER
SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium" | {
"answer": "SELECT date FROM table_name_37 WHERE time___et__ = \"1:00 pm\" AND game_site = \"arrowhead stadium\"",
"context": "CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR)",
"question": "What date is the 1:00 pm game at arrowhead stadium?"
} |
### QUESTION
how many times is the name Derek Smith when the round is higher than 3?
### CONTEXT
CREATE TABLE table_name_63 (overall VARCHAR, name VARCHAR, round VARCHAR)
### ANSWER
SELECT COUNT(overall) FROM table_name_63 WHERE name = "derek smith" AND round > 3 | {
"answer": "SELECT COUNT(overall) FROM table_name_63 WHERE name = \"derek smith\" AND round > 3",
"context": "CREATE TABLE table_name_63 (overall VARCHAR, name VARCHAR, round VARCHAR)",
"question": "how many times is the name Derek Smith when the round is higher than 3?"
} |
### QUESTION
What year featured lola motorsport as an entrant with over 0 points?
### CONTEXT
CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0 | {
"answer": "SELECT AVG(year) FROM table_name_44 WHERE entrant = \"lola motorsport\" AND points > 0",
"context": "CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR)",
"question": "What year featured lola motorsport as an entrant with over 0 points?"
} |
### QUESTION
Find the last names of all the teachers that teach GELL TAMI.
### CONTEXT
CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### ANSWER
SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI" | {
"answer": "SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = \"GELL\" AND T1.lastname = \"TAMI\"",
"context": "CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"question": "Find the last names of all the teachers that teach GELL TAMI."
} |
### QUESTION
What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?
### CONTEXT
CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40 | {
"answer": "SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = \"palamós cf\" AND goals_for < 40",
"context": "CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)",
"question": "What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?"
} |
### QUESTION
What tries against value does burry port rfc have?
### CONTEXT
CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR)
### ANSWER
SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc" | {
"answer": "SELECT tries_against FROM table_name_87 WHERE club = \"burry port rfc\"",
"context": "CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR)",
"question": "What tries against value does burry port rfc have?"
} |
### QUESTION
What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman?
### CONTEXT
CREATE TABLE table_name_18 (year INTEGER, role VARCHAR, title VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_18 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "alvin and the chipmunks meet the wolfman" | {
"answer": "SELECT MIN(year) FROM table_name_18 WHERE role = \"alvin seville simon seville david 'dave' seville\" AND title = \"alvin and the chipmunks meet the wolfman\"",
"context": "CREATE TABLE table_name_18 (year INTEGER, role VARCHAR, title VARCHAR)",
"question": "What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman?"
} |
### QUESTION
What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?
### CONTEXT
CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
### ANSWER
SELECT place FROM table_name_14 WHERE score = 72 - 72 = 144 AND country = "united states" AND player = "scott mccarron" | {
"answer": "SELECT place FROM table_name_14 WHERE score = 72 - 72 = 144 AND country = \"united states\" AND player = \"scott mccarron\"",
"context": "CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)",
"question": "What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?"
} |
### QUESTION
What country does Bobby Nichols play for?
### CONTEXT
CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_70 WHERE player = "bobby nichols" | {
"answer": "SELECT country FROM table_name_70 WHERE player = \"bobby nichols\"",
"context": "CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR)",
"question": "What country does Bobby Nichols play for?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.