text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?
### CONTEXT
CREATE TABLE airport (id VARCHAR, country VARCHAR, name VARCHAR); CREATE TABLE flight (pilot VARCHAR, airport_id VARCHAR)
### ANSWER
SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'
|
{
"answer": "SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'",
"context": "CREATE TABLE airport (id VARCHAR, country VARCHAR, name VARCHAR); CREATE TABLE flight (pilot VARCHAR, airport_id VARCHAR)",
"question": "What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?"
}
|
### QUESTION
What Japanese title had average ratings at 9.1%?
### CONTEXT
CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR)
### ANSWER
SELECT japanese_title FROM table_name_67 WHERE average_ratings = "9.1%"
|
{
"answer": "SELECT japanese_title FROM table_name_67 WHERE average_ratings = \"9.1%\"",
"context": "CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR)",
"question": "What Japanese title had average ratings at 9.1%?"
}
|
### QUESTION
Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.
### CONTEXT
CREATE TABLE Treatments (dog_id VARCHAR, cost_of_treatment INTEGER); CREATE TABLE Owners (owner_id VARCHAR, zip_code VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, dog_id VARCHAR)
### ANSWER
SELECT T1.owner_id, T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY SUM(T3.cost_of_treatment) DESC LIMIT 1
|
{
"answer": "SELECT T1.owner_id, T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY SUM(T3.cost_of_treatment) DESC LIMIT 1",
"context": "CREATE TABLE Treatments (dog_id VARCHAR, cost_of_treatment INTEGER); CREATE TABLE Owners (owner_id VARCHAR, zip_code VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, dog_id VARCHAR)",
"question": "Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code."
}
|
### QUESTION
How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131?
### CONTEXT
CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR)
### ANSWER
SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = "pearson" AND _percentage_of_popular_vote = "40.2%" AND seats_won < 131
|
{
"answer": "SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = \"pearson\" AND _percentage_of_popular_vote = \"40.2%\" AND seats_won < 131",
"context": "CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR)",
"question": "How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131?"
}
|
### QUESTION
If first elected on 2003 (appt.), when was the term limited?
### CONTEXT
CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR)
### ANSWER
SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)"
|
{
"answer": "SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = \"2003 (Appt.)\"",
"context": "CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR)",
"question": "If first elected on 2003 (appt.), when was the term limited?"
}
|
### QUESTION
Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?
### CONTEXT
CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR)
### ANSWER
SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt"
|
{
"answer": "SELECT mission FROM table_name_47 WHERE launch_date = \"december 30, 1970; 14:50 gmt\"",
"context": "CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR)",
"question": "Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?"
}
|
### QUESTION
Find the total ranking points for each player and their first name.
### CONTEXT
CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
### ANSWER
SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name
|
{
"answer": "SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name",
"context": "CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)",
"question": "Find the total ranking points for each player and their first name."
}
|
### QUESTION
What is the Sweet Potato amount when the soybean amount is 1.65?
### CONTEXT
CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
### ANSWER
SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = "1.65"
|
{
"answer": "SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = \"1.65\"",
"context": "CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)",
"question": "What is the Sweet Potato amount when the soybean amount is 1.65?"
}
|
### QUESTION
What is the sum of the prominence in m of slovakia?
### CONTEXT
CREATE TABLE table_name_39 (prominence__m_ INTEGER, country VARCHAR)
### ANSWER
SELECT SUM(prominence__m_) FROM table_name_39 WHERE country = "slovakia"
|
{
"answer": "SELECT SUM(prominence__m_) FROM table_name_39 WHERE country = \"slovakia\"",
"context": "CREATE TABLE table_name_39 (prominence__m_ INTEGER, country VARCHAR)",
"question": "What is the sum of the prominence in m of slovakia?"
}
|
### QUESTION
How many hometowns does the catcher have?
### CONTEXT
CREATE TABLE table_11677100_15 (hometown VARCHAR, position VARCHAR)
### ANSWER
SELECT COUNT(hometown) FROM table_11677100_15 WHERE position = "Catcher"
|
{
"answer": "SELECT COUNT(hometown) FROM table_11677100_15 WHERE position = \"Catcher\"",
"context": "CREATE TABLE table_11677100_15 (hometown VARCHAR, position VARCHAR)",
"question": "How many hometowns does the catcher have?"
}
|
### QUESTION
Who is the color commentator for ESPN from 1990 to 1992?
### CONTEXT
CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR)
### ANSWER
SELECT color_commentator_s_ FROM table_name_70 WHERE network = "espn"
|
{
"answer": "SELECT color_commentator_s_ FROM table_name_70 WHERE network = \"espn\"",
"context": "CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR)",
"question": "Who is the color commentator for ESPN from 1990 to 1992?"
}
|
### QUESTION
Name the date of vacancy for manuel pellegrini
### CONTEXT
CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = "Manuel Pellegrini"
|
{
"answer": "SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = \"Manuel Pellegrini\"",
"context": "CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)",
"question": "Name the date of vacancy for manuel pellegrini"
}
|
### QUESTION
how many candidates with party being democratic and dbeingtrict being new york5
### CONTEXT
CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR)
### ANSWER
SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = "Democratic" AND district = "New York5"
|
{
"answer": "SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = \"Democratic\" AND district = \"New York5\"",
"context": "CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR)",
"question": " how many candidates with party being democratic and dbeingtrict being new york5"
}
|
### QUESTION
How many sprints classifications were associated with an overall winner of Joaquin Rodriguez?
### CONTEXT
CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT COUNT(sprints_classification) FROM table_26257223_13 WHERE winner = "Joaquin Rodriguez"
|
{
"answer": "SELECT COUNT(sprints_classification) FROM table_26257223_13 WHERE winner = \"Joaquin Rodriguez\"",
"context": "CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR)",
"question": "How many sprints classifications were associated with an overall winner of Joaquin Rodriguez?"
}
|
### QUESTION
What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?
### CONTEXT
CREATE TABLE Countries (countryId VARCHAR, CountryName VARCHAR, CountryId VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)
### ANSWER
SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING COUNT(*) > 3 UNION SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat'
|
{
"answer": "SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING COUNT(*) > 3 UNION SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model = 'fiat'",
"context": "CREATE TABLE Countries (countryId VARCHAR, CountryName VARCHAR, CountryId VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)",
"question": "What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?"
}
|
### QUESTION
Find the id of courses which are registered or attended by student whose id is 121?
### CONTEXT
CREATE TABLE student_course_attendance (course_id VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)
### ANSWER
SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121
|
{
"answer": "SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121",
"context": "CREATE TABLE student_course_attendance (course_id VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)",
"question": "Find the id of courses which are registered or attended by student whose id is 121?"
}
|
### QUESTION
Show the names of the buildings that have more than one company offices.
### CONTEXT
CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR)
### ANSWER
SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id HAVING COUNT(*) > 1
|
{
"answer": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR)",
"question": "Show the names of the buildings that have more than one company offices."
}
|
### QUESTION
What are the average spectators from the Group H Round?
### CONTEXT
CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR)
### ANSWER
SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"
|
{
"answer": "SELECT AVG(spectators) FROM table_name_60 WHERE round = \"group h\"",
"context": "CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR)",
"question": "What are the average spectators from the Group H Round?"
}
|
### QUESTION
Find the id and local authority of the station with has the highest average high temperature.
### CONTEXT
CREATE TABLE weekly_weather (station_id VARCHAR); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)
### ANSWER
SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1
|
{
"answer": "SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1",
"context": "CREATE TABLE weekly_weather (station_id VARCHAR); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)",
"question": "Find the id and local authority of the station with has the highest average high temperature."
}
|
### QUESTION
Name the tournament for outcome of winner and clay surface with opponent of aranza salut
### CONTEXT
CREATE TABLE table_name_61 (tournament VARCHAR, opponent VARCHAR, outcome VARCHAR, surface VARCHAR)
### ANSWER
SELECT tournament FROM table_name_61 WHERE outcome = "winner" AND surface = "clay" AND opponent = "aranza salut"
|
{
"answer": "SELECT tournament FROM table_name_61 WHERE outcome = \"winner\" AND surface = \"clay\" AND opponent = \"aranza salut\"",
"context": "CREATE TABLE table_name_61 (tournament VARCHAR, opponent VARCHAR, outcome VARCHAR, surface VARCHAR)",
"question": "Name the tournament for outcome of winner and clay surface with opponent of aranza salut"
}
|
### QUESTION
What is the total number of regions where the average family size is 2.8?
### CONTEXT
CREATE TABLE table_16048129_5 (_percentage_of_total_deportees VARCHAR, average_family_size VARCHAR)
### ANSWER
SELECT COUNT(_percentage_of_total_deportees) FROM table_16048129_5 WHERE average_family_size = "2.8"
|
{
"answer": "SELECT COUNT(_percentage_of_total_deportees) FROM table_16048129_5 WHERE average_family_size = \"2.8\"",
"context": "CREATE TABLE table_16048129_5 (_percentage_of_total_deportees VARCHAR, average_family_size VARCHAR)",
"question": "What is the total number of regions where the average family size is 2.8?"
}
|
### QUESTION
What is the episode number of the episode broadcast on 21 September 2001?
### CONTEXT
CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR)
### ANSWER
SELECT episode_number FROM table_name_79 WHERE broadcast_date = "21 september 2001"
|
{
"answer": "SELECT episode_number FROM table_name_79 WHERE broadcast_date = \"21 september 2001\"",
"context": "CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR)",
"question": "What is the episode number of the episode broadcast on 21 September 2001?"
}
|
### QUESTION
Who had highest assists at game on December 21?
### CONTEXT
CREATE TABLE table_27723526_9 (high_assists VARCHAR, date VARCHAR)
### ANSWER
SELECT COUNT(high_assists) FROM table_27723526_9 WHERE date = "December 21"
|
{
"answer": "SELECT COUNT(high_assists) FROM table_27723526_9 WHERE date = \"December 21\"",
"context": "CREATE TABLE table_27723526_9 (high_assists VARCHAR, date VARCHAR)",
"question": "Who had highest assists at game on December 21?"
}
|
### QUESTION
What was the school type for Los Angeles, California?
### CONTEXT
CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR)
### ANSWER
SELECT type FROM table_name_51 WHERE location = "los angeles, california"
|
{
"answer": "SELECT type FROM table_name_51 WHERE location = \"los angeles, california\"",
"context": "CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR)",
"question": "What was the school type for Los Angeles, California?"
}
|
### QUESTION
What is the listed crowd when hawthorn is away?
### CONTEXT
CREATE TABLE table_name_72 (crowd VARCHAR, away_team VARCHAR)
### ANSWER
SELECT COUNT(crowd) FROM table_name_72 WHERE away_team = "hawthorn"
|
{
"answer": "SELECT COUNT(crowd) FROM table_name_72 WHERE away_team = \"hawthorn\"",
"context": "CREATE TABLE table_name_72 (crowd VARCHAR, away_team VARCHAR)",
"question": "What is the listed crowd when hawthorn is away?"
}
|
### QUESTION
Find the names of all stores in Khanewal District.
### CONTEXT
CREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
### ANSWER
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District"
|
{
"answer": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = \"Khanewal District\"",
"context": "CREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)",
"question": "Find the names of all stores in Khanewal District."
}
|
### QUESTION
In which condition(s) is bleeding time prolonged and prothrombin time unaffected?
### CONTEXT
CREATE TABLE table_1555308_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
### ANSWER
SELECT condition FROM table_1555308_1 WHERE bleeding_time = "Prolonged" AND prothrombin_time = "Unaffected"
|
{
"answer": "SELECT condition FROM table_1555308_1 WHERE bleeding_time = \"Prolonged\" AND prothrombin_time = \"Unaffected\"",
"context": "CREATE TABLE table_1555308_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)",
"question": "In which condition(s) is bleeding time prolonged and prothrombin time unaffected?"
}
|
### QUESTION
Show the name of the building that has the most company offices.
### CONTEXT
CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR)
### ANSWER
SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR)",
"question": "Show the name of the building that has the most company offices."
}
|
### QUESTION
What is Wayne Grady's total?
### CONTEXT
CREATE TABLE table_name_93 (total INTEGER, player VARCHAR)
### ANSWER
SELECT SUM(total) FROM table_name_93 WHERE player = "wayne grady"
|
{
"answer": "SELECT SUM(total) FROM table_name_93 WHERE player = \"wayne grady\"",
"context": "CREATE TABLE table_name_93 (total INTEGER, player VARCHAR)",
"question": "What is Wayne Grady's total?"
}
|
### QUESTION
Tell me the highest interview for north carolina and evening gown more than 7.68
### CONTEXT
CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)
### ANSWER
SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68
|
{
"answer": "SELECT MAX(interview) FROM table_name_19 WHERE state = \"north carolina\" AND evening_gown > 7.68",
"context": "CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)",
"question": "Tell me the highest interview for north carolina and evening gown more than 7.68"
}
|
### QUESTION
Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv?
### CONTEXT
CREATE TABLE table_name_16 (years VARCHAR, free_or_pay VARCHAR, transmission VARCHAR, on_demand VARCHAR)
### ANSWER
SELECT years FROM table_name_16 WHERE transmission = "digital satellite" AND on_demand = "no" AND free_or_pay = "free + ppv"
|
{
"answer": "SELECT years FROM table_name_16 WHERE transmission = \"digital satellite\" AND on_demand = \"no\" AND free_or_pay = \"free + ppv\"",
"context": "CREATE TABLE table_name_16 (years VARCHAR, free_or_pay VARCHAR, transmission VARCHAR, on_demand VARCHAR)",
"question": "Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv?"
}
|
### QUESTION
When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?
### CONTEXT
CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR)
### ANSWER
SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS 5306-A Manual Synchromesh 6 Speed"
|
{
"answer": "SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = \"Eaton FS 5306-A Manual Synchromesh 6 Speed\"",
"context": "CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR)",
"question": "When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?"
}
|
### QUESTION
Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta?
### CONTEXT
CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta"
|
{
"answer": "SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = \"cristiano da matta\"",
"context": "CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)",
"question": "Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta?"
}
|
### QUESTION
List the names of countries whose language is not "German".
### CONTEXT
CREATE TABLE country (Name VARCHAR, Languages VARCHAR)
### ANSWER
SELECT Name FROM country WHERE Languages <> "German"
|
{
"answer": "SELECT Name FROM country WHERE Languages <> \"German\"",
"context": "CREATE TABLE country (Name VARCHAR, Languages VARCHAR)",
"question": "List the names of countries whose language is not \"German\"."
}
|
### QUESTION
When did the no. 23 show originally air?
### CONTEXT
CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR)
### ANSWER
SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23
|
{
"answer": "SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23",
"context": "CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR)",
"question": "When did the no. 23 show originally air?"
}
|
### QUESTION
Which Winner has a Score of 1 – 0, and a Season of 2011–12?
### CONTEXT
CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)
### ANSWER
SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12"
|
{
"answer": "SELECT winner FROM table_name_30 WHERE score = \"1 – 0\" AND season = \"2011–12\"",
"context": "CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)",
"question": "Which Winner has a Score of 1 – 0, and a Season of 2011–12?"
}
|
### QUESTION
What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?
### CONTEXT
CREATE TABLE table_name_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR)
### ANSWER
SELECT music FROM table_name_35 WHERE team = "anna guzik & rafał kamiński" AND points_jury = "24 (7,5,6,6)"
|
{
"answer": "SELECT music FROM table_name_35 WHERE team = \"anna guzik & rafał kamiński\" AND points_jury = \"24 (7,5,6,6)\"",
"context": "CREATE TABLE table_name_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR)",
"question": "What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?"
}
|
### QUESTION
What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85?
### CONTEXT
CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)
### ANSWER
SELECT AVG(area__km_2__) FROM table_name_14 WHERE density__inhabitants_km_2__ < 206.2 AND altitude__mslm_ < 85
|
{
"answer": "SELECT AVG(area__km_2__) FROM table_name_14 WHERE density__inhabitants_km_2__ < 206.2 AND altitude__mslm_ < 85",
"context": "CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)",
"question": "What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85?"
}
|
### QUESTION
What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji?
### CONTEXT
CREATE TABLE table_name_79 (last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR)
### ANSWER
SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = "fiji"
|
{
"answer": "SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = \"fiji\"",
"context": "CREATE TABLE table_name_79 (last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR)",
"question": "What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji?"
}
|
### QUESTION
How many values when the bearing or degrees is 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5?
### CONTEXT
CREATE TABLE table_23406517_2 (bearing___degrees VARCHAR)
### ANSWER
SELECT COUNT(*) FROM table_23406517_2 WHERE bearing___degrees = "67.6 - 82.5 82.6 - 97.5 97.6 - 112.5"
|
{
"answer": "SELECT COUNT(*) FROM table_23406517_2 WHERE bearing___degrees = \"67.6 - 82.5 82.6 - 97.5 97.6 - 112.5\"",
"context": "CREATE TABLE table_23406517_2 (bearing___degrees VARCHAR)",
"question": "How many values when the bearing or degrees is 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5?"
}
|
### QUESTION
Who had all the high rebounds when kevin love (20) scored the highest points?
### CONTEXT
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_rebounds FROM table_17058226_5 WHERE high_points = "Kevin Love (20)"
|
{
"answer": "SELECT high_rebounds FROM table_17058226_5 WHERE high_points = \"Kevin Love (20)\"",
"context": "CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_points VARCHAR)",
"question": "Who had all the high rebounds when kevin love (20) scored the highest points?"
}
|
### QUESTION
Tell me the player for pick number less than 29 and mls team of chicago fire
### CONTEXT
CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
### ANSWER
SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = "chicago fire"
|
{
"answer": "SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = \"chicago fire\"",
"context": "CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)",
"question": "Tell me the player for pick number less than 29 and mls team of chicago fire"
}
|
### QUESTION
What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?
### CONTEXT
CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR)
### ANSWER
SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled"
|
{
"answer": "SELECT location FROM table_name_63 WHERE year > 2011 AND president = \"herman van rompuy (2nd term)\" AND date = \"28–29 june\" AND type = \"scheduled\"",
"context": "CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR)",
"question": "What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?"
}
|
### QUESTION
What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses?
### CONTEXT
CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR)
### ANSWER
SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11
|
{
"answer": "SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11",
"context": "CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR)",
"question": "What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses?"
}
|
### QUESTION
What is the Record with a Date with december 9?
### CONTEXT
CREATE TABLE table_name_97 (record VARCHAR, date VARCHAR)
### ANSWER
SELECT record FROM table_name_97 WHERE date = "december 9"
|
{
"answer": "SELECT record FROM table_name_97 WHERE date = \"december 9\"",
"context": "CREATE TABLE table_name_97 (record VARCHAR, date VARCHAR)",
"question": "What is the Record with a Date with december 9?"
}
|
### QUESTION
How much money does the player with a 72-70-71-72=285 score have?
### CONTEXT
CREATE TABLE table_name_54 (money___£__ VARCHAR, score VARCHAR)
### ANSWER
SELECT money___£__ FROM table_name_54 WHERE score = 72 - 70 - 71 - 72 = 285
|
{
"answer": "SELECT money___£__ FROM table_name_54 WHERE score = 72 - 70 - 71 - 72 = 285",
"context": "CREATE TABLE table_name_54 (money___£__ VARCHAR, score VARCHAR)",
"question": "How much money does the player with a 72-70-71-72=285 score have?"
}
|
### QUESTION
Name the club team for overall of 188 for canada
### CONTEXT
CREATE TABLE table_name_72 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
### ANSWER
SELECT club_team FROM table_name_72 WHERE nationality = "canada" AND overall = 188
|
{
"answer": "SELECT club_team FROM table_name_72 WHERE nationality = \"canada\" AND overall = 188",
"context": "CREATE TABLE table_name_72 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)",
"question": "Name the club team for overall of 188 for canada"
}
|
### QUESTION
When was Jonny Leadbeater President?
### CONTEXT
CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)
### ANSWER
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
|
{
"answer": "SELECT season FROM table_16446652_1 WHERE president = \"Jonny Leadbeater\"",
"context": "CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)",
"question": "When was Jonny Leadbeater President?"
}
|
### QUESTION
What is Place, when Year is greater than 2006, and when Champion is "Asvel"?
### CONTEXT
CREATE TABLE table_name_37 (place VARCHAR, year VARCHAR, champion VARCHAR)
### ANSWER
SELECT place FROM table_name_37 WHERE year > 2006 AND champion = "asvel"
|
{
"answer": "SELECT place FROM table_name_37 WHERE year > 2006 AND champion = \"asvel\"",
"context": "CREATE TABLE table_name_37 (place VARCHAR, year VARCHAR, champion VARCHAR)",
"question": "What is Place, when Year is greater than 2006, and when Champion is \"Asvel\"?"
}
|
### QUESTION
Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy".
### CONTEXT
CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR)
### ANSWER
SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" OR t3.service_name = "Upgrade a policy"
|
{
"answer": "SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = \"Close a policy\" OR t3.service_name = \"Upgrade a policy\"",
"context": "CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR)",
"question": "Find the names of customers who have used either the service \"Close a policy\" or the service \"Upgrade a policy\"."
}
|
### QUESTION
What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin?
### CONTEXT
CREATE TABLE table_name_33 (grand_cru VARCHAR, wine_style VARCHAR, village VARCHAR)
### ANSWER
SELECT grand_cru FROM table_name_33 WHERE wine_style = "red wine" AND village = "gevrey-chambertin"
|
{
"answer": "SELECT grand_cru FROM table_name_33 WHERE wine_style = \"red wine\" AND village = \"gevrey-chambertin\"",
"context": "CREATE TABLE table_name_33 (grand_cru VARCHAR, wine_style VARCHAR, village VARCHAR)",
"question": "What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin?"
}
|
### QUESTION
Which Frequency has a Branding of country 600?
### CONTEXT
CREATE TABLE table_name_26 (frequency VARCHAR, branding VARCHAR)
### ANSWER
SELECT frequency FROM table_name_26 WHERE branding = "country 600"
|
{
"answer": "SELECT frequency FROM table_name_26 WHERE branding = \"country 600\"",
"context": "CREATE TABLE table_name_26 (frequency VARCHAR, branding VARCHAR)",
"question": "Which Frequency has a Branding of country 600?"
}
|
### QUESTION
What was the score did phoenix have with a Record of 3–6–0 at home?
### CONTEXT
CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)
### ANSWER
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0"
|
{
"answer": "SELECT score FROM table_name_88 WHERE home = \"phoenix\" AND record = \"3–6–0\"",
"context": "CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)",
"question": "What was the score did phoenix have with a Record of 3–6–0 at home?"
}
|
### QUESTION
When is the Competition of friendly match with a Result of 2–1?
### CONTEXT
CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR)
### ANSWER
SELECT date FROM table_name_47 WHERE competition = "friendly match" AND result = "2–1"
|
{
"answer": "SELECT date FROM table_name_47 WHERE competition = \"friendly match\" AND result = \"2–1\"",
"context": "CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR)",
"question": "When is the Competition of friendly match with a Result of 2–1?"
}
|
### QUESTION
Who are the members of the club named "Hopkins Student Enterprises"? Show the last name.
### CONTEXT
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### ANSWER
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"
|
{
"answer": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\"",
"context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)",
"question": "Who are the members of the club named \"Hopkins Student Enterprises\"? Show the last name."
}
|
### QUESTION
Eduardo Martins is a customer at which company?
### CONTEXT
CREATE TABLE customers (company VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT company FROM customers WHERE first_name = "Eduardo" AND last_name = "Martins"
|
{
"answer": "SELECT company FROM customers WHERE first_name = \"Eduardo\" AND last_name = \"Martins\"",
"context": "CREATE TABLE customers (company VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "Eduardo Martins is a customer at which company?"
}
|
### QUESTION
How many points did landskrona bois get when they were ranked below 18?
### CONTEXT
CREATE TABLE table_name_68 (points VARCHAR, club VARCHAR, rank VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_name_68 WHERE club = "landskrona bois" AND rank < 18
|
{
"answer": "SELECT COUNT(points) FROM table_name_68 WHERE club = \"landskrona bois\" AND rank < 18",
"context": "CREATE TABLE table_name_68 (points VARCHAR, club VARCHAR, rank VARCHAR)",
"question": "How many points did landskrona bois get when they were ranked below 18?"
}
|
### QUESTION
Find the name of the person who has friends with age above 40 but not under age 30?
### CONTEXT
CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)
### ANSWER
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)
|
{
"answer": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)",
"context": "CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)",
"question": "Find the name of the person who has friends with age above 40 but not under age 30?"
}
|
### QUESTION
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
### CONTEXT
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
### ANSWER
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504"
|
{
"answer": "SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = \"4.8\" AND speed__ghz_ = \"2.00\" AND model = \"E5504\"",
"context": "CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)",
"question": "What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?"
}
|
### QUESTION
What is the State with the imsa gt as the Major Series and a track in new orleans?
### CONTEXT
CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR)
### ANSWER
SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans"
|
{
"answer": "SELECT state FROM table_name_23 WHERE major_series = \"imsa gt\" AND track = \"new orleans\"",
"context": "CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR)",
"question": "What is the State with the imsa gt as the Major Series and a track in new orleans?"
}
|
### QUESTION
What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?
### CONTEXT
CREATE TABLE table_name_19 (silver INTEGER, nation VARCHAR, total VARCHAR, rank VARCHAR)
### ANSWER
SELECT SUM(silver) FROM table_name_19 WHERE total < "6" AND rank = "6" AND nation = "bulgaria"
|
{
"answer": "SELECT SUM(silver) FROM table_name_19 WHERE total < \"6\" AND rank = \"6\" AND nation = \"bulgaria\"",
"context": "CREATE TABLE table_name_19 (silver INTEGER, nation VARCHAR, total VARCHAR, rank VARCHAR)",
"question": "What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?"
}
|
### QUESTION
Find the names of Japanese constructors that have once earned more than 5 points?
### CONTEXT
CREATE TABLE constructorstandings (constructorid VARCHAR, points VARCHAR); CREATE TABLE constructors (name VARCHAR, constructorid VARCHAR, nationality VARCHAR)
### ANSWER
SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = "Japanese" AND T2.points > 5
|
{
"answer": "SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = \"Japanese\" AND T2.points > 5",
"context": "CREATE TABLE constructorstandings (constructorid VARCHAR, points VARCHAR); CREATE TABLE constructors (name VARCHAR, constructorid VARCHAR, nationality VARCHAR)",
"question": "Find the names of Japanese constructors that have once earned more than 5 points?"
}
|
### QUESTION
What is the code of airport that has the highest number of flights?
### CONTEXT
CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
### ANSWER
SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)",
"question": "What is the code of airport that has the highest number of flights?"
}
|
### QUESTION
What Home team plays at the princes park Venue?
### CONTEXT
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team FROM table_name_29 WHERE venue = "princes park"
|
{
"answer": "SELECT home_team FROM table_name_29 WHERE venue = \"princes park\"",
"context": "CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)",
"question": "What Home team plays at the princes park Venue?"
}
|
### QUESTION
What was the final score of the player from Inglewood, California?
### CONTEXT
CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR)
### ANSWER
SELECT score FROM table_name_14 WHERE city = "inglewood, california"
|
{
"answer": "SELECT score FROM table_name_14 WHERE city = \"inglewood, california\"",
"context": "CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR)",
"question": "What was the final score of the player from Inglewood, California?"
}
|
### QUESTION
What position is played by farmar, jordan jordan farmar?
### CONTEXT
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
### ANSWER
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
|
{
"answer": "SELECT position FROM table_name_29 WHERE player = \"farmar, jordan jordan farmar\"",
"context": "CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)",
"question": "What position is played by farmar, jordan jordan farmar?"
}
|
### QUESTION
Who was the winner in stage 7 with a general classification of Pavel Tonkov?
### CONTEXT
CREATE TABLE table_name_97 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT winner FROM table_name_97 WHERE general_classification = "pavel tonkov" AND stage = "7"
|
{
"answer": "SELECT winner FROM table_name_97 WHERE general_classification = \"pavel tonkov\" AND stage = \"7\"",
"context": "CREATE TABLE table_name_97 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)",
"question": "Who was the winner in stage 7 with a general classification of Pavel Tonkov?"
}
|
### QUESTION
What is the total dist with Johnny Murtagh and less than 26 runners?
### CONTEXT
CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR)
### ANSWER
SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26
|
{
"answer": "SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = \"johnny murtagh\" AND runners < 26",
"context": "CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR)",
"question": "What is the total dist with Johnny Murtagh and less than 26 runners?"
}
|
### QUESTION
Show the names of high schoolers who have at least 3 friends.
### CONTEXT
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
### ANSWER
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3
|
{
"answer": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3",
"context": "CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)",
"question": "Show the names of high schoolers who have at least 3 friends."
}
|
### QUESTION
When is the appointment date for outgoing manager Petrik Sander?
### CONTEXT
CREATE TABLE table_name_60 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
### ANSWER
SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager = "petrik sander"
|
{
"answer": "SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager = \"petrik sander\"",
"context": "CREATE TABLE table_name_60 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)",
"question": "When is the appointment date for outgoing manager Petrik Sander?"
}
|
### QUESTION
Which township has a longitude of -98.741656?
### CONTEXT
CREATE TABLE table_18600760_12 (township VARCHAR, longitude VARCHAR)
### ANSWER
SELECT township FROM table_18600760_12 WHERE longitude = "-98.741656"
|
{
"answer": "SELECT township FROM table_18600760_12 WHERE longitude = \"-98.741656\"",
"context": "CREATE TABLE table_18600760_12 (township VARCHAR, longitude VARCHAR)",
"question": "Which township has a longitude of -98.741656?"
}
|
### QUESTION
What are the death and injury situations caused by the ship with tonnage 't'?
### CONTEXT
CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)
### ANSWER
SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'
|
{
"answer": "SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'",
"context": "CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)",
"question": "What are the death and injury situations caused by the ship with tonnage 't'?"
}
|
### QUESTION
For all games with calgary as home, what is the average number of attendees?
### CONTEXT
CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)
### ANSWER
SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary"
|
{
"answer": "SELECT AVG(attendance) FROM table_name_1 WHERE home = \"calgary\"",
"context": "CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)",
"question": "For all games with calgary as home, what is the average number of attendees?"
}
|
### QUESTION
Name province of 1936 viana do castelo
### CONTEXT
CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR)
### ANSWER
SELECT province_of_1936 FROM table_221375_1 WHERE district = "Viana do Castelo"
|
{
"answer": "SELECT province_of_1936 FROM table_221375_1 WHERE district = \"Viana do Castelo\"",
"context": "CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR)",
"question": "Name province of 1936 viana do castelo"
}
|
### QUESTION
Which Team has a Pick # of 148?
### CONTEXT
CREATE TABLE table_name_59 (team_from VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT team_from FROM table_name_59 WHERE pick__number = 148
|
{
"answer": "SELECT team_from FROM table_name_59 WHERE pick__number = 148",
"context": "CREATE TABLE table_name_59 (team_from VARCHAR, pick__number VARCHAR)",
"question": "Which Team has a Pick # of 148?"
}
|
### QUESTION
What is the full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?
### CONTEXT
CREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR)
### ANSWER
SELECT DISTINCT T1.first_name, T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id = T2.staff_id JOIN customer AS T3 ON T2.customer_id = T3.customer_id WHERE T3.first_name = 'APRIL' AND T3.last_name = 'BURNS'
|
{
"answer": "SELECT DISTINCT T1.first_name, T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id = T2.staff_id JOIN customer AS T3 ON T2.customer_id = T3.customer_id WHERE T3.first_name = 'APRIL' AND T3.last_name = 'BURNS'",
"context": "CREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR)",
"question": "What is the full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?"
}
|
### QUESTION
What is the Date for the game at michie stadium • west point, ny?
### CONTEXT
CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR)
### ANSWER
SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny"
|
{
"answer": "SELECT date FROM table_name_80 WHERE location = \"michie stadium • west point, ny\"",
"context": "CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR)",
"question": "What is the Date for the game at michie stadium • west point, ny?"
}
|
### QUESTION
What is the call sign for 90.9 FM which is in Florida?
### CONTEXT
CREATE TABLE table_name_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR)
### ANSWER
SELECT call_sign FROM table_name_87 WHERE state = "florida" AND frequency = "90.9 fm"
|
{
"answer": "SELECT call_sign FROM table_name_87 WHERE state = \"florida\" AND frequency = \"90.9 fm\"",
"context": "CREATE TABLE table_name_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR)",
"question": "What is the call sign for 90.9 FM which is in Florida?"
}
|
### QUESTION
When Fabrizio Baldassari is the runner-up what is the total prize money?
### CONTEXT
CREATE TABLE table_12454156_1 (prize_money VARCHAR, runner_up VARCHAR)
### ANSWER
SELECT prize_money FROM table_12454156_1 WHERE runner_up = "Fabrizio Baldassari"
|
{
"answer": "SELECT prize_money FROM table_12454156_1 WHERE runner_up = \"Fabrizio Baldassari\"",
"context": "CREATE TABLE table_12454156_1 (prize_money VARCHAR, runner_up VARCHAR)",
"question": "When Fabrizio Baldassari is the runner-up what is the total prize money?"
}
|
### QUESTION
what is the location when the year is less than 1998 and the international captain is david graham?
### CONTEXT
CREATE TABLE table_name_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR)
### ANSWER
SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = "david graham"
|
{
"answer": "SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = \"david graham\"",
"context": "CREATE TABLE table_name_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR)",
"question": "what is the location when the year is less than 1998 and the international captain is david graham?"
}
|
### QUESTION
Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?
### CONTEXT
CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70
|
{
"answer": "SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = \"2006–07\" AND games < 70",
"context": "CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)",
"question": "Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?"
}
|
### QUESTION
Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0
### CONTEXT
CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
### ANSWER
SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = "france" AND gold > 0
|
{
"answer": "SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = \"france\" AND gold > 0",
"context": "CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)",
"question": "Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0"
}
|
### QUESTION
What is the description of the type of the company who concluded its contracts most recently?
### CONTEXT
CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR, contract_end_date VARCHAR); CREATE TABLE Third_Party_Companies (company_name VARCHAR, company_id VARCHAR, company_type_code VARCHAR); CREATE TABLE Ref_Company_Types (company_type_code VARCHAR)
### ANSWER
SELECT T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Contracts AS T2 ON T1.company_id = T2.maintenance_contract_company_id JOIN Ref_Company_Types AS T3 ON T1.company_type_code = T3.company_type_code ORDER BY T2.contract_end_date DESC LIMIT 1
|
{
"answer": "SELECT T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Contracts AS T2 ON T1.company_id = T2.maintenance_contract_company_id JOIN Ref_Company_Types AS T3 ON T1.company_type_code = T3.company_type_code ORDER BY T2.contract_end_date DESC LIMIT 1",
"context": "CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR, contract_end_date VARCHAR); CREATE TABLE Third_Party_Companies (company_name VARCHAR, company_id VARCHAR, company_type_code VARCHAR); CREATE TABLE Ref_Company_Types (company_type_code VARCHAR)",
"question": "What is the description of the type of the company who concluded its contracts most recently?"
}
|
### QUESTION
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?
### CONTEXT
CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
### ANSWER
SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2
|
{
"answer": "SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = \"qatar\" AND bronze > 2",
"context": "CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)",
"question": "What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?"
}
|
### QUESTION
How many players received high points where location/attendance was UIC Pavilion 6,304 respectively?
### CONTEXT
CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = "UIC Pavilion 6,304"
|
{
"answer": "SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = \"UIC Pavilion 6,304\"",
"context": "CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR)",
"question": "How many players received high points where location/attendance was UIC Pavilion 6,304 respectively?"
}
|
### QUESTION
what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey?
### CONTEXT
CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR)
### ANSWER
SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = "kettering rec center" AND team_website = "dayton hockey"
|
{
"answer": "SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = \"kettering rec center\" AND team_website = \"dayton hockey\"",
"context": "CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR)",
"question": "what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey?"
}
|
### QUESTION
What is the name of the young rider classification when Paolo Tiralongo won?
### CONTEXT
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Paolo Tiralongo"
|
{
"answer": "SELECT young_rider_classification FROM table_28538368_2 WHERE winner = \"Paolo Tiralongo\"",
"context": "CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)",
"question": "What is the name of the young rider classification when Paolo Tiralongo won?"
}
|
### QUESTION
What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?
### CONTEXT
CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
### ANSWER
SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = "hank pfister sherwood stewart"
|
{
"answer": "SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = \"hank pfister sherwood stewart\"",
"context": "CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)",
"question": "What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?"
}
|
### QUESTION
What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?
### CONTEXT
CREATE TABLE table_name_14 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
### ANSWER
SELECT MIN(events) FROM table_name_14 WHERE cuts_made = 17 AND top_25 < 8
|
{
"answer": "SELECT MIN(events) FROM table_name_14 WHERE cuts_made = 17 AND top_25 < 8",
"context": "CREATE TABLE table_name_14 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR)",
"question": "What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?"
}
|
### QUESTION
Which distinct car models are the produced after 1980?
### CONTEXT
CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)
### ANSWER
SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980
|
{
"answer": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980",
"context": "CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)",
"question": "Which distinct car models are the produced after 1980?"
}
|
### QUESTION
What is the value scored when there were 19 points for the team 3 de Febrero?
### CONTEXT
CREATE TABLE table_14871601_2 (scored INTEGER, points VARCHAR, team VARCHAR)
### ANSWER
SELECT MAX(scored) FROM table_14871601_2 WHERE points = 19 AND team = "3 de Febrero"
|
{
"answer": "SELECT MAX(scored) FROM table_14871601_2 WHERE points = 19 AND team = \"3 de Febrero\"",
"context": "CREATE TABLE table_14871601_2 (scored INTEGER, points VARCHAR, team VARCHAR)",
"question": "What is the value scored when there were 19 points for the team 3 de Febrero?"
}
|
### QUESTION
What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
### CONTEXT
CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)
### ANSWER
SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400"
|
{
"answer": "SELECT torque FROM table_name_97 WHERE engine_code = \"n46b20\" AND power = \"ps (kw; hp)@6400\"",
"context": "CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)",
"question": "What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?"
}
|
### QUESTION
What is the height of the person whose position is Libero?
### CONTEXT
CREATE TABLE table_name_15 (height INTEGER, position VARCHAR)
### ANSWER
SELECT MAX(height) FROM table_name_15 WHERE position = "libero"
|
{
"answer": "SELECT MAX(height) FROM table_name_15 WHERE position = \"libero\"",
"context": "CREATE TABLE table_name_15 (height INTEGER, position VARCHAR)",
"question": "What is the height of the person whose position is Libero?"
}
|
### QUESTION
What was the 2008 result associated with a 2009 of A and a 2011 of 2R?
### CONTEXT
CREATE TABLE table_name_36 (Id VARCHAR)
### ANSWER
SELECT 2008 FROM table_name_36 WHERE 2009 = "a" AND 2011 = "2r"
|
{
"answer": "SELECT 2008 FROM table_name_36 WHERE 2009 = \"a\" AND 2011 = \"2r\"",
"context": "CREATE TABLE table_name_36 (Id VARCHAR)",
"question": "What was the 2008 result associated with a 2009 of A and a 2011 of 2R?"
}
|
### QUESTION
What is the year when the performance is 60.73m and the age (years) is more than 45?
### CONTEXT
CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_85 WHERE performance = "60.73m" AND age__years_ > 45
|
{
"answer": "SELECT COUNT(year) FROM table_name_85 WHERE performance = \"60.73m\" AND age__years_ > 45",
"context": "CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR)",
"question": "What is the year when the performance is 60.73m and the age (years) is more than 45?"
}
|
### QUESTION
What numbered episode was directed by greg colton and written by patrick meighan?
### CONTEXT
CREATE TABLE table_28210383_1 (no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)
### ANSWER
SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = "Greg Colton" AND written_by = "Patrick Meighan"
|
{
"answer": "SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = \"Greg Colton\" AND written_by = \"Patrick Meighan\"",
"context": "CREATE TABLE table_28210383_1 (no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)",
"question": "What numbered episode was directed by greg colton and written by patrick meighan?"
}
|
### QUESTION
Where is the area of operation that had drilling during the year 1999?
### CONTEXT
CREATE TABLE table_name_19 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)
### ANSWER
SELECT area_of_operation FROM table_name_19 WHERE services = "drilling" AND years_of_operation = "1999"
|
{
"answer": "SELECT area_of_operation FROM table_name_19 WHERE services = \"drilling\" AND years_of_operation = \"1999\"",
"context": "CREATE TABLE table_name_19 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)",
"question": "Where is the area of operation that had drilling during the year 1999?"
}
|
### QUESTION
Find all the female members of club "Bootup Baltimore". Show the first name and last name.
### CONTEXT
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### ANSWER
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F"
|
{
"answer": "SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Bootup Baltimore\" AND t3.sex = \"F\"",
"context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)",
"question": "Find all the female members of club \"Bootup Baltimore\". Show the first name and last name."
}
|
### QUESTION
Which rd. occurred on 22 October?
### CONTEXT
CREATE TABLE table_1137718_2 (rd INTEGER, date VARCHAR)
### ANSWER
SELECT MIN(rd) FROM table_1137718_2 WHERE date = "22 October"
|
{
"answer": "SELECT MIN(rd) FROM table_1137718_2 WHERE date = \"22 October\"",
"context": "CREATE TABLE table_1137718_2 (rd INTEGER, date VARCHAR)",
"question": "Which rd. occurred on 22 October?"
}
|
### QUESTION
What is China's International tourism expenditure (2011)?
### CONTEXT
CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)
### ANSWER
SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china"
|
{
"answer": "SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = \"china\"",
"context": "CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)",
"question": "What is China's International tourism expenditure (2011)?"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.