text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?
### CONTEXT
CREATE TABLE table_name_80 (Id VARCHAR)
### ANSWER
SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 | {
"answer": "SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131",
"context": "CREATE TABLE table_name_80 (Id VARCHAR)",
"question": "1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?"
} |
### QUESTION
What was the To par for United States golfer fred couples?
### CONTEXT
CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_17 WHERE country = "united states" AND player = "fred couples" | {
"answer": "SELECT to_par FROM table_name_17 WHERE country = \"united states\" AND player = \"fred couples\"",
"context": "CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What was the To par for United States golfer fred couples?"
} |
### QUESTION
What was the swimsuit score for the one who had a semifinal average of 8.759 (5)?
### CONTEXT
CREATE TABLE table_16323766_3 (swimsuit VARCHAR, semifinal_average VARCHAR)
### ANSWER
SELECT swimsuit FROM table_16323766_3 WHERE semifinal_average = "8.759 (5)" | {
"answer": "SELECT swimsuit FROM table_16323766_3 WHERE semifinal_average = \"8.759 (5)\"",
"context": "CREATE TABLE table_16323766_3 (swimsuit VARCHAR, semifinal_average VARCHAR)",
"question": "What was the swimsuit score for the one who had a semifinal average of 8.759 (5)?"
} |
### QUESTION
Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?
### CONTEXT
CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)
### ANSWER
SELECT MIN(ansi_code) FROM table_name_48 WHERE geo_id > 3809927140 AND water__sqmi_ < 0.492 AND pop__2010_ = 37 AND latitude > 48.245979 | {
"answer": "SELECT MIN(ansi_code) FROM table_name_48 WHERE geo_id > 3809927140 AND water__sqmi_ < 0.492 AND pop__2010_ = 37 AND latitude > 48.245979",
"context": "CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)",
"question": "Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?"
} |
### QUESTION
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw?
### CONTEXT
CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR)
### ANSWER
SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw" | {
"answer": "SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = \"11\" AND scorer = \"joe laidlaw\"",
"context": "CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR)",
"question": "Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw?"
} |
### QUESTION
What amount of the university students and adults ehre the the senior high school is 26mm?
### CONTEXT
CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
### ANSWER
SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm" | {
"answer": "SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = \"26mm\"",
"context": "CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)",
"question": "What amount of the university students and adults ehre the the senior high school is 26mm?"
} |
### QUESTION
What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos?
### CONTEXT
CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
### ANSWER
SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos" | {
"answer": "SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = \"thrasyvoulos\"",
"context": "CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)",
"question": "What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos?"
} |
### QUESTION
What was the score of the game that had a loss of Chad Fox (3–3)?
### CONTEXT
CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR)
### ANSWER
SELECT score FROM table_name_68 WHERE loss = "chad fox (3–3)" | {
"answer": "SELECT score FROM table_name_68 WHERE loss = \"chad fox (3–3)\"",
"context": "CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR)",
"question": "What was the score of the game that had a loss of Chad Fox (3–3)?"
} |
### QUESTION
How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?
### CONTEXT
CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR)
### ANSWER
SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_apps = "2" AND league_cup_goals < 0 | {
"answer": "SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = \"2\" AND fa_cup_apps = \"2\" AND league_cup_goals < 0",
"context": "CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR)",
"question": "How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?"
} |
### QUESTION
What is the Round for the jiu-jitsu vs martial arts?
### CONTEXT
CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)
### ANSWER
SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" | {
"answer": "SELECT round FROM table_name_20 WHERE event = \"jiu-jitsu vs martial arts\"",
"context": "CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)",
"question": "What is the Round for the jiu-jitsu vs martial arts?"
} |
### QUESTION
What is the unit of measurement of product named "cumin"?
### CONTEXT
CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR); CREATE TABLE products (product_category_code VARCHAR, product_name VARCHAR)
### ANSWER
SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "cumin" | {
"answer": "SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = \"cumin\"",
"context": "CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR); CREATE TABLE products (product_category_code VARCHAR, product_name VARCHAR)",
"question": "What is the unit of measurement of product named \"cumin\"?"
} |
### QUESTION
When did Avex Entertainment release a CD?
### CONTEXT
CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR)
### ANSWER
SELECT date FROM table_name_22 WHERE format = "cd" AND label = "avex entertainment" | {
"answer": "SELECT date FROM table_name_22 WHERE format = \"cd\" AND label = \"avex entertainment\"",
"context": "CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR)",
"question": "When did Avex Entertainment release a CD?"
} |
### QUESTION
Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?
### CONTEXT
CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)
### ANSWER
SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd" | {
"answer": "SELECT venue FROM table_29033869_3 WHERE opponent = \"Essendon\" AND position_on_ladder = \"3rd\"",
"context": "CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)",
"question": "Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?"
} |
### QUESTION
Find the name and id of the good with the highest average rank.
### CONTEXT
CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)
### ANSWER
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1 | {
"answer": "SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1",
"context": "CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)",
"question": "Find the name and id of the good with the highest average rank."
} |
### QUESTION
Show the account id and name with at least 4 transactions.
### CONTEXT
CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)
### ANSWER
SELECT T1.account_id, T2.account_name FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id HAVING COUNT(*) >= 4 | {
"answer": "SELECT T1.account_id, T2.account_name FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id HAVING COUNT(*) >= 4",
"context": "CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)",
"question": "Show the account id and name with at least 4 transactions."
} |
### QUESTION
What was the cargo value in 2005 with a ship size of all product carriers?
### CONTEXT
CREATE TABLE table_name_31 (ship_size VARCHAR)
### ANSWER
SELECT 2005 FROM table_name_31 WHERE ship_size = "all product carriers" | {
"answer": "SELECT 2005 FROM table_name_31 WHERE ship_size = \"all product carriers\"",
"context": "CREATE TABLE table_name_31 (ship_size VARCHAR)",
"question": "What was the cargo value in 2005 with a ship size of all product carriers?"
} |
### QUESTION
What is every pregame analyst with Chris Rose as trophy presenter?
### CONTEXT
CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR)
### ANSWER
SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" | {
"answer": "SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = \"Chris Rose\"",
"context": "CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR)",
"question": "What is every pregame analyst with Chris Rose as trophy presenter?"
} |
### QUESTION
What is the average Total Freshwater Withdrawal (km 3 /yr), when Industrial Use (m 3 /p/yr)(in %) is 337(63%), and when Per Capita Withdrawal (m 3 /p/yr) is greater than 535?
### CONTEXT
CREATE TABLE table_name_5 (total_freshwater_withdrawal__km_3__yr_ INTEGER, industrial_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)
### ANSWER
SELECT AVG(total_freshwater_withdrawal__km_3__yr_) FROM table_name_5 WHERE industrial_use__m_3__p_yr__in__percentage_ = "337(63%)" AND per_capita_withdrawal__m_3__p_yr_ > 535 | {
"answer": "SELECT AVG(total_freshwater_withdrawal__km_3__yr_) FROM table_name_5 WHERE industrial_use__m_3__p_yr__in__percentage_ = \"337(63%)\" AND per_capita_withdrawal__m_3__p_yr_ > 535",
"context": "CREATE TABLE table_name_5 (total_freshwater_withdrawal__km_3__yr_ INTEGER, industrial_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)",
"question": "What is the average Total Freshwater Withdrawal (km 3 /yr), when Industrial Use (m 3 /p/yr)(in %) is 337(63%), and when Per Capita Withdrawal (m 3 /p/yr) is greater than 535?"
} |
### QUESTION
Show the host names for parties with number of hosts greater than 20.
### CONTEXT
CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Number_of_hosts INTEGER)
### ANSWER
SELECT T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T3.Number_of_hosts > 20 | {
"answer": "SELECT T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T3.Number_of_hosts > 20",
"context": "CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Number_of_hosts INTEGER)",
"question": "Show the host names for parties with number of hosts greater than 20."
} |
### QUESTION
Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?
### CONTEXT
CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
### ANSWER
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954" | {
"answer": "SELECT brazil_scorers FROM table_name_5 WHERE result = \"w\" AND competition = \"world cup qualifying\" AND date = \"february 28, 1954\"",
"context": "CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)",
"question": "Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?"
} |
### QUESTION
When bahamas is the country what is the height in centimeters?
### CONTEXT
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR)
### ANSWER
SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas" | {
"answer": "SELECT height__cm_ FROM table_18626383_2 WHERE country = \"Bahamas\"",
"context": "CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR)",
"question": "When bahamas is the country what is the height in centimeters?"
} |
### QUESTION
What was the average ranking of Saudi Arabia in the years of 2000–?
### CONTEXT
CREATE TABLE table_name_53 (ranking INTEGER, nationality VARCHAR, years VARCHAR)
### ANSWER
SELECT AVG(ranking) FROM table_name_53 WHERE nationality = "saudi arabia" AND years = "2000–" | {
"answer": "SELECT AVG(ranking) FROM table_name_53 WHERE nationality = \"saudi arabia\" AND years = \"2000–\"",
"context": "CREATE TABLE table_name_53 (ranking INTEGER, nationality VARCHAR, years VARCHAR)",
"question": "What was the average ranking of Saudi Arabia in the years of 2000–?"
} |
### QUESTION
Name the least pick number for colin campbell
### CONTEXT
CREATE TABLE table_1965650_2 (pick__number INTEGER, player VARCHAR)
### ANSWER
SELECT MIN(pick__number) FROM table_1965650_2 WHERE player = "Colin Campbell" | {
"answer": "SELECT MIN(pick__number) FROM table_1965650_2 WHERE player = \"Colin Campbell\"",
"context": "CREATE TABLE table_1965650_2 (pick__number INTEGER, player VARCHAR)",
"question": "Name the least pick number for colin campbell"
} |
### QUESTION
What is the Tie number for the match where Dartford was the hone team?
### CONTEXT
CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)
### ANSWER
SELECT tie_no FROM table_name_31 WHERE home_team = "dartford" | {
"answer": "SELECT tie_no FROM table_name_31 WHERE home_team = \"dartford\"",
"context": "CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)",
"question": "What is the Tie number for the match where Dartford was the hone team?"
} |
### QUESTION
what is the highest attendance for a total attendance-regular season record
### CONTEXT
CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season" | {
"answer": "SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = \"Total attendance-Regular season\"",
"context": "CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR)",
"question": "what is the highest attendance for a total attendance-regular season record"
} |
### QUESTION
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4?
### CONTEXT
CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR)
### ANSWER
SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4 | {
"answer": "SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = \"elizabeth anastasiou\" AND jury > 4",
"context": "CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR)",
"question": "How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4?"
} |
### QUESTION
What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv?
### CONTEXT
CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR)
### ANSWER
SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv" | {
"answer": "SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = \"slv\"",
"context": "CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR)",
"question": "What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv?"
} |
### QUESTION
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
### CONTEXT
CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)
### ANSWER
SELECT december_28 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)" | {
"answer": "SELECT december_28 FROM table_29217650_1 WHERE movies = \"Ang Tanging Ina Mo (Last na 'To!)\"",
"context": "CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)",
"question": "What is the figure for December 28 for ang tanging ina mo (last na 'to!)?"
} |
### QUESTION
When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification?
### CONTEXT
CREATE TABLE table_28538368_2 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_28538368_2 WHERE general_classification = "Alberto Contador Kanstantsin Sivtsov" AND points_classification = "Alessandro Petacchi" AND winner = "Mark Cavendish" | {
"answer": "SELECT mountains_classification FROM table_28538368_2 WHERE general_classification = \"Alberto Contador Kanstantsin Sivtsov\" AND points_classification = \"Alessandro Petacchi\" AND winner = \"Mark Cavendish\"",
"context": "CREATE TABLE table_28538368_2 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR, points_classification VARCHAR)",
"question": "When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification?"
} |
### QUESTION
What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?
### CONTEXT
CREATE TABLE table_name_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR)
### ANSWER
SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford" | {
"answer": "SELECT tally FROM table_name_44 WHERE county = \"kilkenny\" AND total = 10 AND opposition = \"waterford\"",
"context": "CREATE TABLE table_name_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR)",
"question": "What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?"
} |
### QUESTION
Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds?
### CONTEXT
CREATE TABLE table_name_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR)
### ANSWER
SELECT visitor FROM table_name_89 WHERE home = "linköpings hc" AND round > 20 AND date = "saturday, november 22" | {
"answer": "SELECT visitor FROM table_name_89 WHERE home = \"linköpings hc\" AND round > 20 AND date = \"saturday, november 22\"",
"context": "CREATE TABLE table_name_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR)",
"question": "Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds?"
} |
### QUESTION
What is the total number of people living in the nations that do not use English?
### CONTEXT
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Population INTEGER, Name VARCHAR)
### ANSWER
SELECT SUM(Population) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English") | {
"answer": "SELECT SUM(Population) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")",
"context": "CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Population INTEGER, Name VARCHAR)",
"question": "What is the total number of people living in the nations that do not use English?"
} |
### QUESTION
List the number of locations for the team known as the billikens.
### CONTEXT
CREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)
### ANSWER
SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = "Billikens" | {
"answer": "SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = \"Billikens\"",
"context": "CREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)",
"question": "List the number of locations for the team known as the billikens."
} |
### QUESTION
what is the consistency & participation when pareto efficiency is yes and condorcet is no?
### CONTEXT
CREATE TABLE table_name_83 (consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR)
### ANSWER
SELECT consistency_ & _participation FROM table_name_83 WHERE pareto_efficiency = "yes" AND condorcet = "no" | {
"answer": "SELECT consistency_ & _participation FROM table_name_83 WHERE pareto_efficiency = \"yes\" AND condorcet = \"no\"",
"context": "CREATE TABLE table_name_83 (consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR)",
"question": "what is the consistency & participation when pareto efficiency is yes and condorcet is no?"
} |
### QUESTION
Find the different first names and cities of the students who have allergy to milk or cat.
### CONTEXT
CREATE TABLE Has_Allergy (stuid VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, city_code VARCHAR, stuid VARCHAR)
### ANSWER
SELECT DISTINCT T1.fname, T1.city_code FROM Student AS T1 JOIN Has_Allergy AS T2 ON T1.stuid = T2.stuid WHERE T2.Allergy = "Milk" OR T2.Allergy = "Cat" | {
"answer": "SELECT DISTINCT T1.fname, T1.city_code FROM Student AS T1 JOIN Has_Allergy AS T2 ON T1.stuid = T2.stuid WHERE T2.Allergy = \"Milk\" OR T2.Allergy = \"Cat\"",
"context": "CREATE TABLE Has_Allergy (stuid VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, city_code VARCHAR, stuid VARCHAR)",
"question": "Find the different first names and cities of the students who have allergy to milk or cat."
} |
### QUESTION
What episode number originally aired on November 21, 1993?
### CONTEXT
CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)
### ANSWER
SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" | {
"answer": "SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = \"November 21, 1993\"",
"context": "CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)",
"question": "What episode number originally aired on November 21, 1993?"
} |
### QUESTION
What is the series score of the game with Vancouver as the visiting team on April 16?
### CONTEXT
CREATE TABLE table_name_73 (series VARCHAR, visitor VARCHAR, date VARCHAR)
### ANSWER
SELECT series FROM table_name_73 WHERE visitor = "vancouver" AND date = "april 16" | {
"answer": "SELECT series FROM table_name_73 WHERE visitor = \"vancouver\" AND date = \"april 16\"",
"context": "CREATE TABLE table_name_73 (series VARCHAR, visitor VARCHAR, date VARCHAR)",
"question": "What is the series score of the game with Vancouver as the visiting team on April 16?"
} |
### QUESTION
Name the most FA cup for championship of 18 and total of 19
### CONTEXT
CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)
### ANSWER
SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19 | {
"answer": "SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19",
"context": "CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)",
"question": "Name the most FA cup for championship of 18 and total of 19"
} |
### QUESTION
What is the number listed under against when there were less than 13 losses and less than 2 byes?
### CONTEXT
CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR)
### ANSWER
SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2 | {
"answer": "SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2",
"context": "CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR)",
"question": "What is the number listed under against when there were less than 13 losses and less than 2 byes?"
} |
### QUESTION
Find the list of cities that no customer is living in.
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE addresses (city VARCHAR)
### ANSWER
SELECT city FROM addresses WHERE NOT city IN (SELECT DISTINCT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id) | {
"answer": "SELECT city FROM addresses WHERE NOT city IN (SELECT DISTINCT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id)",
"context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE addresses (city VARCHAR)",
"question": "Find the list of cities that no customer is living in."
} |
### QUESTION
What college or club did the round 9 draft pick from Canada come from?
### CONTEXT
CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = \"canada\"",
"context": "CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)",
"question": "What college or club did the round 9 draft pick from Canada come from?"
} |
### QUESTION
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
### CONTEXT
CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR)
### ANSWER
SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa" | {
"answer": "SELECT film FROM table_name_10 WHERE award = \"troisième prix\" AND year < 2010 AND director = \"jan komasa\"",
"context": "CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR)",
"question": "Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?"
} |
### QUESTION
Who did the Lyrics (l) / Music (m) for the song in 23 Place?
### CONTEXT
CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)
### ANSWER
SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23" | {
"answer": "SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = \"23\"",
"context": "CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)",
"question": "Who did the Lyrics (l) / Music (m) for the song in 23 Place?"
} |
### QUESTION
Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship?
### CONTEXT
CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
### ANSWER
SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl" | {
"answer": "SELECT championship FROM table_name_89 WHERE outcome = \"runner-up\" AND surface = \"clay\" AND opponent_in_the_final = \"ivan lendl\"",
"context": "CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)",
"question": "Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship?"
} |
### QUESTION
Which Name has a Year larger than 2001, and a Length of 52 x 20 mins?
### CONTEXT
CREATE TABLE table_name_9 (name VARCHAR, year VARCHAR, length VARCHAR)
### ANSWER
SELECT name FROM table_name_9 WHERE year > 2001 AND length = "52 x 20 mins" | {
"answer": "SELECT name FROM table_name_9 WHERE year > 2001 AND length = \"52 x 20 mins\"",
"context": "CREATE TABLE table_name_9 (name VARCHAR, year VARCHAR, length VARCHAR)",
"question": "Which Name has a Year larger than 2001, and a Length of 52 x 20 mins?"
} |
### QUESTION
Find the names of products that were bought by at least two distinct customers.
### CONTEXT
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)
### ANSWER
SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 2 | {
"answer": "SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 2",
"context": "CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)",
"question": "Find the names of products that were bought by at least two distinct customers."
} |
### QUESTION
Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
### CONTEXT
CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)
### ANSWER
SELECT first_party FROM table_name_50 WHERE second_member = "charles robert colvile" AND second_party = "liberal" | {
"answer": "SELECT first_party FROM table_name_50 WHERE second_member = \"charles robert colvile\" AND second_party = \"liberal\"",
"context": "CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)",
"question": "Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?"
} |
### QUESTION
Name the december for record 14-17-4
### CONTEXT
CREATE TABLE table_27537870_5 (december VARCHAR, record VARCHAR)
### ANSWER
SELECT december FROM table_27537870_5 WHERE record = "14-17-4" | {
"answer": "SELECT december FROM table_27537870_5 WHERE record = \"14-17-4\"",
"context": "CREATE TABLE table_27537870_5 (december VARCHAR, record VARCHAR)",
"question": "Name the december for record 14-17-4"
} |
### QUESTION
what is the heat when the country is united kingdom and react is less than 0.232?
### CONTEXT
CREATE TABLE table_name_91 (heat INTEGER, country VARCHAR, react VARCHAR)
### ANSWER
SELECT MAX(heat) FROM table_name_91 WHERE country = "united kingdom" AND react < 0.232 | {
"answer": "SELECT MAX(heat) FROM table_name_91 WHERE country = \"united kingdom\" AND react < 0.232",
"context": "CREATE TABLE table_name_91 (heat INTEGER, country VARCHAR, react VARCHAR)",
"question": "what is the heat when the country is united kingdom and react is less than 0.232?"
} |
### QUESTION
Find the title of course that is provided by both Statistics and Psychology departments.
### CONTEXT
CREATE TABLE course (title VARCHAR, dept_name VARCHAR)
### ANSWER
SELECT title FROM course WHERE dept_name = 'Statistics' INTERSECT SELECT title FROM course WHERE dept_name = 'Psychology' | {
"answer": "SELECT title FROM course WHERE dept_name = 'Statistics' INTERSECT SELECT title FROM course WHERE dept_name = 'Psychology'",
"context": "CREATE TABLE course (title VARCHAR, dept_name VARCHAR)",
"question": "Find the title of course that is provided by both Statistics and Psychology departments."
} |
### QUESTION
What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
### CONTEXT
CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR)
### ANSWER
SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12 | {
"answer": "SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = \"soyuz\" AND successes < 12",
"context": "CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR)",
"question": "What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?"
} |
### QUESTION
Is it material or non-material when there are 2 suits for either opponent?
### CONTEXT
CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR)
### ANSWER
SELECT material_or_non_material FROM table_name_63 WHERE suits = "2" AND opponents = "either" | {
"answer": "SELECT material_or_non_material FROM table_name_63 WHERE suits = \"2\" AND opponents = \"either\"",
"context": "CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR)",
"question": "Is it material or non-material when there are 2 suits for either opponent?"
} |
### QUESTION
What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
### CONTEXT
CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
### ANSWER
SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84 | {
"answer": "SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84",
"context": "CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)",
"question": "What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?"
} |
### QUESTION
What venue had south melbourne as the home team?
### CONTEXT
CREATE TABLE table_name_90 (venue VARCHAR, home_team VARCHAR)
### ANSWER
SELECT venue FROM table_name_90 WHERE home_team = "south melbourne" | {
"answer": "SELECT venue FROM table_name_90 WHERE home_team = \"south melbourne\"",
"context": "CREATE TABLE table_name_90 (venue VARCHAR, home_team VARCHAR)",
"question": "What venue had south melbourne as the home team?"
} |
### QUESTION
Who is the person that has no friend?
### CONTEXT
CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE person (name VARCHAR)
### ANSWER
SELECT name FROM person EXCEPT SELECT name FROM PersonFriend | {
"answer": "SELECT name FROM person EXCEPT SELECT name FROM PersonFriend",
"context": "CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE person (name VARCHAR)",
"question": "Who is the person that has no friend?"
} |
### QUESTION
What was the score for the tie that had Shrewsbury Town as home team?
### CONTEXT
CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR)
### ANSWER
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town" | {
"answer": "SELECT score FROM table_name_87 WHERE home_team = \"shrewsbury town\"",
"context": "CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR)",
"question": "What was the score for the tie that had Shrewsbury Town as home team?"
} |
### QUESTION
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?
### CONTEXT
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)
### ANSWER
SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" | {
"answer": "SELECT MAX(election) FROM table_name_97 WHERE third_member = \"sir robert price, bt\" AND first_party = \"conservative\"",
"context": "CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)",
"question": "What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?"
} |
### QUESTION
Name the total number of nicknames for st. bonaventure university
### CONTEXT
CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR)
### ANSWER
SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = "St. Bonaventure University" | {
"answer": "SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = \"St. Bonaventure University\"",
"context": "CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR)",
"question": "Name the total number of nicknames for st. bonaventure university"
} |
### QUESTION
Who was in Academic & University Affairs when Andrew Langille was in local affairs?
### CONTEXT
CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR)
### ANSWER
SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille" | {
"answer": "SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = \"andrew langille\"",
"context": "CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR)",
"question": "Who was in Academic & University Affairs when Andrew Langille was in local affairs?"
} |
### QUESTION
Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993?
### CONTEXT
CREATE TABLE table_name_8 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)
### ANSWER
SELECT position FROM table_name_8 WHERE event = "10,000 m" AND competition = "world championships" AND year > 1993 | {
"answer": "SELECT position FROM table_name_8 WHERE event = \"10,000 m\" AND competition = \"world championships\" AND year > 1993",
"context": "CREATE TABLE table_name_8 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)",
"question": "Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993?"
} |
### QUESTION
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1
### CONTEXT
CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR)
### ANSWER
SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = "187 (1180)" AND total < 5640 | {
"answer": "SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = \"187 (1180)\" AND total < 5640",
"context": "CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR)",
"question": "Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1"
} |
### QUESTION
Name the pole position for belgian grand prix
### CONTEXT
CREATE TABLE table_name_75 (pole_position VARCHAR, grand_prix VARCHAR)
### ANSWER
SELECT pole_position FROM table_name_75 WHERE grand_prix = "belgian grand prix" | {
"answer": "SELECT pole_position FROM table_name_75 WHERE grand_prix = \"belgian grand prix\"",
"context": "CREATE TABLE table_name_75 (pole_position VARCHAR, grand_prix VARCHAR)",
"question": "Name the pole position for belgian grand prix"
} |
### QUESTION
Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?
### CONTEXT
CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)
### ANSWER
SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67" | {
"answer": "SELECT SUM(issue) FROM table_name_44 WHERE artist = \"mort drucker\" AND spoofed_title = \"route 67\"",
"context": "CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)",
"question": "Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?"
} |
### QUESTION
How many clubs does the student named "Eric Tai" belong to?
### CONTEXT
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Eric" AND t3.lname = "Tai" | {
"answer": "SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = \"Eric\" AND t3.lname = \"Tai\"",
"context": "CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)",
"question": "How many clubs does the student named \"Eric Tai\" belong to?"
} |
### QUESTION
Who were the superintendent(s) when the middle school principal was alan degroote, the gorham principal was paul lahue, and the year was 2006-2007?
### CONTEXT
CREATE TABLE table_25037577_1 (superintendent VARCHAR, year VARCHAR, middle_school_principal VARCHAR, gorham_principal VARCHAR)
### ANSWER
SELECT superintendent FROM table_25037577_1 WHERE middle_school_principal = "Alan Degroote" AND gorham_principal = "Paul Lahue" AND year = "2006-2007" | {
"answer": "SELECT superintendent FROM table_25037577_1 WHERE middle_school_principal = \"Alan Degroote\" AND gorham_principal = \"Paul Lahue\" AND year = \"2006-2007\"",
"context": "CREATE TABLE table_25037577_1 (superintendent VARCHAR, year VARCHAR, middle_school_principal VARCHAR, gorham_principal VARCHAR)",
"question": "Who were the superintendent(s) when the middle school principal was alan degroote, the gorham principal was paul lahue, and the year was 2006-2007?"
} |
### QUESTION
Which tournament had a winning score of 67-61-68-67=263?
### CONTEXT
CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR)
### ANSWER
SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263 | {
"answer": "SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263",
"context": "CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR)",
"question": "Which tournament had a winning score of 67-61-68-67=263?"
} |
### QUESTION
What is the score of a year less than 2008 with loss as the result, in Antalya and a Competition of europe/africa zone, group i, round robin?
### CONTEXT
CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR, result VARCHAR)
### ANSWER
SELECT score FROM table_name_49 WHERE year < 2008 AND result = "loss" AND location = "antalya" AND competition = "europe/africa zone, group i, round robin" | {
"answer": "SELECT score FROM table_name_49 WHERE year < 2008 AND result = \"loss\" AND location = \"antalya\" AND competition = \"europe/africa zone, group i, round robin\"",
"context": "CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR, result VARCHAR)",
"question": "What is the score of a year less than 2008 with loss as the result, in Antalya and a Competition of europe/africa zone, group i, round robin?"
} |
### QUESTION
Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04?
### CONTEXT
CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR)
### ANSWER
SELECT SUM(run_4) FROM table_name_78 WHERE country = "united states" AND athlete = "bree schaaf emily azevedo" AND run_3 < 58.04 | {
"answer": "SELECT SUM(run_4) FROM table_name_78 WHERE country = \"united states\" AND athlete = \"bree schaaf emily azevedo\" AND run_3 < 58.04",
"context": "CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR)",
"question": "Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04?"
} |
### QUESTION
What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard?
### CONTEXT
CREATE TABLE table_1926240_1 (informational_cvbs_lines VARCHAR, max_characters__per_page_row_ VARCHAR, standard VARCHAR)
### ANSWER
SELECT informational_cvbs_lines FROM table_1926240_1 WHERE max_characters__per_page_row_ = 32 AND standard = "B (global)" | {
"answer": "SELECT informational_cvbs_lines FROM table_1926240_1 WHERE max_characters__per_page_row_ = 32 AND standard = \"B (global)\"",
"context": "CREATE TABLE table_1926240_1 (informational_cvbs_lines VARCHAR, max_characters__per_page_row_ VARCHAR, standard VARCHAR)",
"question": "What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard?"
} |
### QUESTION
Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year?
### CONTEXT
CREATE TABLE table_name_10 (year VARCHAR, extra VARCHAR, result VARCHAR, venue VARCHAR)
### ANSWER
SELECT year FROM table_name_10 WHERE result = "1st" AND venue = "melbourne , australia" AND extra = "100 m" | {
"answer": "SELECT year FROM table_name_10 WHERE result = \"1st\" AND venue = \"melbourne , australia\" AND extra = \"100 m\"",
"context": "CREATE TABLE table_name_10 (year VARCHAR, extra VARCHAR, result VARCHAR, venue VARCHAR)",
"question": "Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year?"
} |
### QUESTION
With an overall record of MU, 15-8 what is the at neutral site?
### CONTEXT
CREATE TABLE table_name_87 (at_neutral_site VARCHAR, overall_record VARCHAR)
### ANSWER
SELECT at_neutral_site FROM table_name_87 WHERE overall_record = "mu, 15-8" | {
"answer": "SELECT at_neutral_site FROM table_name_87 WHERE overall_record = \"mu, 15-8\"",
"context": "CREATE TABLE table_name_87 (at_neutral_site VARCHAR, overall_record VARCHAR)",
"question": "With an overall record of MU, 15-8 what is the at neutral site?"
} |
### QUESTION
If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?
### CONTEXT
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resigned" AND position_in_table = "10th" | {
"answer": "SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = \"Resigned\" AND position_in_table = \"10th\"",
"context": "CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)",
"question": "If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?"
} |
### QUESTION
Name the points for pontrhydyfen rfc
### CONTEXT
CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)
### ANSWER
SELECT points FROM table_15467476_2 WHERE club = "Pontrhydyfen RFC" | {
"answer": "SELECT points FROM table_15467476_2 WHERE club = \"Pontrhydyfen RFC\"",
"context": "CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)",
"question": "Name the points for pontrhydyfen rfc"
} |
### QUESTION
How many friends does the high school student Kyle have?
### CONTEXT
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle" | {
"answer": "SELECT COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"",
"context": "CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)",
"question": "How many friends does the high school student Kyle have?"
} |
### QUESTION
What were all the points for Tonyrefail RFC?
### CONTEXT
CREATE TABLE table_13564637_5 (points_for VARCHAR, club VARCHAR)
### ANSWER
SELECT points_for FROM table_13564637_5 WHERE club = "Tonyrefail RFC" | {
"answer": "SELECT points_for FROM table_13564637_5 WHERE club = \"Tonyrefail RFC\"",
"context": "CREATE TABLE table_13564637_5 (points_for VARCHAR, club VARCHAR)",
"question": "What were all the points for Tonyrefail RFC?"
} |
### QUESTION
Name the number of area where population density 2010 for 514
### CONTEXT
CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)
### ANSWER
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514 | {
"answer": "SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514",
"context": "CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)",
"question": "Name the number of area where population density 2010 for 514"
} |
### QUESTION
what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28
### CONTEXT
CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)
### ANSWER
SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28" | {
"answer": "SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = \"May 28\"",
"context": "CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)",
"question": "what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28"
} |
### QUESTION
What is Paul Coward 492cc nourish Weslake's lowest rank?
### CONTEXT
CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake" | {
"answer": "SELECT MIN(rank) FROM table_26986076_3 WHERE rider = \"Paul Coward 492cc Nourish Weslake\"",
"context": "CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)",
"question": "What is Paul Coward 492cc nourish Weslake's lowest rank?"
} |
### QUESTION
Name the race caller for jim mckay and howard cosell and eddie arcaro
### CONTEXT
CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_analyst VARCHAR, trophy_presentation VARCHAR, reporters VARCHAR)
### ANSWER
SELECT race_caller FROM table_22514845_5 WHERE trophy_presentation = "Jim McKay and Howard Cosell" AND reporters = "Howard Cosell" AND s_analyst = "Eddie Arcaro" | {
"answer": "SELECT race_caller FROM table_22514845_5 WHERE trophy_presentation = \"Jim McKay and Howard Cosell\" AND reporters = \"Howard Cosell\" AND s_analyst = \"Eddie Arcaro\"",
"context": "CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_analyst VARCHAR, trophy_presentation VARCHAR, reporters VARCHAR)",
"question": "Name the race caller for jim mckay and howard cosell and eddie arcaro"
} |
### QUESTION
What is the Builder of Locomotive 2?
### CONTEXT
CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR)
### ANSWER
SELECT builder FROM table_name_6 WHERE locomotive = "2" | {
"answer": "SELECT builder FROM table_name_6 WHERE locomotive = \"2\"",
"context": "CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR)",
"question": "What is the Builder of Locomotive 2?"
} |
### QUESTION
How many bookings did each customer make? List the customer id, first name, and the count.
### CONTEXT
CREATE TABLE bookings (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR)
### ANSWER
SELECT T1.customer_id, T1.first_name, COUNT(*) FROM Customers AS T1 JOIN bookings AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id | {
"answer": "SELECT T1.customer_id, T1.first_name, COUNT(*) FROM Customers AS T1 JOIN bookings AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id",
"context": "CREATE TABLE bookings (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR)",
"question": "How many bookings did each customer make? List the customer id, first name, and the count."
} |
### QUESTION
Name the team where the date is november 17
### CONTEXT
CREATE TABLE table_17355716_5 (team VARCHAR, date VARCHAR)
### ANSWER
SELECT team FROM table_17355716_5 WHERE date = "November 17" | {
"answer": "SELECT team FROM table_17355716_5 WHERE date = \"November 17\"",
"context": "CREATE TABLE table_17355716_5 (team VARCHAR, date VARCHAR)",
"question": "Name the team where the date is november 17"
} |
### QUESTION
List the dates of enrollment and completion of the student with family name "Zieme" and personal name "Bernie".
### CONTEXT
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, family_name VARCHAR, personal_name VARCHAR)
### ANSWER
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.family_name = "Zieme" AND T2.personal_name = "Bernie" | {
"answer": "SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.family_name = \"Zieme\" AND T2.personal_name = \"Bernie\"",
"context": "CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, family_name VARCHAR, personal_name VARCHAR)",
"question": "List the dates of enrollment and completion of the student with family name \"Zieme\" and personal name \"Bernie\"."
} |
### QUESTION
What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8?
### CONTEXT
CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)
### ANSWER
SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 8 | {
"answer": "SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = \"master p\" AND best_dancer_s_ = \"drew lachey\" AND lowest_score < 8",
"context": "CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)",
"question": "What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8?"
} |
### QUESTION
Find the number of female students (with F sex) living in Smith Hall
### CONTEXT
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### ANSWER
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F' | {
"answer": "SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'",
"context": "CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"question": "Find the number of female students (with F sex) living in Smith Hall"
} |
### QUESTION
Find the id of the pet owned by student whose last name is ‘Smith’.
### CONTEXT
CREATE TABLE has_pet (petid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR, Lname VARCHAR)
### ANSWER
SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith' | {
"answer": "SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith'",
"context": "CREATE TABLE has_pet (petid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR, Lname VARCHAR)",
"question": "Find the id of the pet owned by student whose last name is ‘Smith’."
} |
### QUESTION
What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals scored, and the club is positioned greater than 2?
### CONTEXT
CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR)
### ANSWER
SELECT SUM(loses) FROM table_name_54 WHERE draws < 4 AND goals_conceded < 105 AND position > 2 AND goals_scored < 38 | {
"answer": "SELECT SUM(loses) FROM table_name_54 WHERE draws < 4 AND goals_conceded < 105 AND position > 2 AND goals_scored < 38",
"context": "CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR)",
"question": "What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals scored, and the club is positioned greater than 2?"
} |
### QUESTION
what is the percentage of democratic voters in which the registered voters is 67.8%?
### CONTEXT
CREATE TABLE table_27003223_4 (democratic VARCHAR, registered_voters VARCHAR)
### ANSWER
SELECT democratic FROM table_27003223_4 WHERE registered_voters = "67.8%" | {
"answer": "SELECT democratic FROM table_27003223_4 WHERE registered_voters = \"67.8%\"",
"context": "CREATE TABLE table_27003223_4 (democratic VARCHAR, registered_voters VARCHAR)",
"question": "what is the percentage of democratic voters in which the registered voters is 67.8%?"
} |
### QUESTION
What party did Don Fuqua belong to?
### CONTEXT
CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" | {
"answer": "SELECT party FROM table_1341865_11 WHERE incumbent = \"Don Fuqua\"",
"context": "CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR)",
"question": "What party did Don Fuqua belong to?"
} |
### QUESTION
Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001?
### CONTEXT
CREATE TABLE table_name_75 (career_win_loss VARCHAR)
### ANSWER
SELECT career_win_loss FROM table_name_75 WHERE 2002 = "1r" AND 2000 = "2r" AND 2001 = "2r" | {
"answer": "SELECT career_win_loss FROM table_name_75 WHERE 2002 = \"1r\" AND 2000 = \"2r\" AND 2001 = \"2r\"",
"context": "CREATE TABLE table_name_75 (career_win_loss VARCHAR)",
"question": "Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001?"
} |
### QUESTION
what is the amount of profits in billions for companies with a market value of 204.9 billion?
### CONTEXT
CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)
### ANSWER
SELECT profits__billion_$_ FROM table_1682026_6 WHERE market_value__billion_$_ = "204.9" | {
"answer": "SELECT profits__billion_$_ FROM table_1682026_6 WHERE market_value__billion_$_ = \"204.9\"",
"context": "CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)",
"question": "what is the amount of profits in billions for companies with a market value of 204.9 billion? "
} |
### QUESTION
What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?
### CONTEXT
CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR)
### ANSWER
SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = "3.3 - 3.6" AND input_clock__mhz_ = "33 X 3 / 50 X 2" AND part_number = "A80486DX4-100" | {
"answer": "SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = \"3.3 - 3.6\" AND input_clock__mhz_ = \"33 X 3 / 50 X 2\" AND part_number = \"A80486DX4-100\"",
"context": "CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR)",
"question": "What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?"
} |
### QUESTION
Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round?
### CONTEXT
CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)
### ANSWER
SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round" | {
"answer": "SELECT opponents FROM table_name_82 WHERE score = \"1–2\" AND team = \"arsenal\" AND progress = \"first round\"",
"context": "CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)",
"question": "Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round?"
} |
### QUESTION
How many race 3 winners were there when Mitch Evans won race 2?
### CONTEXT
CREATE TABLE table_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)
### ANSWER
SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans" | {
"answer": "SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = \"Mitch Evans\"",
"context": "CREATE TABLE table_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)",
"question": "How many race 3 winners were there when Mitch Evans won race 2?"
} |
### QUESTION
What is the lowest MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission?
### CONTEXT
CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR)
### ANSWER
SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "e" AND mpg_uk_combined < 42.2 AND manufacturer = "volkswagen" AND transmission = "m6" | {
"answer": "SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = \"e\" AND mpg_uk_combined < 42.2 AND manufacturer = \"volkswagen\" AND transmission = \"m6\"",
"context": "CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR)",
"question": "What is the lowest MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission?"
} |
### QUESTION
List the name of all different customers who have some loan sorted by their total loan amount.
### CONTEXT
CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
### ANSWER
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) | {
"answer": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount)",
"context": "CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)",
"question": "List the name of all different customers who have some loan sorted by their total loan amount."
} |
### QUESTION
What are the cargo tonnes when the international (non-CIS) is 297 421?
### CONTEXT
CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)
### ANSWER
SELECT cargo__tonnes_ FROM table_name_90 WHERE international__non_cis_ = "297 421" | {
"answer": "SELECT cargo__tonnes_ FROM table_name_90 WHERE international__non_cis_ = \"297 421\"",
"context": "CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)",
"question": "What are the cargo tonnes when the international (non-CIS) is 297 421?"
} |
### QUESTION
Which Date has a Score of 112–118?
### CONTEXT
CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)
### ANSWER
SELECT date FROM table_name_58 WHERE score = "112–118" | {
"answer": "SELECT date FROM table_name_58 WHERE score = \"112–118\"",
"context": "CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)",
"question": "Which Date has a Score of 112–118?"
} |
### QUESTION
Which countries do not have a stadium that was opened after 2006?
### CONTEXT
CREATE TABLE stadium (country VARCHAR, opening_year INTEGER)
### ANSWER
SELECT country FROM stadium EXCEPT SELECT country FROM stadium WHERE opening_year > 2006 | {
"answer": "SELECT country FROM stadium EXCEPT SELECT country FROM stadium WHERE opening_year > 2006",
"context": "CREATE TABLE stadium (country VARCHAR, opening_year INTEGER)",
"question": "Which countries do not have a stadium that was opened after 2006?"
} |
### QUESTION
What are the maximum and minimum resolution of songs whose duration is 3 minutes?
### CONTEXT
CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (resolution INTEGER, f_id VARCHAR)
### ANSWER
SELECT MAX(T2.resolution), MIN(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE "3:%" | {
"answer": "SELECT MAX(T2.resolution), MIN(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE \"3:%\"",
"context": "CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (resolution INTEGER, f_id VARCHAR)",
"question": "What are the maximum and minimum resolution of songs whose duration is 3 minutes?"
} |
Subsets and Splits