text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the Partner of the match with a Score in Final of 5–7, 4–6?
### CONTEXT
CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR)
### ANSWER
SELECT partner FROM table_name_92 WHERE score_in_final = "5–7, 4–6"
|
{
"answer": "SELECT partner FROM table_name_92 WHERE score_in_final = \"5–7, 4–6\"",
"context": "CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR)",
"question": "What is the Partner of the match with a Score in Final of 5–7, 4–6?"
}
|
### QUESTION
What is the direction of the route that stars at downtown transit center and has a terminus point at Pensacola Beach?
### CONTEXT
CREATE TABLE table_name_50 (direction VARCHAR, starting_point VARCHAR, terminus VARCHAR)
### ANSWER
SELECT direction FROM table_name_50 WHERE starting_point = "downtown transit center" AND terminus = "pensacola beach"
|
{
"answer": "SELECT direction FROM table_name_50 WHERE starting_point = \"downtown transit center\" AND terminus = \"pensacola beach\"",
"context": "CREATE TABLE table_name_50 (direction VARCHAR, starting_point VARCHAR, terminus VARCHAR)",
"question": "What is the direction of the route that stars at downtown transit center and has a terminus point at Pensacola Beach?"
}
|
### QUESTION
For the game on 13 December 1975 with Halifax Town as the away team what was the score?
### CONTEXT
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR)
### ANSWER
SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town"
|
{
"answer": "SELECT score FROM table_name_4 WHERE date = \"13 december 1975\" AND away_team = \"halifax town\"",
"context": "CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR)",
"question": "For the game on 13 December 1975 with Halifax Town as the away team what was the score?"
}
|
### QUESTION
Find number of tracks in each genre?
### CONTEXT
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
### ANSWER
SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name
|
{
"answer": "SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name",
"context": "CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)",
"question": "Find number of tracks in each genre?"
}
|
### QUESTION
What is the average rank of Roman Koudelka, who has less than 274.4 points?
### CONTEXT
CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR)
### ANSWER
SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka"
|
{
"answer": "SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = \"roman koudelka\"",
"context": "CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR)",
"question": "What is the average rank of Roman Koudelka, who has less than 274.4 points?"
}
|
### QUESTION
When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?
### CONTEXT
CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR)
### ANSWER
SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = "Houdet ( FRA ) W 6-2, 6-1"
|
{
"answer": "SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = \"Houdet ( FRA ) W 6-2, 6-1\"",
"context": "CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR)",
"question": "When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?"
}
|
### QUESTION
What was the highest Tie no when the home team was the Bolton Wanderers, and the date was Middlesbrough?
### CONTEXT
CREATE TABLE table_name_45 (tie_no INTEGER, home_team VARCHAR, date VARCHAR)
### ANSWER
SELECT MAX(tie_no) FROM table_name_45 WHERE home_team = "bolton wanderers" AND date = "middlesbrough"
|
{
"answer": "SELECT MAX(tie_no) FROM table_name_45 WHERE home_team = \"bolton wanderers\" AND date = \"middlesbrough\"",
"context": "CREATE TABLE table_name_45 (tie_no INTEGER, home_team VARCHAR, date VARCHAR)",
"question": "What was the highest Tie no when the home team was the Bolton Wanderers, and the date was Middlesbrough?"
}
|
### QUESTION
What is every media type for the Psychedelic Trance genre?
### CONTEXT
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
### ANSWER
SELECT media_type FROM table_23829490_1 WHERE genre = "Psychedelic Trance"
|
{
"answer": "SELECT media_type FROM table_23829490_1 WHERE genre = \"Psychedelic Trance\"",
"context": "CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)",
"question": "What is every media type for the Psychedelic Trance genre?"
}
|
### QUESTION
Who had the high assists when the score was l 85–118 (ot)
### CONTEXT
CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR)
### ANSWER
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"
|
{
"answer": "SELECT high_assists FROM table_23248869_8 WHERE score = \"L 85–118 (OT)\"",
"context": "CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR)",
"question": "Who had the high assists when the score was l 85–118 (ot)"
}
|
### QUESTION
What is the team captain when the shirt sponser is quick?
### CONTEXT
CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)
### ANSWER
SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick"
|
{
"answer": "SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = \"Quick\"",
"context": "CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)",
"question": "What is the team captain when the shirt sponser is quick?"
}
|
### QUESTION
WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
### CONTEXT
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov"
|
{
"answer": "SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = \"seoul cycling team\" AND winner = \"alexandre usov\"",
"context": "CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)",
"question": "WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?"
}
|
### QUESTION
Which department has more than 1 head at a time? List the id, name and the number of heads.
### CONTEXT
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)
### ANSWER
SELECT T1.department_id, T1.name, COUNT(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id = T2.department_id GROUP BY T1.department_id HAVING COUNT(*) > 1
|
{
"answer": "SELECT T1.department_id, T1.name, COUNT(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id = T2.department_id GROUP BY T1.department_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)",
"question": "Which department has more than 1 head at a time? List the id, name and the number of heads."
}
|
### QUESTION
Name the Place which has a Score of 67-71=138, united states?
### CONTEXT
CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)
### ANSWER
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138
|
{
"answer": "SELECT place FROM table_name_17 WHERE country = \"united states\" AND score = 67 - 71 = 138",
"context": "CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)",
"question": "Name the Place which has a Score of 67-71=138, united states?"
}
|
### QUESTION
What is the earliest election with more than 7 candidates nominated, a percentage of the popular vote of 2.75%, and 0 seats won?
### CONTEXT
CREATE TABLE table_name_69 (election INTEGER, _number_of_seats_won VARCHAR, _number_of_candidates_nominated VARCHAR, _percentage_of_popular_vote VARCHAR)
### ANSWER
SELECT MIN(election) FROM table_name_69 WHERE _number_of_candidates_nominated > 7 AND _percentage_of_popular_vote = "2.75%" AND _number_of_seats_won < 0
|
{
"answer": "SELECT MIN(election) FROM table_name_69 WHERE _number_of_candidates_nominated > 7 AND _percentage_of_popular_vote = \"2.75%\" AND _number_of_seats_won < 0",
"context": "CREATE TABLE table_name_69 (election INTEGER, _number_of_seats_won VARCHAR, _number_of_candidates_nominated VARCHAR, _percentage_of_popular_vote VARCHAR)",
"question": "What is the earliest election with more than 7 candidates nominated, a percentage of the popular vote of 2.75%, and 0 seats won?"
}
|
### QUESTION
In the North Central region, what are the regional page #'s?
### CONTEXT
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)
### ANSWER
SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central"
|
{
"answer": "SELECT regional_page__number FROM table_287659_2 WHERE region_name = \"North Central\"",
"context": "CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)",
"question": "In the North Central region, what are the regional page #'s?"
}
|
### QUESTION
List all the international lacrosse league competitions for Toronto Rock.
### CONTEXT
CREATE TABLE table_18042409_1 (international_competition VARCHAR, national_lacrosse_league VARCHAR)
### ANSWER
SELECT international_competition FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock"
|
{
"answer": "SELECT international_competition FROM table_18042409_1 WHERE national_lacrosse_league = \"Toronto Rock\"",
"context": "CREATE TABLE table_18042409_1 (international_competition VARCHAR, national_lacrosse_league VARCHAR)",
"question": "List all the international lacrosse league competitions for Toronto Rock."
}
|
### QUESTION
Which institution does "Katsuhiro Ueno" belong to?
### CONTEXT
CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR)
### ANSWER
SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = "Katsuhiro" AND t1.lname = "Ueno"
|
{
"answer": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = \"Katsuhiro\" AND t1.lname = \"Ueno\"",
"context": "CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR)",
"question": "Which institution does \"Katsuhiro Ueno\" belong to?"
}
|
### QUESTION
What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?
### CONTEXT
CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)
### ANSWER
SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977
|
{
"answer": "SELECT leftfielder FROM table_name_90 WHERE second_baseman = \"davey lopes\" AND first_baseman = \"steve garvey\" AND shortstop = \"bill russell\" AND year > 1977",
"context": "CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)",
"question": "What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?"
}
|
### QUESTION
Name the most number in season for leslie hill
### CONTEXT
CREATE TABLE table_25604014_9 (no_in_season INTEGER, directed_by VARCHAR)
### ANSWER
SELECT MAX(no_in_season) FROM table_25604014_9 WHERE directed_by = "Leslie Hill"
|
{
"answer": "SELECT MAX(no_in_season) FROM table_25604014_9 WHERE directed_by = \"Leslie Hill\"",
"context": "CREATE TABLE table_25604014_9 (no_in_season INTEGER, directed_by VARCHAR)",
"question": "Name the most number in season for leslie hill"
}
|
### QUESTION
Who was the director of the film with an original title of "16 Days in Afghanistan"?
### CONTEXT
CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR)
### ANSWER
SELECT director FROM table_17155250_1 WHERE original_title = "16 Days in Afghanistan"
|
{
"answer": "SELECT director FROM table_17155250_1 WHERE original_title = \"16 Days in Afghanistan\"",
"context": "CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR)",
"question": "Who was the director of the film with an original title of \"16 Days in Afghanistan\"? "
}
|
### QUESTION
Find all the songs that do not have a lead vocal.
### CONTEXT
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)
### ANSWER
SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = "lead"
|
{
"answer": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = \"lead\"",
"context": "CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)",
"question": "Find all the songs that do not have a lead vocal."
}
|
### QUESTION
What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2?
### CONTEXT
CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR)
### ANSWER
SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2"
|
{
"answer": "SELECT match_report FROM table_name_44 WHERE competition = \"euro2008q\" AND venue = \"athens olympic stadium\" AND score = \"1-2\"",
"context": "CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR)",
"question": "What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2?"
}
|
### QUESTION
Name the general classification with roman kreuziger and points classification of fabian cancellara
### CONTEXT
CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara"
|
{
"answer": "SELECT general_classification FROM table_name_97 WHERE young_rider_classification = \"roman kreuziger\" AND points_classification = \"fabian cancellara\"",
"context": "CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR)",
"question": "Name the general classification with roman kreuziger and points classification of fabian cancellara"
}
|
### QUESTION
Name the dominant religion of srpska crnja
### CONTEXT
CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
### ANSWER
SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja"
|
{
"answer": "SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = \"Srpska Crnja\"",
"context": "CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)",
"question": "Name the dominant religion of srpska crnja"
}
|
### QUESTION
show the train name and station name for each train.
### CONTEXT
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)
### ANSWER
SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id
|
{
"answer": "SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id",
"context": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)",
"question": "show the train name and station name for each train."
}
|
### QUESTION
Which higher harmonics have a speed of 0.0821373?
### CONTEXT
CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)
### ANSWER
SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373"
|
{
"answer": "SELECT higher_harmonics FROM table_name_36 WHERE speed = \"0.0821373\"",
"context": "CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)",
"question": "Which higher harmonics have a speed of 0.0821373?"
}
|
### QUESTION
Who was the home team on 4 February 1987 when Luton Town was away team and there was no replay?
### CONTEXT
CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)
### ANSWER
SELECT home_team FROM table_name_68 WHERE tie_no = "replay" AND date = "4 february 1987" AND away_team = "luton town"
|
{
"answer": "SELECT home_team FROM table_name_68 WHERE tie_no = \"replay\" AND date = \"4 february 1987\" AND away_team = \"luton town\"",
"context": "CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)",
"question": "Who was the home team on 4 February 1987 when Luton Town was away team and there was no replay?"
}
|
### QUESTION
What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?
### CONTEXT
CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
### ANSWER
SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955
|
{
"answer": "SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = \"500cc\" AND team = \"norton\" AND year > 1955",
"context": "CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)",
"question": "What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?"
}
|
### QUESTION
In what year did Morgan Brian win?
### CONTEXT
CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_75 WHERE winner = "morgan brian"
|
{
"answer": "SELECT AVG(year) FROM table_name_75 WHERE winner = \"morgan brian\"",
"context": "CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR)",
"question": "In what year did Morgan Brian win?"
}
|
### QUESTION
Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?
### CONTEXT
CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)
### ANSWER
SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = "$21,571" AND population < 9 OFFSET 783
|
{
"answer": "SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = \"$21,571\" AND population < 9 OFFSET 783",
"context": "CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)",
"question": "Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?"
}
|
### QUESTION
What is the lowest attendance for December 14, 1958 after week 12?
### CONTEXT
CREATE TABLE table_name_76 (attendance INTEGER, date VARCHAR, week VARCHAR)
### ANSWER
SELECT MIN(attendance) FROM table_name_76 WHERE date = "december 14, 1958" AND week > 12
|
{
"answer": "SELECT MIN(attendance) FROM table_name_76 WHERE date = \"december 14, 1958\" AND week > 12",
"context": "CREATE TABLE table_name_76 (attendance INTEGER, date VARCHAR, week VARCHAR)",
"question": "What is the lowest attendance for December 14, 1958 after week 12?"
}
|
### QUESTION
Name the vice captain for melbourne victory
### CONTEXT
CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)
### ANSWER
SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Victory"
|
{
"answer": "SELECT Vice - captain FROM table_1301373_7 WHERE club = \"Melbourne Victory\"",
"context": "CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)",
"question": "Name the vice captain for melbourne victory"
}
|
### QUESTION
Which Combination classification has Points classification of daniele bennati, and a Team classification of quick step?
### CONTEXT
CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
### ANSWER
SELECT combination_classification FROM table_name_34 WHERE points_classification = "daniele bennati" AND team_classification = "quick step"
|
{
"answer": "SELECT combination_classification FROM table_name_34 WHERE points_classification = \"daniele bennati\" AND team_classification = \"quick step\"",
"context": "CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)",
"question": "Which Combination classification has Points classification of daniele bennati, and a Team classification of quick step?"
}
|
### QUESTION
What attendance has astros as the opponent, and april 29 as the date?
### CONTEXT
CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"
|
{
"answer": "SELECT SUM(attendance) FROM table_name_69 WHERE opponent = \"astros\" AND date = \"april 29\"",
"context": "CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)",
"question": "What attendance has astros as the opponent, and april 29 as the date?"
}
|
### QUESTION
What is the first name, last name, and phone of the customer with card 4560596484842.
### CONTEXT
CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE Customers_cards (customer_id VARCHAR, card_number VARCHAR)
### ANSWER
SELECT T2.customer_first_name, T2.customer_last_name, T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.card_number = "4560596484842"
|
{
"answer": "SELECT T2.customer_first_name, T2.customer_last_name, T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.card_number = \"4560596484842\"",
"context": "CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE Customers_cards (customer_id VARCHAR, card_number VARCHAR)",
"question": "What is the first name, last name, and phone of the customer with card 4560596484842."
}
|
### QUESTION
Show the company name with the number of gas station.
### CONTEXT
CREATE TABLE station_company (company_id VARCHAR); CREATE TABLE company (company VARCHAR, company_id VARCHAR)
### ANSWER
SELECT T2.company, COUNT(*) FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id GROUP BY T1.company_id
|
{
"answer": "SELECT T2.company, COUNT(*) FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id GROUP BY T1.company_id",
"context": "CREATE TABLE station_company (company_id VARCHAR); CREATE TABLE company (company VARCHAR, company_id VARCHAR)",
"question": "Show the company name with the number of gas station."
}
|
### QUESTION
What was the sum of January values with a record of 27-12-3 for a game less than 42?
### CONTEXT
CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR)
### ANSWER
SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42
|
{
"answer": "SELECT SUM(january) FROM table_name_36 WHERE record = \"27-12-3\" AND game < 42",
"context": "CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR)",
"question": "What was the sum of January values with a record of 27-12-3 for a game less than 42?"
}
|
### QUESTION
Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.
### CONTEXT
CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
### ANSWER
SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith'
|
{
"answer": "SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith'",
"context": "CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)",
"question": "Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to."
}
|
### QUESTION
What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?
### CONTEXT
CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)
### ANSWER
SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11
|
{
"answer": "SELECT birthplace FROM table_name_79 WHERE position = \"d\" AND height__cm_ = 190 AND jersey_number = 11",
"context": "CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)",
"question": "What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?"
}
|
### QUESTION
What is the country where there are 8 children per donor and no data for donor payments?
### CONTEXT
CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)
### ANSWER
SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data"
|
{
"answer": "SELECT country FROM table_16175217_1 WHERE children_per_donor = \"8 children\" AND donor_payment = \"no data\"",
"context": "CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)",
"question": "What is the country where there are 8 children per donor and no data for donor payments?"
}
|
### QUESTION
What Party is Member Alicia Hughes from?
### CONTEXT
CREATE TABLE table_name_95 (party VARCHAR, position VARCHAR, name VARCHAR)
### ANSWER
SELECT party FROM table_name_95 WHERE position = "member" AND name = "alicia hughes"
|
{
"answer": "SELECT party FROM table_name_95 WHERE position = \"member\" AND name = \"alicia hughes\"",
"context": "CREATE TABLE table_name_95 (party VARCHAR, position VARCHAR, name VARCHAR)",
"question": "What Party is Member Alicia Hughes from?"
}
|
### QUESTION
What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon?
### CONTEXT
CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR)
### ANSWER
SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford"
|
{
"answer": "SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = \"enercon\" AND county = \"wexford\"",
"context": "CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR)",
"question": "What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon?"
}
|
### QUESTION
Show the average amount of transactions for different lots.
### CONTEXT
CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
### ANSWER
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id
|
{
"answer": "SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id",
"context": "CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)",
"question": "Show the average amount of transactions for different lots."
}
|
### QUESTION
When the home attendance is 3.123, what's the highest away attendance?
### CONTEXT
CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)
### ANSWER
SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123"
|
{
"answer": "SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = \"3.123\"",
"context": "CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)",
"question": "When the home attendance is 3.123, what's the highest away attendance?"
}
|
### QUESTION
What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team?
### CONTEXT
CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)
### ANSWER
SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben"
|
{
"answer": "SELECT fastest_lap FROM table_name_76 WHERE winning_team = \"audi sport team abt\" AND circuit = \"oschersleben\"",
"context": "CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)",
"question": "What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team?"
}
|
### QUESTION
What is the first name and last name of the customer that has email "[email protected]"?
### CONTEXT
CREATE TABLE CUSTOMER (FirstName VARCHAR, LastName VARCHAR, Email VARCHAR)
### ANSWER
SELECT FirstName, LastName FROM CUSTOMER WHERE Email = "[email protected]"
|
{
"answer": "SELECT FirstName, LastName FROM CUSTOMER WHERE Email = \"[email protected]\"",
"context": "CREATE TABLE CUSTOMER (FirstName VARCHAR, LastName VARCHAR, Email VARCHAR)",
"question": "What is the first name and last name of the customer that has email \"[email protected]\"?"
}
|
### QUESTION
What was the election date for Arthur Hodges?
### CONTEXT
CREATE TABLE table_1329532_2 (date_of_election VARCHAR, elected_successor VARCHAR)
### ANSWER
SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges"
|
{
"answer": "SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = \"Arthur Hodges\"",
"context": "CREATE TABLE table_1329532_2 (date_of_election VARCHAR, elected_successor VARCHAR)",
"question": "What was the election date for Arthur Hodges?"
}
|
### QUESTION
Which of the Rounds has an Entrant of automobiles Talbot-Darracq, and Pierre Levegh as the driver?
### CONTEXT
CREATE TABLE table_name_72 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
### ANSWER
SELECT rounds FROM table_name_72 WHERE entrant = "automobiles talbot-darracq" AND driver = "pierre levegh"
|
{
"answer": "SELECT rounds FROM table_name_72 WHERE entrant = \"automobiles talbot-darracq\" AND driver = \"pierre levegh\"",
"context": "CREATE TABLE table_name_72 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)",
"question": "Which of the Rounds has an Entrant of automobiles Talbot-Darracq, and Pierre Levegh as the driver?"
}
|
### QUESTION
How many executions in persona have a number with known sentences of 2 (1543–1544)?
### CONTEXT
CREATE TABLE table_name_92 (executions_in_persona VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
### ANSWER
SELECT executions_in_persona FROM table_name_92 WHERE number_of_autos_da_fé_with_known_sentences = "2 (1543–1544)"
|
{
"answer": "SELECT executions_in_persona FROM table_name_92 WHERE number_of_autos_da_fé_with_known_sentences = \"2 (1543–1544)\"",
"context": "CREATE TABLE table_name_92 (executions_in_persona VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)",
"question": "How many executions in persona have a number with known sentences of 2 (1543–1544)?"
}
|
### QUESTION
How many years have an accolade of 50 best albums of the year, with #3 as the rank?
### CONTEXT
CREATE TABLE table_name_6 (year INTEGER, accolade VARCHAR, rank VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_6 WHERE accolade = "50 best albums of the year" AND rank = "#3"
|
{
"answer": "SELECT SUM(year) FROM table_name_6 WHERE accolade = \"50 best albums of the year\" AND rank = \"#3\"",
"context": "CREATE TABLE table_name_6 (year INTEGER, accolade VARCHAR, rank VARCHAR)",
"question": "How many years have an accolade of 50 best albums of the year, with #3 as the rank?"
}
|
### QUESTION
What is the team of the player who was previously on the indiana pacers?
### CONTEXT
CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)
### ANSWER
SELECT team FROM table_name_15 WHERE previous_team = "indiana pacers"
|
{
"answer": "SELECT team FROM table_name_15 WHERE previous_team = \"indiana pacers\"",
"context": "CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)",
"question": "What is the team of the player who was previously on the indiana pacers?"
}
|
### QUESTION
What is the largest inflation % annual in 2012 of the country with a public debt % of GDP in 2013 Q1 greater than 88.2 and a GDP % of EU in 2012 of 2.9%?
### CONTEXT
CREATE TABLE table_name_74 (inflation__percentage_annual__2012_ INTEGER, public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)
### ANSWER
SELECT MAX(inflation__percentage_annual__2012_) FROM table_name_74 WHERE public_debt__percentage_of_gdp__2013_q1_ > 88.2 AND gdp__percentage_of_eu__2012_ = "2.9%"
|
{
"answer": "SELECT MAX(inflation__percentage_annual__2012_) FROM table_name_74 WHERE public_debt__percentage_of_gdp__2013_q1_ > 88.2 AND gdp__percentage_of_eu__2012_ = \"2.9%\"",
"context": "CREATE TABLE table_name_74 (inflation__percentage_annual__2012_ INTEGER, public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)",
"question": "What is the largest inflation % annual in 2012 of the country with a public debt % of GDP in 2013 Q1 greater than 88.2 and a GDP % of EU in 2012 of 2.9%?"
}
|
### QUESTION
What laps have a rank larger than 13 and the Time/Retired is accident, and a Qual smaller than 136.98?
### CONTEXT
CREATE TABLE table_name_40 (laps VARCHAR, qual VARCHAR, rank VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT laps FROM table_name_40 WHERE rank > 13 AND time_retired = "accident" AND qual < 136.98
|
{
"answer": "SELECT laps FROM table_name_40 WHERE rank > 13 AND time_retired = \"accident\" AND qual < 136.98",
"context": "CREATE TABLE table_name_40 (laps VARCHAR, qual VARCHAR, rank VARCHAR, time_retired VARCHAR)",
"question": "What laps have a rank larger than 13 and the Time/Retired is accident, and a Qual smaller than 136.98?"
}
|
### QUESTION
what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
### CONTEXT
CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
### ANSWER
SELECT number_of_deputies FROM table_13746866_2 WHERE number_of_votes_received < 1549176.2765483726 AND election_date = 1969
|
{
"answer": "SELECT number_of_deputies FROM table_13746866_2 WHERE number_of_votes_received < 1549176.2765483726 AND election_date = 1969",
"context": "CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)",
"question": "what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969"
}
|
### QUESTION
What are the title and maximum price of each film?
### CONTEXT
CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE schedule (price INTEGER, film_id VARCHAR)
### ANSWER
SELECT T2.title, MAX(T1.price) FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id
|
{
"answer": "SELECT T2.title, MAX(T1.price) FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id",
"context": "CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE schedule (price INTEGER, film_id VARCHAR)",
"question": "What are the title and maximum price of each film?"
}
|
### QUESTION
What was the attendance of the bowl game in Gainesville, Fl?
### CONTEXT
CREATE TABLE table_15190346_2 (attendance VARCHAR, location VARCHAR)
### ANSWER
SELECT attendance FROM table_15190346_2 WHERE location = "Gainesville, FL"
|
{
"answer": "SELECT attendance FROM table_15190346_2 WHERE location = \"Gainesville, FL\"",
"context": "CREATE TABLE table_15190346_2 (attendance VARCHAR, location VARCHAR)",
"question": "What was the attendance of the bowl game in Gainesville, Fl?"
}
|
### QUESTION
Which Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35?
### CONTEXT
CREATE TABLE table_name_94 (played INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
### ANSWER
SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35
|
{
"answer": "SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35",
"context": "CREATE TABLE table_name_94 (played INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)",
"question": "Which Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35?"
}
|
### QUESTION
Does Green Bay have a golf team?
### CONTEXT
CREATE TABLE table_name_66 (golf VARCHAR, school VARCHAR)
### ANSWER
SELECT golf FROM table_name_66 WHERE school = "green bay"
|
{
"answer": "SELECT golf FROM table_name_66 WHERE school = \"green bay\"",
"context": "CREATE TABLE table_name_66 (golf VARCHAR, school VARCHAR)",
"question": "Does Green Bay have a golf team?"
}
|
### QUESTION
Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?
### CONTEXT
CREATE TABLE table_name_91 (water__sqmi_ INTEGER, pop__2010_ VARCHAR, longitude VARCHAR)
### ANSWER
SELECT MAX(water__sqmi_) FROM table_name_91 WHERE pop__2010_ = 359 AND longitude < -97.176811
|
{
"answer": "SELECT MAX(water__sqmi_) FROM table_name_91 WHERE pop__2010_ = 359 AND longitude < -97.176811",
"context": "CREATE TABLE table_name_91 (water__sqmi_ INTEGER, pop__2010_ VARCHAR, longitude VARCHAR)",
"question": "Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?"
}
|
### QUESTION
What was the record on the game that was played on october 27?
### CONTEXT
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
### ANSWER
SELECT record FROM table_name_72 WHERE date = "october 27"
|
{
"answer": "SELECT record FROM table_name_72 WHERE date = \"october 27\"",
"context": "CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)",
"question": "What was the record on the game that was played on october 27?"
}
|
### QUESTION
Find all the forenames of distinct drivers who was in position 1 as standing and won?
### CONTEXT
CREATE TABLE driverstandings (driverid VARCHAR, position VARCHAR, wins VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)
### ANSWER
SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1
|
{
"answer": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1",
"context": "CREATE TABLE driverstandings (driverid VARCHAR, position VARCHAR, wins VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)",
"question": "Find all the forenames of distinct drivers who was in position 1 as standing and won?"
}
|
### QUESTION
What district is tom j. murray from?
### CONTEXT
CREATE TABLE table_1342013_41 (district VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT district FROM table_1342013_41 WHERE incumbent = "Tom J. Murray"
|
{
"answer": "SELECT district FROM table_1342013_41 WHERE incumbent = \"Tom J. Murray\"",
"context": "CREATE TABLE table_1342013_41 (district VARCHAR, incumbent VARCHAR)",
"question": "What district is tom j. murray from?"
}
|
### QUESTION
What is the score from September 15 that has the Indians as the opponent?
### CONTEXT
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_35 WHERE opponent = "indians" AND date = "september 15"
|
{
"answer": "SELECT score FROM table_name_35 WHERE opponent = \"indians\" AND date = \"september 15\"",
"context": "CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR)",
"question": "What is the score from September 15 that has the Indians as the opponent?"
}
|
### QUESTION
List the names of journalists who have not reported any event.
### CONTEXT
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR)
### ANSWER
SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report)
|
{
"answer": "SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report)",
"context": "CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR)",
"question": "List the names of journalists who have not reported any event."
}
|
### QUESTION
What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?
### CONTEXT
CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, away_team VARCHAR)
### ANSWER
SELECT score FROM table_name_67 WHERE date = "13 march 1985" AND away_team = "millwall"
|
{
"answer": "SELECT score FROM table_name_67 WHERE date = \"13 march 1985\" AND away_team = \"millwall\"",
"context": "CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, away_team VARCHAR)",
"question": "What is Score, when Date is \"13 March 1985\", and when Away Team is \"Millwall\"?"
}
|
### QUESTION
What are the names of body builders?
### CONTEXT
CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
### ANSWER
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID
|
{
"answer": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID",
"context": "CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)",
"question": "What are the names of body builders?"
}
|
### QUESTION
What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?
### CONTEXT
CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)
### ANSWER
SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.44%"
|
{
"answer": "SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = \"playstation 3\" AND gamerankings = \"84.44%\"",
"context": "CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)",
"question": "What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?"
}
|
### QUESTION
Find the customer name and date of the orders that have the status "Delivered".
### CONTEXT
CREATE TABLE customer_orders (order_date VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
### ANSWER
SELECT t1.customer_name, t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = "Delivered"
|
{
"answer": "SELECT t1.customer_name, t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = \"Delivered\"",
"context": "CREATE TABLE customer_orders (order_date VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)",
"question": "Find the customer name and date of the orders that have the status \"Delivered\"."
}
|
### QUESTION
Which operating system has 1GB (mobile ddr) memory (RAM)?
### CONTEXT
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)
### ANSWER
SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"
|
{
"answer": "SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = \"1gb (mobile ddr)\"",
"context": "CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)",
"question": "Which operating system has 1GB (mobile ddr) memory (RAM)?"
}
|
### QUESTION
what is the special edition where the english version is nick stewart?
### CONTEXT
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)
### ANSWER
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart"
|
{
"answer": "SELECT special_edition FROM table_25173505_13 WHERE english_version = \"Nick Stewart\"",
"context": "CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)",
"question": "what is the special edition where the english version is nick stewart?"
}
|
### QUESTION
Where is NCAA division ii Franklin Pierce University located at?
### CONTEXT
CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR)
### ANSWER
SELECT location FROM table_name_54 WHERE classification = "ncaa division ii" AND institution = "franklin pierce university"
|
{
"answer": "SELECT location FROM table_name_54 WHERE classification = \"ncaa division ii\" AND institution = \"franklin pierce university\"",
"context": "CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR)",
"question": "Where is NCAA division ii Franklin Pierce University located at?"
}
|
### QUESTION
What is the highest number of players during 1r year with a clay set and more than 4 aces?
### CONTEXT
CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR)
### ANSWER
SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4
|
{
"answer": "SELECT MAX(player) FROM table_name_63 WHERE year = \"1r\" AND sets = \"clay\" AND NOT aces > 4",
"context": "CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR)",
"question": "What is the highest number of players during 1r year with a clay set and more than 4 aces?"
}
|
### QUESTION
Tell me the race name for ferrari on 25 april
### CONTEXT
CREATE TABLE table_name_17 (race_name VARCHAR, constructor VARCHAR, date VARCHAR)
### ANSWER
SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april"
|
{
"answer": "SELECT race_name FROM table_name_17 WHERE constructor = \"ferrari\" AND date = \"25 april\"",
"context": "CREATE TABLE table_name_17 (race_name VARCHAR, constructor VARCHAR, date VARCHAR)",
"question": "Tell me the race name for ferrari on 25 april"
}
|
### QUESTION
Which team was in a game with a record of 15-63?
### CONTEXT
CREATE TABLE table_13619053_9 (team VARCHAR, record VARCHAR)
### ANSWER
SELECT team FROM table_13619053_9 WHERE record = "15-63"
|
{
"answer": "SELECT team FROM table_13619053_9 WHERE record = \"15-63\"",
"context": "CREATE TABLE table_13619053_9 (team VARCHAR, record VARCHAR)",
"question": "Which team was in a game with a record of 15-63?"
}
|
### QUESTION
How many parties are named the Center Alliance
### CONTEXT
CREATE TABLE table_203802_2 (english_party_name VARCHAR)
### ANSWER
SELECT COUNT(*) FROM table_203802_2 WHERE english_party_name = "Center Alliance"
|
{
"answer": "SELECT COUNT(*) FROM table_203802_2 WHERE english_party_name = \"Center Alliance\"",
"context": "CREATE TABLE table_203802_2 (english_party_name VARCHAR)",
"question": "How many parties are named the Center Alliance"
}
|
### QUESTION
What is the id and type code for the template used by the most documents?
### CONTEXT
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR)
### ANSWER
SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR)",
"question": "What is the id and type code for the template used by the most documents?"
}
|
### QUESTION
what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)?
### CONTEXT
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR)
### ANSWER
SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning_score = –9(72 - 68 - 67 = 207)
|
{
"answer": "SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = \"amy alcott\" AND winning_score = –9(72 - 68 - 67 = 207)",
"context": "CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR)",
"question": "what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)?"
}
|
### QUESTION
What is the highest Points when the record was 12–2, and the Points Against are larger than 6?
### CONTEXT
CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR)
### ANSWER
SELECT MAX(points_for) FROM table_name_25 WHERE record = "12–2" AND points_against > 6
|
{
"answer": "SELECT MAX(points_for) FROM table_name_25 WHERE record = \"12–2\" AND points_against > 6",
"context": "CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR)",
"question": "What is the highest Points when the record was 12–2, and the Points Against are larger than 6?"
}
|
### QUESTION
What player has over 1 first apperance and over 32 first team goals?
### CONTEXT
CREATE TABLE table_name_97 (player VARCHAR, first_team_appearances VARCHAR, first_team_goals VARCHAR)
### ANSWER
SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32
|
{
"answer": "SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32",
"context": "CREATE TABLE table_name_97 (player VARCHAR, first_team_appearances VARCHAR, first_team_goals VARCHAR)",
"question": "What player has over 1 first apperance and over 32 first team goals?"
}
|
### QUESTION
Show the property type descriptions of properties belonging to that code.
### CONTEXT
CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR)
### ANSWER
SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code
|
{
"answer": "SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code",
"context": "CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR)",
"question": "Show the property type descriptions of properties belonging to that code."
}
|
### QUESTION
What was the report for an away team of Sydney Spirit and score of 96-87?
### CONTEXT
CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)
### ANSWER
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87"
|
{
"answer": "SELECT report FROM table_name_16 WHERE away_team = \"sydney spirit\" AND score = \"96-87\"",
"context": "CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)",
"question": "What was the report for an away team of Sydney Spirit and score of 96-87?"
}
|
### QUESTION
What was the score of the match against roger federer on April 3, 2006?
### CONTEXT
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_44 WHERE opponent = "roger federer" AND date = "april 3, 2006"
|
{
"answer": "SELECT score FROM table_name_44 WHERE opponent = \"roger federer\" AND date = \"april 3, 2006\"",
"context": "CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR, date VARCHAR)",
"question": "What was the score of the match against roger federer on April 3, 2006?"
}
|
### QUESTION
Name the Away team which have a Ground of colonial stadium on friday, 2 march?
### CONTEXT
CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR)
### ANSWER
SELECT away_team FROM table_name_83 WHERE ground = "colonial stadium" AND date = "friday, 2 march"
|
{
"answer": "SELECT away_team FROM table_name_83 WHERE ground = \"colonial stadium\" AND date = \"friday, 2 march\"",
"context": "CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR)",
"question": "Name the Away team which have a Ground of colonial stadium on friday, 2 march?"
}
|
### QUESTION
What is Margin, when Match Date is Oct 17, 2007?
### CONTEXT
CREATE TABLE table_name_86 (margin VARCHAR, match_date VARCHAR)
### ANSWER
SELECT margin FROM table_name_86 WHERE match_date = "oct 17, 2007"
|
{
"answer": "SELECT margin FROM table_name_86 WHERE match_date = \"oct 17, 2007\"",
"context": "CREATE TABLE table_name_86 (margin VARCHAR, match_date VARCHAR)",
"question": "What is Margin, when Match Date is Oct 17, 2007?"
}
|
### QUESTION
What is Finalists, when Tournament is Miami?
### CONTEXT
CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR)
### ANSWER
SELECT finalists FROM table_name_79 WHERE tournament = "miami"
|
{
"answer": "SELECT finalists FROM table_name_79 WHERE tournament = \"miami\"",
"context": "CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR)",
"question": "What is Finalists, when Tournament is Miami?"
}
|
### QUESTION
Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?
### CONTEXT
CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
### ANSWER
SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = "bmw straight-4 (t/c)" AND pts > 2
|
{
"answer": "SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = \"bmw straight-4 (t/c)\" AND pts > 2",
"context": "CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)",
"question": "Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?"
}
|
### QUESTION
Show the name of the conductor that has conducted the most number of orchestras.
### CONTEXT
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
### ANSWER
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)",
"question": "Show the name of the conductor that has conducted the most number of orchestras."
}
|
### QUESTION
When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?
### CONTEXT
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR)
### ANSWER
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael Rogers"
|
{
"answer": "SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = \"Ryan Anderson\" AND general_classification = \"Michael Rogers\"",
"context": "CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR)",
"question": "When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?"
}
|
### QUESTION
How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
### CONTEXT
CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)
### ANSWER
SELECT COUNT(gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_) FROM table_30133_3 WHERE 2012 = 23113
|
{
"answer": "SELECT COUNT(gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_) FROM table_30133_3 WHERE 2012 = 23113",
"context": "CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)",
"question": "How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?"
}
|
### QUESTION
What is the To par and holds the t8 place of the United States player Tiger Woods?
### CONTEXT
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### ANSWER
SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"
|
{
"answer": "SELECT to_par FROM table_name_62 WHERE country = \"united states\" AND place = \"t8\" AND player = \"tiger woods\"",
"context": "CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)",
"question": "What is the To par and holds the t8 place of the United States player Tiger Woods?"
}
|
### QUESTION
WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju?
### CONTEXT
CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR)
### ANSWER
SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = "south jeolla" AND administrative_district = "seungju"
|
{
"answer": "SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = \"south jeolla\" AND administrative_district = \"seungju\"",
"context": "CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR)",
"question": "WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju?"
}
|
### QUESTION
What is the location of the game that has a number smaller than 2?
### CONTEXT
CREATE TABLE table_name_68 (location VARCHAR, game INTEGER)
### ANSWER
SELECT location FROM table_name_68 WHERE game < 2
|
{
"answer": "SELECT location FROM table_name_68 WHERE game < 2",
"context": "CREATE TABLE table_name_68 (location VARCHAR, game INTEGER)",
"question": "What is the location of the game that has a number smaller than 2?"
}
|
### QUESTION
What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?
### CONTEXT
CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)
### ANSWER
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"
|
{
"answer": "SELECT result FROM table_1346118_5 WHERE candidates = \"John A. Elston (R) 88.4% Luella Twining (S) 11.6%\"",
"context": "CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)",
"question": "What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?"
}
|
### QUESTION
What is every company with an index weighting % of 1 and the city of Dimitrovgrad?
### CONTEXT
CREATE TABLE table_20667854_1 (company VARCHAR, index_weighting___percentage VARCHAR, city VARCHAR)
### ANSWER
SELECT company FROM table_20667854_1 WHERE index_weighting___percentage = "1" AND city = "Dimitrovgrad"
|
{
"answer": "SELECT company FROM table_20667854_1 WHERE index_weighting___percentage = \"1\" AND city = \"Dimitrovgrad\"",
"context": "CREATE TABLE table_20667854_1 (company VARCHAR, index_weighting___percentage VARCHAR, city VARCHAR)",
"question": "What is every company with an index weighting % of 1 and the city of Dimitrovgrad?"
}
|
### QUESTION
What are the years that have a duration of 15 years and giulia poggi as the character?
### CONTEXT
CREATE TABLE table_name_33 (years VARCHAR, duration VARCHAR, character VARCHAR)
### ANSWER
SELECT years FROM table_name_33 WHERE duration = "15 years" AND character = "giulia poggi"
|
{
"answer": "SELECT years FROM table_name_33 WHERE duration = \"15 years\" AND character = \"giulia poggi\"",
"context": "CREATE TABLE table_name_33 (years VARCHAR, duration VARCHAR, character VARCHAR)",
"question": "What are the years that have a duration of 15 years and giulia poggi as the character?"
}
|
### QUESTION
Of all the claims, what was the earliest date when any claim was made?
### CONTEXT
CREATE TABLE Claims (Date_Claim_Made VARCHAR)
### ANSWER
SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made LIMIT 1
|
{
"answer": "SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made LIMIT 1",
"context": "CREATE TABLE Claims (Date_Claim_Made VARCHAR)",
"question": "Of all the claims, what was the earliest date when any claim was made?"
}
|
### QUESTION
Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s
### CONTEXT
CREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)
### ANSWER
SELECT declination___j2000__ FROM table_name_55 WHERE constellation = "ophiuchus" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = "16h47m14.5s"
|
{
"answer": "SELECT declination___j2000__ FROM table_name_55 WHERE constellation = \"ophiuchus\" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = \"16h47m14.5s\"",
"context": "CREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)",
"question": "Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s"
}
|
### QUESTION
What are the name and phone of the customer with the most ordered product quantity?
### CONTEXT
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### ANSWER
SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T3.order_id = T2.order_id GROUP BY T1.customer_id ORDER BY SUM(T3.order_quantity) DESC LIMIT 1
|
{
"answer": "SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T3.order_id = T2.order_id GROUP BY T1.customer_id 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_phone VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)",
"question": "What are the name and phone of the customer with the most ordered product quantity?"
}
|
### QUESTION
what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?
### CONTEXT
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR)
### ANSWER
SELECT MAX(qualifying_rank) FROM table_13114949_3 WHERE competition = "Olympic Trials" AND final_rank = "4" AND qualifying_score = "15.100"
|
{
"answer": "SELECT MAX(qualifying_rank) FROM table_13114949_3 WHERE competition = \"Olympic Trials\" AND final_rank = \"4\" AND qualifying_score = \"15.100\"",
"context": "CREATE TABLE table_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR)",
"question": "what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?"
}
|
### QUESTION
What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?
### CONTEXT
CREATE TABLE table_name_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_70 WHERE winning_team = "atlanta braves" AND losing_team = "st. louis cardinals"
|
{
"answer": "SELECT MAX(year) FROM table_name_70 WHERE winning_team = \"atlanta braves\" AND losing_team = \"st. louis cardinals\"",
"context": "CREATE TABLE table_name_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)",
"question": "What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.