text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the type of the Leeds United source, winter transfer window and moving from Northampton town?
### CONTEXT
CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR)
### ANSWER
SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town" | {
"answer": "SELECT type FROM table_name_65 WHERE source = \"leeds united\" AND transfer_window = \"winter\" AND moving_from = \"northampton town\"",
"context": "CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR)",
"question": "What is the type of the Leeds United source, winter transfer window and moving from Northampton town?"
} |
### QUESTION
According to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?
### CONTEXT
CREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)
### ANSWER
SELECT liberal FROM table_name_36 WHERE polling_firm = "corporate research associates" AND prog_cons = "32%" AND dates = "august 2007" | {
"answer": "SELECT liberal FROM table_name_36 WHERE polling_firm = \"corporate research associates\" AND prog_cons = \"32%\" AND dates = \"august 2007\"",
"context": "CREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)",
"question": "According to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?"
} |
### QUESTION
What is College/Team, when Round is less than 2, and when Nationality is "United States"?
### CONTEXT
CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)
### ANSWER
SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "united states" | {
"answer": "SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = \"united states\"",
"context": "CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)",
"question": "What is College/Team, when Round is less than 2, and when Nationality is \"United States\"?"
} |
### QUESTION
what is the to par for Dave hill?
### CONTEXT
CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_52 WHERE player = "dave hill" | {
"answer": "SELECT to_par FROM table_name_52 WHERE player = \"dave hill\"",
"context": "CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR)",
"question": "what is the to par for Dave hill?"
} |
### QUESTION
What is Result, when Year is 1948, and when Date is November 7?
### CONTEXT
CREATE TABLE table_name_31 (result VARCHAR, year VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_31 WHERE year = 1948 AND date = "november 7" | {
"answer": "SELECT result FROM table_name_31 WHERE year = 1948 AND date = \"november 7\"",
"context": "CREATE TABLE table_name_31 (result VARCHAR, year VARCHAR, date VARCHAR)",
"question": "What is Result, when Year is 1948, and when Date is November 7?"
} |
### QUESTION
What was the method used when the time was 4:52?
### CONTEXT
CREATE TABLE table_name_49 (method VARCHAR, time VARCHAR)
### ANSWER
SELECT method FROM table_name_49 WHERE time = "4:52" | {
"answer": "SELECT method FROM table_name_49 WHERE time = \"4:52\"",
"context": "CREATE TABLE table_name_49 (method VARCHAR, time VARCHAR)",
"question": "What was the method used when the time was 4:52?"
} |
### QUESTION
Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
### CONTEXT
CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER)
### ANSWER
SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0 | {
"answer": "SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0",
"context": "CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER)",
"question": "Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?"
} |
### QUESTION
Which coach founded the Western Strikers team after 1963?
### CONTEXT
CREATE TABLE table_name_58 (coach VARCHAR, founded VARCHAR, team VARCHAR)
### ANSWER
SELECT coach FROM table_name_58 WHERE founded > 1963 AND team = "western strikers" | {
"answer": "SELECT coach FROM table_name_58 WHERE founded > 1963 AND team = \"western strikers\"",
"context": "CREATE TABLE table_name_58 (coach VARCHAR, founded VARCHAR, team VARCHAR)",
"question": "Which coach founded the Western Strikers team after 1963?"
} |
### QUESTION
Find the name and city of the airport which is the destination of the most number of routes.
### CONTEXT
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (dst_apid VARCHAR)
### ANSWER
SELECT T1.name, T1.city, T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid GROUP BY T2.dst_apid ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.name, T1.city, T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid GROUP BY T2.dst_apid ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (dst_apid VARCHAR)",
"question": "Find the name and city of the airport which is the destination of the most number of routes."
} |
### QUESTION
How many people lived in the city which has 1.2530 km² in the year 2000?
### CONTEXT
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
### ANSWER
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530" | {
"answer": "SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = \"1.2530\"",
"context": "CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)",
"question": "How many people lived in the city which has 1.2530 km² in the year 2000?"
} |
### QUESTION
What's the score on December 1 when Philadelphia visited?
### CONTEXT
CREATE TABLE table_name_41 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_41 WHERE visitor = "philadelphia" AND date = "december 1" | {
"answer": "SELECT score FROM table_name_41 WHERE visitor = \"philadelphia\" AND date = \"december 1\"",
"context": "CREATE TABLE table_name_41 (score VARCHAR, visitor VARCHAR, date VARCHAR)",
"question": "What's the score on December 1 when Philadelphia visited?"
} |
### QUESTION
What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy?
### CONTEXT
CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR)
### ANSWER
SELECT sensor FROM table_name_21 WHERE sensor_resolution = "640x480" AND cpu_usage = "small" AND output = "jpeg compressed" AND camera = "sony playstation eyetoy" | {
"answer": "SELECT sensor FROM table_name_21 WHERE sensor_resolution = \"640x480\" AND cpu_usage = \"small\" AND output = \"jpeg compressed\" AND camera = \"sony playstation eyetoy\"",
"context": "CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR)",
"question": "What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy?"
} |
### QUESTION
Which start has 32 as the finish and laps more than 6?
### CONTEXT
CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR)
### ANSWER
SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6 | {
"answer": "SELECT start FROM table_name_11 WHERE finish = \"32\" AND laps > 6",
"context": "CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR)",
"question": "Which start has 32 as the finish and laps more than 6?"
} |
### QUESTION
What is the first, last name, gpa of the youngest one among students whose GPA is above 3?
### CONTEXT
CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR)
### ANSWER
SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1 | {
"answer": "SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1",
"context": "CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR)",
"question": "What is the first, last name, gpa of the youngest one among students whose GPA is above 3?"
} |
### QUESTION
What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Elliot?
### CONTEXT
CREATE TABLE table_name_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR)
### ANSWER
SELECT last_performance FROM table_name_7 WHERE style = "ballet" AND name = "rhys kosakowski" | {
"answer": "SELECT last_performance FROM table_name_7 WHERE style = \"ballet\" AND name = \"rhys kosakowski\"",
"context": "CREATE TABLE table_name_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR)",
"question": "What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Elliot?"
} |
### QUESTION
Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?
### CONTEXT
CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR)
### ANSWER
SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1" | {
"answer": "SELECT method FROM table_name_86 WHERE round = \"3\" AND res = \"loss\" AND event = \"juiz de fora - fight 1\"",
"context": "CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR)",
"question": "Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?"
} |
### QUESTION
What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006?
### CONTEXT
CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR)
### ANSWER
SELECT SUM(losses) FROM table_name_50 WHERE result = "runner-up" AND wins = 1 AND year < 2006 | {
"answer": "SELECT SUM(losses) FROM table_name_50 WHERE result = \"runner-up\" AND wins = 1 AND year < 2006",
"context": "CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR)",
"question": "What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006?"
} |
### QUESTION
Which Score has aN Outcome of winner on 4 november 1990?
### CONTEXT
CREATE TABLE table_name_66 (score VARCHAR, outcome VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_66 WHERE outcome = "winner" AND date = "4 november 1990" | {
"answer": "SELECT score FROM table_name_66 WHERE outcome = \"winner\" AND date = \"4 november 1990\"",
"context": "CREATE TABLE table_name_66 (score VARCHAR, outcome VARCHAR, date VARCHAR)",
"question": "Which Score has aN Outcome of winner on 4 november 1990?"
} |
### QUESTION
What's the United States team that played for the Grizzlies in 1995-1996?
### CONTEXT
CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996" | {
"answer": "SELECT school_club_team FROM table_name_51 WHERE nationality = \"united states\" AND years_for_grizzlies = \"1995-1996\"",
"context": "CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)",
"question": "What's the United States team that played for the Grizzlies in 1995-1996?"
} |
### QUESTION
Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?
### CONTEXT
CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)
### ANSWER
SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764" | {
"answer": "SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = \"1.6 ghz\" AND model_number = \"c7-m 764\"",
"context": "CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)",
"question": "Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?"
} |
### QUESTION
List the state names and the number of customers living in each state.
### CONTEXT
CREATE TABLE customer_addresses (address_id VARCHAR); CREATE TABLE addresses (state_province_county VARCHAR, address_id VARCHAR)
### ANSWER
SELECT t2.state_province_county, COUNT(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county | {
"answer": "SELECT t2.state_province_county, COUNT(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county",
"context": "CREATE TABLE customer_addresses (address_id VARCHAR); CREATE TABLE addresses (state_province_county VARCHAR, address_id VARCHAR)",
"question": "List the state names and the number of customers living in each state."
} |
### QUESTION
How many entries are there for vote when the air date was 15 november 1997?
### CONTEXT
CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)
### ANSWER
SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 1997" | {
"answer": "SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = \"15 November 1997\"",
"context": "CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)",
"question": "How many entries are there for vote when the air date was 15 november 1997?"
} |
### QUESTION
What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?
### CONTEXT
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)
### ANSWER
SELECT undisclosed FROM table_23835213_2 WHERE "aldershot_town" = "aldershot_town" AND wycombe_wanderers = "Oxford United" | {
"answer": "SELECT undisclosed FROM table_23835213_2 WHERE \"aldershot_town\" = \"aldershot_town\" AND wycombe_wanderers = \"Oxford United\"",
"context": "CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)",
"question": "What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?"
} |
### QUESTION
Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?
### CONTEXT
CREATE TABLE table_name_71 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR)
### ANSWER
SELECT winner FROM table_name_71 WHERE points_classification = "giuseppe saronni" AND trofeo_fast_team = "bianchi" AND stage = "3" | {
"answer": "SELECT winner FROM table_name_71 WHERE points_classification = \"giuseppe saronni\" AND trofeo_fast_team = \"bianchi\" AND stage = \"3\"",
"context": "CREATE TABLE table_name_71 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR)",
"question": "Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?"
} |
### QUESTION
Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.
### CONTEXT
CREATE TABLE ship (lost_in_battle VARCHAR, location VARCHAR); CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR); CREATE TABLE battle (name VARCHAR, result VARCHAR, bulgarian_commander VARCHAR, id VARCHAR)
### ANSWER
SELECT name, RESULT, bulgarian_commander FROM battle EXCEPT SELECT T1.name, T1.result, T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel' | {
"answer": "SELECT name, RESULT, bulgarian_commander FROM battle EXCEPT SELECT T1.name, T1.result, T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'",
"context": "CREATE TABLE ship (lost_in_battle VARCHAR, location VARCHAR); CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR); CREATE TABLE battle (name VARCHAR, result VARCHAR, bulgarian_commander VARCHAR, id VARCHAR)",
"question": "Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'."
} |
### QUESTION
What is the IHSAA class in Batesville?
### CONTEXT
CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR)
### ANSWER
SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" | {
"answer": "SELECT ihsaa_class FROM table_name_97 WHERE city = \"batesville\"",
"context": "CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR)",
"question": "What is the IHSAA class in Batesville?"
} |
### QUESTION
What Elimination Move is listed against Wrestler Henry, Eliminated by Batista?
### CONTEXT
CREATE TABLE table_name_35 (elimination VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR)
### ANSWER
SELECT elimination AS Move FROM table_name_35 WHERE eliminated_by = "batista" AND wrestler = "henry" | {
"answer": "SELECT elimination AS Move FROM table_name_35 WHERE eliminated_by = \"batista\" AND wrestler = \"henry\"",
"context": "CREATE TABLE table_name_35 (elimination VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR)",
"question": "What Elimination Move is listed against Wrestler Henry, Eliminated by Batista?"
} |
### QUESTION
What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ?
### CONTEXT
CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR)
### ANSWER
SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = "te" AND country = "united states" AND name = "fort peck dam" | {
"answer": "SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = \"te\" AND country = \"united states\" AND name = \"fort peck dam\"",
"context": "CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR)",
"question": "What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ?"
} |
### QUESTION
What's the term start date for Meretz?
### CONTEXT
CREATE TABLE table_name_94 (term_start VARCHAR, party VARCHAR)
### ANSWER
SELECT term_start FROM table_name_94 WHERE party = "meretz" | {
"answer": "SELECT term_start FROM table_name_94 WHERE party = \"meretz\"",
"context": "CREATE TABLE table_name_94 (term_start VARCHAR, party VARCHAR)",
"question": "What's the term start date for Meretz?"
} |
### QUESTION
What is the Result of Game 3?
### CONTEXT
CREATE TABLE table_name_16 (result VARCHAR, game VARCHAR)
### ANSWER
SELECT result FROM table_name_16 WHERE game = "game 3" | {
"answer": "SELECT result FROM table_name_16 WHERE game = \"game 3\"",
"context": "CREATE TABLE table_name_16 (result VARCHAR, game VARCHAR)",
"question": "What is the Result of Game 3?"
} |
### QUESTION
Which player was drafted overall from the college of Nebraska in a round under 6, pick of 15, and overall under 224?
### CONTEXT
CREATE TABLE table_name_19 (name VARCHAR, college VARCHAR, pick VARCHAR, overall VARCHAR, round VARCHAR)
### ANSWER
SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = "nebraska" | {
"answer": "SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = \"nebraska\"",
"context": "CREATE TABLE table_name_19 (name VARCHAR, college VARCHAR, pick VARCHAR, overall VARCHAR, round VARCHAR)",
"question": "Which player was drafted overall from the college of Nebraska in a round under 6, pick of 15, and overall under 224?"
} |
### QUESTION
Find all the stores in the district with the most population.
### CONTEXT
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
### ANSWER
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1) | {
"answer": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)",
"context": "CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)",
"question": "Find all the stores in the district with the most population."
} |
### QUESTION
What is the most Champ Car wins for any driver with a USAC record of 2?
### CONTEXT
CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)
### ANSWER
SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2 | {
"answer": "SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2",
"context": "CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)",
"question": "What is the most Champ Car wins for any driver with a USAC record of 2?"
} |
### QUESTION
When was tony parker (guard) born?
### CONTEXT
CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker" | {
"answer": "SELECT MAX(year_born) FROM table_name_31 WHERE position = \"guard\" AND player = \"tony parker\"",
"context": "CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR)",
"question": "When was tony parker (guard) born?"
} |
### QUESTION
What is the location attendance of the game on February 25?
### CONTEXT
CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)
### ANSWER
SELECT location_attendance FROM table_name_52 WHERE date = "february 25" | {
"answer": "SELECT location_attendance FROM table_name_52 WHERE date = \"february 25\"",
"context": "CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)",
"question": "What is the location attendance of the game on February 25?"
} |
### QUESTION
What is the transcription for the English word March?
### CONTEXT
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)
### ANSWER
SELECT transcription FROM table_name_11 WHERE english_name = "march" | {
"answer": "SELECT transcription FROM table_name_11 WHERE english_name = \"march\"",
"context": "CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)",
"question": "What is the transcription for the English word March?"
} |
### QUESTION
Tell me the format with year more than 2000 and label of myuzyk with catalog number of mzykn08
### CONTEXT
CREATE TABLE table_name_48 (format VARCHAR, catalog_number VARCHAR, year VARCHAR, label VARCHAR)
### ANSWER
SELECT format FROM table_name_48 WHERE year > 2000 AND label = "myuzyk" AND catalog_number = "mzykn08" | {
"answer": "SELECT format FROM table_name_48 WHERE year > 2000 AND label = \"myuzyk\" AND catalog_number = \"mzykn08\"",
"context": "CREATE TABLE table_name_48 (format VARCHAR, catalog_number VARCHAR, year VARCHAR, label VARCHAR)",
"question": "Tell me the format with year more than 2000 and label of myuzyk with catalog number of mzykn08"
} |
### QUESTION
Does the Scout Association of Hong Kong admit boys, girls, or both?
### CONTEXT
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR)
### ANSWER
SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = "The Scout Association of Hong Kong" | {
"answer": "SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = \"The Scout Association of Hong Kong\"",
"context": "CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR)",
"question": "Does the Scout Association of Hong Kong admit boys, girls, or both?"
} |
### QUESTION
What is the location when the status is in service as coaching stock?
### CONTEXT
CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR)
### ANSWER
SELECT location FROM table_1090916_2 WHERE status = "In service as coaching stock" | {
"answer": "SELECT location FROM table_1090916_2 WHERE status = \"In service as coaching stock\"",
"context": "CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR)",
"question": "What is the location when the status is in service as coaching stock?"
} |
### QUESTION
What was the high assists from a high points of dorell wright (20)?
### CONTEXT
CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_assists FROM table_name_98 WHERE high_points = "dorell wright (20)" | {
"answer": "SELECT high_assists FROM table_name_98 WHERE high_points = \"dorell wright (20)\"",
"context": "CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR)",
"question": "What was the high assists from a high points of dorell wright (20)?"
} |
### QUESTION
Which title has the Translation of vesoul?
### CONTEXT
CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)
### ANSWER
SELECT title FROM table_name_28 WHERE translation = "vesoul" | {
"answer": "SELECT title FROM table_name_28 WHERE translation = \"vesoul\"",
"context": "CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)",
"question": "Which title has the Translation of vesoul?"
} |
### QUESTION
What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt?
### CONTEXT
CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)
### ANSWER
SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt" | {
"answer": "SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = \"sarah bolt\"",
"context": "CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)",
"question": "What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt?"
} |
### QUESTION
What years did J. Smith Young serve as a Representative?
### CONTEXT
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)
### ANSWER
SELECT years FROM table_name_36 WHERE representative = "j. smith young" | {
"answer": "SELECT years FROM table_name_36 WHERE representative = \"j. smith young\"",
"context": "CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)",
"question": "What years did J. Smith Young serve as a Representative?"
} |
### QUESTION
What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom?
### CONTEXT
CREATE TABLE table_name_8 (year INTEGER, venue VARCHAR, event VARCHAR, result VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_8 WHERE event = "50km" AND result = "2nd" AND venue = "london, united kingdom" | {
"answer": "SELECT MIN(year) FROM table_name_8 WHERE event = \"50km\" AND result = \"2nd\" AND venue = \"london, united kingdom\"",
"context": "CREATE TABLE table_name_8 (year INTEGER, venue VARCHAR, event VARCHAR, result VARCHAR)",
"question": "What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom?"
} |
### QUESTION
What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?
### CONTEXT
CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, goals_against VARCHAR, losses VARCHAR)
### ANSWER
SELECT MIN(wins) FROM table_name_17 WHERE goals_against < 39 AND losses > 2 AND ties > 0 | {
"answer": "SELECT MIN(wins) FROM table_name_17 WHERE goals_against < 39 AND losses > 2 AND ties > 0",
"context": "CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, goals_against VARCHAR, losses VARCHAR)",
"question": "What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?"
} |
### QUESTION
What is the batting team with the batting partnets of thilina kandamby and rangana herath?
### CONTEXT
CREATE TABLE table_11303072_5 (batting_team VARCHAR, batting_partners VARCHAR)
### ANSWER
SELECT batting_team FROM table_11303072_5 WHERE batting_partners = "Thilina Kandamby and Rangana Herath" | {
"answer": "SELECT batting_team FROM table_11303072_5 WHERE batting_partners = \"Thilina Kandamby and Rangana Herath\"",
"context": "CREATE TABLE table_11303072_5 (batting_team VARCHAR, batting_partners VARCHAR)",
"question": "What is the batting team with the batting partnets of thilina kandamby and rangana herath?"
} |
### QUESTION
Show the first names and last names of customers without any account.
### CONTEXT
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)
### ANSWER
SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id | {
"answer": "SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id",
"context": "CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)",
"question": "Show the first names and last names of customers without any account."
} |
### QUESTION
Which Name has a Reserved for of none, and a Constituency number of 7?
### CONTEXT
CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
### ANSWER
SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "7" | {
"answer": "SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"7\"",
"context": "CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)",
"question": "Which Name has a Reserved for of none, and a Constituency number of 7?"
} |
### QUESTION
What is the pole position of the Belgian Grand Prix?
### CONTEXT
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)
### ANSWER
SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix" | {
"answer": "SELECT pole_position FROM table_name_27 WHERE grand_prix = \"belgian grand prix\"",
"context": "CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)",
"question": "What is the pole position of the Belgian Grand Prix?"
} |
### QUESTION
What is the date of the zolder circuit, which had a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?
### CONTEXT
CREATE TABLE table_name_53 (date VARCHAR, winning_team VARCHAR, circuit VARCHAR)
### ANSWER
SELECT date FROM table_name_53 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND circuit = "zolder" | {
"answer": "SELECT date FROM table_name_53 WHERE winning_team = \"a.z.k./roc-compétition a.z.k./roc-compétition\" AND circuit = \"zolder\"",
"context": "CREATE TABLE table_name_53 (date VARCHAR, winning_team VARCHAR, circuit VARCHAR)",
"question": "What is the date of the zolder circuit, which had a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?"
} |
### QUESTION
Which sport has most number of students on scholarship?
### CONTEXT
CREATE TABLE Sportsinfo (sportname VARCHAR, onscholarship VARCHAR)
### ANSWER
SELECT sportname FROM Sportsinfo WHERE onscholarship = 'Y' GROUP BY sportname ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT sportname FROM Sportsinfo WHERE onscholarship = 'Y' GROUP BY sportname ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Sportsinfo (sportname VARCHAR, onscholarship VARCHAR)",
"question": "Which sport has most number of students on scholarship?"
} |
### QUESTION
What Label was Catalogued tojp 60121-22?
### CONTEXT
CREATE TABLE table_name_83 (label VARCHAR, catalogue VARCHAR)
### ANSWER
SELECT label FROM table_name_83 WHERE catalogue = "tojp 60121-22" | {
"answer": "SELECT label FROM table_name_83 WHERE catalogue = \"tojp 60121-22\"",
"context": "CREATE TABLE table_name_83 (label VARCHAR, catalogue VARCHAR)",
"question": "What Label was Catalogued tojp 60121-22?"
} |
### QUESTION
WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
### CONTEXT
CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
### ANSWER
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street" | {
"answer": "SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = \"05.0 210 north charles street\"",
"context": "CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)",
"question": "WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?"
} |
### QUESTION
Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?
### CONTEXT
CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR)
### ANSWER
SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano" | {
"answer": "SELECT elevator FROM table_name_56 WHERE order_and_title = \"cardinal-deacon of s. nicola in carcere tulliano\"",
"context": "CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR)",
"question": "Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?"
} |
### QUESTION
Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )?
### CONTEXT
CREATE TABLE table_name_72 (years VARCHAR, type_code VARCHAR)
### ANSWER
SELECT years FROM table_name_72 WHERE type_code = "cubic centimetres (cuin) v8 ( m273 )" | {
"answer": "SELECT years FROM table_name_72 WHERE type_code = \"cubic centimetres (cuin) v8 ( m273 )\"",
"context": "CREATE TABLE table_name_72 (years VARCHAR, type_code VARCHAR)",
"question": "Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )?"
} |
### QUESTION
How many members of club "Bootup Baltimore" are younger than 18?
### CONTEXT
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### ANSWER
SELECT COUNT(*) 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 t1.clubname = "Bootup Baltimore" AND t3.age < 18 | {
"answer": "SELECT COUNT(*) 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 t1.clubname = \"Bootup Baltimore\" AND t3.age < 18",
"context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)",
"question": "How many members of club \"Bootup Baltimore\" are younger than 18?"
} |
### QUESTION
What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match?
### CONTEXT
CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)
### ANSWER
SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match" | {
"answer": "SELECT date FROM table_name_93 WHERE result = \"won\" AND score = \"2-1\" AND competition = \"2004 tiger cup third place match\"",
"context": "CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)",
"question": "What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match?"
} |
### QUESTION
Find the first name and age of students who have a dog but do not have a cat as a pet.
### CONTEXT
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE student (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR)
### ANSWER
SELECT T1.fname, T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND NOT T1.stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat') | {
"answer": "SELECT T1.fname, T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' AND NOT T1.stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')",
"context": "CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE student (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR)",
"question": "Find the first name and age of students who have a dog but do not have a cat as a pet."
} |
### QUESTION
What date was the game against manchester city when they had a league position of 2nd?
### CONTEXT
CREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)
### ANSWER
SELECT date FROM table_name_22 WHERE h___a = "a" AND league_position = "2nd" AND opponents = "manchester city" | {
"answer": "SELECT date FROM table_name_22 WHERE h___a = \"a\" AND league_position = \"2nd\" AND opponents = \"manchester city\"",
"context": "CREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)",
"question": "What date was the game against manchester city when they had a league position of 2nd?"
} |
### QUESTION
What is the km2 area for the population of 311?
### CONTEXT
CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR)
### ANSWER
SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311 | {
"answer": "SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311",
"context": "CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR)",
"question": "What is the km2 area for the population of 311?"
} |
### QUESTION
when points for was points for what was the points?
### CONTEXT
CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)
### ANSWER
SELECT points FROM table_name_86 WHERE points_for = "points for" | {
"answer": "SELECT points FROM table_name_86 WHERE points_for = \"points for\"",
"context": "CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)",
"question": "when points for was points for what was the points?"
} |
### QUESTION
What is the lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase?
### CONTEXT
CREATE TABLE table_name_83 (profits__billion_ INTEGER, company VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR)
### ANSWER
SELECT MIN(profits__billion_) AS $_ FROM table_name_83 WHERE market_value__billion_$_ < 201.3 AND headquarters = "united states" AND company = "jpmorgan chase" | {
"answer": "SELECT MIN(profits__billion_) AS $_ FROM table_name_83 WHERE market_value__billion_$_ < 201.3 AND headquarters = \"united states\" AND company = \"jpmorgan chase\"",
"context": "CREATE TABLE table_name_83 (profits__billion_ INTEGER, company VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR)",
"question": "What is the lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase?"
} |
### QUESTION
which gender got the highest average uncertain ratio.
### CONTEXT
CREATE TABLE candidate (people_id VARCHAR, unsure_rate INTEGER); CREATE TABLE people (sex VARCHAR, people_id VARCHAR)
### ANSWER
SELECT t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id GROUP BY t1.sex ORDER BY AVG(t2.unsure_rate) DESC LIMIT 1 | {
"answer": "SELECT t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id GROUP BY t1.sex ORDER BY AVG(t2.unsure_rate) DESC LIMIT 1",
"context": "CREATE TABLE candidate (people_id VARCHAR, unsure_rate INTEGER); CREATE TABLE people (sex VARCHAR, people_id VARCHAR)",
"question": "which gender got the highest average uncertain ratio."
} |
### QUESTION
what is the most number where cattle is 13000
### CONTEXT
CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR)
### ANSWER
SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000 | {
"answer": "SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000",
"context": "CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR)",
"question": "what is the most number where cattle is 13000"
} |
### QUESTION
Which position had 3 podiums and F/laps of 4?
### CONTEXT
CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR)
### ANSWER
SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "4" | {
"answer": "SELECT position FROM table_name_14 WHERE podiums = \"3\" AND f_laps = \"4\"",
"context": "CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR)",
"question": "Which position had 3 podiums and F/laps of 4?"
} |
### QUESTION
If Internet Explorer is 47.22%, what is the Safari total?
### CONTEXT
CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR)
### ANSWER
SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%" | {
"answer": "SELECT safari FROM table_1876262_10 WHERE internet_explorer = \"47.22%\"",
"context": "CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR)",
"question": "If Internet Explorer is 47.22%, what is the Safari total?"
} |
### QUESTION
find the name of people whose height is lower than the average.
### CONTEXT
CREATE TABLE people (name VARCHAR, height INTEGER)
### ANSWER
SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people) | {
"answer": "SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)",
"context": "CREATE TABLE people (name VARCHAR, height INTEGER)",
"question": "find the name of people whose height is lower than the average."
} |
### QUESTION
What is total number of show times per dat for each cinema?
### CONTEXT
CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)
### ANSWER
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id | {
"answer": "SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id",
"context": "CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)",
"question": "What is total number of show times per dat for each cinema?"
} |
### QUESTION
Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1
### CONTEXT
CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_5 WHERE silver < 1 AND total > 1 AND bronze < 1 | {
"answer": "SELECT MIN(rank) FROM table_name_5 WHERE silver < 1 AND total > 1 AND bronze < 1",
"context": "CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)",
"question": "Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1"
} |
### QUESTION
What was the winning score when the margin of victory was 2 strokes and the runner-up was Pat Bradley?
### CONTEXT
CREATE TABLE table_name_69 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT winning_score FROM table_name_69 WHERE margin_of_victory = "2 strokes" AND runner_s__up = "pat bradley" | {
"answer": "SELECT winning_score FROM table_name_69 WHERE margin_of_victory = \"2 strokes\" AND runner_s__up = \"pat bradley\"",
"context": "CREATE TABLE table_name_69 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)",
"question": "What was the winning score when the margin of victory was 2 strokes and the runner-up was Pat Bradley?"
} |
### QUESTION
What is the population of the Parish, Plumbland, that had a former local authority of Cockermouth Rural District?
### CONTEXT
CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(population) FROM table_name_5 WHERE former_local_authority = "cockermouth rural district" AND name = "plumbland" | {
"answer": "SELECT COUNT(population) FROM table_name_5 WHERE former_local_authority = \"cockermouth rural district\" AND name = \"plumbland\"",
"context": "CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR)",
"question": "What is the population of the Parish, Plumbland, that had a former local authority of Cockermouth Rural District?"
} |
### QUESTION
What year did Elf Team Tyrrell have 39 points and a Tyrrell 007 Chassis?
### CONTEXT
CREATE TABLE table_name_75 (year INTEGER, chassis VARCHAR, entrant VARCHAR, points VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_75 WHERE entrant = "elf team tyrrell" AND points = "39" AND chassis = "tyrrell 007" | {
"answer": "SELECT SUM(year) FROM table_name_75 WHERE entrant = \"elf team tyrrell\" AND points = \"39\" AND chassis = \"tyrrell 007\"",
"context": "CREATE TABLE table_name_75 (year INTEGER, chassis VARCHAR, entrant VARCHAR, points VARCHAR)",
"question": "What year did Elf Team Tyrrell have 39 points and a Tyrrell 007 Chassis?"
} |
### QUESTION
Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name.
### CONTEXT
CREATE TABLE Engineer_Visits (engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 ON T1.engineer_id = T2.engineer_id GROUP BY T1.engineer_id ORDER BY COUNT(*) LIMIT 1 | {
"answer": "SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 ON T1.engineer_id = T2.engineer_id GROUP BY T1.engineer_id ORDER BY COUNT(*) LIMIT 1",
"context": "CREATE TABLE Engineer_Visits (engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name."
} |
### QUESTION
Which common has an area (km2) of 38.38?
### CONTEXT
CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR)
### ANSWER
SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38" | {
"answer": "SELECT common FROM table_1449169_1 WHERE area__km_2__ = \"38.38\"",
"context": "CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR)",
"question": "Which common has an area (km2) of 38.38?"
} |
### QUESTION
What is the score when the to par was –5, for Peter Jacobsen?
### CONTEXT
CREATE TABLE table_name_9 (score INTEGER, to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT SUM(score) FROM table_name_9 WHERE to_par = "–5" AND player = "peter jacobsen" | {
"answer": "SELECT SUM(score) FROM table_name_9 WHERE to_par = \"–5\" AND player = \"peter jacobsen\"",
"context": "CREATE TABLE table_name_9 (score INTEGER, to_par VARCHAR, player VARCHAR)",
"question": "What is the score when the to par was –5, for Peter Jacobsen?"
} |
### QUESTION
What is the average first round for Utah Jazz team, with a weight smaller than 229?
### CONTEXT
CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR)
### ANSWER
SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz" | {
"answer": "SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = \"utah jazz\"",
"context": "CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR)",
"question": "What is the average first round for Utah Jazz team, with a weight smaller than 229?"
} |
### QUESTION
Which conventional plan has a POS plan of 21%?
### CONTEXT
CREATE TABLE table_name_14 (conventional_plans VARCHAR, pos_plans VARCHAR)
### ANSWER
SELECT conventional_plans FROM table_name_14 WHERE pos_plans = "21%" | {
"answer": "SELECT conventional_plans FROM table_name_14 WHERE pos_plans = \"21%\"",
"context": "CREATE TABLE table_name_14 (conventional_plans VARCHAR, pos_plans VARCHAR)",
"question": "Which conventional plan has a POS plan of 21%?"
} |
### QUESTION
The plural word of following lines or pages has what plural abbreviation?
### CONTEXT
CREATE TABLE table_name_21 (plural_abbreviation VARCHAR, plural_word VARCHAR)
### ANSWER
SELECT plural_abbreviation FROM table_name_21 WHERE plural_word = "following lines or pages" | {
"answer": "SELECT plural_abbreviation FROM table_name_21 WHERE plural_word = \"following lines or pages\"",
"context": "CREATE TABLE table_name_21 (plural_abbreviation VARCHAR, plural_word VARCHAR)",
"question": "The plural word of following lines or pages has what plural abbreviation?"
} |
### QUESTION
Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57?
### CONTEXT
### ANSWER
SELECT SUM(_100s) FROM table_name_41 WHERE team = "deccan chargers" AND matches = 8 AND average > 35.57 | {
"answer": "SELECT SUM(_100s) FROM table_name_41 WHERE team = \"deccan chargers\" AND matches = 8 AND average > 35.57",
"context": "",
"question": "Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57?"
} |
### QUESTION
Name the international tourist arrivals for arrivals 2011 for 8.1 million
### CONTEXT
CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
### ANSWER
SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million" | {
"answer": "SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = \"8.1 million\"",
"context": "CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)",
"question": "Name the international tourist arrivals for arrivals 2011 for 8.1 million"
} |
### QUESTION
Name the project with length overall being 25 and name of levante
### CONTEXT
CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)
### ANSWER
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" | {
"answer": "SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = \"levante\"",
"context": "CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)",
"question": "Name the project with length overall being 25 and name of levante"
} |
### QUESTION
What is the August 15, 2012 population when the population density of 2012 is 307?
### CONTEXT
CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR)
### ANSWER
SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307 | {
"answer": "SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307",
"context": "CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR)",
"question": "What is the August 15, 2012 population when the population density of 2012 is 307?"
} |
### QUESTION
Which Republican ran against the American Labor candidate Matthew J. Merritt?
### CONTEXT
CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
### ANSWER
SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt" | {
"answer": "SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = \"matthew j. merritt\"",
"context": "CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)",
"question": "Which Republican ran against the American Labor candidate Matthew J. Merritt?"
} |
### QUESTION
List all tracks bought by customer Daan Peeters.
### CONTEXT
CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR); CREATE TABLE invoice_lines (track_id VARCHAR, invoice_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "Daan" AND T4.last_name = "Peeters" | {
"answer": "SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = \"Daan\" AND T4.last_name = \"Peeters\"",
"context": "CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR); CREATE TABLE invoice_lines (track_id VARCHAR, invoice_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "List all tracks bought by customer Daan Peeters."
} |
### QUESTION
Who directed the episode directed by colin teague?
### CONTEXT
CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)
### ANSWER
SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague" | {
"answer": "SELECT writer FROM table_25737761_3 WHERE director = \"Colin Teague\"",
"context": "CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)",
"question": "Who directed the episode directed by colin teague?"
} |
### QUESTION
Gary Barnett who has been in 0 FA Cups plays what position?
### CONTEXT
CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
### ANSWER
SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett" | {
"answer": "SELECT position FROM table_name_7 WHERE fa_cup_apps = \"0\" AND name = \"gary barnett\"",
"context": "CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)",
"question": "Gary Barnett who has been in 0 FA Cups plays what position?"
} |
### QUESTION
Who won when V. A. Muthiah was the runner-up?
### CONTEXT
CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR)
### ANSWER
SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah" | {
"answer": "SELECT winner FROM table_22756549_1 WHERE runner_up_a = \"V. A. Muthiah\"",
"context": "CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR)",
"question": "Who won when V. A. Muthiah was the runner-up?"
} |
### QUESTION
How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012?
### CONTEXT
CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR)
### ANSWER
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 2 | {
"answer": "SELECT COUNT(lost) FROM table_name_66 WHERE period = \"12 november 2012 – 27 november 2012\" AND managed > 2",
"context": "CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR)",
"question": "How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012?"
} |
### QUESTION
What are the names of the drama workshop groups with address in Feliciaberg city?
### CONTEXT
CREATE TABLE Addresses (Address_ID VARCHAR, City_Town VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR, Address_ID VARCHAR)
### ANSWER
SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.City_Town = "Feliciaberg" | {
"answer": "SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.City_Town = \"Feliciaberg\"",
"context": "CREATE TABLE Addresses (Address_ID VARCHAR, City_Town VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR, Address_ID VARCHAR)",
"question": "What are the names of the drama workshop groups with address in Feliciaberg city?"
} |
### QUESTION
What position did team scandia finish when their engine was cosworth?
### CONTEXT
CREATE TABLE table_name_72 (finish VARCHAR, engine VARCHAR, team VARCHAR)
### ANSWER
SELECT finish FROM table_name_72 WHERE engine = "cosworth" AND team = "team scandia" | {
"answer": "SELECT finish FROM table_name_72 WHERE engine = \"cosworth\" AND team = \"team scandia\"",
"context": "CREATE TABLE table_name_72 (finish VARCHAR, engine VARCHAR, team VARCHAR)",
"question": "What position did team scandia finish when their engine was cosworth?"
} |
Subsets and Splits