text
stringlengths
146
1.06k
source
dict
### QUESTION What is the home team score when they played at Victoria Park? ### CONTEXT CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park"
{ "answer": "SELECT home_team AS score FROM table_name_7 WHERE venue = \"victoria park\"", "context": "CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)", "question": "What is the home team score when they played at Victoria Park?" }
### QUESTION Find the number of students who are older than 18 and do not have allergy to either food or animal. ### CONTEXT CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (Allergy VARCHAR); CREATE TABLE Student (age VARCHAR, StuID VARCHAR) ### ANSWER SELECT COUNT(*) FROM Student WHERE age > 18 AND NOT StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food" OR T2.allergytype = "animal")
{ "answer": "SELECT COUNT(*) FROM Student WHERE age > 18 AND NOT StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"food\" OR T2.allergytype = \"animal\")", "context": "CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (Allergy VARCHAR); CREATE TABLE Student (age VARCHAR, StuID VARCHAR)", "question": "Find the number of students who are older than 18 and do not have allergy to either food or animal." }
### QUESTION In what League is Left Wing Yanick Dupre? ### CONTEXT CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) ### ANSWER SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre"
{ "answer": "SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = \"left wing\" AND player = \"yanick dupre\"", "context": "CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)", "question": "In what League is Left Wing Yanick Dupre?" }
### QUESTION Name the total number of years for talbot-lago t26c and points less than 3 ### CONTEXT CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3
{ "answer": "SELECT COUNT(year) FROM table_name_52 WHERE chassis = \"talbot-lago t26c\" AND points < 3", "context": "CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR)", "question": "Name the total number of years for talbot-lago t26c and points less than 3" }
### QUESTION Find the names and number of works of all artists who have at least one English songs. ### CONTEXT CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) ### ANSWER SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english" GROUP BY T2.artist_name HAVING COUNT(*) >= 1
{ "answer": "SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = \"english\" GROUP BY T2.artist_name HAVING COUNT(*) >= 1", "context": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR)", "question": "Find the names and number of works of all artists who have at least one English songs." }
### QUESTION What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859? ### CONTEXT CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR) ### ANSWER SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "sweden" AND born_in_a_non_eu_state__1000_ < 859
{ "answer": "SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = \"sweden\" AND born_in_a_non_eu_state__1000_ < 859", "context": "CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR)", "question": "What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859?" }
### QUESTION What years does Our Lady Sacred Heart School, which is state integrated, have? ### CONTEXT CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR) ### ANSWER SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"
{ "answer": "SELECT years FROM table_name_47 WHERE authority = \"state integrated\" AND name = \"our lady sacred heart school\"", "context": "CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)", "question": "What years does Our Lady Sacred Heart School, which is state integrated, have?" }
### QUESTION What is Tournament, when 2012 is "Grand Slam Tournaments"? ### CONTEXT CREATE TABLE table_name_35 (tournament VARCHAR) ### ANSWER SELECT tournament FROM table_name_35 WHERE 2012 = "grand slam tournaments"
{ "answer": "SELECT tournament FROM table_name_35 WHERE 2012 = \"grand slam tournaments\"", "context": "CREATE TABLE table_name_35 (tournament VARCHAR)", "question": "What is Tournament, when 2012 is \"Grand Slam Tournaments\"?" }
### QUESTION Show the start dates and end dates of all the apartment bookings made by guests with gender code "Female". ### CONTEXT CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_id VARCHAR, gender_code VARCHAR) ### ANSWER SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female"
{ "answer": "SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = \"Female\"", "context": "CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_id VARCHAR, gender_code VARCHAR)", "question": "Show the start dates and end dates of all the apartment bookings made by guests with gender code \"Female\"." }
### QUESTION List roles that have more than one employee. List the role description and number of employees. ### CONTEXT CREATE TABLE ROLES (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR) ### ANSWER SELECT Roles.role_description, COUNT(Employees.employee_id) FROM ROLES JOIN Employees ON Employees.role_code = Roles.role_code GROUP BY Employees.role_code HAVING COUNT(Employees.employee_id) > 1
{ "answer": "SELECT Roles.role_description, COUNT(Employees.employee_id) FROM ROLES JOIN Employees ON Employees.role_code = Roles.role_code GROUP BY Employees.role_code HAVING COUNT(Employees.employee_id) > 1", "context": "CREATE TABLE ROLES (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)", "question": "List roles that have more than one employee. List the role description and number of employees." }
### QUESTION Which entrant has a Honda V6 engine and a Lotus 99t chassis? ### CONTEXT CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) ### ANSWER SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t"
{ "answer": "SELECT entrant FROM table_name_42 WHERE engine = \"honda v6\" AND chassis = \"lotus 99t\"", "context": "CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR)", "question": "Which entrant has a Honda V6 engine and a Lotus 99t chassis?" }
### QUESTION What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded? ### CONTEXT CREATE TABLE table_name_39 (points INTEGER, club VARCHAR, goals_conceded VARCHAR) ### ANSWER SELECT SUM(points) FROM table_name_39 WHERE club = "nevėžis-2 kėdainiai" AND goals_conceded > 35
{ "answer": "SELECT SUM(points) FROM table_name_39 WHERE club = \"nevėžis-2 kėdainiai\" AND goals_conceded > 35", "context": "CREATE TABLE table_name_39 (points INTEGER, club VARCHAR, goals_conceded VARCHAR)", "question": "What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded?" }
### QUESTION What position did he finish in 1987? ### CONTEXT CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR) ### ANSWER SELECT position FROM table_2387790_2 WHERE year = 1987
{ "answer": "SELECT position FROM table_2387790_2 WHERE year = 1987", "context": "CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR)", "question": "What position did he finish in 1987?" }
### QUESTION What is Party, when Results is "Re-Elected", when First Elected is greater than 1990, and when District is "Minnesota 4"? ### CONTEXT CREATE TABLE table_name_10 (party VARCHAR, district VARCHAR, results VARCHAR, first_elected VARCHAR) ### ANSWER SELECT party FROM table_name_10 WHERE results = "re-elected" AND first_elected > 1990 AND district = "minnesota 4"
{ "answer": "SELECT party FROM table_name_10 WHERE results = \"re-elected\" AND first_elected > 1990 AND district = \"minnesota 4\"", "context": "CREATE TABLE table_name_10 (party VARCHAR, district VARCHAR, results VARCHAR, first_elected VARCHAR)", "question": "What is Party, when Results is \"Re-Elected\", when First Elected is greater than 1990, and when District is \"Minnesota 4\"?" }
### QUESTION What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878? ### CONTEXT CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR) ### ANSWER SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878"
{ "answer": "SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = \"1914\" AND separating_sheep_ & goats = \"during christ's presence\" AND judgmentof_religion = \"1878\"", "context": "CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR)", "question": "What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878?" }
### QUESTION Which College has a Round of 11, and a Position of wr? ### CONTEXT CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR) ### ANSWER SELECT college FROM table_name_42 WHERE round = 11 AND position = "wr"
{ "answer": "SELECT college FROM table_name_42 WHERE round = 11 AND position = \"wr\"", "context": "CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR)", "question": "Which College has a Round of 11, and a Position of wr?" }
### QUESTION Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992? ### CONTEXT CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) ### ANSWER SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992
{ "answer": "SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = \"18%\" AND share_of_seats = \"3%\" AND general_election > 1992", "context": "CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)", "question": "Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?" }
### QUESTION Name the reidsville for enrollment ### CONTEXT CREATE TABLE table_25330991_3 (reidsville VARCHAR, information VARCHAR) ### ANSWER SELECT reidsville FROM table_25330991_3 WHERE information = "Enrollment"
{ "answer": "SELECT reidsville FROM table_25330991_3 WHERE information = \"Enrollment\"", "context": "CREATE TABLE table_25330991_3 (reidsville VARCHAR, information VARCHAR)", "question": "Name the reidsville for enrollment" }
### QUESTION Who drove for Arciero Racing? ### CONTEXT CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR) ### ANSWER SELECT drivers FROM table_name_31 WHERE team = "arciero racing"
{ "answer": "SELECT drivers FROM table_name_31 WHERE team = \"arciero racing\"", "context": "CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR)", "question": "Who drove for Arciero Racing?" }
### QUESTION What is the highest salary among each team? List the team name, id and maximum salary. ### CONTEXT CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (name VARCHAR, team_id VARCHAR) ### ANSWER SELECT T1.name, T1.team_id, MAX(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id
{ "answer": "SELECT T1.name, T1.team_id, MAX(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id", "context": "CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (name VARCHAR, team_id VARCHAR)", "question": "What is the highest salary among each team? List the team name, id and maximum salary." }
### QUESTION What is the average election result for the province of Grosseto from 1766 and prior? ### CONTEXT CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR) ### ANSWER SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766
{ "answer": "SELECT AVG(election) FROM table_name_50 WHERE province = \"grosseto\" AND established < 1766", "context": "CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR)", "question": "What is the average election result for the province of Grosseto from 1766 and prior?" }
### QUESTION What percentage of browsers were using Firefox or other Mozilla browsers during the period in which 1.93% were using Chrome? ### CONTEXT CREATE TABLE table_name_12 (firefox_ VARCHAR, _other_mozilla VARCHAR, chrome VARCHAR) ### ANSWER SELECT firefox_, _other_mozilla FROM table_name_12 WHERE chrome = "1.93%"
{ "answer": "SELECT firefox_, _other_mozilla FROM table_name_12 WHERE chrome = \"1.93%\"", "context": "CREATE TABLE table_name_12 (firefox_ VARCHAR, _other_mozilla VARCHAR, chrome VARCHAR)", "question": "What percentage of browsers were using Firefox or other Mozilla browsers during the period in which 1.93% were using Chrome?" }
### QUESTION What year was stage 8 reached? ### CONTEXT CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR) ### ANSWER SELECT year FROM table_name_54 WHERE stages = "8"
{ "answer": "SELECT year FROM table_name_54 WHERE stages = \"8\"", "context": "CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR)", "question": "What year was stage 8 reached?" }
### QUESTION Who are the top 3 players in terms of overall rating? ### CONTEXT CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR) ### ANSWER SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY overall_rating DESC LIMIT 3
{ "answer": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY overall_rating DESC LIMIT 3", "context": "CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR)", "question": "Who are the top 3 players in terms of overall rating?" }
### QUESTION What was the score of the match where paris sg (d1) was team 1? ### CONTEXT CREATE TABLE table_name_63 (score VARCHAR, team_1 VARCHAR) ### ANSWER SELECT score FROM table_name_63 WHERE team_1 = "paris sg (d1)"
{ "answer": "SELECT score FROM table_name_63 WHERE team_1 = \"paris sg (d1)\"", "context": "CREATE TABLE table_name_63 (score VARCHAR, team_1 VARCHAR)", "question": "What was the score of the match where paris sg (d1) was team 1?" }
### QUESTION For each nomination, show the name of the artwork and name of the festival where it is nominated. ### CONTEXT CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR) ### ANSWER SELECT T2.Name, 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
{ "answer": "SELECT T2.Name, 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", "context": "CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)", "question": "For each nomination, show the name of the artwork and name of the festival where it is nominated." }
### QUESTION What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? ### CONTEXT CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR) ### ANSWER SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"
{ "answer": "SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = \"1,769 of 5,008\"", "context": "CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR)", "question": "What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?" }
### QUESTION Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji? ### CONTEXT CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR) ### ANSWER SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji"
{ "answer": "SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = \"kōmyōji\"", "context": "CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR)", "question": "Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji?" }
### QUESTION What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4? ### CONTEXT CREATE TABLE table_name_13 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR) ### ANSWER SELECT MIN(bike_no) FROM table_name_13 WHERE driver___passenger = "joris hendrickx / kaspars liepins" AND position < 4
{ "answer": "SELECT MIN(bike_no) FROM table_name_13 WHERE driver___passenger = \"joris hendrickx / kaspars liepins\" AND position < 4", "context": "CREATE TABLE table_name_13 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR)", "question": "What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4?" }
### QUESTION What municipality has 719 people and is larger than 108.46 km2? ### CONTEXT CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR) ### ANSWER SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719
{ "answer": "SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719", "context": "CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)", "question": "What municipality has 719 people and is larger than 108.46 km2?" }
### QUESTION WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED? ### CONTEXT CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"
{ "answer": "SELECT away_team FROM table_name_44 WHERE home_team = \"leeds united\"", "context": "CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)", "question": "WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?" }
### QUESTION How many total No Results occured when the team had less than 46 wins and more than 16 matches? ### CONTEXT CREATE TABLE table_name_63 (no_result INTEGER, matches VARCHAR, wins VARCHAR) ### ANSWER SELECT SUM(no_result) FROM table_name_63 WHERE matches > 16 AND wins < 46
{ "answer": "SELECT SUM(no_result) FROM table_name_63 WHERE matches > 16 AND wins < 46", "context": "CREATE TABLE table_name_63 (no_result INTEGER, matches VARCHAR, wins VARCHAR)", "question": "How many total No Results occured when the team had less than 46 wins and more than 16 matches?" }
### QUESTION What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3? ### CONTEXT CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time VARCHAR) ### ANSWER SELECT SUM(laps) FROM table_name_86 WHERE manufacturer = "gilera" AND time = "40:19.910" AND grid > 3
{ "answer": "SELECT SUM(laps) FROM table_name_86 WHERE manufacturer = \"gilera\" AND time = \"40:19.910\" AND grid > 3", "context": "CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time VARCHAR)", "question": "What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3?" }
### QUESTION What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18? ### CONTEXT CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR) ### ANSWER SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18
{ "answer": "SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18", "context": "CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)", "question": "What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?" }
### QUESTION What is the country of the play based in Athens at the Attis Theatre company? ### CONTEXT CREATE TABLE table_name_33 (country VARCHAR, base VARCHAR, company VARCHAR) ### ANSWER SELECT country FROM table_name_33 WHERE base = "athens" AND company = "attis theatre"
{ "answer": "SELECT country FROM table_name_33 WHERE base = \"athens\" AND company = \"attis theatre\"", "context": "CREATE TABLE table_name_33 (country VARCHAR, base VARCHAR, company VARCHAR)", "question": "What is the country of the play based in Athens at the Attis Theatre company?" }
### QUESTION When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? ### CONTEXT CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR) ### ANSWER SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium"
{ "answer": "SELECT year FROM table_name_65 WHERE winner = \"panathinaikos\" AND runner_up = \"olympiacos\" AND venue = \"nikos goumas stadium\"", "context": "CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)", "question": "When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?" }
### QUESTION Show the parties that have both representatives in New York state and representatives in Pennsylvania state. ### CONTEXT CREATE TABLE representative (Party VARCHAR, State VARCHAR) ### ANSWER SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania"
{ "answer": "SELECT Party FROM representative WHERE State = \"New York\" INTERSECT SELECT Party FROM representative WHERE State = \"Pennsylvania\"", "context": "CREATE TABLE representative (Party VARCHAR, State VARCHAR)", "question": "Show the parties that have both representatives in New York state and representatives in Pennsylvania state." }
### QUESTION What was the total fertility rate that had a death rate larger than 7.8? ### CONTEXT CREATE TABLE table_name_60 (total_fertility_rate VARCHAR, deaths INTEGER) ### ANSWER SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.8
{ "answer": "SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.8", "context": "CREATE TABLE table_name_60 (total_fertility_rate VARCHAR, deaths INTEGER)", "question": "What was the total fertility rate that had a death rate larger than 7.8?" }
### QUESTION What is the Losses at the western conference and the 2004–05 season? ### CONTEXT CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR) ### ANSWER SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05"
{ "answer": "SELECT losses FROM table_name_51 WHERE conference = \"western\" AND season = \"2004–05\"", "context": "CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)", "question": "What is the Losses at the western conference and the 2004–05 season?" }
### QUESTION When has a Korean name ² of 청명 (清明) cheongmyeong? ### CONTEXT CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR) ### ANSWER SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong"
{ "answer": "SELECT date_³ FROM table_name_88 WHERE korean_name_² = \"청명 (清明) cheongmyeong\"", "context": "CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR)", "question": "When has a Korean name ² of 청명 (清明) cheongmyeong?" }
### QUESTION What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2? ### CONTEXT CREATE TABLE table_name_95 (all_time INTEGER, amateur_era VARCHAR, first_title VARCHAR, last_title VARCHAR) ### ANSWER SELECT MIN(all_time) FROM table_name_95 WHERE first_title < 1974 AND last_title = 1933 AND amateur_era > 2
{ "answer": "SELECT MIN(all_time) FROM table_name_95 WHERE first_title < 1974 AND last_title = 1933 AND amateur_era > 2", "context": "CREATE TABLE table_name_95 (all_time INTEGER, amateur_era VARCHAR, first_title VARCHAR, last_title VARCHAR)", "question": "What is the lowest All-Time, when First Title is before 1974, when Last Title is \"1933\", and when Amateur Era is greater than 2?" }
### QUESTION Who directed the episode that aired on july15,2012? ### CONTEXT CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) ### ANSWER SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012"
{ "answer": "SELECT directed_by FROM table_20704243_6 WHERE original_air_date = \"July15,2012\"", "context": "CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR)", "question": "Who directed the episode that aired on july15,2012?" }
### QUESTION What is the displacement for the petrol engines model? ### CONTEXT CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR) ### ANSWER SELECT displacement FROM table_name_64 WHERE model = "petrol engines"
{ "answer": "SELECT displacement FROM table_name_64 WHERE model = \"petrol engines\"", "context": "CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR)", "question": "What is the displacement for the petrol engines model?" }
### QUESTION Show the carriers of devices in stock at more than one shop. ### CONTEXT CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR) ### ANSWER SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
{ "answer": "SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1", "context": "CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)", "question": "Show the carriers of devices in stock at more than one shop." }
### QUESTION What was the sail number of Two True? ### CONTEXT CREATE TABLE table_25561560_3 (sail_number VARCHAR, yacht VARCHAR) ### ANSWER SELECT sail_number FROM table_25561560_3 WHERE yacht = "Two True"
{ "answer": "SELECT sail_number FROM table_25561560_3 WHERE yacht = \"Two True\"", "context": "CREATE TABLE table_25561560_3 (sail_number VARCHAR, yacht VARCHAR)", "question": "What was the sail number of Two True?" }
### QUESTION What was the record when Vancouver was the visitor? ### CONTEXT CREATE TABLE table_name_9 (record VARCHAR, visitor VARCHAR) ### ANSWER SELECT record FROM table_name_9 WHERE visitor = "vancouver"
{ "answer": "SELECT record FROM table_name_9 WHERE visitor = \"vancouver\"", "context": "CREATE TABLE table_name_9 (record VARCHAR, visitor VARCHAR)", "question": "What was the record when Vancouver was the visitor?" }
### QUESTION What position does the player from Oklahoma who was drafted in round 7 play? ### CONTEXT CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR) ### ANSWER SELECT position FROM table_name_95 WHERE round = 7 AND college = "oklahoma"
{ "answer": "SELECT position FROM table_name_95 WHERE round = 7 AND college = \"oklahoma\"", "context": "CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR)", "question": "What position does the player from Oklahoma who was drafted in round 7 play?" }
### QUESTION Show all paragraph texts for the document "Customer reviews". ### CONTEXT CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR) ### ANSWER SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Customer reviews"
{ "answer": "SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\"", "context": "CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)", "question": "Show all paragraph texts for the document \"Customer reviews\"." }
### QUESTION What is the power capacity when the generators were 781? ### CONTEXT CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR) ### ANSWER SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781
{ "answer": "SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781", "context": "CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR)", "question": "What is the power capacity when the generators were 781?" }
### QUESTION Show the distinct apartment numbers of the apartments that have bookings with status code "Confirmed". ### CONTEXT CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR) ### ANSWER SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed"
{ "answer": "SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = \"Confirmed\"", "context": "CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)", "question": "Show the distinct apartment numbers of the apartments that have bookings with status code \"Confirmed\"." }
### QUESTION Tell me the club with a replacement of alberto malesani ### CONTEXT CREATE TABLE table_name_8 (club VARCHAR, replacement VARCHAR) ### ANSWER SELECT club FROM table_name_8 WHERE replacement = "alberto malesani"
{ "answer": "SELECT club FROM table_name_8 WHERE replacement = \"alberto malesani\"", "context": "CREATE TABLE table_name_8 (club VARCHAR, replacement VARCHAR)", "question": "Tell me the club with a replacement of alberto malesani" }
### QUESTION Name the number of going to for thurlby, braceborough spa at departure being 16.50 ### CONTEXT CREATE TABLE table_17200372_2 (going_to VARCHAR, calling_at VARCHAR, departure VARCHAR) ### ANSWER SELECT COUNT(going_to) FROM table_17200372_2 WHERE calling_at = "Thurlby, Braceborough Spa" AND departure = "16.50"
{ "answer": "SELECT COUNT(going_to) FROM table_17200372_2 WHERE calling_at = \"Thurlby, Braceborough Spa\" AND departure = \"16.50\"", "context": "CREATE TABLE table_17200372_2 (going_to VARCHAR, calling_at VARCHAR, departure VARCHAR)", "question": "Name the number of going to for thurlby, braceborough spa at departure being 16.50" }
### QUESTION Who's the opponent with a time of 3:24? ### CONTEXT CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR) ### ANSWER SELECT opponent FROM table_name_32 WHERE time = "3:24"
{ "answer": "SELECT opponent FROM table_name_32 WHERE time = \"3:24\"", "context": "CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR)", "question": "Who's the opponent with a time of 3:24?" }
### QUESTION What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38? ### CONTEXT CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR) ### ANSWER SELECT 1985 FROM table_30133_3 WHERE gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ = "369.38"
{ "answer": "SELECT 1985 FROM table_30133_3 WHERE gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ = \"369.38\"", "context": "CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)", "question": "What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?" }
### QUESTION What is the D 46 √ when the D 44 √ is ← majority? ### CONTEXT CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR) ### ANSWER SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = "← majority"
{ "answer": "SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = \"← majority\"", "context": "CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR)", "question": "What is the D 46 √ when the D 44 √ is ← majority?" }
### QUESTION Show id, first and last names for all customers with at least two cards. ### CONTEXT CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)", "question": "Show id, first and last names for all customers with at least two cards." }
### QUESTION Tell me the date for dinah pfizenmaier anna zaja and winner ### CONTEXT CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR) ### ANSWER SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja"
{ "answer": "SELECT date FROM table_name_46 WHERE outcome = \"winner\" AND opponents = \"dinah pfizenmaier anna zaja\"", "context": "CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)", "question": "Tell me the date for dinah pfizenmaier anna zaja and winner" }
### QUESTION An artist of the Beatles with an issue date(s) of 19 September has what as the listed weeks on top? ### CONTEXT CREATE TABLE table_name_26 (weeks_on_top VARCHAR, artist VARCHAR, issue_date_s_ VARCHAR) ### ANSWER SELECT weeks_on_top FROM table_name_26 WHERE artist = "the beatles" AND issue_date_s_ = "19 september"
{ "answer": "SELECT weeks_on_top FROM table_name_26 WHERE artist = \"the beatles\" AND issue_date_s_ = \"19 september\"", "context": "CREATE TABLE table_name_26 (weeks_on_top VARCHAR, artist VARCHAR, issue_date_s_ VARCHAR)", "question": "An artist of the Beatles with an issue date(s) of 19 September has what as the listed weeks on top?" }
### QUESTION Which administrative division had a population of 2011 according to the siak database of 3,672,994? ### CONTEXT CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR) ### ANSWER SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "3,672,994"
{ "answer": "SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = \"3,672,994\"", "context": "CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR)", "question": "Which administrative division had a population of 2011 according to the siak database of 3,672,994?" }
### QUESTION Result of w 16-10* o.t. had what attendance? ### CONTEXT CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) ### ANSWER SELECT attendance FROM table_name_27 WHERE result = "w 16-10* o.t."
{ "answer": "SELECT attendance FROM table_name_27 WHERE result = \"w 16-10* o.t.\"", "context": "CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR)", "question": "Result of w 16-10* o.t. had what attendance?" }
### QUESTION What is the largest Founded with an Institution of cloud county community college? ### CONTEXT CREATE TABLE table_name_67 (founded INTEGER, institution VARCHAR) ### ANSWER SELECT MAX(founded) FROM table_name_67 WHERE institution = "cloud county community college"
{ "answer": "SELECT MAX(founded) FROM table_name_67 WHERE institution = \"cloud county community college\"", "context": "CREATE TABLE table_name_67 (founded INTEGER, institution VARCHAR)", "question": "What is the largest Founded with an Institution of cloud county community college?" }
### QUESTION Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev? ### CONTEXT CREATE TABLE table_name_29 (main_contestant VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) ### ANSWER SELECT main_contestant FROM table_name_29 WHERE total_score_week = "42/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev"
{ "answer": "SELECT main_contestant FROM table_name_29 WHERE total_score_week = \"42/60\" AND co_contestant__yaar_vs_pyaar_ = \"tina sachdev\"", "context": "CREATE TABLE table_name_29 (main_contestant VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)", "question": "Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev?" }
### QUESTION Find the top 3 artists who have the largest number of songs works whose language is Bangla. ### CONTEXT CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) ### ANSWER SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "bangla" GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 3
{ "answer": "SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = \"bangla\" GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 3", "context": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR)", "question": "Find the top 3 artists who have the largest number of songs works whose language is Bangla." }
### QUESTION How many times is the award ceremony laurence olivier award, result is won and the nominee is imelda staunton? ### CONTEXT CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_3 WHERE award_ceremony = "laurence olivier award" AND result = "won" AND nominee = "imelda staunton"
{ "answer": "SELECT COUNT(year) FROM table_name_3 WHERE award_ceremony = \"laurence olivier award\" AND result = \"won\" AND nominee = \"imelda staunton\"", "context": "CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR)", "question": "How many times is the award ceremony laurence olivier award, result is won and the nominee is imelda staunton?" }
### QUESTION How many patients' prescriptions are made by physician John Dorian? ### CONTEXT CREATE TABLE patient (SSN VARCHAR); CREATE TABLE prescribes (patient VARCHAR, physician VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN = T2.patient JOIN physician AS T3 ON T2.physician = T3.employeeid WHERE T3.name = "John Dorian"
{ "answer": "SELECT COUNT(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN = T2.patient JOIN physician AS T3 ON T2.physician = T3.employeeid WHERE T3.name = \"John Dorian\"", "context": "CREATE TABLE patient (SSN VARCHAR); CREATE TABLE prescribes (patient VARCHAR, physician VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR)", "question": "How many patients' prescriptions are made by physician John Dorian?" }
### QUESTION Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )? ### CONTEXT CREATE TABLE table_2651755_1 (independent_regional_force VARCHAR, democratic_coalition VARCHAR) ### ANSWER SELECT independent_regional_force FROM table_2651755_1 WHERE democratic_coalition = "(R) Jorge Tarud ( PPD )"
{ "answer": "SELECT independent_regional_force FROM table_2651755_1 WHERE democratic_coalition = \"(R) Jorge Tarud ( PPD )\"", "context": "CREATE TABLE table_2651755_1 (independent_regional_force VARCHAR, democratic_coalition VARCHAR)", "question": "Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )?" }
### QUESTION What Runners-up have a Venue in Broadwood Stadium? ### CONTEXT CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR) ### ANSWER SELECT runners_up FROM table_name_75 WHERE venue = "broadwood stadium"
{ "answer": "SELECT runners_up FROM table_name_75 WHERE venue = \"broadwood stadium\"", "context": "CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR)", "question": "What Runners-up have a Venue in Broadwood Stadium?" }
### QUESTION When was Chaka Fattah first elected in the Pennsylvania 2 district? ### CONTEXT CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR) ### ANSWER SELECT first_elected FROM table_1341453_40 WHERE district = "Pennsylvania 2"
{ "answer": "SELECT first_elected FROM table_1341453_40 WHERE district = \"Pennsylvania 2\"", "context": "CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR)", "question": "When was Chaka Fattah first elected in the Pennsylvania 2 district? " }
### QUESTION If the track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location? ### CONTEXT CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR, track VARCHAR) ### ANSWER SELECT location FROM table_22670216_1 WHERE winning_driver = "Wally Dallenbach" AND track = "Wisconsin State Fair Park Speedway"
{ "answer": "SELECT location FROM table_22670216_1 WHERE winning_driver = \"Wally Dallenbach\" AND track = \"Wisconsin State Fair Park Speedway\"", "context": "CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR, track VARCHAR)", "question": "If the track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location?" }
### QUESTION who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 ### CONTEXT CREATE TABLE table_20174050_24 (reader VARCHAR, author VARCHAR, release_date VARCHAR) ### ANSWER SELECT reader FROM table_20174050_24 WHERE author = "Cole, Stephen Stephen Cole" AND release_date = "2008-11-13 13 November 2008"
{ "answer": "SELECT reader FROM table_20174050_24 WHERE author = \"Cole, Stephen Stephen Cole\" AND release_date = \"2008-11-13 13 November 2008\"", "context": "CREATE TABLE table_20174050_24 (reader VARCHAR, author VARCHAR, release_date VARCHAR)", "question": "who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008" }
### QUESTION How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? ### CONTEXT CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR) ### ANSWER SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"
{ "answer": "SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = \"2 x -inch (mm), 16 x -inch (mm)\"", "context": "CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)", "question": "How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?" }
### QUESTION What date has the format of CD and catalog of alca-274? ### CONTEXT CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR) ### ANSWER SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274"
{ "answer": "SELECT date FROM table_name_72 WHERE format = \"cd\" AND catalog = \"alca-274\"", "context": "CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR)", "question": "What date has the format of CD and catalog of alca-274?" }
### QUESTION Which catalog publisher has published the most catalogs? ### CONTEXT CREATE TABLE catalogs (catalog_publisher VARCHAR) ### ANSWER SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE catalogs (catalog_publisher VARCHAR)", "question": "Which catalog publisher has published the most catalogs?" }
### QUESTION What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits? ### CONTEXT CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR) ### ANSWER SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = "double extended (80-bit)" AND total_bits > 80
{ "answer": "SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = \"double extended (80-bit)\" AND total_bits > 80", "context": "CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR)", "question": "What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits?" }
### QUESTION who is the the mens singles with mens doubles being kaj lindfors kaj osterberg ### CONTEXT CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR) ### ANSWER SELECT mens_singles FROM table_13857700_1 WHERE mens_doubles = "Kaj Lindfors Kaj Osterberg"
{ "answer": "SELECT mens_singles FROM table_13857700_1 WHERE mens_doubles = \"Kaj Lindfors Kaj Osterberg\"", "context": "CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)", "question": "who is the the mens singles with mens doubles being kaj lindfors kaj osterberg" }
### QUESTION What are the names of poker players in descending order of earnings? ### CONTEXT CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### ANSWER SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC
{ "answer": "SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC", "context": "CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)", "question": "What are the names of poker players in descending order of earnings?" }
### QUESTION report the total number of degrees granted between 1998 and 2002. ### CONTEXT CREATE TABLE campuses (campus VARCHAR, id VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR) ### ANSWER SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus
{ "answer": "SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus", "context": "CREATE TABLE campuses (campus VARCHAR, id VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR)", "question": "report the total number of degrees granted between 1998 and 2002." }
### QUESTION What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? ### CONTEXT CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR) ### ANSWER SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "free agency" AND number = "14"
{ "answer": "SELECT name FROM table_name_13 WHERE season = \"2010-2011\" AND acquisition_via = \"free agency\" AND number = \"14\"", "context": "CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR)", "question": "What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14?" }
### QUESTION who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos ### CONTEXT CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR) ### ANSWER SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = "Riccardo Patrese" AND location = "Interlagos"
{ "answer": "SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = \"Riccardo Patrese\" AND location = \"Interlagos\"", "context": "CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR)", "question": "who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos" }
### QUESTION What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me? ### CONTEXT CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR) ### ANSWER SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = "listen to me"
{ "answer": "SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = \"listen to me\"", "context": "CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR)", "question": "What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me?" }
### QUESTION Which Player has a Score of 74-67-74-71=286? ### CONTEXT CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286
{ "answer": "SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286", "context": "CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)", "question": "Which Player has a Score of 74-67-74-71=286?" }
### QUESTION What is Country, when Place is "T8", and when Score is "70-67=137"? ### CONTEXT CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR) ### ANSWER SELECT country FROM table_name_98 WHERE place = "t8" AND score = 70 - 67 = 137
{ "answer": "SELECT country FROM table_name_98 WHERE place = \"t8\" AND score = 70 - 67 = 137", "context": "CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR)", "question": "What is Country, when Place is \"T8\", and when Score is \"70-67=137\"?" }
### QUESTION What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975? ### CONTEXT CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR) ### ANSWER SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975"
{ "answer": "SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = \"d\" AND birthdate = \"july 4, 1975\"", "context": "CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR)", "question": "What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975?" }
### QUESTION How many episode air dates are there for auditioning city Rio De Janeiro? ### CONTEXT CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR) ### ANSWER SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = "Rio de Janeiro"
{ "answer": "SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = \"Rio de Janeiro\"", "context": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR)", "question": "How many episode air dates are there for auditioning city Rio De Janeiro?" }
### QUESTION Where is the Belhaven College SSAC conference location? ### CONTEXT CREATE TABLE table_name_23 (location VARCHAR, current_conference VARCHAR, institution VARCHAR) ### ANSWER SELECT location FROM table_name_23 WHERE current_conference = "ssac" AND institution = "belhaven college"
{ "answer": "SELECT location FROM table_name_23 WHERE current_conference = \"ssac\" AND institution = \"belhaven college\"", "context": "CREATE TABLE table_name_23 (location VARCHAR, current_conference VARCHAR, institution VARCHAR)", "question": "Where is the Belhaven College SSAC conference location?" }
### QUESTION Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%? ### CONTEXT CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR) ### ANSWER SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "1%"
{ "answer": "SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = \"1%\"", "context": "CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR)", "question": "Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?" }
### QUESTION What is moving from esp with transfer fee of youth system? ### CONTEXT CREATE TABLE table_name_64 (moving_from VARCHAR, country VARCHAR, transfer_fee VARCHAR) ### ANSWER SELECT moving_from FROM table_name_64 WHERE country = "esp" AND transfer_fee = "youth system"
{ "answer": "SELECT moving_from FROM table_name_64 WHERE country = \"esp\" AND transfer_fee = \"youth system\"", "context": "CREATE TABLE table_name_64 (moving_from VARCHAR, country VARCHAR, transfer_fee VARCHAR)", "question": "What is moving from esp with transfer fee of youth system?" }
### QUESTION What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon? ### CONTEXT CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR) ### ANSWER SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon"
{ "answer": "SELECT race FROM table_name_91 WHERE winning_team = \"chip ganassi racing\" AND pole_position = \"ryan briscoe\" AND most_laps_led = \"scott dixon\"", "context": "CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)", "question": "What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?" }
### QUESTION David James Elliott directed which episode number within the series? ### CONTEXT CREATE TABLE table_228973_11 (no_in_series VARCHAR, directed_by VARCHAR) ### ANSWER SELECT no_in_series FROM table_228973_11 WHERE directed_by = "David James Elliott"
{ "answer": "SELECT no_in_series FROM table_228973_11 WHERE directed_by = \"David James Elliott\"", "context": "CREATE TABLE table_228973_11 (no_in_series VARCHAR, directed_by VARCHAR)", "question": "David James Elliott directed which episode number within the series?" }
### QUESTION Show the carriers that have both phones with memory smaller than 32 and phones with memory bigger than 64. ### CONTEXT CREATE TABLE phone (Carrier VARCHAR, Memory_in_G INTEGER) ### ANSWER SELECT Carrier FROM phone WHERE Memory_in_G < 32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G > 64
{ "answer": "SELECT Carrier FROM phone WHERE Memory_in_G < 32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G > 64", "context": "CREATE TABLE phone (Carrier VARCHAR, Memory_in_G INTEGER)", "question": "Show the carriers that have both phones with memory smaller than 32 and phones with memory bigger than 64." }
### QUESTION What instrument did the musician with last name "Heilo" use in the song "Badlands"? ### CONTEXT CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR) ### ANSWER SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Badlands"
{ "answer": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = \"Heilo\" AND T3.title = \"Badlands\"", "context": "CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)", "question": "What instrument did the musician with last name \"Heilo\" use in the song \"Badlands\"?" }
### QUESTION What are the booking start and end dates of the apartments with type code "Duplex"? ### CONTEXT CREATE TABLE Apartments (apt_id VARCHAR, apt_type_code VARCHAR); CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR) ### ANSWER SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex"
{ "answer": "SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = \"Duplex\"", "context": "CREATE TABLE Apartments (apt_id VARCHAR, apt_type_code VARCHAR); CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR)", "question": "What are the booking start and end dates of the apartments with type code \"Duplex\"?" }
### QUESTION What is the GDP (nominal) with Population of 5,125,693? ### CONTEXT CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR) ### ANSWER SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"
{ "answer": "SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = \"5,125,693\"", "context": "CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)", "question": "What is the GDP (nominal) with Population of 5,125,693?" }
### QUESTION What's the number of users in the Nisibon-Yuma within the Del Este district? ### CONTEXT CREATE TABLE table_20018310_1 (users___number_ VARCHAR, irrigation_district VARCHAR, juntas_de_regantes__wub_ VARCHAR) ### ANSWER SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = "Del Este" AND juntas_de_regantes__wub_ = "Nisibon-Yuma"
{ "answer": "SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = \"Del Este\" AND juntas_de_regantes__wub_ = \"Nisibon-Yuma\"", "context": "CREATE TABLE table_20018310_1 (users___number_ VARCHAR, irrigation_district VARCHAR, juntas_de_regantes__wub_ VARCHAR)", "question": "What's the number of users in the Nisibon-Yuma within the Del Este district?" }
### QUESTION Find the total savings balance of all accounts except the account with name ‘Brown’. ### CONTEXT CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR) ### ANSWER SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'
{ "answer": "SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'", "context": "CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR)", "question": "Find the total savings balance of all accounts except the account with name ‘Brown’." }
### QUESTION What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)? ### CONTEXT CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### ANSWER SELECT dominant_religion__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"
{ "answer": "SELECT dominant_religion__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = \"Војводинци (Romanian: Voivodinţ)\"", "context": "CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)", "question": "What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?" }
### QUESTION What was the attendance for the home team of Walsall? ### CONTEXT CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR) ### ANSWER SELECT attendance FROM table_name_48 WHERE home_team = "walsall"
{ "answer": "SELECT attendance FROM table_name_48 WHERE home_team = \"walsall\"", "context": "CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR)", "question": "What was the attendance for the home team of Walsall?" }
### QUESTION Name the studio for catalog number 81063 ### CONTEXT CREATE TABLE table_27303975_2 (studio VARCHAR, catalog_number VARCHAR) ### ANSWER SELECT studio FROM table_27303975_2 WHERE catalog_number = "81063"
{ "answer": "SELECT studio FROM table_27303975_2 WHERE catalog_number = \"81063\"", "context": "CREATE TABLE table_27303975_2 (studio VARCHAR, catalog_number VARCHAR)", "question": "Name the studio for catalog number 81063" }
### QUESTION Tell me the format for worldwide region july 22, 2008 ### CONTEXT CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR) ### ANSWER SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008"
{ "answer": "SELECT format FROM table_name_67 WHERE region = \"worldwide\" AND date = \"july 22, 2008\"", "context": "CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR)", "question": "Tell me the format for worldwide region july 22, 2008" }
### QUESTION Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura? ### CONTEXT CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR) ### ANSWER SELECT method FROM table_name_33 WHERE event = "shooto" AND round = 2 AND opponent = "issei tamura"
{ "answer": "SELECT method FROM table_name_33 WHERE event = \"shooto\" AND round = 2 AND opponent = \"issei tamura\"", "context": "CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR)", "question": "Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura?" }