text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Who played against Hapoel tel aviv when they were team #1?
### CONTEXT
CREATE TABLE table_name_89 (team__number2 VARCHAR, team__number1 VARCHAR)
### ANSWER
SELECT team__number2 FROM table_name_89 WHERE team__number1 = "hapoel tel aviv"
|
{
"answer": "SELECT team__number2 FROM table_name_89 WHERE team__number1 = \"hapoel tel aviv\"",
"context": "CREATE TABLE table_name_89 (team__number2 VARCHAR, team__number1 VARCHAR)",
"question": "Who played against Hapoel tel aviv when they were team #1?"
}
|
### QUESTION
How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3?
### CONTEXT
CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)
### ANSWER
SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3
|
{
"answer": "SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3",
"context": "CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)",
"question": "How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3?"
}
|
### QUESTION
What is the highest population in the millions that has an influence of 1.02?
### CONTEXT
CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)
### ANSWER
SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02
|
{
"answer": "SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02",
"context": "CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)",
"question": "What is the highest population in the millions that has an influence of 1.02?"
}
|
### QUESTION
What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4?
### CONTEXT
CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR)
### ANSWER
SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 4
|
{
"answer": "SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = \"diesel\" AND floor_type = \"high\" AND bicycle_capacity† < 3 AND quantity = 4",
"context": "CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR)",
"question": "What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4?"
}
|
### QUESTION
Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?
### CONTEXT
CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR)
### ANSWER
SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = "torpedo yaroslavl (rus)"
|
{
"answer": "SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = \"torpedo yaroslavl (rus)\"",
"context": "CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR)",
"question": "Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?"
}
|
### QUESTION
Name the most peak performance for october 2006 - january 2010
### CONTEXT
CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)
### ANSWER
SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"
|
{
"answer": "SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = \"October 2006 - January 2010\"",
"context": "CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)",
"question": "Name the most peak performance for october 2006 - january 2010"
}
|
### QUESTION
What is Tie no, when Date is "18 Nov 1989", and when Home Team is "Doncaster Rovers"?
### CONTEXT
CREATE TABLE table_name_32 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)
### ANSWER
SELECT tie_no FROM table_name_32 WHERE date = "18 nov 1989" AND home_team = "doncaster rovers"
|
{
"answer": "SELECT tie_no FROM table_name_32 WHERE date = \"18 nov 1989\" AND home_team = \"doncaster rovers\"",
"context": "CREATE TABLE table_name_32 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)",
"question": "What is Tie no, when Date is \"18 Nov 1989\", and when Home Team is \"Doncaster Rovers\"?"
}
|
### QUESTION
Name the total number of language of films for méga-plex taschereau imax
### CONTEXT
CREATE TABLE table_2461720_1 (language_of_films VARCHAR, theatre_name VARCHAR)
### ANSWER
SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX"
|
{
"answer": "SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = \"Méga-Plex Taschereau IMAX\"",
"context": "CREATE TABLE table_2461720_1 (language_of_films VARCHAR, theatre_name VARCHAR)",
"question": "Name the total number of language of films for méga-plex taschereau imax"
}
|
### QUESTION
Which poll resource provided the most number of candidate information?
### CONTEXT
CREATE TABLE candidate (poll_source VARCHAR)
### ANSWER
SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE candidate (poll_source VARCHAR)",
"question": "Which poll resource provided the most number of candidate information?"
}
|
### QUESTION
Name the location attendance for l 93-105
### CONTEXT
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
### ANSWER
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"
|
{
"answer": "SELECT location_attendance FROM table_27882867_4 WHERE score = \"L 93-105\"",
"context": "CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)",
"question": "Name the location attendance for l 93-105"
}
|
### QUESTION
Find the last and first name of students who are playing Football or Lacrosse.
### CONTEXT
CREATE TABLE SportsInfo (StuID VARCHAR, SportName VARCHAR); CREATE TABLE Student (lname VARCHAR, fname VARCHAR, StuID VARCHAR)
### ANSWER
SELECT T2.lname, T2.fname FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.SportName = "Football" OR T1.SportName = "Lacrosse"
|
{
"answer": "SELECT T2.lname, T2.fname FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.SportName = \"Football\" OR T1.SportName = \"Lacrosse\"",
"context": "CREATE TABLE SportsInfo (StuID VARCHAR, SportName VARCHAR); CREATE TABLE Student (lname VARCHAR, fname VARCHAR, StuID VARCHAR)",
"question": "Find the last and first name of students who are playing Football or Lacrosse."
}
|
### QUESTION
What school did the linebacker who was drafted after round 8 come from?
### CONTEXT
CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker"
|
{
"answer": "SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = \"linebacker\"",
"context": "CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)",
"question": "What school did the linebacker who was drafted after round 8 come from?"
}
|
### QUESTION
How many departments are led by heads who are not mentioned?
### CONTEXT
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)
|
{
"answer": "SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)",
"context": "CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)",
"question": "How many departments are led by heads who are not mentioned?"
}
|
### QUESTION
What are the phones and emails of workshop groups in which services are performed?
### CONTEXT
CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)
### ANSWER
SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
|
{
"answer": "SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID",
"context": "CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)",
"question": "What are the phones and emails of workshop groups in which services are performed?"
}
|
### QUESTION
What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647?
### CONTEXT
CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
### ANSWER
SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = "district of columbia"
|
{
"answer": "SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = \"district of columbia\"",
"context": "CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)",
"question": "What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647?"
}
|
### QUESTION
What is the poor law union of the Kilmaloda townland?
### CONTEXT
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)
### ANSWER
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Kilmaloda"
|
{
"answer": "SELECT poor_law_union FROM table_30121046_1 WHERE townland = \"Kilmaloda\"",
"context": "CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)",
"question": "What is the poor law union of the Kilmaloda townland?"
}
|
### QUESTION
What is the Venue with a Result that is win, and a Score that is 5-0?
### CONTEXT
CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR, score VARCHAR)
### ANSWER
SELECT venue FROM table_name_35 WHERE result = "win" AND score = "5-0"
|
{
"answer": "SELECT venue FROM table_name_35 WHERE result = \"win\" AND score = \"5-0\"",
"context": "CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR, score VARCHAR)",
"question": "What is the Venue with a Result that is win, and a Score that is 5-0?"
}
|
### QUESTION
What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?
### CONTEXT
CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR)
### ANSWER
SELECT host_city FROM table_name_24 WHERE venue = "singapore indoor stadium" AND theme = "valentine's day"
|
{
"answer": "SELECT host_city FROM table_name_24 WHERE venue = \"singapore indoor stadium\" AND theme = \"valentine's day\"",
"context": "CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR)",
"question": "What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?"
}
|
### QUESTION
Find the number of funiture types produced by each manufacturer as well as the company names.
### CONTEXT
CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR)
### ANSWER
SELECT COUNT(*), t1.name FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id GROUP BY t1.manufacturer_id
|
{
"answer": "SELECT COUNT(*), t1.name FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id GROUP BY t1.manufacturer_id",
"context": "CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR)",
"question": "Find the number of funiture types produced by each manufacturer as well as the company names."
}
|
### QUESTION
Which paper is published in an institution in "USA" and have "Turon" as its second author?
### CONTEXT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
### ANSWER
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "USA" AND t2.authorder = 2 AND t1.lname = "Turon"
|
{
"answer": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = \"USA\" AND t2.authorder = 2 AND t1.lname = \"Turon\"",
"context": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)",
"question": "Which paper is published in an institution in \"USA\" and have \"Turon\" as its second author?"
}
|
### QUESTION
WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997?
### CONTEXT
CREATE TABLE table_name_22 (grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR, laps VARCHAR)
### ANSWER
SELECT grid FROM table_name_22 WHERE manufacturer = "honda" AND laps = "24" AND time_retired = "+13.997"
|
{
"answer": "SELECT grid FROM table_name_22 WHERE manufacturer = \"honda\" AND laps = \"24\" AND time_retired = \"+13.997\"",
"context": "CREATE TABLE table_name_22 (grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR, laps VARCHAR)",
"question": "WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997?"
}
|
### QUESTION
If the parallel bars is 14.025, what is the total number of gymnasts?
### CONTEXT
CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
### ANSWER
SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = "14.025"
|
{
"answer": "SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = \"14.025\"",
"context": "CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)",
"question": "If the parallel bars is 14.025, what is the total number of gymnasts?"
}
|
### QUESTION
Which runner-up placed in a year prior to 2006 and whose Champion was Elon?
### CONTEXT
CREATE TABLE table_name_66 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
### ANSWER
SELECT runner_up FROM table_name_66 WHERE year < 2006 AND champion = "elon"
|
{
"answer": "SELECT runner_up FROM table_name_66 WHERE year < 2006 AND champion = \"elon\"",
"context": "CREATE TABLE table_name_66 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)",
"question": "Which runner-up placed in a year prior to 2006 and whose Champion was Elon?"
}
|
### QUESTION
What is the ch# of dwlj-tv?
### CONTEXT
CREATE TABLE table_12379297_1 (ch__number VARCHAR, callsign VARCHAR)
### ANSWER
SELECT ch__number FROM table_12379297_1 WHERE callsign = "DWLJ-TV"
|
{
"answer": "SELECT ch__number FROM table_12379297_1 WHERE callsign = \"DWLJ-TV\"",
"context": "CREATE TABLE table_12379297_1 (ch__number VARCHAR, callsign VARCHAR)",
"question": "What is the ch# of dwlj-tv?"
}
|
### QUESTION
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier?
### CONTEXT
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR)
### ANSWER
SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier"
|
{
"answer": "SELECT venue FROM table_name_21 WHERE score = \"5–0\" AND competition = \"2007 caribbean cup qualifier\"",
"context": "CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR)",
"question": "What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier?"
}
|
### QUESTION
Which To par has a Country of australia, and a Year(s) won of 1990?
### CONTEXT
CREATE TABLE table_name_42 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)
### ANSWER
SELECT MIN(to_par) FROM table_name_42 WHERE country = "australia" AND year_s__won = "1990"
|
{
"answer": "SELECT MIN(to_par) FROM table_name_42 WHERE country = \"australia\" AND year_s__won = \"1990\"",
"context": "CREATE TABLE table_name_42 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)",
"question": "Which To par has a Country of australia, and a Year(s) won of 1990?"
}
|
### QUESTION
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
### CONTEXT
CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
### ANSWER
SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503"
|
{
"answer": "SELECT cores FROM table_name_3 WHERE release_date = \"april 2012\" AND release_price___usd__ = \"$393\" AND part_number_s_ = \"av8063801117503\"",
"context": "CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)",
"question": "How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?"
}
|
### QUESTION
What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.?
### CONTEXT
CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)
### ANSWER
SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Victor Cook" AND written_by = "Brat Jennett"
|
{
"answer": "SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = \"Victor Cook\" AND written_by = \"Brat Jennett\"",
"context": "CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)",
"question": "What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.?"
}
|
### QUESTION
what is the total apps when the league apps is 4 (2)?
### CONTEXT
CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR)
### ANSWER
SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)"
|
{
"answer": "SELECT total_apps FROM table_name_80 WHERE league_apps = \"4 (2)\"",
"context": "CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR)",
"question": "what is the total apps when the league apps is 4 (2)?"
}
|
### QUESTION
What was the longest carry for kevin clemens with under 31 yards total?
### CONTEXT
CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR)
### ANSWER
SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31
|
{
"answer": "SELECT MAX(long) FROM table_name_72 WHERE player = \"kevin clemens\" AND yards < 31",
"context": "CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR)",
"question": "What was the longest carry for kevin clemens with under 31 yards total?"
}
|
### QUESTION
What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver?
### CONTEXT
CREATE TABLE table_name_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)
### ANSWER
SELECT COUNT(bronze) FROM table_name_90 WHERE gold < 1 AND nation = "sweden (swe)" AND silver < 1
|
{
"answer": "SELECT COUNT(bronze) FROM table_name_90 WHERE gold < 1 AND nation = \"sweden (swe)\" AND silver < 1",
"context": "CREATE TABLE table_name_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)",
"question": "What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver?"
}
|
### QUESTION
What is the highest bronze number when silver is 0, and the total is smaller than 1?
### CONTEXT
CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR)
### ANSWER
SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1
|
{
"answer": "SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1",
"context": "CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR)",
"question": "What is the highest bronze number when silver is 0, and the total is smaller than 1?"
}
|
### QUESTION
Which country is ranked 56 overall and has a heat rank smaller than 8?
### CONTEXT
CREATE TABLE table_name_72 (country VARCHAR, heat_rank VARCHAR, overall_rank VARCHAR)
### ANSWER
SELECT country FROM table_name_72 WHERE heat_rank < 8 AND overall_rank = "56"
|
{
"answer": "SELECT country FROM table_name_72 WHERE heat_rank < 8 AND overall_rank = \"56\"",
"context": "CREATE TABLE table_name_72 (country VARCHAR, heat_rank VARCHAR, overall_rank VARCHAR)",
"question": "Which country is ranked 56 overall and has a heat rank smaller than 8?"
}
|
### QUESTION
What was the 2006 population count of the local government area where Coober Pedy is located?
### CONTEXT
CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
### ANSWER
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
|
{
"answer": "SELECT pop_2006 FROM table_23685890_2 WHERE major_town = \"Coober Pedy\"",
"context": "CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)",
"question": "What was the 2006 population count of the local government area where Coober Pedy is located?"
}
|
### QUESTION
Show all branch names with the number of members in each branch registered after 2015.
### CONTEXT
CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year INTEGER)
### ANSWER
SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
|
{
"answer": "SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id",
"context": "CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year INTEGER)",
"question": "Show all branch names with the number of members in each branch registered after 2015."
}
|
### QUESTION
What year gave a nominated result for the room 222 series?
### CONTEXT
CREATE TABLE table_name_66 (year VARCHAR, result VARCHAR, series VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_66 WHERE result = "nominated" AND series = "room 222"
|
{
"answer": "SELECT COUNT(year) FROM table_name_66 WHERE result = \"nominated\" AND series = \"room 222\"",
"context": "CREATE TABLE table_name_66 (year VARCHAR, result VARCHAR, series VARCHAR)",
"question": "What year gave a nominated result for the room 222 series?"
}
|
### QUESTION
What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.
### CONTEXT
CREATE TABLE Council_Tax (cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
### ANSWER
SELECT T1.cmi_cross_ref_id, T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING COUNT(*) >= 1
|
{
"answer": "SELECT T1.cmi_cross_ref_id, T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING COUNT(*) >= 1",
"context": "CREATE TABLE Council_Tax (cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)",
"question": "What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code."
}
|
### QUESTION
Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24)
### CONTEXT
CREATE TABLE table_name_90 (shuji_kondo VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)
### ANSWER
SELECT shuji_kondo FROM table_name_90 WHERE mazada = "x" AND ryuji_hijikata = "hijikata (14:24)"
|
{
"answer": "SELECT shuji_kondo FROM table_name_90 WHERE mazada = \"x\" AND ryuji_hijikata = \"hijikata (14:24)\"",
"context": "CREATE TABLE table_name_90 (shuji_kondo VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)",
"question": "Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24)"
}
|
### QUESTION
Which date was the show aired on the RTL Televizija network?
### CONTEXT
CREATE TABLE table_name_90 (date_aired VARCHAR, network VARCHAR)
### ANSWER
SELECT date_aired FROM table_name_90 WHERE network = "rtl televizija"
|
{
"answer": "SELECT date_aired FROM table_name_90 WHERE network = \"rtl televizija\"",
"context": "CREATE TABLE table_name_90 (date_aired VARCHAR, network VARCHAR)",
"question": "Which date was the show aired on the RTL Televizija network?"
}
|
### QUESTION
Find the name of the storm that affected both Afghanistan and Albania regions.
### CONTEXT
CREATE TABLE storm (Name VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE region (region_id VARCHAR, Region_name VARCHAR)
### ANSWER
SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.Region_name = 'Afghanistan' INTERSECT SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.Region_name = 'Albania'
|
{
"answer": "SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.Region_name = 'Afghanistan' INTERSECT SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.Region_name = 'Albania'",
"context": "CREATE TABLE storm (Name VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE region (region_id VARCHAR, Region_name VARCHAR)",
"question": "Find the name of the storm that affected both Afghanistan and Albania regions."
}
|
### QUESTION
What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category?
### CONTEXT
CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)
### ANSWER
SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly"
|
{
"answer": "SELECT year FROM table_name_80 WHERE film = \"bullets over broadway\" AND category = \"best supporting actress\" AND actor = \"jennifer tilly\"",
"context": "CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)",
"question": "What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category?"
}
|
### QUESTION
How many years was there a team that was part of the usisl pro league?
### CONTEXT
CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_38 WHERE league = "usisl pro league"
|
{
"answer": "SELECT COUNT(year) FROM table_name_38 WHERE league = \"usisl pro league\"",
"context": "CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR)",
"question": "How many years was there a team that was part of the usisl pro league?"
}
|
### QUESTION
What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson?
### CONTEXT
CREATE TABLE table_28697228_4 (rushing_yards INTEGER, opponent VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(rushing_yards) FROM table_28697228_4 WHERE opponent = "Indiana" AND player = "Denard Robinson"
|
{
"answer": "SELECT MAX(rushing_yards) FROM table_28697228_4 WHERE opponent = \"Indiana\" AND player = \"Denard Robinson\"",
"context": "CREATE TABLE table_28697228_4 (rushing_yards INTEGER, opponent VARCHAR, player VARCHAR)",
"question": "What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson?"
}
|
### QUESTION
How many points were scored by the player with 79 goals and who played 38 games?
### CONTEXT
CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR)
### ANSWER
SELECT points FROM table_name_32 WHERE goals = "79" AND games = "38"
|
{
"answer": "SELECT points FROM table_name_32 WHERE goals = \"79\" AND games = \"38\"",
"context": "CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR)",
"question": "How many points were scored by the player with 79 goals and who played 38 games?"
}
|
### QUESTION
Which Place has Phil Mickelson as the Player?
### CONTEXT
CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_67 WHERE player = "phil mickelson"
|
{
"answer": "SELECT place FROM table_name_67 WHERE player = \"phil mickelson\"",
"context": "CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR)",
"question": "Which Place has Phil Mickelson as the Player?"
}
|
### QUESTION
Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1?
### CONTEXT
CREATE TABLE table_name_66 (time INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR)
### ANSWER
SELECT MIN(time) FROM table_name_66 WHERE nationality = "jamaica" AND lane > 4 AND rank < 1
|
{
"answer": "SELECT MIN(time) FROM table_name_66 WHERE nationality = \"jamaica\" AND lane > 4 AND rank < 1",
"context": "CREATE TABLE table_name_66 (time INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR)",
"question": "Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1?"
}
|
### QUESTION
What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?
### CONTEXT
CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)
### ANSWER
SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville"
|
{
"answer": "SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = \"aa\" AND _number___county = \"89 wayne\" AND school = \"centerville\"",
"context": "CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)",
"question": "What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?"
}
|
### QUESTION
Which album is the royal g's club mix version, which is remixed by royal garden sound, from?
### CONTEXT
CREATE TABLE table_name_20 (album VARCHAR, remixed_by VARCHAR, version VARCHAR)
### ANSWER
SELECT album FROM table_name_20 WHERE remixed_by = "royal garden sound" AND version = "royal g's club mix"
|
{
"answer": "SELECT album FROM table_name_20 WHERE remixed_by = \"royal garden sound\" AND version = \"royal g's club mix\"",
"context": "CREATE TABLE table_name_20 (album VARCHAR, remixed_by VARCHAR, version VARCHAR)",
"question": "Which album is the royal g's club mix version, which is remixed by royal garden sound, from?"
}
|
### QUESTION
What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21?
### CONTEXT
CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)
### ANSWER
SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21
|
{
"answer": "SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21",
"context": "CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)",
"question": "What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21?"
}
|
### QUESTION
Which GNU/Linux had no haiku and a client of airdc++?
### CONTEXT
CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR)
### ANSWER
SELECT gnu_linux FROM table_name_60 WHERE haiku = "no" AND client = "airdc++"
|
{
"answer": "SELECT gnu_linux FROM table_name_60 WHERE haiku = \"no\" AND client = \"airdc++\"",
"context": "CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR)",
"question": "Which GNU/Linux had no haiku and a client of airdc++?"
}
|
### QUESTION
What is the womens singles of marcus ellis gabrielle white?
### CONTEXT
CREATE TABLE table_12104319_1 (womens_singles VARCHAR, mixed_doubles VARCHAR)
### ANSWER
SELECT womens_singles FROM table_12104319_1 WHERE mixed_doubles = "Marcus Ellis Gabrielle White"
|
{
"answer": "SELECT womens_singles FROM table_12104319_1 WHERE mixed_doubles = \"Marcus Ellis Gabrielle White\"",
"context": "CREATE TABLE table_12104319_1 (womens_singles VARCHAR, mixed_doubles VARCHAR)",
"question": "What is the womens singles of marcus ellis gabrielle white?"
}
|
### QUESTION
Which college had a pick in a round under 7, with a pick number 13 and overall was under 186?
### CONTEXT
CREATE TABLE table_name_6 (college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)
### ANSWER
SELECT college FROM table_name_6 WHERE round < 7 AND overall < 186 AND pick = 13
|
{
"answer": "SELECT college FROM table_name_6 WHERE round < 7 AND overall < 186 AND pick = 13",
"context": "CREATE TABLE table_name_6 (college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)",
"question": "Which college had a pick in a round under 7, with a pick number 13 and overall was under 186?"
}
|
### QUESTION
Name the champion for 2000
### CONTEXT
CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR)
### ANSWER
SELECT champion FROM table_name_52 WHERE year = "2000"
|
{
"answer": "SELECT champion FROM table_name_52 WHERE year = \"2000\"",
"context": "CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR)",
"question": "Name the champion for 2000"
}
|
### QUESTION
What category was The Suite Life on Deck nominated for later than 2010?
### CONTEXT
CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)
### ANSWER
SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010
|
{
"answer": "SELECT category FROM table_name_62 WHERE recipient = \"the suite life on deck\" AND year > 2010",
"context": "CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)",
"question": "What category was The Suite Life on Deck nominated for later than 2010?"
}
|
### QUESTION
How many times was country considered when starky % was 20.96%
### CONTEXT
CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR)
### ANSWER
SELECT COUNT(county) FROM table_19681738_1 WHERE starky__percentage = "20.96%"
|
{
"answer": "SELECT COUNT(county) FROM table_19681738_1 WHERE starky__percentage = \"20.96%\"",
"context": "CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR)",
"question": "How many times was country considered when starky % was 20.96%"
}
|
### QUESTION
What is the highest average points per race of the driver with less than 969 points and an average pre-2010 less than 0?
### CONTEXT
CREATE TABLE table_name_75 (average_points_per_race_entered INTEGER, points VARCHAR, average_pre_2010 VARCHAR)
### ANSWER
SELECT MAX(average_points_per_race_entered) FROM table_name_75 WHERE points < 969 AND average_pre_2010 < 0
|
{
"answer": "SELECT MAX(average_points_per_race_entered) FROM table_name_75 WHERE points < 969 AND average_pre_2010 < 0",
"context": "CREATE TABLE table_name_75 (average_points_per_race_entered INTEGER, points VARCHAR, average_pre_2010 VARCHAR)",
"question": "What is the highest average points per race of the driver with less than 969 points and an average pre-2010 less than 0?"
}
|
### QUESTION
What name has 5 as the pick, a round less than 25, ot as the position, at boston college?
### CONTEXT
CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
### ANSWER
SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college"
|
{
"answer": "SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = \"ot\" AND college = \"boston college\"",
"context": "CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)",
"question": "What name has 5 as the pick, a round less than 25, ot as the position, at boston college?"
}
|
### QUESTION
Find the distinct student first names of all students that have grade point at least 3.8 in one course.
### CONTEXT
CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade VARCHAR)
### ANSWER
SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T2.gradepoint >= 3.8
|
{
"answer": "SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T2.gradepoint >= 3.8",
"context": "CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade VARCHAR)",
"question": "Find the distinct student first names of all students that have grade point at least 3.8 in one course."
}
|
### QUESTION
What is the final score for the game played on January 10, 2011 with partner Mashona Washington?
### CONTEXT
CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011"
|
{
"answer": "SELECT score FROM table_name_22 WHERE partner = \"mashona washington\" AND date = \"january 10, 2011\"",
"context": "CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)",
"question": "What is the final score for the game played on January 10, 2011 with partner Mashona Washington?"
}
|
### QUESTION
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?
### CONTEXT
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
### ANSWER
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"
|
{
"answer": "SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = \"David O'Doherty and Katherine Parkinson\"",
"context": "CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)",
"question": "When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?"
}
|
### QUESTION
Show the names and heights of buildings with at least two institutions founded after 1880.
### CONTEXT
CREATE TABLE building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER)
### ANSWER
SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_id HAVING COUNT(*) >= 2
|
{
"answer": "SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER)",
"question": "Show the names and heights of buildings with at least two institutions founded after 1880."
}
|
### QUESTION
How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?
### CONTEXT
CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)
### ANSWER
SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "No. 42 Strakka Racing"
|
{
"answer": "SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = \"No. 42 Strakka Racing\"",
"context": "CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)",
"question": "How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?"
}
|
### QUESTION
Who was Al Michaels' color commentator in 2003?
### CONTEXT
CREATE TABLE table_name_69 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)
### ANSWER
SELECT color_commentator_s_ FROM table_name_69 WHERE play_by_play = "al michaels" AND year > 2003
|
{
"answer": "SELECT color_commentator_s_ FROM table_name_69 WHERE play_by_play = \"al michaels\" AND year > 2003",
"context": "CREATE TABLE table_name_69 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)",
"question": "Who was Al Michaels' color commentator in 2003?"
}
|
### QUESTION
What joined year does Dropped Athletics have?
### CONTEXT
CREATE TABLE table_1973729_2 (joined INTEGER, current_conference VARCHAR)
### ANSWER
SELECT MAX(joined) FROM table_1973729_2 WHERE current_conference = "Dropped athletics"
|
{
"answer": "SELECT MAX(joined) FROM table_1973729_2 WHERE current_conference = \"Dropped athletics\"",
"context": "CREATE TABLE table_1973729_2 (joined INTEGER, current_conference VARCHAR)",
"question": "What joined year does Dropped Athletics have?"
}
|
### QUESTION
What is the last year that Andre Agassi was the final opponent?
### CONTEXT
CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_22834834_3 WHERE opponent_in_the_final = "Andre Agassi"
|
{
"answer": "SELECT MAX(year) FROM table_22834834_3 WHERE opponent_in_the_final = \"Andre Agassi\"",
"context": "CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR)",
"question": "What is the last year that Andre Agassi was the final opponent?"
}
|
### QUESTION
In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/
### CONTEXT
CREATE TABLE table_name_93 (authority VARCHAR, name VARCHAR, gender VARCHAR, area VARCHAR)
### ANSWER
SELECT authority FROM table_name_93 WHERE gender = "coed" AND area = "kelvin grove" AND name = "tkkm o manawatu"
|
{
"answer": "SELECT authority FROM table_name_93 WHERE gender = \"coed\" AND area = \"kelvin grove\" AND name = \"tkkm o manawatu\"",
"context": "CREATE TABLE table_name_93 (authority VARCHAR, name VARCHAR, gender VARCHAR, area VARCHAR)",
"question": "In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/"
}
|
### QUESTION
The EVA that started on 8 July 12:38 went for how long?
### CONTEXT
CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)
### ANSWER
SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
|
{
"answer": "SELECT duration FROM table_name_83 WHERE start_date_time = \"8 july 12:38\"",
"context": "CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)",
"question": "The EVA that started on 8 July 12:38 went for how long?"
}
|
### QUESTION
Find the program which most number of students are enrolled in. List both the id and the summary.
### CONTEXT
CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Student_Enrolment (degree_program_id VARCHAR)
### ANSWER
SELECT T1.degree_program_id, T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.degree_program_id, T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Student_Enrolment (degree_program_id VARCHAR)",
"question": "Find the program which most number of students are enrolled in. List both the id and the summary."
}
|
### QUESTION
Name the capacity for the engine of 2.0 duratorq
### CONTEXT
CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR)
### ANSWER
SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq"
|
{
"answer": "SELECT capacity FROM table_name_84 WHERE model_engine = \"2.0 duratorq\"",
"context": "CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR)",
"question": "Name the capacity for the engine of 2.0 duratorq"
}
|
### QUESTION
What years did Elden Campbell category:articles with hcards and jersesy number of 41 play?
### CONTEXT
CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR)
### ANSWER
SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards"
|
{
"answer": "SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = \"elden campbell category:articles with hcards\"",
"context": "CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR)",
"question": "What years did Elden Campbell category:articles with hcards and jersesy number of 41 play?"
}
|
### QUESTION
What Miss Maja Pilipinas has a Binibining Pilipinas-Tourism of not awarded, and a Binibining Pilipinas-Universe of anjanette abayari?
### CONTEXT
CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, binibining_pilipinas_tourism VARCHAR, binibining_pilipinas_universe VARCHAR)
### ANSWER
SELECT miss_maja_pilipinas FROM table_name_30 WHERE binibining_pilipinas_tourism = "not awarded" AND binibining_pilipinas_universe = "anjanette abayari"
|
{
"answer": "SELECT miss_maja_pilipinas FROM table_name_30 WHERE binibining_pilipinas_tourism = \"not awarded\" AND binibining_pilipinas_universe = \"anjanette abayari\"",
"context": "CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, binibining_pilipinas_tourism VARCHAR, binibining_pilipinas_universe VARCHAR)",
"question": "What Miss Maja Pilipinas has a Binibining Pilipinas-Tourism of not awarded, and a Binibining Pilipinas-Universe of anjanette abayari?"
}
|
### QUESTION
Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"?
### CONTEXT
CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE band (id VARCHAR, firstname VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)
### ANSWER
SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.firstname = "Solveig" AND T2.title = "A Bar In Amsterdam"
|
{
"answer": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.firstname = \"Solveig\" AND T2.title = \"A Bar In Amsterdam\"",
"context": "CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE band (id VARCHAR, firstname VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)",
"question": "Which vocal type did the musician with first name \"Solveig\" played in the song with title \"A Bar in Amsterdam\"?"
}
|
### QUESTION
For upper Arlington, what was the median household income?
### CONTEXT
CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)
### ANSWER
SELECT median_house__hold_income FROM table_1840495_2 WHERE place = "Upper Arlington"
|
{
"answer": "SELECT median_house__hold_income FROM table_1840495_2 WHERE place = \"Upper Arlington\"",
"context": "CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)",
"question": "For upper Arlington, what was the median household income?"
}
|
### QUESTION
What are the completion dates of all the tests that have result "Fail"?
### CONTEXT
CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_completion VARCHAR, registration_id VARCHAR)
### ANSWER
SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail"
|
{
"answer": "SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = \"Fail\"",
"context": "CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_completion VARCHAR, registration_id VARCHAR)",
"question": "What are the completion dates of all the tests that have result \"Fail\"?"
}
|
### QUESTION
Who is the player in t8 place with a 75-71=146 score?
### CONTEXT
CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)
### ANSWER
SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146
|
{
"answer": "SELECT player FROM table_name_68 WHERE place = \"t8\" AND score = 75 - 71 = 146",
"context": "CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)",
"question": "Who is the player in t8 place with a 75-71=146 score?"
}
|
### QUESTION
Which vocal type did the musician with last name "Heilo" played in the song with title "Der Kapitan"?
### CONTEXT
CREATE TABLE band (id VARCHAR, lastname VARCHAR); CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)
### ANSWER
SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.lastname = "Heilo" AND T2.title = "Der Kapitan"
|
{
"answer": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.lastname = \"Heilo\" AND T2.title = \"Der Kapitan\"",
"context": "CREATE TABLE band (id VARCHAR, lastname VARCHAR); CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)",
"question": "Which vocal type did the musician with last name \"Heilo\" played in the song with title \"Der Kapitan\"?"
}
|
### QUESTION
What is the location of the tallahassee open, with a Score of 269 (–19)?
### CONTEXT
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)
### ANSWER
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"
|
{
"answer": "SELECT location FROM table_name_83 WHERE score = \"269 (–19)\" AND tournament = \"tallahassee open\"",
"context": "CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)",
"question": "What is the location of the tallahassee open, with a Score of 269 (–19)?"
}
|
### QUESTION
Name the 2012 for 2009 of 1r
### CONTEXT
CREATE TABLE table_name_19 (Id VARCHAR)
### ANSWER
SELECT 2012 FROM table_name_19 WHERE 2009 = "1r"
|
{
"answer": "SELECT 2012 FROM table_name_19 WHERE 2009 = \"1r\"",
"context": "CREATE TABLE table_name_19 (Id VARCHAR)",
"question": "Name the 2012 for 2009 of 1r"
}
|
### QUESTION
What is the average operation beginning with a length of ampang and over 27 stations?
### CONTEXT
CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)
### ANSWER
SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27
|
{
"answer": "SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = \"ampang\" AND stations > 27",
"context": "CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)",
"question": "What is the average operation beginning with a length of ampang and over 27 stations?"
}
|
### QUESTION
What is the highest tourism arrivals in 2011 in millions with a 3.82 tourism competitiveness in 2011 and more than 1,102 US$ per arrival in 2011 tourism receipts?
### CONTEXT
CREATE TABLE table_name_92 (tourist_arrivals__2011___millions_ INTEGER, tourism_competitiveness__2011___ttci_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
### ANSWER
SELECT MAX(tourist_arrivals__2011___millions_) FROM table_name_92 WHERE tourism_competitiveness__2011___ttci_ = "3.82" AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 102
|
{
"answer": "SELECT MAX(tourist_arrivals__2011___millions_) FROM table_name_92 WHERE tourism_competitiveness__2011___ttci_ = \"3.82\" AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 102",
"context": "CREATE TABLE table_name_92 (tourist_arrivals__2011___millions_ INTEGER, tourism_competitiveness__2011___ttci_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)",
"question": "What is the highest tourism arrivals in 2011 in millions with a 3.82 tourism competitiveness in 2011 and more than 1,102 US$ per arrival in 2011 tourism receipts?"
}
|
### QUESTION
Which school has a state authority and a roll of 318?
### CONTEXT
CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)
### ANSWER
SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318
|
{
"answer": "SELECT name FROM table_name_27 WHERE authority = \"state\" AND roll = 318",
"context": "CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)",
"question": "Which school has a state authority and a roll of 318?"
}
|
### QUESTION
Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.
### CONTEXT
CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR, degree_program_id VARCHAR)
### ANSWER
SELECT DISTINCT T1.first_name, T1.middle_name, T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'
|
{
"answer": "SELECT DISTINCT T1.first_name, T1.middle_name, T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'",
"context": "CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR, degree_program_id VARCHAR)",
"question": "Who is enrolled in a Bachelor degree program? List the first name, middle name, last name."
}
|
### QUESTION
What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?
### CONTEXT
CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)
### ANSWER
SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "254 Ottilie Junction" OR T2.How_to_Get_There = "bus"
|
{
"answer": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = \"254 Ottilie Junction\" OR T2.How_to_Get_There = \"bus\"",
"context": "CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)",
"question": "What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?"
}
|
### QUESTION
Name the most pick number for real salt lake and affiliation of ucla los angeles storm
### CONTEXT
CREATE TABLE table_name_63 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT MAX(pick__number) FROM table_name_63 WHERE mls_team = "real salt lake" AND affiliation = "ucla los angeles storm"
|
{
"answer": "SELECT MAX(pick__number) FROM table_name_63 WHERE mls_team = \"real salt lake\" AND affiliation = \"ucla los angeles storm\"",
"context": "CREATE TABLE table_name_63 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR)",
"question": "Name the most pick number for real salt lake and affiliation of ucla los angeles storm"
}
|
### QUESTION
Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6
### CONTEXT
CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
### ANSWER
SELECT partial_thromboplastin_time FROM table_name_1 WHERE prothrombin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "vitamin k deficiency or warfarin"
|
{
"answer": "SELECT partial_thromboplastin_time FROM table_name_1 WHERE prothrombin_time = \"prolonged\" AND bleeding_time = \"unaffected\" AND condition = \"vitamin k deficiency or warfarin\"",
"context": "CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)",
"question": "Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6"
}
|
### QUESTION
What is Power HP (kW), when First Year is greater than 1965, when Distribution is "International", when Engine is V6 Biturbo, and when Model is "425"?
### CONTEXT
CREATE TABLE table_name_60 (power_hp__kw_ VARCHAR, model VARCHAR, engine VARCHAR, first_year VARCHAR, distribution VARCHAR)
### ANSWER
SELECT power_hp__kw_ FROM table_name_60 WHERE first_year > 1965 AND distribution = "international" AND engine = "v6 biturbo" AND model = "425"
|
{
"answer": "SELECT power_hp__kw_ FROM table_name_60 WHERE first_year > 1965 AND distribution = \"international\" AND engine = \"v6 biturbo\" AND model = \"425\"",
"context": "CREATE TABLE table_name_60 (power_hp__kw_ VARCHAR, model VARCHAR, engine VARCHAR, first_year VARCHAR, distribution VARCHAR)",
"question": "What is Power HP (kW), when First Year is greater than 1965, when Distribution is \"International\", when Engine is V6 Biturbo, and when Model is \"425\"?"
}
|
### QUESTION
What is the description, code and the corresponding count of each service type?
### CONTEXT
CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)
### ANSWER
SELECT T1.Service_Type_Description, T2.Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code
|
{
"answer": "SELECT T1.Service_Type_Description, T2.Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code",
"context": "CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)",
"question": "What is the description, code and the corresponding count of each service type?"
}
|
### QUESTION
Name the average grade for şımarık tarkan
### CONTEXT
CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)
### ANSWER
SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan"
|
{
"answer": "SELECT average_grade FROM table_21829580_1 WHERE song = \"Şımarık Tarkan\"",
"context": "CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)",
"question": "Name the average grade for şımarık tarkan"
}
|
### QUESTION
Who won the regular season when Missouri Valley Conference took place?
### CONTEXT
CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, conference VARCHAR)
### ANSWER
SELECT regular_season_winner FROM table_22779004_1 WHERE conference = "Missouri Valley conference"
|
{
"answer": "SELECT regular_season_winner FROM table_22779004_1 WHERE conference = \"Missouri Valley conference\"",
"context": "CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, conference VARCHAR)",
"question": "Who won the regular season when Missouri Valley Conference took place?"
}
|
### QUESTION
\What is the class of the station with the call sign w254ah?
### CONTEXT
CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR)
### ANSWER
SELECT class FROM table_name_35 WHERE call_sign = "w254ah"
|
{
"answer": "SELECT class FROM table_name_35 WHERE call_sign = \"w254ah\"",
"context": "CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR)",
"question": "\\What is the class of the station with the call sign w254ah?"
}
|
### QUESTION
What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50?
### CONTEXT
CREATE TABLE table_name_89 (gold INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
### ANSWER
SELECT SUM(gold) FROM table_name_89 WHERE bronze > 15 AND silver < 197 AND nation = "saint lucia" AND total > 50
|
{
"answer": "SELECT SUM(gold) FROM table_name_89 WHERE bronze > 15 AND silver < 197 AND nation = \"saint lucia\" AND total > 50",
"context": "CREATE TABLE table_name_89 (gold INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)",
"question": "What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50?"
}
|
### QUESTION
Which Date has a Record of 1-4?
### CONTEXT
CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR)
### ANSWER
SELECT date FROM table_name_34 WHERE record = "1-4"
|
{
"answer": "SELECT date FROM table_name_34 WHERE record = \"1-4\"",
"context": "CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR)",
"question": "Which Date has a Record of 1-4?"
}
|
### QUESTION
Name the general classification of stage 15
### CONTEXT
CREATE TABLE table_12261806_2 (general_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT COUNT(general_classification) FROM table_12261806_2 WHERE stage = "15"
|
{
"answer": "SELECT COUNT(general_classification) FROM table_12261806_2 WHERE stage = \"15\"",
"context": "CREATE TABLE table_12261806_2 (general_classification VARCHAR, stage VARCHAR)",
"question": "Name the general classification of stage 15"
}
|
### QUESTION
How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000?
### CONTEXT
CREATE TABLE table_name_17 (number_of_seasons_in_meistriliiga VARCHAR, club VARCHAR, first_season_in_top_division VARCHAR)
### ANSWER
SELECT COUNT(number_of_seasons_in_meistriliiga) FROM table_name_17 WHERE club = "kuressaare" AND first_season_in_top_division > 2000
|
{
"answer": "SELECT COUNT(number_of_seasons_in_meistriliiga) FROM table_name_17 WHERE club = \"kuressaare\" AND first_season_in_top_division > 2000",
"context": "CREATE TABLE table_name_17 (number_of_seasons_in_meistriliiga VARCHAR, club VARCHAR, first_season_in_top_division VARCHAR)",
"question": "How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000?"
}
|
### QUESTION
Return the different names of cities that are in Asia and for which Chinese is the official language.
### CONTEXT
CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR)
### ANSWER
SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode JOIN city AS T3 ON T1.Code = T3.CountryCode WHERE T2.IsOfficial = 'T' AND T2.Language = 'Chinese' AND T1.Continent = "Asia"
|
{
"answer": "SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode JOIN city AS T3 ON T1.Code = T3.CountryCode WHERE T2.IsOfficial = 'T' AND T2.Language = 'Chinese' AND T1.Continent = \"Asia\"",
"context": "CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR)",
"question": "Return the different names of cities that are in Asia and for which Chinese is the official language."
}
|
### QUESTION
Which Visiting Team is on december 23?
### CONTEXT
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
### ANSWER
SELECT visiting_team FROM table_name_59 WHERE date = "december 23"
|
{
"answer": "SELECT visiting_team FROM table_name_59 WHERE date = \"december 23\"",
"context": "CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)",
"question": "Which Visiting Team is on december 23?"
}
|
### QUESTION
Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?
### CONTEXT
CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)
### ANSWER
SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995"
|
{
"answer": "SELECT performer_4 FROM table_name_76 WHERE performer_1 = \"greg proops\" AND date = \"25 august 1995\"",
"context": "CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)",
"question": "Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?"
}
|
### QUESTION
During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards?
### CONTEXT
CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = "damon hill" AND pole_position = "michael schumacher" AND grand_prix = "hungarian grand prix"
|
{
"answer": "SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = \"damon hill\" AND pole_position = \"michael schumacher\" AND grand_prix = \"hungarian grand prix\"",
"context": "CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)",
"question": "During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards?"
}
|
### QUESTION
What was the average speed over 18.00km for winning driver Jean-Claude Andruet?
### CONTEXT
CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"
|
{
"answer": "SELECT avg_speed FROM table_name_23 WHERE distance = \"18.00km\" AND winning_driver = \"jean-claude andruet\"",
"context": "CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)",
"question": "What was the average speed over 18.00km for winning driver Jean-Claude Andruet?"
}
|
### QUESTION
what is the loan club with the start source is bbc sport and started on 9 february?
### CONTEXT
CREATE TABLE table_name_28 (loan_club VARCHAR, start_source VARCHAR, started VARCHAR)
### ANSWER
SELECT loan_club FROM table_name_28 WHERE start_source = "bbc sport" AND started = "9 february"
|
{
"answer": "SELECT loan_club FROM table_name_28 WHERE start_source = \"bbc sport\" AND started = \"9 february\"",
"context": "CREATE TABLE table_name_28 (loan_club VARCHAR, start_source VARCHAR, started VARCHAR)",
"question": "what is the loan club with the start source is bbc sport and started on 9 february?"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.