text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
how many players played running back where status is made 53-man roster at start of 2009 season
### CONTEXT
CREATE TABLE table_20898602_1 (player VARCHAR, status VARCHAR, position VARCHAR)
### ANSWER
SELECT COUNT(player) FROM table_20898602_1 WHERE status = "Made 53-man roster at start of 2009 season" AND position = "Running back" | {
"answer": "SELECT COUNT(player) FROM table_20898602_1 WHERE status = \"Made 53-man roster at start of 2009 season\" AND position = \"Running back\"",
"context": "CREATE TABLE table_20898602_1 (player VARCHAR, status VARCHAR, position VARCHAR)",
"question": "how many players played running back where status is made 53-man roster at start of 2009 season"
} |
### QUESTION
Which Byes have a Lexton Plains of skipton?
### CONTEXT
CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR)
### ANSWER
SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = "skipton" | {
"answer": "SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = \"skipton\"",
"context": "CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR)",
"question": "Which Byes have a Lexton Plains of skipton?"
} |
### QUESTION
How many mystic arte have hisui (jadeite) hearts 1 as the character?
### CONTEXT
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
### ANSWER
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1" | {
"answer": "SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = \"Hisui (Jadeite) Hearts 1\"",
"context": "CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)",
"question": "How many mystic arte have hisui (jadeite) hearts 1 as the character?"
} |
### QUESTION
What is Position, when Round is less than 5, when Nationality is "Canada", and when College/Junior/Club Team (League) is "Saint John Sea Dogs ( QMJHL )"?
### CONTEXT
CREATE TABLE table_name_30 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
### ANSWER
SELECT position FROM table_name_30 WHERE round < 5 AND nationality = "canada" AND college_junior_club_team__league_ = "saint john sea dogs ( qmjhl )" | {
"answer": "SELECT position FROM table_name_30 WHERE round < 5 AND nationality = \"canada\" AND college_junior_club_team__league_ = \"saint john sea dogs ( qmjhl )\"",
"context": "CREATE TABLE table_name_30 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)",
"question": "What is Position, when Round is less than 5, when Nationality is \"Canada\", and when College/Junior/Club Team (League) is \"Saint John Sea Dogs ( QMJHL )\"?"
} |
### QUESTION
What year was incumbent phil crane first elected?
### CONTEXT
CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane" | {
"answer": "SELECT first_elected FROM table_1341640_14 WHERE incumbent = \"Phil Crane\"",
"context": "CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "What year was incumbent phil crane first elected?"
} |
### QUESTION
What is the seat percentage when vote percentage is 2.4% (-8.3)?
### CONTEXT
CREATE TABLE table_name_73 (seat_percentage VARCHAR, vote_percentage VARCHAR)
### ANSWER
SELECT seat_percentage FROM table_name_73 WHERE vote_percentage = "2.4% (-8.3)" | {
"answer": "SELECT seat_percentage FROM table_name_73 WHERE vote_percentage = \"2.4% (-8.3)\"",
"context": "CREATE TABLE table_name_73 (seat_percentage VARCHAR, vote_percentage VARCHAR)",
"question": "What is the seat percentage when vote percentage is 2.4% (-8.3)?"
} |
### QUESTION
What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0?
### CONTEXT
CREATE TABLE table_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)
### ANSWER
SELECT score FROM table_23248869_10 WHERE location_attendance = "Madison Square Garden 19,763" AND game < 80.0 | {
"answer": "SELECT score FROM table_23248869_10 WHERE location_attendance = \"Madison Square Garden 19,763\" AND game < 80.0",
"context": "CREATE TABLE table_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)",
"question": "What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0?"
} |
### QUESTION
What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain?
### CONTEXT
CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
### ANSWER
SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = "defeated democratic gain" AND incumbent = "james humphrey" | {
"answer": "SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = \"defeated democratic gain\" AND incumbent = \"james humphrey\"",
"context": "CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)",
"question": "What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain?"
} |
### QUESTION
what is the date for the game in prague for the world group, consolation round competition?
### CONTEXT
CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR)
### ANSWER
SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round" | {
"answer": "SELECT date FROM table_name_57 WHERE location = \"prague\" AND competition = \"world group, consolation round\"",
"context": "CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR)",
"question": "what is the date for the game in prague for the world group, consolation round competition?"
} |
### QUESTION
What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure?
### CONTEXT
CREATE TABLE table_name_30 (year INTEGER, role VARCHAR, title VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_30 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "the chipmunk adventure" | {
"answer": "SELECT AVG(year) FROM table_name_30 WHERE role = \"alvin seville simon seville david 'dave' seville\" AND title = \"the chipmunk adventure\"",
"context": "CREATE TABLE table_name_30 (year INTEGER, role VARCHAR, title VARCHAR)",
"question": "What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure?"
} |
### QUESTION
Name the most legs for steinlager 2
### CONTEXT
CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
### ANSWER
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2" | {
"answer": "SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = \"Steinlager 2\"",
"context": "CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)",
"question": "Name the most legs for steinlager 2"
} |
### QUESTION
What is the lowest number of episodes for anabel barnston?
### CONTEXT
CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR)
### ANSWER
SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston" | {
"answer": "SELECT MIN(episodes) FROM table_name_35 WHERE actor = \"anabel barnston\"",
"context": "CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR)",
"question": "What is the lowest number of episodes for anabel barnston?"
} |
### QUESTION
What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"?
### CONTEXT
CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
### ANSWER
SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)" | {
"answer": "SELECT score FROM table_name_64 WHERE high_assists = \"rajon rondo (12)\" AND high_points = \"paul pierce (27)\"",
"context": "CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR)",
"question": "What is Score, when High Assists is \"Rajon Rondo (12)\", and when High Points is \"Paul Pierce (27)\"?"
} |
### QUESTION
what's the first elected with incumbent being clair engle
### CONTEXT
CREATE TABLE table_1342233_6 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT first_elected FROM table_1342233_6 WHERE incumbent = "Clair Engle" | {
"answer": "SELECT first_elected FROM table_1342233_6 WHERE incumbent = \"Clair Engle\"",
"context": "CREATE TABLE table_1342233_6 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "what's the first elected with incumbent being clair engle"
} |
### QUESTION
Who is the Director that has a Film title of nick carter in prague?
### CONTEXT
CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)
### ANSWER
SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague" | {
"answer": "SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = \"nick carter in prague\"",
"context": "CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)",
"question": "Who is the Director that has a Film title of nick carter in prague?"
} |
### QUESTION
What is the To par of the United States, when the Total was 145, in 2004?
### CONTEXT
CREATE TABLE table_name_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
### ANSWER
SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = 145 AND year_s__won = "2004" | {
"answer": "SELECT to_par FROM table_name_21 WHERE country = \"united states\" AND total = 145 AND year_s__won = \"2004\"",
"context": "CREATE TABLE table_name_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)",
"question": "What is the To par of the United States, when the Total was 145, in 2004?"
} |
### QUESTION
After 1972, how many points did Marlboro Team Alfa Romeo have?
### CONTEXT
CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR)
### ANSWER
SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = "marlboro team alfa romeo" | {
"answer": "SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = \"marlboro team alfa romeo\"",
"context": "CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR)",
"question": "After 1972, how many points did Marlboro Team Alfa Romeo have?"
} |
### QUESTION
What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?
### CONTEXT
CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller" | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = \"lw\" AND player = \"mark miller\"",
"context": "CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)",
"question": "What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?"
} |
### QUESTION
What is the gross in the United Kingdom?
### CONTEXT
CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR)
### ANSWER
SELECT gross FROM table_name_33 WHERE territory = "united kingdom" | {
"answer": "SELECT gross FROM table_name_33 WHERE territory = \"united kingdom\"",
"context": "CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR)",
"question": "What is the gross in the United Kingdom?"
} |
### QUESTION
How many different numbers of floors are there for the Chongqing Poly Tower?
### CONTEXT
CREATE TABLE table_23759976_1 (floors VARCHAR, building_ VARCHAR, a_ VARCHAR)
### ANSWER
SELECT COUNT(floors) FROM table_23759976_1 WHERE building_[a_] = "Chongqing Poly Tower" | {
"answer": "SELECT COUNT(floors) FROM table_23759976_1 WHERE building_[a_] = \"Chongqing Poly Tower\"",
"context": "CREATE TABLE table_23759976_1 (floors VARCHAR, building_ VARCHAR, a_ VARCHAR)",
"question": "How many different numbers of floors are there for the Chongqing Poly Tower?"
} |
### QUESTION
What are the countries having at least one car maker? List name and id.
### CONTEXT
CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR)
### ANSWER
SELECT T1.CountryName, T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING COUNT(*) >= 1 | {
"answer": "SELECT T1.CountryName, T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING COUNT(*) >= 1",
"context": "CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR)",
"question": "What are the countries having at least one car maker? List name and id."
} |
### QUESTION
What is the number of wins the team Boston Red Stockings got in the postseasons each year in history?
### CONTEXT
CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (year VARCHAR, team_id_winner VARCHAR)
### ANSWER
SELECT COUNT(*), T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year | {
"answer": "SELECT COUNT(*), T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year",
"context": "CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (year VARCHAR, team_id_winner VARCHAR)",
"question": "What is the number of wins the team Boston Red Stockings got in the postseasons each year in history?"
} |
### QUESTION
Find the subject ID, subject name, and the corresponding number of available courses for each subject.
### CONTEXT
CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR)
### ANSWER
SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id | {
"answer": "SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id",
"context": "CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR)",
"question": "Find the subject ID, subject name, and the corresponding number of available courses for each subject."
} |
### QUESTION
Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?
### CONTEXT
CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" AND winning_driver = "alberto ascari" AND fastest_lap = "luigi villoresi" | {
"answer": "SELECT race FROM table_name_4 WHERE pole_position = \"alberto ascari\" AND winning_driver = \"alberto ascari\" AND fastest_lap = \"luigi villoresi\"",
"context": "CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)",
"question": "Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?"
} |
### QUESTION
Find the first names of all instructors who have taught some course and the course description.
### CONTEXT
CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
### ANSWER
SELECT T2.emp_fname, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code | {
"answer": "SELECT T2.emp_fname, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code",
"context": "CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)",
"question": "Find the first names of all instructors who have taught some course and the course description."
} |
### QUESTION
What is Record, when Location Attendance is "Izod Center 16,911"?
### CONTEXT
CREATE TABLE table_name_4 (record VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT record FROM table_name_4 WHERE location_attendance = "izod center 16,911" | {
"answer": "SELECT record FROM table_name_4 WHERE location_attendance = \"izod center 16,911\"",
"context": "CREATE TABLE table_name_4 (record VARCHAR, location_attendance VARCHAR)",
"question": "What is Record, when Location Attendance is \"Izod Center 16,911\"?"
} |
### QUESTION
what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes
### CONTEXT
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR)
### ANSWER
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "Yes" | {
"answer": "SELECT distribution FROM table_1357052_6 WHERE grsecurity = \"Optional\" AND compile_time_buffer_checks = \"Yes\"",
"context": "CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR)",
"question": "what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes"
} |
### QUESTION
Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15?
### CONTEXT
CREATE TABLE table_name_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR)
### ANSWER
SELECT name FROM table_name_32 WHERE rank > 3 AND lane < 6 AND time = "1:58.15" | {
"answer": "SELECT name FROM table_name_32 WHERE rank > 3 AND lane < 6 AND time = \"1:58.15\"",
"context": "CREATE TABLE table_name_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR)",
"question": "Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15?"
} |
### QUESTION
What round was the debut of defender Stephen Laybutt?
### CONTEXT
CREATE TABLE table_name_11 (debut VARCHAR, position VARCHAR, name VARCHAR)
### ANSWER
SELECT debut FROM table_name_11 WHERE position = "defender" AND name = "stephen laybutt" | {
"answer": "SELECT debut FROM table_name_11 WHERE position = \"defender\" AND name = \"stephen laybutt\"",
"context": "CREATE TABLE table_name_11 (debut VARCHAR, position VARCHAR, name VARCHAR)",
"question": "What round was the debut of defender Stephen Laybutt?"
} |
### QUESTION
What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60?
### CONTEXT
CREATE TABLE table_name_43 (labour_panel INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR)
### ANSWER
SELECT MAX(labour_panel) FROM table_name_43 WHERE cultural_and_educational_panel > 1 AND university_of_dublin > 0 AND total < 60 | {
"answer": "SELECT MAX(labour_panel) FROM table_name_43 WHERE cultural_and_educational_panel > 1 AND university_of_dublin > 0 AND total < 60",
"context": "CREATE TABLE table_name_43 (labour_panel INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR)",
"question": "What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60?"
} |
### QUESTION
Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9)
### CONTEXT
CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)
### ANSWER
SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)" | {
"answer": "SELECT opponent FROM table_22853654_9 WHERE result = \"3–6, 4–6, 6–1, 6–7 (7–9)\"",
"context": "CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)",
"question": "Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9)"
} |
### QUESTION
Name the loss for june 22
### CONTEXT
CREATE TABLE table_name_8 (loss VARCHAR, date VARCHAR)
### ANSWER
SELECT loss FROM table_name_8 WHERE date = "june 22" | {
"answer": "SELECT loss FROM table_name_8 WHERE date = \"june 22\"",
"context": "CREATE TABLE table_name_8 (loss VARCHAR, date VARCHAR)",
"question": "Name the loss for june 22"
} |
### QUESTION
What is the IATA of galeão airport?
### CONTEXT
CREATE TABLE table_name_58 (iata VARCHAR, airport VARCHAR)
### ANSWER
SELECT iata FROM table_name_58 WHERE airport = "galeão airport" | {
"answer": "SELECT iata FROM table_name_58 WHERE airport = \"galeão airport\"",
"context": "CREATE TABLE table_name_58 (iata VARCHAR, airport VARCHAR)",
"question": "What is the IATA of galeão airport?"
} |
### QUESTION
What group on the island of Faray has a Height (m) of 32 and a Population of 0?
### CONTEXT
CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR)
### ANSWER
SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray" | {
"answer": "SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = \"0\" AND island = \"faray\"",
"context": "CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR)",
"question": "What group on the island of Faray has a Height (m) of 32 and a Population of 0?"
} |
### QUESTION
Who was the republican candidate in 2013 when Staten Island was 451?
### CONTEXT
CREATE TABLE table_1108394_6 (staten_island VARCHAR)
### ANSWER
SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451" | {
"answer": "SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = \"451\"",
"context": "CREATE TABLE table_1108394_6 (staten_island VARCHAR)",
"question": "Who was the republican candidate in 2013 when Staten Island was 451?"
} |
### QUESTION
Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727?
### CONTEXT
CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
### ANSWER
SELECT MIN(week) FROM table_name_69 WHERE opponent = "pittsburgh steelers" AND attendance > 47 OFFSET 727 | {
"answer": "SELECT MIN(week) FROM table_name_69 WHERE opponent = \"pittsburgh steelers\" AND attendance > 47 OFFSET 727",
"context": "CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR, attendance VARCHAR)",
"question": "Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727?"
} |
### QUESTION
What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8?
### CONTEXT
CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8 | {
"answer": "SELECT MAX(rank) FROM table_name_49 WHERE county = \"offaly\" AND player = \"mark corrigan\" AND total < 8",
"context": "CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR)",
"question": "What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8?"
} |
### QUESTION
What is the teaching language with the duration (years) 3.5?
### CONTEXT
CREATE TABLE table_12591022_2 (teaching_language VARCHAR, duration__years_ VARCHAR)
### ANSWER
SELECT teaching_language FROM table_12591022_2 WHERE duration__years_ = "3.5" | {
"answer": "SELECT teaching_language FROM table_12591022_2 WHERE duration__years_ = \"3.5\"",
"context": "CREATE TABLE table_12591022_2 (teaching_language VARCHAR, duration__years_ VARCHAR)",
"question": "What is the teaching language with the duration (years) 3.5?"
} |
### QUESTION
List the locations of schools that do not have any player.
### CONTEXT
CREATE TABLE school (LOCATION VARCHAR, School_ID VARCHAR); CREATE TABLE Player (LOCATION VARCHAR, School_ID VARCHAR)
### ANSWER
SELECT LOCATION FROM school WHERE NOT School_ID IN (SELECT School_ID FROM Player) | {
"answer": "SELECT LOCATION FROM school WHERE NOT School_ID IN (SELECT School_ID FROM Player)",
"context": "CREATE TABLE school (LOCATION VARCHAR, School_ID VARCHAR); CREATE TABLE Player (LOCATION VARCHAR, School_ID VARCHAR)",
"question": "List the locations of schools that do not have any player."
} |
### QUESTION
What is the print resolution (FPI) for December 2002?
### CONTEXT
CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)
### ANSWER
SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002" | {
"answer": "SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = \"December 2002\"",
"context": "CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)",
"question": "What is the print resolution (FPI) for December 2002?"
} |
### QUESTION
Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?
### CONTEXT
CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR)
### ANSWER
SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon" | {
"answer": "SELECT pro_stock FROM table_name_83 WHERE top_fuel = \"tony schumacher\" AND funny_car = \"tony pedregon\"",
"context": "CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR)",
"question": "Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?"
} |
### QUESTION
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
### CONTEXT
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3 | {
"answer": "SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = \"christian malcolm\" AND lane > 3",
"context": "CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)",
"question": "What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?"
} |
### QUESTION
How many car models were produced by the maker with full name American Motor Company?
### CONTEXT
CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
### ANSWER
SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company' | {
"answer": "SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company'",
"context": "CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)",
"question": "How many car models were produced by the maker with full name American Motor Company?"
} |
### QUESTION
Oklahoma State produced a player in which position in the draft?
### CONTEXT
CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma state" | {
"answer": "SELECT position FROM table_name_26 WHERE school_club_team = \"oklahoma state\"",
"context": "CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR)",
"question": "Oklahoma State produced a player in which position in the draft?"
} |
### QUESTION
What are the line 1 and average monthly rentals of all student addresses?
### CONTEXT
CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR)
### ANSWER
SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id | {
"answer": "SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id",
"context": "CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR)",
"question": "What are the line 1 and average monthly rentals of all student addresses?"
} |
### QUESTION
what is the average water sqmi with a population (2010) more than 47 in the Brenna Township with Longitude less than -97.171507
### CONTEXT
CREATE TABLE table_name_8 (water__sqmi_ INTEGER, longitude VARCHAR, pop__2010_ VARCHAR, township VARCHAR)
### ANSWER
SELECT AVG(water__sqmi_) FROM table_name_8 WHERE pop__2010_ > 47 AND township = "brenna" AND longitude < -97.171507 | {
"answer": "SELECT AVG(water__sqmi_) FROM table_name_8 WHERE pop__2010_ > 47 AND township = \"brenna\" AND longitude < -97.171507",
"context": "CREATE TABLE table_name_8 (water__sqmi_ INTEGER, longitude VARCHAR, pop__2010_ VARCHAR, township VARCHAR)",
"question": "what is the average water sqmi with a population (2010) more than 47 in the Brenna Township with Longitude less than -97.171507"
} |
### QUESTION
what's the earliest year that the wimbledon opponent was zheng jie?
### CONTEXT
CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_50 WHERE event = "wimbledon" AND opponent = "zheng jie" | {
"answer": "SELECT MIN(year) FROM table_name_50 WHERE event = \"wimbledon\" AND opponent = \"zheng jie\"",
"context": "CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR)",
"question": "what's the earliest year that the wimbledon opponent was zheng jie?"
} |
### QUESTION
Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
### CONTEXT
CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center" | {
"answer": "SELECT COUNT(year) FROM table_name_51 WHERE role = \"lady cecily waynflete\" AND theatre = \"opera house, kennedy center\"",
"context": "CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)",
"question": "Tell me the total number of years for lady cecily waynflete and opera house, kennedy center"
} |
### QUESTION
Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?
### CONTEXT
CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT winner FROM table_23157997_13 WHERE mountains_classification = "Tom Zirbel" AND points_classification = "Thomas Soladay" | {
"answer": "SELECT winner FROM table_23157997_13 WHERE mountains_classification = \"Tom Zirbel\" AND points_classification = \"Thomas Soladay\"",
"context": "CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)",
"question": "Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?"
} |
### QUESTION
Show the prices of the products named "Dining" or "Trading Policy".
### CONTEXT
CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)
### ANSWER
SELECT Product_Price FROM Products WHERE Product_Name = "Dining" OR Product_Name = "Trading Policy" | {
"answer": "SELECT Product_Price FROM Products WHERE Product_Name = \"Dining\" OR Product_Name = \"Trading Policy\"",
"context": "CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)",
"question": "Show the prices of the products named \"Dining\" or \"Trading Policy\"."
} |
### QUESTION
What was the score of the game in which the Toronto Maple Leafs were visitors?
### CONTEXT
CREATE TABLE table_name_97 (score VARCHAR, visitor VARCHAR)
### ANSWER
SELECT score FROM table_name_97 WHERE visitor = "toronto maple leafs" | {
"answer": "SELECT score FROM table_name_97 WHERE visitor = \"toronto maple leafs\"",
"context": "CREATE TABLE table_name_97 (score VARCHAR, visitor VARCHAR)",
"question": "What was the score of the game in which the Toronto Maple Leafs were visitors?"
} |
### QUESTION
What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3?
### CONTEXT
CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR)
### ANSWER
SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND season < 3 | {
"answer": "SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = \"march 21, 2010\" AND season < 3",
"context": "CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR)",
"question": "What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3?"
} |
### QUESTION
Show the account name, id and the number of transactions for each account.
### CONTEXT
CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)
### ANSWER
SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id | {
"answer": "SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id",
"context": "CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)",
"question": "Show the account name, id and the number of transactions for each account."
} |
### QUESTION
Wat is the tax source system code and master customer id of the taxes related to each parking fine id?
### CONTEXT
CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)
### ANSWER
SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id | {
"answer": "SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id",
"context": "CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)",
"question": "Wat is the tax source system code and master customer id of the taxes related to each parking fine id?"
} |
### QUESTION
List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200.
### CONTEXT
CREATE TABLE people (weight VARCHAR, people_id VARCHAR, height VARCHAR); CREATE TABLE body_builder (people_id VARCHAR, snatch VARCHAR)
### ANSWER
SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200 | {
"answer": "SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200",
"context": "CREATE TABLE people (weight VARCHAR, people_id VARCHAR, height VARCHAR); CREATE TABLE body_builder (people_id VARCHAR, snatch VARCHAR)",
"question": "List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200."
} |
### QUESTION
Return the names and ids of all products whose price is between 600 and 700.
### CONTEXT
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER)
### ANSWER
SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700 | {
"answer": "SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700",
"context": "CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER)",
"question": "Return the names and ids of all products whose price is between 600 and 700."
} |
### QUESTION
Who won the points classifications in the stage where Matteo Priamo was the winner?
### CONTEXT
CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo" | {
"answer": "SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = \"Matteo Priamo\"",
"context": "CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR)",
"question": "Who won the points classifications in the stage where Matteo Priamo was the winner?"
} |
### QUESTION
Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms?
### CONTEXT
CREATE TABLE table_name_44 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR)
### ANSWER
SELECT MIN(staterooms) FROM table_name_44 WHERE comments = "diesel-electric hybrid engines" AND length = "443 feet" AND guests > 190 | {
"answer": "SELECT MIN(staterooms) FROM table_name_44 WHERE comments = \"diesel-electric hybrid engines\" AND length = \"443 feet\" AND guests > 190",
"context": "CREATE TABLE table_name_44 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR)",
"question": "Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms?"
} |
### QUESTION
What is the service chage of the boat howitzers with a 12-pdr light destination?
### CONTEXT
CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)
### ANSWER
SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light" | {
"answer": "SELECT service_charge FROM table_name_42 WHERE designation = \"12-pdr light\"",
"context": "CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)",
"question": "What is the service chage of the boat howitzers with a 12-pdr light destination?"
} |
### QUESTION
What is the title of the episode/s written by Michael Gans & Richard Register?
### CONTEXT
CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR)
### ANSWER
SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register" | {
"answer": "SELECT title FROM table_23399481_4 WHERE written_by = \"Michael Gans & Richard Register\"",
"context": "CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR)",
"question": "What is the title of the episode/s written by Michael Gans & Richard Register?"
} |
### QUESTION
WHAT IS THE ROUND FOR ZACH BOYCHUK?
### CONTEXT
CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_6 WHERE player = "zach boychuk" | {
"answer": "SELECT COUNT(round) FROM table_name_6 WHERE player = \"zach boychuk\"",
"context": "CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)",
"question": "WHAT IS THE ROUND FOR ZACH BOYCHUK?"
} |
### QUESTION
what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash?
### CONTEXT
CREATE TABLE table_name_51 (english_translation VARCHAR, artist VARCHAR, language VARCHAR, draw VARCHAR)
### ANSWER
SELECT english_translation FROM table_name_51 WHERE language = "english" AND draw < 16 AND artist = "aysel and arash" | {
"answer": "SELECT english_translation FROM table_name_51 WHERE language = \"english\" AND draw < 16 AND artist = \"aysel and arash\"",
"context": "CREATE TABLE table_name_51 (english_translation VARCHAR, artist VARCHAR, language VARCHAR, draw VARCHAR)",
"question": "what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash?"
} |
### QUESTION
What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
### CONTEXT
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein" | {
"answer": "SELECT rank__week_ FROM table_23177573_1 WHERE written_by = \"Thomas L. Moran\" AND directed_by = \"Andrew Bernstein\"",
"context": "CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR)",
"question": "What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?"
} |
### QUESTION
How many starts did Hendrick motorsports have?
### CONTEXT
CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR)
### ANSWER
SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = "Hendrick Motorsports" | {
"answer": "SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = \"Hendrick Motorsports\"",
"context": "CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR)",
"question": "How many starts did Hendrick motorsports have?"
} |
### QUESTION
What was the result in the year greaters than 2008 with an award of Jahat and had a category of Stacy?
### CONTEXT
CREATE TABLE table_name_51 (result VARCHAR, awards VARCHAR, category VARCHAR, year VARCHAR)
### ANSWER
SELECT result FROM table_name_51 WHERE category = "stacy" AND year > 2008 AND awards = "jahat" | {
"answer": "SELECT result FROM table_name_51 WHERE category = \"stacy\" AND year > 2008 AND awards = \"jahat\"",
"context": "CREATE TABLE table_name_51 (result VARCHAR, awards VARCHAR, category VARCHAR, year VARCHAR)",
"question": "What was the result in the year greaters than 2008 with an award of Jahat and had a category of Stacy?"
} |
### QUESTION
What is the UCI rating of the race in Italy with the progetto ciclismo alplast team?
### CONTEXT
CREATE TABLE table_name_81 (uci_rating VARCHAR, location VARCHAR, team VARCHAR)
### ANSWER
SELECT uci_rating FROM table_name_81 WHERE location = "italy" AND team = "progetto ciclismo alplast" | {
"answer": "SELECT uci_rating FROM table_name_81 WHERE location = \"italy\" AND team = \"progetto ciclismo alplast\"",
"context": "CREATE TABLE table_name_81 (uci_rating VARCHAR, location VARCHAR, team VARCHAR)",
"question": "What is the UCI rating of the race in Italy with the progetto ciclismo alplast team?"
} |
### QUESTION
What is the name of the free transfer fee with a transfer status and an ENG country?
### CONTEXT
CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR)
### ANSWER
SELECT name FROM table_name_31 WHERE transfer_fee = "free" AND status = "transfer" AND country = "eng" | {
"answer": "SELECT name FROM table_name_31 WHERE transfer_fee = \"free\" AND status = \"transfer\" AND country = \"eng\"",
"context": "CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR)",
"question": "What is the name of the free transfer fee with a transfer status and an ENG country?"
} |
### QUESTION
Find the name of airports which do not have any flight in and out.
### CONTEXT
CREATE TABLE Flights (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR); CREATE TABLE Airports (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR)
### ANSWER
SELECT AirportName FROM Airports WHERE NOT AirportCode IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights) | {
"answer": "SELECT AirportName FROM Airports WHERE NOT AirportCode IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)",
"context": "CREATE TABLE Flights (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR); CREATE TABLE Airports (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR)",
"question": "Find the name of airports which do not have any flight in and out."
} |
### QUESTION
The original air date of 29November2007 has what total no.?
### CONTEXT
CREATE TABLE table_11642945_1 (total_no VARCHAR, original_air_date VARCHAR)
### ANSWER
SELECT total_no FROM table_11642945_1 WHERE original_air_date = "29November2007" | {
"answer": "SELECT total_no FROM table_11642945_1 WHERE original_air_date = \"29November2007\"",
"context": "CREATE TABLE table_11642945_1 (total_no VARCHAR, original_air_date VARCHAR)",
"question": "The original air date of 29November2007 has what total no.?"
} |
### QUESTION
How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining?
### CONTEXT
CREATE TABLE table_name_59 (clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR)
### ANSWER
SELECT MIN(clubs_involved) FROM table_name_59 WHERE winners_from_previous_round = "4" AND clubs_remaining > 4 | {
"answer": "SELECT MIN(clubs_involved) FROM table_name_59 WHERE winners_from_previous_round = \"4\" AND clubs_remaining > 4",
"context": "CREATE TABLE table_name_59 (clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR)",
"question": "How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining?"
} |
### QUESTION
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
### CONTEXT
CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)
### ANSWER
SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/" | {
"answer": "SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = \"/ai/\"",
"context": "CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)",
"question": "what is the normal environment of occurrence that has a Proto-Germanic origin /ai/"
} |
### QUESTION
Which Avg/G is the lowest one that has a Long smaller than 47, and a Name of frank murphy, and a Gain smaller than 569?
### CONTEXT
CREATE TABLE table_name_86 (avg_g INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(avg_g) FROM table_name_86 WHERE long < 47 AND name = "frank murphy" AND gain < 569 | {
"answer": "SELECT MIN(avg_g) FROM table_name_86 WHERE long < 47 AND name = \"frank murphy\" AND gain < 569",
"context": "CREATE TABLE table_name_86 (avg_g INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)",
"question": "Which Avg/G is the lowest one that has a Long smaller than 47, and a Name of frank murphy, and a Gain smaller than 569?"
} |
### QUESTION
What is the average Poles, when Wins is 0, when Position is "nc", and when Season is before 2004?
### CONTEXT
CREATE TABLE table_name_65 (poles INTEGER, season VARCHAR, wins VARCHAR, position VARCHAR)
### ANSWER
SELECT AVG(poles) FROM table_name_65 WHERE wins = 0 AND position = "nc" AND season < 2004 | {
"answer": "SELECT AVG(poles) FROM table_name_65 WHERE wins = 0 AND position = \"nc\" AND season < 2004",
"context": "CREATE TABLE table_name_65 (poles INTEGER, season VARCHAR, wins VARCHAR, position VARCHAR)",
"question": "What is the average Poles, when Wins is 0, when Position is \"nc\", and when Season is before 2004?"
} |
### QUESTION
Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7%
### CONTEXT
CREATE TABLE table_name_33 (ipsos_3_14_09 VARCHAR, ifop_11_12_08 VARCHAR, opinionway_4_17_09 VARCHAR)
### ANSWER
SELECT ipsos_3_14_09 FROM table_name_33 WHERE ifop_11_12_08 = "7%" AND opinionway_4_17_09 = "5%" | {
"answer": "SELECT ipsos_3_14_09 FROM table_name_33 WHERE ifop_11_12_08 = \"7%\" AND opinionway_4_17_09 = \"5%\"",
"context": "CREATE TABLE table_name_33 (ipsos_3_14_09 VARCHAR, ifop_11_12_08 VARCHAR, opinionway_4_17_09 VARCHAR)",
"question": "Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7%"
} |
### QUESTION
List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.
### CONTEXT
CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (born_state VARCHAR, head_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)
### ANSWER
SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T1.name = 'Treasury' INTERSECT SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T1.name = 'Homeland Security' | {
"answer": "SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T1.name = 'Treasury' INTERSECT SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T1.name = 'Homeland Security'",
"context": "CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (born_state VARCHAR, head_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)",
"question": "List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born."
} |
### QUESTION
what are all the percent (1990) where state is united states
### CONTEXT
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)
### ANSWER
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states" | {
"answer": "SELECT percent__1990_ FROM table_1182314_5 WHERE state = \"United states\"",
"context": "CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)",
"question": "what are all the percent (1990) where state is united states"
} |
### QUESTION
Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
### CONTEXT
CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)
### ANSWER
SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express" | {
"answer": "SELECT evening FROM table_name_18 WHERE sunday = \"no\" AND name = \"s. vidal/plant express\"",
"context": "CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)",
"question": "Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?"
} |
### QUESTION
What is the margin of victory in the race where Justin Rose was the runner-up?
### CONTEXT
CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose" | {
"answer": "SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = \"justin rose\"",
"context": "CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR)",
"question": "What is the margin of victory in the race where Justin Rose was the runner-up?"
} |
### QUESTION
Name the original title for years before 1977 and author of lagercrantz olof lagercrantz
### CONTEXT
CREATE TABLE table_name_53 (original_title VARCHAR, year VARCHAR, author VARCHAR)
### ANSWER
SELECT original_title FROM table_name_53 WHERE year < 1977 AND author = "lagercrantz olof lagercrantz" | {
"answer": "SELECT original_title FROM table_name_53 WHERE year < 1977 AND author = \"lagercrantz olof lagercrantz\"",
"context": "CREATE TABLE table_name_53 (original_title VARCHAR, year VARCHAR, author VARCHAR)",
"question": "Name the original title for years before 1977 and author of lagercrantz olof lagercrantz"
} |
### QUESTION
What sum of game has an attendance of 18,690?
### CONTEXT
CREATE TABLE table_name_40 (game INTEGER, attendance VARCHAR)
### ANSWER
SELECT SUM(game) FROM table_name_40 WHERE attendance = 18 OFFSET 690 | {
"answer": "SELECT SUM(game) FROM table_name_40 WHERE attendance = 18 OFFSET 690",
"context": "CREATE TABLE table_name_40 (game INTEGER, attendance VARCHAR)",
"question": "What sum of game has an attendance of 18,690?"
} |
### QUESTION
What is the total score when 7 is the average ranking?
### CONTEXT
CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR)
### ANSWER
SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7 | {
"answer": "SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7",
"context": "CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR)",
"question": "What is the total score when 7 is the average ranking?"
} |
### QUESTION
Name the score when it had a decision of dipietro and visitor of ny islanders with home of colorado
### CONTEXT
CREATE TABLE table_name_80 (score VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)
### ANSWER
SELECT score FROM table_name_80 WHERE decision = "dipietro" AND visitor = "ny islanders" AND home = "colorado" | {
"answer": "SELECT score FROM table_name_80 WHERE decision = \"dipietro\" AND visitor = \"ny islanders\" AND home = \"colorado\"",
"context": "CREATE TABLE table_name_80 (score VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)",
"question": "Name the score when it had a decision of dipietro and visitor of ny islanders with home of colorado"
} |
### QUESTION
What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?
### CONTEXT
CREATE TABLE table_name_43 (pick__number INTEGER, reg_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(pick__number) FROM table_name_43 WHERE rd__number < 6 AND player = "bob dailey" AND reg_gp > 257 | {
"answer": "SELECT MAX(pick__number) FROM table_name_43 WHERE rd__number < 6 AND player = \"bob dailey\" AND reg_gp > 257",
"context": "CREATE TABLE table_name_43 (pick__number INTEGER, reg_gp VARCHAR, rd__number VARCHAR, player VARCHAR)",
"question": "What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?"
} |
### QUESTION
List all the locations with a RBMK-1000 reactor.
### CONTEXT
CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ VARCHAR, reactor_type VARCHAR)
### ANSWER
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE reactor_type = "RBMK-1000" | {
"answer": "SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE reactor_type = \"RBMK-1000\"",
"context": "CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ VARCHAR, reactor_type VARCHAR)",
"question": "List all the locations with a RBMK-1000 reactor."
} |
### QUESTION
What year was the League the malaysian super league, and a Malaysia Cup of group stage?
### CONTEXT
CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR)
### ANSWER
SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage" | {
"answer": "SELECT year FROM table_name_73 WHERE league = \"malaysian super league\" AND malaysia_cup = \"group stage\"",
"context": "CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR)",
"question": "What year was the League the malaysian super league, and a Malaysia Cup of group stage?"
} |
### QUESTION
How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?
### CONTEXT
CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR)
### ANSWER
SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737 | {
"answer": "SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737",
"context": "CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR)",
"question": "How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?"
} |
### QUESTION
What is the first name and job id for all employees in the Finance department?
### CONTEXT
CREATE TABLE departments (department_id VARCHAR, department_name VARCHAR); CREATE TABLE employees (first_name VARCHAR, job_id VARCHAR, department_id VARCHAR)
### ANSWER
SELECT T1.first_name, T1.job_id FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id WHERE T2.department_name = 'Finance' | {
"answer": "SELECT T1.first_name, T1.job_id FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id WHERE T2.department_name = 'Finance'",
"context": "CREATE TABLE departments (department_id VARCHAR, department_name VARCHAR); CREATE TABLE employees (first_name VARCHAR, job_id VARCHAR, department_id VARCHAR)",
"question": "What is the first name and job id for all employees in the Finance department?"
} |
### QUESTION
What week had an attendance of 14,381?
### CONTEXT
CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR)
### ANSWER
SELECT AVG(week) FROM table_name_25 WHERE attendance = "14,381" | {
"answer": "SELECT AVG(week) FROM table_name_25 WHERE attendance = \"14,381\"",
"context": "CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR)",
"question": "What week had an attendance of 14,381?"
} |
### QUESTION
List the names of all routes in alphabetic order.
### CONTEXT
CREATE TABLE Delivery_Routes (route_name VARCHAR)
### ANSWER
SELECT route_name FROM Delivery_Routes ORDER BY route_name | {
"answer": "SELECT route_name FROM Delivery_Routes ORDER BY route_name",
"context": "CREATE TABLE Delivery_Routes (route_name VARCHAR)",
"question": "List the names of all routes in alphabetic order."
} |
### QUESTION
What is the venue where the home team is Footscray?
### CONTEXT
CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)
### ANSWER
SELECT venue FROM table_name_57 WHERE home_team = "footscray" | {
"answer": "SELECT venue FROM table_name_57 WHERE home_team = \"footscray\"",
"context": "CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)",
"question": "What is the venue where the home team is Footscray?"
} |
### QUESTION
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?
### CONTEXT
CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3 | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = \"right wing\" AND round < 3",
"context": "CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)",
"question": "Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?"
} |
### QUESTION
What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?
### CONTEXT
CREATE TABLE table_name_45 (weekly_winner VARCHAR)
### ANSWER
SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = "youth counselor justin meece" | {
"answer": "SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = \"youth counselor justin meece\"",
"context": "CREATE TABLE table_name_45 (weekly_winner VARCHAR)",
"question": "What is 18-49, when Weekly Winner is \"Youth Counselor Justin Meece\"?"
} |
### QUESTION
What is the Name of the power station with a Capacity of 25 MW?
### CONTEXT
CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR)
### ANSWER
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25 | {
"answer": "SELECT name FROM table_name_9 WHERE capacity__mw_ = 25",
"context": "CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR)",
"question": "What is the Name of the power station with a Capacity of 25 MW?"
} |
### QUESTION
How many different kinds of reports are there for races that Juan Manuel Fangio won?
### CONTEXT
CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio" | {
"answer": "SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = \"Juan Manuel Fangio\"",
"context": "CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR)",
"question": "How many different kinds of reports are there for races that Juan Manuel Fangio won?"
} |
### QUESTION
Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22?
### CONTEXT
CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = "mapei-bricobi" AND points_classification = "mariano piccoli" AND mountains_classification = "marco pantani" AND stage = "22" | {
"answer": "SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = \"mapei-bricobi\" AND points_classification = \"mariano piccoli\" AND mountains_classification = \"marco pantani\" AND stage = \"22\"",
"context": "CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)",
"question": "Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22?"
} |
### QUESTION
How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288?
### CONTEXT
CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR)
### ANSWER
SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = "united states" AND to_par = "e" AND score = 72 - 75 - 70 - 71 = 288 | {
"answer": "SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = \"united states\" AND to_par = \"e\" AND score = 72 - 75 - 70 - 71 = 288",
"context": "CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR)",
"question": "How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288?"
} |
### QUESTION
In how many weeks was the game played on November 3 played?
### CONTEXT
CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)
### ANSWER
SELECT COUNT(week) FROM table_17869717_1 WHERE date = "November 3" | {
"answer": "SELECT COUNT(week) FROM table_17869717_1 WHERE date = \"November 3\"",
"context": "CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)",
"question": "In how many weeks was the game played on November 3 played?"
} |
### QUESTION
What is the date with geelong as Away team?
### CONTEXT
CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)
### ANSWER
SELECT date FROM table_name_63 WHERE away_team = "geelong" | {
"answer": "SELECT date FROM table_name_63 WHERE away_team = \"geelong\"",
"context": "CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)",
"question": "What is the date with geelong as Away team?"
} |
### QUESTION
What year has Stacy as the category and award of Best Reality Star in Social Media?
### CONTEXT
CREATE TABLE table_name_10 (year INTEGER, category VARCHAR, awards VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_10 WHERE category = "stacy" AND awards = "best reality star in social media" | {
"answer": "SELECT MIN(year) FROM table_name_10 WHERE category = \"stacy\" AND awards = \"best reality star in social media\"",
"context": "CREATE TABLE table_name_10 (year INTEGER, category VARCHAR, awards VARCHAR)",
"question": "What year has Stacy as the category and award of Best Reality Star in Social Media?"
} |
### QUESTION
What Venue on October 27, 2005 had a Score of 5-0?
### CONTEXT
CREATE TABLE table_name_65 (venue VARCHAR, score VARCHAR, date VARCHAR)
### ANSWER
SELECT venue FROM table_name_65 WHERE score = "5-0" AND date = "october 27, 2005" | {
"answer": "SELECT venue FROM table_name_65 WHERE score = \"5-0\" AND date = \"october 27, 2005\"",
"context": "CREATE TABLE table_name_65 (venue VARCHAR, score VARCHAR, date VARCHAR)",
"question": "What Venue on October 27, 2005 had a Score of 5-0?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.