text
stringlengths
146
1.06k
source
dict
### QUESTION Who is from south africa and has a score of 76-75-73-71=295? ### CONTEXT CREATE TABLE table_name_25 (player VARCHAR, country VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_25 WHERE country = "south africa" AND score = 76 - 75 - 73 - 71 = 295
{ "answer": "SELECT player FROM table_name_25 WHERE country = \"south africa\" AND score = 76 - 75 - 73 - 71 = 295", "context": "CREATE TABLE table_name_25 (player VARCHAR, country VARCHAR, score VARCHAR)", "question": "Who is from south africa and has a score of 76-75-73-71=295?" }
### QUESTION Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011? ### CONTEXT CREATE TABLE table_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR) ### ANSWER SELECT judges FROM table_27487310_5 WHERE country = "Netherlands" AND air_dates = "28 November 2011 – 24 December 2011"
{ "answer": "SELECT judges FROM table_27487310_5 WHERE country = \"Netherlands\" AND air_dates = \"28 November 2011 – 24 December 2011\"", "context": "CREATE TABLE table_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR)", "question": "Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011?" }
### QUESTION Who is the rb player from team oakland? ### CONTEXT CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR) ### ANSWER SELECT player FROM table_name_69 WHERE position = "rb" AND team = "oakland"
{ "answer": "SELECT player FROM table_name_69 WHERE position = \"rb\" AND team = \"oakland\"", "context": "CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)", "question": "Who is the rb player from team oakland?" }
### QUESTION What is the average Redline RPM of engines with engine code M57TUD30, made after 2002? ### CONTEXT CREATE TABLE table_name_49 (redline__rpm_ INTEGER, engine_code VARCHAR, year VARCHAR) ### ANSWER SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = "m57tud30" AND year > 2002
{ "answer": "SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = \"m57tud30\" AND year > 2002", "context": "CREATE TABLE table_name_49 (redline__rpm_ INTEGER, engine_code VARCHAR, year VARCHAR)", "question": "What is the average Redline RPM of engines with engine code M57TUD30, made after 2002?" }
### QUESTION What is the Report on November 15, 2000? ### CONTEXT CREATE TABLE table_name_18 (report VARCHAR, date VARCHAR) ### ANSWER SELECT report FROM table_name_18 WHERE date = "november 15, 2000"
{ "answer": "SELECT report FROM table_name_18 WHERE date = \"november 15, 2000\"", "context": "CREATE TABLE table_name_18 (report VARCHAR, date VARCHAR)", "question": "What is the Report on November 15, 2000?" }
### QUESTION Where does the staff member with the first name Elsa live? ### CONTEXT CREATE TABLE staff (address_id VARCHAR, first_name VARCHAR); CREATE TABLE address (address VARCHAR, address_id VARCHAR) ### ANSWER SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE T1.first_name = 'Elsa'
{ "answer": "SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE T1.first_name = 'Elsa'", "context": "CREATE TABLE staff (address_id VARCHAR, first_name VARCHAR); CREATE TABLE address (address VARCHAR, address_id VARCHAR)", "question": "Where does the staff member with the first name Elsa live?" }
### QUESTION What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? ### CONTEXT CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR) ### ANSWER SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175"
{ "answer": "SELECT lead FROM table_name_8 WHERE polling_firm = \"election results\" AND psoe = \"39.6% 175\"", "context": "CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR)", "question": "What is lead for the Election Results polling firm and has a PSOE of 39.6% 175?" }
### QUESTION What is the 1st leg where Team 1 is C.D. Plaza Amador? ### CONTEXT CREATE TABLE table_name_48 (team_1 VARCHAR) ### ANSWER SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = "c.d. plaza amador"
{ "answer": "SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = \"c.d. plaza amador\"", "context": "CREATE TABLE table_name_48 (team_1 VARCHAR)", "question": "What is the 1st leg where Team 1 is C.D. Plaza Amador?" }
### QUESTION What is the name of the club when the played number is 22, and the try bonus was 0? ### CONTEXT CREATE TABLE table_name_62 (club VARCHAR, played VARCHAR, try_bonus VARCHAR) ### ANSWER SELECT club FROM table_name_62 WHERE played = "22" AND try_bonus = "0"
{ "answer": "SELECT club FROM table_name_62 WHERE played = \"22\" AND try_bonus = \"0\"", "context": "CREATE TABLE table_name_62 (club VARCHAR, played VARCHAR, try_bonus VARCHAR)", "question": "What is the name of the club when the played number is 22, and the try bonus was 0?" }
### QUESTION Name the least number in season for brad markowitz, william n. fordes & rené balcer ### CONTEXT CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR) ### ANSWER SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & René Balcer"
{ "answer": "SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = \"Brad Markowitz, William N. Fordes & René Balcer\"", "context": "CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR)", "question": "Name the least number in season for brad markowitz, william n. fordes & rené balcer" }
### QUESTION What musical performances aired on 5 April 2010? ### CONTEXT CREATE TABLE table_26733129_1 (musical_performance VARCHAR, air_date VARCHAR) ### ANSWER SELECT musical_performance FROM table_26733129_1 WHERE air_date = "5 April 2010"
{ "answer": "SELECT musical_performance FROM table_26733129_1 WHERE air_date = \"5 April 2010\"", "context": "CREATE TABLE table_26733129_1 (musical_performance VARCHAR, air_date VARCHAR)", "question": "What musical performances aired on 5 April 2010?" }
### QUESTION How many coaches does each club has? List the club id, name and the number of coaches. ### CONTEXT CREATE TABLE club (club_id VARCHAR, club_name VARCHAR); CREATE TABLE coach (club_id VARCHAR) ### ANSWER SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id
{ "answer": "SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id", "context": "CREATE TABLE club (club_id VARCHAR, club_name VARCHAR); CREATE TABLE coach (club_id VARCHAR)", "question": "How many coaches does each club has? List the club id, name and the number of coaches." }
### QUESTION What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? ### CONTEXT CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR) ### ANSWER SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western"
{ "answer": "SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = \"Westlake/MacArthur Park to Wilshire/Western\"", "context": "CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR)", "question": "What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?" }
### QUESTION When fitzroy was the home team, how much did the away team score? ### CONTEXT CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_76 WHERE home_team = "fitzroy"
{ "answer": "SELECT away_team AS score FROM table_name_76 WHERE home_team = \"fitzroy\"", "context": "CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR)", "question": "When fitzroy was the home team, how much did the away team score?" }
### QUESTION Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)? ### CONTEXT CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_41 WHERE group = "césar awards" AND result = "nominated" AND award = "best actress" AND film = "8 women (8 femmes)"
{ "answer": "SELECT AVG(year) FROM table_name_41 WHERE group = \"césar awards\" AND result = \"nominated\" AND award = \"best actress\" AND film = \"8 women (8 femmes)\"", "context": "CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR)", "question": "Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)?" }
### QUESTION what is the venue when the runner-up (average in final) is wayne jones (94.64)? ### CONTEXT CREATE TABLE table_name_6 (venue VARCHAR, runner_up__average_in_final_ VARCHAR) ### ANSWER SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = "wayne jones (94.64)"
{ "answer": "SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = \"wayne jones (94.64)\"", "context": "CREATE TABLE table_name_6 (venue VARCHAR, runner_up__average_in_final_ VARCHAR)", "question": "what is the venue when the runner-up (average in final) is wayne jones (94.64)?" }
### QUESTION What is Result, when Date is "June 11, 1994", and when Venue is "Miami, United States"? ### CONTEXT CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR, venue VARCHAR) ### ANSWER SELECT result FROM table_name_58 WHERE date = "june 11, 1994" AND venue = "miami, united states"
{ "answer": "SELECT result FROM table_name_58 WHERE date = \"june 11, 1994\" AND venue = \"miami, united states\"", "context": "CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR, venue VARCHAR)", "question": "What is Result, when Date is \"June 11, 1994\", and when Venue is \"Miami, United States\"?" }
### QUESTION Before 1981, how many Points did Team Suzuki have with less than 0 Wins? ### CONTEXT CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0
{ "answer": "SELECT SUM(points) FROM table_name_96 WHERE team = \"suzuki\" AND year < 1981 AND wins < 0", "context": "CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR)", "question": "Before 1981, how many Points did Team Suzuki have with less than 0 Wins?" }
### QUESTION Which ship was sunk at 01:00? ### CONTEXT CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR) ### ANSWER SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00"
{ "answer": "SELECT name_of_ship FROM table_name_96 WHERE fate = \"sunk at\" AND time = \"01:00\"", "context": "CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR)", "question": "Which ship was sunk at 01:00?" }
### QUESTION what is the outcome when the tournament is san diego and the opponent is ann grossman? ### CONTEXT CREATE TABLE table_name_40 (outcome VARCHAR, tournament VARCHAR, opponent VARCHAR) ### ANSWER SELECT outcome FROM table_name_40 WHERE tournament = "san diego" AND opponent = "ann grossman"
{ "answer": "SELECT outcome FROM table_name_40 WHERE tournament = \"san diego\" AND opponent = \"ann grossman\"", "context": "CREATE TABLE table_name_40 (outcome VARCHAR, tournament VARCHAR, opponent VARCHAR)", "question": "what is the outcome when the tournament is san diego and the opponent is ann grossman?" }
### QUESTION Find the number of customers in the banks at New York City. ### CONTEXT CREATE TABLE bank (no_of_customers INTEGER, city VARCHAR) ### ANSWER SELECT SUM(no_of_customers) FROM bank WHERE city = 'New York City'
{ "answer": "SELECT SUM(no_of_customers) FROM bank WHERE city = 'New York City'", "context": "CREATE TABLE bank (no_of_customers INTEGER, city VARCHAR)", "question": "Find the number of customers in the banks at New York City." }
### QUESTION what is the population estimate 2005 for the with the area (km2) 3,034.08? ### CONTEXT CREATE TABLE table_name_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR) ### ANSWER SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08
{ "answer": "SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08", "context": "CREATE TABLE table_name_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR)", "question": "what is the population estimate 2005 for the with the area (km2) 3,034.08?" }
### QUESTION What 20-29 was in season 2008? ### CONTEXT CREATE TABLE table_name_69 (season VARCHAR) ### ANSWER SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"
{ "answer": "SELECT 20 AS _29 FROM table_name_69 WHERE season = \"2008\"", "context": "CREATE TABLE table_name_69 (season VARCHAR)", "question": "What 20-29 was in season 2008?" }
### QUESTION find the total market rate of the furnitures that have the top 2 market shares. ### CONTEXT CREATE TABLE furniture (market_rate INTEGER) ### ANSWER SELECT SUM(market_rate) FROM furniture ORDER BY market_rate DESC LIMIT 2
{ "answer": "SELECT SUM(market_rate) FROM furniture ORDER BY market_rate DESC LIMIT 2", "context": "CREATE TABLE furniture (market_rate INTEGER)", "question": "find the total market rate of the furnitures that have the top 2 market shares." }
### QUESTION List the number of years where ritchie ocampo was the mutya ng pilipinas winner. ### CONTEXT CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo"
{ "answer": "SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = \"Ritchie Ocampo\"", "context": "CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)", "question": "List the number of years where ritchie ocampo was the mutya ng pilipinas winner." }
### QUESTION List the names of the dogs of the rarest breed and the treatment dates of them. ### CONTEXT CREATE TABLE Dogs (name VARCHAR, dog_id VARCHAR, breed_code VARCHAR); CREATE TABLE Treatments (date_of_treatment VARCHAR, dog_id VARCHAR); CREATE TABLE Dogs (breed_code VARCHAR) ### ANSWER SELECT T1.name, T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = (SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY COUNT(*) LIMIT 1)
{ "answer": "SELECT T1.name, T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = (SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY COUNT(*) LIMIT 1)", "context": "CREATE TABLE Dogs (name VARCHAR, dog_id VARCHAR, breed_code VARCHAR); CREATE TABLE Treatments (date_of_treatment VARCHAR, dog_id VARCHAR); CREATE TABLE Dogs (breed_code VARCHAR)", "question": "List the names of the dogs of the rarest breed and the treatment dates of them." }
### QUESTION Find the number of trains for each station, as well as the station network name and services. ### CONTEXT CREATE TABLE route (station_id VARCHAR); CREATE TABLE station (network_name VARCHAR, services VARCHAR, id VARCHAR) ### ANSWER SELECT COUNT(*), t1.network_name, t1.services FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_id
{ "answer": "SELECT COUNT(*), t1.network_name, t1.services FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_id", "context": "CREATE TABLE route (station_id VARCHAR); CREATE TABLE station (network_name VARCHAR, services VARCHAR, id VARCHAR)", "question": "Find the number of trains for each station, as well as the station network name and services." }
### QUESTION What is the sigma (with 1.5σ shift) when there are 69% defective? ### CONTEXT CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR) ### ANSWER SELECT sigma__with_15σ_shift_ FROM table_222448_1 WHERE percent_defective = "69%"
{ "answer": "SELECT sigma__with_15σ_shift_ FROM table_222448_1 WHERE percent_defective = \"69%\"", "context": "CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR)", "question": "What is the sigma (with 1.5σ shift) when there are 69% defective?" }
### QUESTION What are the id of problems reported by the staff named Dameon Frami or Jolie Weber? ### CONTEXT CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR) ### ANSWER SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Dameon" AND T2.staff_last_name = "Frami" UNION SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Jolie" AND T2.staff_last_name = "Weber"
{ "answer": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Dameon\" AND T2.staff_last_name = \"Frami\" UNION SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Jolie\" AND T2.staff_last_name = \"Weber\"", "context": "CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR)", "question": "What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?" }
### QUESTION What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients? ### CONTEXT CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR) ### ANSWER SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data"
{ "answer": "SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = \"6 children\" AND allowed_recipients = \"no data\"", "context": "CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)", "question": "What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?" }
### QUESTION Find the addresses and author IDs of the course authors that teach at least two courses. ### CONTEXT CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR) ### ANSWER SELECT T1.address_line_1, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.address_line_1, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR)", "question": "Find the addresses and author IDs of the course authors that teach at least two courses." }
### QUESTION What was the date of appointment for the manager replacing Kadir Özcan? ### CONTEXT CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_27091128_2 WHERE outgoing_manager = "Kadir Özcan"
{ "answer": "SELECT date_of_appointment FROM table_27091128_2 WHERE outgoing_manager = \"Kadir Özcan\"", "context": "CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)", "question": "What was the date of appointment for the manager replacing Kadir Özcan?" }
### QUESTION What team does bobby hillin jr. (r) drive a buick regal for? ### CONTEXT CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR) ### ANSWER SELECT team FROM table_name_8 WHERE make = "buick regal" AND driver = "bobby hillin jr. (r)"
{ "answer": "SELECT team FROM table_name_8 WHERE make = \"buick regal\" AND driver = \"bobby hillin jr. (r)\"", "context": "CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR)", "question": "What team does bobby hillin jr. (r) drive a buick regal for?" }
### QUESTION What is the position number of the club with more than 24 points and a w-l-d of 8-5-3? ### CONTEXT CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR) ### ANSWER SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3"
{ "answer": "SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = \"8-5-3\"", "context": "CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR)", "question": "What is the position number of the club with more than 24 points and a w-l-d of 8-5-3?" }
### QUESTION Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4? ### CONTEXT CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) ### ANSWER SELECT COUNT(rank_final) FROM table_name_68 WHERE year > 2008 AND apparatus = "balance beam" AND rank_qualifying > 4
{ "answer": "SELECT COUNT(rank_final) FROM table_name_68 WHERE year > 2008 AND apparatus = \"balance beam\" AND rank_qualifying > 4", "context": "CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR)", "question": "Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4?" }
### QUESTION Name the result for lukas smital and home ### CONTEXT CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR) ### ANSWER SELECT result FROM table_17120964_5 WHERE man_of_the_match = "Lukas Smital" AND venue = "Home"
{ "answer": "SELECT result FROM table_17120964_5 WHERE man_of_the_match = \"Lukas Smital\" AND venue = \"Home\"", "context": "CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR)", "question": "Name the result for lukas smital and home" }
### QUESTION How long has Mel Daniels been playing? ### CONTEXT CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR) ### ANSWER SELECT experience FROM table_22719663_3 WHERE name = "Mel Daniels"
{ "answer": "SELECT experience FROM table_22719663_3 WHERE name = \"Mel Daniels\"", "context": "CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR)", "question": "How long has Mel Daniels been playing?" }
### QUESTION Show all the faculty ranks and the number of students advised by each rank. ### CONTEXT CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (rank VARCHAR, FacID VARCHAR) ### ANSWER SELECT T1.rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank
{ "answer": "SELECT T1.rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank", "context": "CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (rank VARCHAR, FacID VARCHAR)", "question": "Show all the faculty ranks and the number of students advised by each rank." }
### QUESTION Name the fourth district for beverly bodem ### CONTEXT CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR) ### ANSWER SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem"
{ "answer": "SELECT fourth_district FROM table_15442974_1 WHERE first_district = \"Beverly Bodem\"", "context": "CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR)", "question": "Name the fourth district for beverly bodem" }
### QUESTION What is the score of the game that had a visiting team of Edmonton? ### CONTEXT CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR) ### ANSWER SELECT score FROM table_name_93 WHERE visitor = "edmonton"
{ "answer": "SELECT score FROM table_name_93 WHERE visitor = \"edmonton\"", "context": "CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR)", "question": "What is the score of the game that had a visiting team of Edmonton?" }
### QUESTION What team had a high rebound of perkins (9) and a game smaller than 78? ### CONTEXT CREATE TABLE table_name_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR) ### ANSWER SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = "perkins (9)"
{ "answer": "SELECT team FROM table_name_39 WHERE game < 78 AND high_rebounds = \"perkins (9)\"", "context": "CREATE TABLE table_name_39 (team VARCHAR, game VARCHAR, high_rebounds VARCHAR)", "question": "What team had a high rebound of perkins (9) and a game smaller than 78?" }
### QUESTION Name the number for fifth district for richard houskamp ### CONTEXT CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR) ### ANSWER SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp"
{ "answer": "SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = \"Richard Houskamp\"", "context": "CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)", "question": "Name the number for fifth district for richard houskamp" }
### QUESTION What is the course title of the prerequisite of course Mobile Computing? ### CONTEXT CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR) ### ANSWER SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing')
{ "answer": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing')", "context": "CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)", "question": "What is the course title of the prerequisite of course Mobile Computing?" }
### QUESTION Which network's genre is music? ### CONTEXT CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR) ### ANSWER SELECT network FROM table_name_8 WHERE genre = "music"
{ "answer": "SELECT network FROM table_name_8 WHERE genre = \"music\"", "context": "CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR)", "question": "Which network's genre is music?" }
### QUESTION In which title was Ann Rutherford the leading lady for Joseph Kane? ### CONTEXT CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR) ### ANSWER SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"
{ "answer": "SELECT title FROM table_name_73 WHERE leading_lady = \"ann rutherford\" AND director = \"joseph kane\"", "context": "CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)", "question": "In which title was Ann Rutherford the leading lady for Joseph Kane?" }
### QUESTION What is High Rebounds, when High Assists is "Jason Kidd (13)"? ### CONTEXT CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR) ### ANSWER SELECT high_rebounds FROM table_name_50 WHERE high_assists = "jason kidd (13)"
{ "answer": "SELECT high_rebounds FROM table_name_50 WHERE high_assists = \"jason kidd (13)\"", "context": "CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR)", "question": "What is High Rebounds, when High Assists is \"Jason Kidd (13)\"?" }
### QUESTION What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'? ### CONTEXT CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE votes (created VARCHAR, state VARCHAR, phone_number VARCHAR, contestant_number VARCHAR) ### ANSWER SELECT T2.created, T2.state, T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'
{ "answer": "SELECT T2.created, T2.state, T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'", "context": "CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE votes (created VARCHAR, state VARCHAR, phone_number VARCHAR, contestant_number VARCHAR)", "question": "What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?" }
### QUESTION What is the title of the first episode of the season that begin on february 27, 1954? ### CONTEXT CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR) ### ANSWER SELECT title FROM table_15824796_3 WHERE original_air_date = "February 27, 1954"
{ "answer": "SELECT title FROM table_15824796_3 WHERE original_air_date = \"February 27, 1954\"", "context": "CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)", "question": "What is the title of the first episode of the season that begin on february 27, 1954?" }
### QUESTION What is the highest ff when solo is 56? ### CONTEXT CREATE TABLE table_26176081_29 (ff INTEGER, solo VARCHAR) ### ANSWER SELECT MAX(ff) FROM table_26176081_29 WHERE solo = 56
{ "answer": "SELECT MAX(ff) FROM table_26176081_29 WHERE solo = 56", "context": "CREATE TABLE table_26176081_29 (ff INTEGER, solo VARCHAR)", "question": "What is the highest ff when solo is 56?" }
### QUESTION What is the name of the customer that has purchased the most items? ### CONTEXT CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) ### ANSWER SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1
{ "answer": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1", "context": "CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)", "question": "What is the name of the customer that has purchased the most items?" }
### QUESTION Find the number of rooms for different block code? ### CONTEXT CREATE TABLE room (blockfloor VARCHAR, blockcode VARCHAR); CREATE TABLE BLOCK (blockcode VARCHAR, blockfloor VARCHAR) ### ANSWER SELECT COUNT(*), T1.blockcode FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor = T2.blockfloor AND T1.blockcode = T2.blockcode GROUP BY T1.blockcode
{ "answer": "SELECT COUNT(*), T1.blockcode FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor = T2.blockfloor AND T1.blockcode = T2.blockcode GROUP BY T1.blockcode", "context": "CREATE TABLE room (blockfloor VARCHAR, blockcode VARCHAR); CREATE TABLE BLOCK (blockcode VARCHAR, blockfloor VARCHAR)", "question": "Find the number of rooms for different block code?" }
### QUESTION Show all product names without an order. ### CONTEXT CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR); CREATE TABLE Products (product_name VARCHAR) ### ANSWER SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id
{ "answer": "SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id", "context": "CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR); CREATE TABLE Products (product_name VARCHAR)", "question": "Show all product names without an order." }
### QUESTION Name the score for pacers visitor on 14 april 2008 ### CONTEXT CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_16 WHERE visitor = "pacers" AND date = "14 april 2008"
{ "answer": "SELECT score FROM table_name_16 WHERE visitor = \"pacers\" AND date = \"14 april 2008\"", "context": "CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR)", "question": "Name the score for pacers visitor on 14 april 2008" }
### QUESTION How many previous years did Maebashi Ikuei high school have a total number of 1 participation? ### CONTEXT CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR) ### ANSWER SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei"
{ "answer": "SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = \"Maebashi Ikuei\"", "context": "CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR)", "question": "How many previous years did Maebashi Ikuei high school have a total number of 1 participation?" }
### QUESTION What is the famous for where the finished is 5th? ### CONTEXT CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) ### ANSWER SELECT famous_for FROM table_14345690_5 WHERE finished = "5th"
{ "answer": "SELECT famous_for FROM table_14345690_5 WHERE finished = \"5th\"", "context": "CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR)", "question": "What is the famous for where the finished is 5th?" }
### QUESTION What is the Score when the opponent in the final is alicia pillay on a hard surface? ### CONTEXT CREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT score FROM table_name_73 WHERE surface = "hard" AND opponent_in_the_final = "alicia pillay"
{ "answer": "SELECT score FROM table_name_73 WHERE surface = \"hard\" AND opponent_in_the_final = \"alicia pillay\"", "context": "CREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)", "question": "What is the Score when the opponent in the final is alicia pillay on a hard surface?" }
### QUESTION What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? ### CONTEXT CREATE TABLE table_name_6 (probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR) ### ANSWER SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives"
{ "answer": "SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = \"no\" AND regulator = \"chartered institute of legal executives\"", "context": "CREATE TABLE table_name_6 (probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR)", "question": "What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives?" }
### QUESTION what's the success where date of completion is september 28, 2007 ### CONTEXT CREATE TABLE table_12078626_1 (success VARCHAR, date_of_completion VARCHAR) ### ANSWER SELECT success FROM table_12078626_1 WHERE date_of_completion = "September 28, 2007"
{ "answer": "SELECT success FROM table_12078626_1 WHERE date_of_completion = \"September 28, 2007\"", "context": "CREATE TABLE table_12078626_1 (success VARCHAR, date_of_completion VARCHAR)", "question": " what's the success where date of completion is september 28, 2007" }
### QUESTION For democratic party, countries represented is montgomery and where committee is judiciary mention all the delegate name. ### CONTEXT CREATE TABLE table_27050336_7 (delegate VARCHAR, counties_represented VARCHAR, committee VARCHAR, party VARCHAR) ### ANSWER SELECT delegate FROM table_27050336_7 WHERE committee = "Judiciary" AND party = "Democratic" AND counties_represented = "Montgomery"
{ "answer": "SELECT delegate FROM table_27050336_7 WHERE committee = \"Judiciary\" AND party = \"Democratic\" AND counties_represented = \"Montgomery\"", "context": "CREATE TABLE table_27050336_7 (delegate VARCHAR, counties_represented VARCHAR, committee VARCHAR, party VARCHAR)", "question": "For democratic party, countries represented is montgomery and where committee is judiciary mention all the delegate name." }
### QUESTION What's the Place of birth listed that has an Elevator of ALexander III, and an Elector of Ruggiero Di San Severino? ### CONTEXT CREATE TABLE table_name_51 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR) ### ANSWER SELECT place_of_birth FROM table_name_51 WHERE elevator = "alexander iii" AND elector = "ruggiero di san severino"
{ "answer": "SELECT place_of_birth FROM table_name_51 WHERE elevator = \"alexander iii\" AND elector = \"ruggiero di san severino\"", "context": "CREATE TABLE table_name_51 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR)", "question": "What's the Place of birth listed that has an Elevator of ALexander III, and an Elector of Ruggiero Di San Severino?" }
### QUESTION In the disaster in which 1,000 people were helped, what was the nature of help? ### CONTEXT CREATE TABLE table_name_31 (nature_of_help VARCHAR, people_assisted VARCHAR) ### ANSWER SELECT nature_of_help FROM table_name_31 WHERE people_assisted = "1,000"
{ "answer": "SELECT nature_of_help FROM table_name_31 WHERE people_assisted = \"1,000\"", "context": "CREATE TABLE table_name_31 (nature_of_help VARCHAR, people_assisted VARCHAR)", "question": "In the disaster in which 1,000 people were helped, what was the nature of help?" }
### QUESTION What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35? ### CONTEXT CREATE TABLE table_name_27 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) ### ANSWER SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = "spain"
{ "answer": "SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = \"spain\"", "context": "CREATE TABLE table_name_27 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)", "question": "What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35?" }
### QUESTION Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29? ### CONTEXT CREATE TABLE table_name_63 (nationality___opponent VARCHAR, competition VARCHAR, result VARCHAR) ### ANSWER SELECT nationality___opponent FROM table_name_63 WHERE competition = "welsh rugby union challenge trophy" AND result = "38-29"
{ "answer": "SELECT nationality___opponent FROM table_name_63 WHERE competition = \"welsh rugby union challenge trophy\" AND result = \"38-29\"", "context": "CREATE TABLE table_name_63 (nationality___opponent VARCHAR, competition VARCHAR, result VARCHAR)", "question": "Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29?" }
### QUESTION Name the total number of viewers for audience share in timeslot for 10.2% ### CONTEXT CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR) ### ANSWER SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = "10.2%"
{ "answer": "SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = \"10.2%\"", "context": "CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)", "question": "Name the total number of viewers for audience share in timeslot for 10.2%" }
### QUESTION What is the Score with a Date that is 2008-06-28? ### CONTEXT CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_35 WHERE date = "2008-06-28"
{ "answer": "SELECT score FROM table_name_35 WHERE date = \"2008-06-28\"", "context": "CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)", "question": "What is the Score with a Date that is 2008-06-28?" }
### QUESTION What pick number did Real Salt Lake get? ### CONTEXT CREATE TABLE table_29836557_2 (pick__number INTEGER, mls_team VARCHAR) ### ANSWER SELECT MIN(pick__number) FROM table_29836557_2 WHERE mls_team = "Real Salt Lake"
{ "answer": "SELECT MIN(pick__number) FROM table_29836557_2 WHERE mls_team = \"Real Salt Lake\"", "context": "CREATE TABLE table_29836557_2 (pick__number INTEGER, mls_team VARCHAR)", "question": "What pick number did Real Salt Lake get?" }
### QUESTION Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013? ### CONTEXT CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR) ### ANSWER SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013
{ "answer": "SELECT AVG(division) FROM table_name_36 WHERE reg_season = \"1st, western\" AND playoffs = \"champions\" AND year < 2013", "context": "CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR)", "question": "Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?" }
### QUESTION How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6–2, 3–6, 5–7? ### CONTEXT CREATE TABLE table_17289604_38 (athlete VARCHAR, round_of_64 VARCHAR) ### ANSWER SELECT COUNT(athlete) FROM table_17289604_38 WHERE round_of_64 = "Llagostera Vives ( ESP ) L 6–2, 3–6, 5–7"
{ "answer": "SELECT COUNT(athlete) FROM table_17289604_38 WHERE round_of_64 = \"Llagostera Vives ( ESP ) L 6–2, 3–6, 5–7\"", "context": "CREATE TABLE table_17289604_38 (athlete VARCHAR, round_of_64 VARCHAR)", "question": "How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6–2, 3–6, 5–7?" }
### QUESTION What year did maggs magnificent mild bear win overall at the camra reading branch beer festival? ### CONTEXT CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall"
{ "answer": "SELECT MAX(year) FROM table_name_62 WHERE beer_name = \"maggs magnificent mild\" AND competition = \"camra reading branch beer festival\" AND category = \"overall\"", "context": "CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR)", "question": "What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?" }
### QUESTION What is the date where the winner was Tom Kite (10)? ### CONTEXT CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR) ### ANSWER SELECT date FROM table_name_24 WHERE winner = "tom kite (10)"
{ "answer": "SELECT date FROM table_name_24 WHERE winner = \"tom kite (10)\"", "context": "CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR)", "question": "What is the date where the winner was Tom Kite (10)?" }
### QUESTION What is the power output (kw) of builder zhuzhou, model hxd1d, with a total production of 2? ### CONTEXT CREATE TABLE table_name_79 (power_output__kw_ VARCHAR, model VARCHAR, total_production VARCHAR, builder__family_ VARCHAR) ### ANSWER SELECT power_output__kw_ FROM table_name_79 WHERE total_production = "2" AND builder__family_ = "zhuzhou" AND model = "hxd1d"
{ "answer": "SELECT power_output__kw_ FROM table_name_79 WHERE total_production = \"2\" AND builder__family_ = \"zhuzhou\" AND model = \"hxd1d\"", "context": "CREATE TABLE table_name_79 (power_output__kw_ VARCHAR, model VARCHAR, total_production VARCHAR, builder__family_ VARCHAR)", "question": "What is the power output (kw) of builder zhuzhou, model hxd1d, with a total production of 2?" }
### QUESTION How many votes did Lee Teng-Hui receive when he was elected? ### CONTEXT CREATE TABLE table_name_7 (total_votes INTEGER, outcome VARCHAR, candidate VARCHAR) ### ANSWER SELECT MAX(total_votes) FROM table_name_7 WHERE outcome = "elected" AND candidate = "lee teng-hui"
{ "answer": "SELECT MAX(total_votes) FROM table_name_7 WHERE outcome = \"elected\" AND candidate = \"lee teng-hui\"", "context": "CREATE TABLE table_name_7 (total_votes INTEGER, outcome VARCHAR, candidate VARCHAR)", "question": "How many votes did Lee Teng-Hui receive when he was elected?" }
### QUESTION Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? ### CONTEXT CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) ### ANSWER SELECT whitten FROM table_name_12 WHERE stuart = "bass" AND paul_mccartney = "electric guitar"
{ "answer": "SELECT whitten FROM table_name_12 WHERE stuart = \"bass\" AND paul_mccartney = \"electric guitar\"", "context": "CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR)", "question": "Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar?" }
### QUESTION Show the ids and names of festivals that have at least two nominations for artworks. ### CONTEXT CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR) ### ANSWER SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2", "context": "CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)", "question": "Show the ids and names of festivals that have at least two nominations for artworks." }
### QUESTION What is the compound name listed where marine organism α is worm ### CONTEXT CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR) ### ANSWER SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm"
{ "answer": "SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = \"Worm\"", "context": "CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR)", "question": "What is the compound name listed where marine organism α is worm" }
### QUESTION Tell me the host for midwest thomas assembly center ### CONTEXT CREATE TABLE table_name_85 (host VARCHAR, region VARCHAR, venue VARCHAR) ### ANSWER SELECT host FROM table_name_85 WHERE region = "midwest" AND venue = "thomas assembly center"
{ "answer": "SELECT host FROM table_name_85 WHERE region = \"midwest\" AND venue = \"thomas assembly center\"", "context": "CREATE TABLE table_name_85 (host VARCHAR, region VARCHAR, venue VARCHAR)", "question": "Tell me the host for midwest thomas assembly center" }
### QUESTION Who are the customers that had more than 1 policy? List the customer details and id. ### CONTEXT CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (Customer_id VARCHAR) ### ANSWER SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.Customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 1
{ "answer": "SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.Customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 1", "context": "CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (Customer_id VARCHAR)", "question": "Who are the customers that had more than 1 policy? List the customer details and id." }
### QUESTION What are the names and years of the movies that has the top 3 highest rating star? ### CONTEXT CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR) ### ANSWER SELECT T2.title, T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY T1.stars DESC LIMIT 3
{ "answer": "SELECT T2.title, T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY T1.stars DESC LIMIT 3", "context": "CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, mID VARCHAR)", "question": "What are the names and years of the movies that has the top 3 highest rating star?" }
### QUESTION what is the analog type for wxmi? ### CONTEXT CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR) ### ANSWER SELECT analog FROM table_name_9 WHERE callsign = "wxmi"
{ "answer": "SELECT analog FROM table_name_9 WHERE callsign = \"wxmi\"", "context": "CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)", "question": "what is the analog type for wxmi?" }
### QUESTION Which river had 26 points? ### CONTEXT CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR) ### ANSWER SELECT driver FROM table_name_72 WHERE points = 26
{ "answer": "SELECT driver FROM table_name_72 WHERE points = 26", "context": "CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)", "question": "Which river had 26 points?" }
### QUESTION What's Curtis Painter's position? ### CONTEXT CREATE TABLE table_20861261_4 (position VARCHAR, player VARCHAR) ### ANSWER SELECT position FROM table_20861261_4 WHERE player = "Curtis Painter"
{ "answer": "SELECT position FROM table_20861261_4 WHERE player = \"Curtis Painter\"", "context": "CREATE TABLE table_20861261_4 (position VARCHAR, player VARCHAR)", "question": "What's Curtis Painter's position?" }
### QUESTION WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? ### CONTEXT CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR) ### ANSWER SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = "ricardo rocha"
{ "answer": "SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = \"ricardo rocha\"", "context": "CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR)", "question": "WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA?" }
### QUESTION Name the laps for suzuki and time/retired of +1:02.804 ### CONTEXT CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) ### ANSWER SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
{ "answer": "SELECT laps FROM table_name_92 WHERE manufacturer = \"suzuki\" AND time_retired = \"+1:02.804\"", "context": "CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)", "question": "Name the laps for suzuki and time/retired of +1:02.804" }
### QUESTION What is the ERP W number where the frequency is smaller than 91.1? ### CONTEXT CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) ### ANSWER SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1
{ "answer": "SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1", "context": "CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)", "question": "What is the ERP W number where the frequency is smaller than 91.1?" }
### QUESTION Who did they play when there were only 751 in attendance? ### CONTEXT CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER) ### ANSWER SELECT opponent FROM table_name_78 WHERE attendance < 751
{ "answer": "SELECT opponent FROM table_name_78 WHERE attendance < 751", "context": "CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER)", "question": "Who did they play when there were only 751 in attendance?" }
### QUESTION What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich? ### CONTEXT CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) ### ANSWER SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = "Yuriy Korotkevich"
{ "answer": "SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = \"Yuriy Korotkevich\"", "context": "CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)", "question": "What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?" }
### QUESTION How many live births where the crude birth rate is lore than 15.7, average population is less than 297 and deaths are al 4 686? ### CONTEXT CREATE TABLE table_name_79 (live_births VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, average_population__x_1000_ VARCHAR) ### ANSWER SELECT live_births FROM table_name_79 WHERE crude_birth_rate__per_1000_ > 15.7 AND average_population__x_1000_ < 297 AND deaths = "4 686"
{ "answer": "SELECT live_births FROM table_name_79 WHERE crude_birth_rate__per_1000_ > 15.7 AND average_population__x_1000_ < 297 AND deaths = \"4 686\"", "context": "CREATE TABLE table_name_79 (live_births VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, average_population__x_1000_ VARCHAR)", "question": "How many live births where the crude birth rate is lore than 15.7, average population is less than 297 and deaths are al 4 686?" }
### QUESTION Show all locations where a gas station for company with market value greater than 100 is located. ### CONTEXT CREATE TABLE gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR) ### ANSWER SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100
{ "answer": "SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100", "context": "CREATE TABLE gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR)", "question": "Show all locations where a gas station for company with market value greater than 100 is located." }
### QUESTION Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia? ### CONTEXT CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR) ### ANSWER SELECT longitude FROM table_name_87 WHERE latitude = "73.0s" AND name = "aibarchin planitia"
{ "answer": "SELECT longitude FROM table_name_87 WHERE latitude = \"73.0s\" AND name = \"aibarchin planitia\"", "context": "CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR)", "question": "Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?" }
### QUESTION Where was the 2011-2012 soccer state tournament held? ### CONTEXT CREATE TABLE table_2849652_2 (sport VARCHAR) ### ANSWER SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer"
{ "answer": "SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = \"Soccer\"", "context": "CREATE TABLE table_2849652_2 (sport VARCHAR)", "question": "Where was the 2011-2012 soccer state tournament held?" }
### QUESTION What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%? ### CONTEXT CREATE TABLE table_171748_3 (change_over_previous_year_as_a_whole VARCHAR, change_over_same_quarter_the_previous_year VARCHAR) ### ANSWER SELECT change_over_previous_year_as_a_whole FROM table_171748_3 WHERE change_over_same_quarter_the_previous_year = "Up 2.8%"
{ "answer": "SELECT change_over_previous_year_as_a_whole FROM table_171748_3 WHERE change_over_same_quarter_the_previous_year = \"Up 2.8%\"", "context": "CREATE TABLE table_171748_3 (change_over_previous_year_as_a_whole VARCHAR, change_over_same_quarter_the_previous_year VARCHAR)", "question": "What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%?" }
### QUESTION What are the names and id of courses having at most 2 sections? ### CONTEXT CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Sections (course_id VARCHAR) ### ANSWER SELECT T1.course_name, T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING COUNT(*) <= 2
{ "answer": "SELECT T1.course_name, T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING COUNT(*) <= 2", "context": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Sections (course_id VARCHAR)", "question": "What are the names and id of courses having at most 2 sections?" }
### QUESTION What is ion life network's PSIP Short Name? ### CONTEXT CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR) ### ANSWER SELECT psip_short_name FROM table_name_58 WHERE network = "ion life"
{ "answer": "SELECT psip_short_name FROM table_name_58 WHERE network = \"ion life\"", "context": "CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR)", "question": "What is ion life network's PSIP Short Name?" }
### QUESTION What is the color of the grape whose wine products has the highest average price? ### CONTEXT CREATE TABLE GRAPES (Color VARCHAR, Grape VARCHAR); CREATE TABLE WINE (Grape VARCHAR) ### ANSWER SELECT T1.Color FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape GROUP BY T2.Grape ORDER BY AVG(Price) DESC LIMIT 1
{ "answer": "SELECT T1.Color FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape GROUP BY T2.Grape ORDER BY AVG(Price) DESC LIMIT 1", "context": "CREATE TABLE GRAPES (Color VARCHAR, Grape VARCHAR); CREATE TABLE WINE (Grape VARCHAR)", "question": "What is the color of the grape whose wine products has the highest average price?" }
### QUESTION What is the first name of students enrolled in class ACCT-211 and got grade C? ### CONTEXT CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR, enroll_grade VARCHAR) ### ANSWER SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T2.stu_num = T3.stu_num WHERE T1.crs_code = 'ACCT-211' AND T2.enroll_grade = 'C'
{ "answer": "SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T2.stu_num = T3.stu_num WHERE T1.crs_code = 'ACCT-211' AND T2.enroll_grade = 'C'", "context": "CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR, enroll_grade VARCHAR)", "question": "What is the first name of students enrolled in class ACCT-211 and got grade C?" }
### QUESTION What was the option from Italy with general television content, and the Cielo television service? ### CONTEXT CREATE TABLE table_name_84 (package_option VARCHAR, television_service VARCHAR, country VARCHAR, content VARCHAR) ### ANSWER SELECT package_option FROM table_name_84 WHERE country = "italy" AND content = "general television" AND television_service = "cielo"
{ "answer": "SELECT package_option FROM table_name_84 WHERE country = \"italy\" AND content = \"general television\" AND television_service = \"cielo\"", "context": "CREATE TABLE table_name_84 (package_option VARCHAR, television_service VARCHAR, country VARCHAR, content VARCHAR)", "question": "What was the option from Italy with general television content, and the Cielo television service?" }
### QUESTION What are the codes of countries where Spanish is spoken by the largest percentage of people? ### CONTEXT CREATE TABLE countrylanguage (CountryCode VARCHAR, Percentage INTEGER, LANGUAGE VARCHAR) ### ANSWER SELECT CountryCode, MAX(Percentage) FROM countrylanguage WHERE LANGUAGE = "Spanish" GROUP BY CountryCode
{ "answer": "SELECT CountryCode, MAX(Percentage) FROM countrylanguage WHERE LANGUAGE = \"Spanish\" GROUP BY CountryCode", "context": "CREATE TABLE countrylanguage (CountryCode VARCHAR, Percentage INTEGER, LANGUAGE VARCHAR)", "question": "What are the codes of countries where Spanish is spoken by the largest percentage of people?" }
### QUESTION What is the average number of silver medals for rank 2 and more than 1 bronze medal? ### CONTEXT CREATE TABLE table_name_15 (silver INTEGER, rank VARCHAR, bronze VARCHAR) ### ANSWER SELECT AVG(silver) FROM table_name_15 WHERE rank = 2 AND bronze > 1
{ "answer": "SELECT AVG(silver) FROM table_name_15 WHERE rank = 2 AND bronze > 1", "context": "CREATE TABLE table_name_15 (silver INTEGER, rank VARCHAR, bronze VARCHAR)", "question": "What is the average number of silver medals for rank 2 and more than 1 bronze medal?" }
### QUESTION Which gender has a Decile of 8, an Area of taradale, and Years of 1–13? ### CONTEXT CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR) ### ANSWER SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13"
{ "answer": "SELECT gender FROM table_name_90 WHERE decile = 8 AND area = \"taradale\" AND years = \"1–13\"", "context": "CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR)", "question": "Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?" }
### QUESTION What Club has Fiba European Champion's Cup and an Italian Cup? ### CONTEXT CREATE TABLE table_name_27 (club VARCHAR, european_cup VARCHAR, national_cup VARCHAR) ### ANSWER SELECT club FROM table_name_27 WHERE european_cup = "fiba european champion's cup" AND national_cup = "italian cup"
{ "answer": "SELECT club FROM table_name_27 WHERE european_cup = \"fiba european champion's cup\" AND national_cup = \"italian cup\"", "context": "CREATE TABLE table_name_27 (club VARCHAR, european_cup VARCHAR, national_cup VARCHAR)", "question": "What Club has Fiba European Champion's Cup and an Italian Cup?" }