text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Name the player for 1945 for player
### CONTEXT
CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR)
### ANSWER
SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player" | {
"answer": "SELECT \"player\" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = \"player\"",
"context": "CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR)",
"question": "Name the player for 1945 for player"
} |
### QUESTION
List the project details of the projects with the research outcome described with the substring 'Published'.
### CONTEXT
CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
### ANSWER
SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%' | {
"answer": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%'",
"context": "CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)",
"question": "List the project details of the projects with the research outcome described with the substring 'Published'."
} |
### QUESTION
When was the callback audition date for the audition city from the episode aired on February 2, 2011?
### CONTEXT
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)
### ANSWER
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011" | {
"answer": "SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = \"February 2, 2011\"",
"context": "CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)",
"question": "When was the callback audition date for the audition city from the episode aired on February 2, 2011?"
} |
### QUESTION
What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX?
### CONTEXT
CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)
### ANSWER
SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = "1943-44" AND number_of_seasons_in_liga_mx > 89 | {
"answer": "SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = \"1943-44\" AND number_of_seasons_in_liga_mx > 89",
"context": "CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)",
"question": "What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX?"
} |
### QUESTION
What is the highest S No, when the Match Date is Nov 1, 2003?
### CONTEXT
CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR)
### ANSWER
SELECT MAX(s_no) FROM table_name_8 WHERE match_date = "nov 1, 2003" | {
"answer": "SELECT MAX(s_no) FROM table_name_8 WHERE match_date = \"nov 1, 2003\"",
"context": "CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR)",
"question": "What is the highest S No, when the Match Date is Nov 1, 2003?"
} |
### QUESTION
What is the p max (bar) in the pistol where the chambering is .45 ACP?
### CONTEXT
CREATE TABLE table_26967904_1 (p_max___bar__ INTEGER, chambering VARCHAR)
### ANSWER
SELECT MAX(p_max___bar__) FROM table_26967904_1 WHERE chambering = ".45 ACP" | {
"answer": "SELECT MAX(p_max___bar__) FROM table_26967904_1 WHERE chambering = \".45 ACP\"",
"context": "CREATE TABLE table_26967904_1 (p_max___bar__ INTEGER, chambering VARCHAR)",
"question": "What is the p max (bar) in the pistol where the chambering is .45 ACP?"
} |
### QUESTION
What college has a position of defensive line and Grant high school?
### CONTEXT
CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR)
### ANSWER
SELECT college FROM table_name_5 WHERE position = "defensive line" AND school = "grant high school" | {
"answer": "SELECT college FROM table_name_5 WHERE position = \"defensive line\" AND school = \"grant high school\"",
"context": "CREATE TABLE table_name_5 (college VARCHAR, position VARCHAR, school VARCHAR)",
"question": "What college has a position of defensive line and Grant high school?"
} |
### QUESTION
Find the name of the ships that have more than one captain.
### CONTEXT
CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR)
### ANSWER
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1 | {
"answer": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR)",
"question": "Find the name of the ships that have more than one captain."
} |
### QUESTION
For model volvo, how many cylinders does the car with the least accelerate have?
### CONTEXT
CREATE TABLE CARS_DATA (cylinders VARCHAR, Id VARCHAR, accelerate VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Model VARCHAR)
### ANSWER
SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate LIMIT 1 | {
"answer": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate LIMIT 1",
"context": "CREATE TABLE CARS_DATA (cylinders VARCHAR, Id VARCHAR, accelerate VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Model VARCHAR)",
"question": "For model volvo, how many cylinders does the car with the least accelerate have?"
} |
### QUESTION
Which episode number drew in 3.35 million viewers in the United States?
### CONTEXT
CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)
### ANSWER
SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.35" | {
"answer": "SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = \"3.35\"",
"context": "CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)",
"question": "Which episode number drew in 3.35 million viewers in the United States?"
} |
### QUESTION
If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts?
### CONTEXT
CREATE TABLE table_name_58 (wkts INTEGER, ovrs VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(wkts) FROM table_name_58 WHERE ovrs < 28.5 AND player = "adam voges" | {
"answer": "SELECT MAX(wkts) FROM table_name_58 WHERE ovrs < 28.5 AND player = \"adam voges\"",
"context": "CREATE TABLE table_name_58 (wkts INTEGER, ovrs VARCHAR, player VARCHAR)",
"question": "If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts?"
} |
### QUESTION
Tell me the Grantee for san ysidro
### CONTEXT
CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR)
### ANSWER
SELECT grantee FROM table_name_34 WHERE concession = "san ysidro" | {
"answer": "SELECT grantee FROM table_name_34 WHERE concession = \"san ysidro\"",
"context": "CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR)",
"question": "Tell me the Grantee for san ysidro"
} |
### QUESTION
What are the quarterfinalists when the runner up is andrew pattison?
### CONTEXT
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
### ANSWER
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison" | {
"answer": "SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = \"Andrew Pattison\"",
"context": "CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)",
"question": "What are the quarterfinalists when the runner up is andrew pattison?"
} |
### QUESTION
What week #(s featured sara bareilles as the original artist?
### CONTEXT
CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR)
### ANSWER
SELECT week__number FROM table_21501564_1 WHERE original_artist = "Sara Bareilles" | {
"answer": "SELECT week__number FROM table_21501564_1 WHERE original_artist = \"Sara Bareilles\"",
"context": "CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR)",
"question": "What week #(s featured sara bareilles as the original artist?"
} |
### QUESTION
Can you tell me the highest Cargo traffic that has the Airport of barcelona airport, and the Aircraft movements smaller than 290,004?
### CONTEXT
CREATE TABLE table_name_82 (cargo_traffic INTEGER, airport VARCHAR, aircraft_movements VARCHAR)
### ANSWER
SELECT MAX(cargo_traffic) FROM table_name_82 WHERE airport = "barcelona airport" AND aircraft_movements < 290 OFFSET 004 | {
"answer": "SELECT MAX(cargo_traffic) FROM table_name_82 WHERE airport = \"barcelona airport\" AND aircraft_movements < 290 OFFSET 004",
"context": "CREATE TABLE table_name_82 (cargo_traffic INTEGER, airport VARCHAR, aircraft_movements VARCHAR)",
"question": "Can you tell me the highest Cargo traffic that has the Airport of barcelona airport, and the Aircraft movements smaller than 290,004?"
} |
### QUESTION
How many times was the rank (csa) was (msa 348)?
### CONTEXT
CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)
### ANSWER
SELECT COUNT(*) FROM table_12720275_1 WHERE rank__csa_ = "(MSA 348)" | {
"answer": "SELECT COUNT(*) FROM table_12720275_1 WHERE rank__csa_ = \"(MSA 348)\"",
"context": "CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)",
"question": "How many times was the rank (csa) was (msa 348)?"
} |
### QUESTION
Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest?
### CONTEXT
CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_70 WHERE general_classification = "tony rominger" AND winner = "maurizio fondriest" | {
"answer": "SELECT mountains_classification FROM table_name_70 WHERE general_classification = \"tony rominger\" AND winner = \"maurizio fondriest\"",
"context": "CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)",
"question": "Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest?"
} |
### QUESTION
Give the most points that features jordan 194 in the Chassis column.
### CONTEXT
CREATE TABLE table_name_64 (points INTEGER, chassis VARCHAR)
### ANSWER
SELECT MAX(points) FROM table_name_64 WHERE chassis = "jordan 194" | {
"answer": "SELECT MAX(points) FROM table_name_64 WHERE chassis = \"jordan 194\"",
"context": "CREATE TABLE table_name_64 (points INTEGER, chassis VARCHAR)",
"question": "Give the most points that features jordan 194 in the Chassis column."
} |
### QUESTION
Tell me the call sign for frequency of 0 97.3 fm
### CONTEXT
CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
### ANSWER
SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm" | {
"answer": "SELECT call_sign FROM table_name_67 WHERE frequency = \"0 97.3 fm\"",
"context": "CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)",
"question": "Tell me the call sign for frequency of 0 97.3 fm"
} |
### QUESTION
What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
### CONTEXT
CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR)
### ANSWER
SELECT AVG(gold) FROM table_name_65 WHERE nation = "uzbekistan" AND total < 24 | {
"answer": "SELECT AVG(gold) FROM table_name_65 WHERE nation = \"uzbekistan\" AND total < 24",
"context": "CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR)",
"question": "What is the average gold medals Uzbekistan, which has less than 24 total medals, has?"
} |
### QUESTION
List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.
### CONTEXT
CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
### ANSWER
SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1 | {
"answer": "SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1",
"context": "CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)",
"question": "List the first and last names of all distinct staff members who are assigned to the problem whose id is 1."
} |
### QUESTION
what is the top-5 when the tournament is totals and the top-25 is more than 4?
### CONTEXT
CREATE TABLE table_name_80 (top_5 INTEGER, tournament VARCHAR, top_25 VARCHAR)
### ANSWER
SELECT AVG(top_5) FROM table_name_80 WHERE tournament = "totals" AND top_25 > 4 | {
"answer": "SELECT AVG(top_5) FROM table_name_80 WHERE tournament = \"totals\" AND top_25 > 4",
"context": "CREATE TABLE table_name_80 (top_5 INTEGER, tournament VARCHAR, top_25 VARCHAR)",
"question": "what is the top-5 when the tournament is totals and the top-25 is more than 4?"
} |
### QUESTION
How many gains have a long greater than 8, with avg/g of 124.9?
### CONTEXT
CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR)
### ANSWER
SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9 | {
"answer": "SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9",
"context": "CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR)",
"question": "How many gains have a long greater than 8, with avg/g of 124.9?"
} |
### QUESTION
What is the primary conference of the school that has the lowest acc percent score in the competition?
### CONTEXT
CREATE TABLE basketball_match (school_id VARCHAR, acc_percent VARCHAR); CREATE TABLE university (Primary_conference VARCHAR, school_id VARCHAR)
### ANSWER
SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id ORDER BY t2.acc_percent LIMIT 1 | {
"answer": "SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id ORDER BY t2.acc_percent LIMIT 1",
"context": "CREATE TABLE basketball_match (school_id VARCHAR, acc_percent VARCHAR); CREATE TABLE university (Primary_conference VARCHAR, school_id VARCHAR)",
"question": "What is the primary conference of the school that has the lowest acc percent score in the competition?"
} |
### QUESTION
How many proteins are associated with an institution in a building with at least 20 floors?
### CONTEXT
CREATE TABLE institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 20 | {
"answer": "SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 20",
"context": "CREATE TABLE institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)",
"question": "How many proteins are associated with an institution in a building with at least 20 floors?"
} |
### QUESTION
List the top 5 genres by number of tracks. List genres name and total tracks.
### CONTEXT
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
### ANSWER
SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5 | {
"answer": "SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5",
"context": "CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)",
"question": "List the top 5 genres by number of tracks. List genres name and total tracks."
} |
### QUESTION
What is the lowest Lost for são paulo railway, Points more than 21?
### CONTEXT
CREATE TABLE table_name_46 (lost INTEGER, team VARCHAR, points VARCHAR)
### ANSWER
SELECT MIN(lost) FROM table_name_46 WHERE team = "são paulo railway" AND points > 21 | {
"answer": "SELECT MIN(lost) FROM table_name_46 WHERE team = \"são paulo railway\" AND points > 21",
"context": "CREATE TABLE table_name_46 (lost INTEGER, team VARCHAR, points VARCHAR)",
"question": "What is the lowest Lost for são paulo railway, Points more than 21?"
} |
### QUESTION
What is the North American release date of the remake with a European release date on 2013-03-20?
### CONTEXT
CREATE TABLE table_name_25 (north_american_release_date VARCHAR, european_release_date VARCHAR)
### ANSWER
SELECT north_american_release_date FROM table_name_25 WHERE european_release_date = "2013-03-20" | {
"answer": "SELECT north_american_release_date FROM table_name_25 WHERE european_release_date = \"2013-03-20\"",
"context": "CREATE TABLE table_name_25 (north_american_release_date VARCHAR, european_release_date VARCHAR)",
"question": "What is the North American release date of the remake with a European release date on 2013-03-20?"
} |
### QUESTION
What episode number was directed by Craig Ross, Jr.
### CONTEXT
CREATE TABLE table_21550897_1 (_number VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT _number FROM table_21550897_1 WHERE directed_by = "Craig Ross, Jr." | {
"answer": "SELECT _number FROM table_21550897_1 WHERE directed_by = \"Craig Ross, Jr.\"",
"context": "CREATE TABLE table_21550897_1 (_number VARCHAR, directed_by VARCHAR)",
"question": "What episode number was directed by Craig Ross, Jr."
} |
### QUESTION
Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?
### CONTEXT
CREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR)
### ANSWER
SELECT SUM(avg_g) FROM table_name_59 WHERE name = "josh freeman" AND loss < 134 | {
"answer": "SELECT SUM(avg_g) FROM table_name_59 WHERE name = \"josh freeman\" AND loss < 134",
"context": "CREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR)",
"question": "Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?"
} |
### QUESTION
What is the Byzantine Commander with a Bulgarian Victory at the Siege of Lovech?
### CONTEXT
CREATE TABLE table_name_44 (byzantine_commander VARCHAR, result VARCHAR, battle VARCHAR)
### ANSWER
SELECT byzantine_commander FROM table_name_44 WHERE result = "bulgarian victory" AND battle = "siege of lovech" | {
"answer": "SELECT byzantine_commander FROM table_name_44 WHERE result = \"bulgarian victory\" AND battle = \"siege of lovech\"",
"context": "CREATE TABLE table_name_44 (byzantine_commander VARCHAR, result VARCHAR, battle VARCHAR)",
"question": "What is the Byzantine Commander with a Bulgarian Victory at the Siege of Lovech?"
} |
### QUESTION
Who was the girl of the week 3 weeks after brianne bailey in the same month?
### CONTEXT
CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR)
### ANSWER
SELECT week_5 FROM table_name_65 WHERE week_2 = "brianne bailey" | {
"answer": "SELECT week_5 FROM table_name_65 WHERE week_2 = \"brianne bailey\"",
"context": "CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR)",
"question": "Who was the girl of the week 3 weeks after brianne bailey in the same month?"
} |
### QUESTION
What is the score of the away team when the home team is Essendon?
### CONTEXT
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon" | {
"answer": "SELECT away_team AS score FROM table_name_12 WHERE home_team = \"essendon\"",
"context": "CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)",
"question": "What is the score of the away team when the home team is Essendon?"
} |
### QUESTION
What date premiered (2009) has kareena kapoor as the contestant name?
### CONTEXT
CREATE TABLE table_name_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)
### ANSWER
SELECT date_premiered__2009_ FROM table_name_40 WHERE contestant_name = "kareena kapoor" | {
"answer": "SELECT date_premiered__2009_ FROM table_name_40 WHERE contestant_name = \"kareena kapoor\"",
"context": "CREATE TABLE table_name_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)",
"question": "What date premiered (2009) has kareena kapoor as the contestant name?"
} |
### QUESTION
what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927
### CONTEXT
CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR)
### ANSWER
SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927 | {
"answer": "SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927",
"context": "CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR)",
"question": "what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927"
} |
### QUESTION
How many faculty lines are there in the university that conferred the most number of degrees in year 2002?
### CONTEXT
CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (faculty VARCHAR); CREATE TABLE degrees (Id VARCHAR)
### ANSWER
SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1 | {
"answer": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1",
"context": "CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (faculty VARCHAR); CREATE TABLE degrees (Id VARCHAR)",
"question": "How many faculty lines are there in the university that conferred the most number of degrees in year 2002?"
} |
### QUESTION
What are the lowest points in 2004?
### CONTEXT
CREATE TABLE table_name_96 (points INTEGER, year VARCHAR)
### ANSWER
SELECT MIN(points) FROM table_name_96 WHERE year = 2004 | {
"answer": "SELECT MIN(points) FROM table_name_96 WHERE year = 2004",
"context": "CREATE TABLE table_name_96 (points INTEGER, year VARCHAR)",
"question": "What are the lowest points in 2004?"
} |
### QUESTION
When Cincinnati is the tournament winner how many regular season winners are there?
### CONTEXT
CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
### ANSWER
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" | {
"answer": "SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = \"Cincinnati\"",
"context": "CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)",
"question": "When Cincinnati is the tournament winner how many regular season winners are there?"
} |
### QUESTION
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
### CONTEXT
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
### ANSWER
SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward" | {
"answer": "SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = \"retired republican gain\" AND incumbent = \"william millward\"",
"context": "CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)",
"question": "Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?"
} |
### QUESTION
How many winning scores were there in the rr donnelley lpga founders cup?
### CONTEXT
CREATE TABLE table_17335602_1 (winning_score VARCHAR, tournament VARCHAR)
### ANSWER
SELECT COUNT(winning_score) FROM table_17335602_1 WHERE tournament = "RR Donnelley LPGA Founders Cup" | {
"answer": "SELECT COUNT(winning_score) FROM table_17335602_1 WHERE tournament = \"RR Donnelley LPGA Founders Cup\"",
"context": "CREATE TABLE table_17335602_1 (winning_score VARCHAR, tournament VARCHAR)",
"question": "How many winning scores were there in the rr donnelley lpga founders cup?"
} |
### QUESTION
When did Linda Smith visit Subway?
### CONTEXT
CREATE TABLE Restaurant (TIME VARCHAR); CREATE TABLE Visits_Restaurant (TIME VARCHAR); CREATE TABLE Student (TIME VARCHAR)
### ANSWER
SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway" | {
"answer": "SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = \"Linda\" AND Student.Lname = \"Smith\" AND Restaurant.ResName = \"Subway\"",
"context": "CREATE TABLE Restaurant (TIME VARCHAR); CREATE TABLE Visits_Restaurant (TIME VARCHAR); CREATE TABLE Student (TIME VARCHAR)",
"question": "When did Linda Smith visit Subway?"
} |
### QUESTION
What are the GDP and population of the city that already served as a host more than once?
### CONTEXT
CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE city (city_id VARCHAR)
### ANSWER
SELECT t1.gdp, t1.Regional_Population FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY t2.Host_City HAVING COUNT(*) > 1 | {
"answer": "SELECT t1.gdp, t1.Regional_Population FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY t2.Host_City HAVING COUNT(*) > 1",
"context": "CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE city (city_id VARCHAR)",
"question": "What are the GDP and population of the city that already served as a host more than once?"
} |
### QUESTION
What was Lee Smith's highest number of goals when he made fewer than 364 appearances?
### CONTEXT
CREATE TABLE table_name_51 (goals INTEGER, name VARCHAR, appearances VARCHAR)
### ANSWER
SELECT MAX(goals) FROM table_name_51 WHERE name = "lee smith" AND appearances < 364 | {
"answer": "SELECT MAX(goals) FROM table_name_51 WHERE name = \"lee smith\" AND appearances < 364",
"context": "CREATE TABLE table_name_51 (goals INTEGER, name VARCHAR, appearances VARCHAR)",
"question": "What was Lee Smith's highest number of goals when he made fewer than 364 appearances?"
} |
### QUESTION
Name the audition city for hyatt regency chicago
### CONTEXT
CREATE TABLE table_22897967_1 (audition_city VARCHAR, callback_venue VARCHAR)
### ANSWER
SELECT audition_city FROM table_22897967_1 WHERE callback_venue = "Hyatt Regency Chicago" | {
"answer": "SELECT audition_city FROM table_22897967_1 WHERE callback_venue = \"Hyatt Regency Chicago\"",
"context": "CREATE TABLE table_22897967_1 (audition_city VARCHAR, callback_venue VARCHAR)",
"question": "Name the audition city for hyatt regency chicago"
} |
### QUESTION
What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?
### CONTEXT
CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)
### ANSWER
SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008" | {
"answer": "SELECT voltage FROM table_name_64 WHERE frequency = \"2000mhz\" AND release_date = \"q3 2008\"",
"context": "CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)",
"question": "What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?"
} |
### QUESTION
What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?
### CONTEXT
CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)
### ANSWER
SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—" | {
"answer": "SELECT country FROM table_name_80 WHERE internetlists = \"—\" AND onisecurityfiltering = \"—\"",
"context": "CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)",
"question": "What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?"
} |
### QUESTION
Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5?
### CONTEXT
CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "england" AND games < 5 | {
"answer": "SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = \"england\" AND games < 5",
"context": "CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR)",
"question": "Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5?"
} |
### QUESTION
What is the content for la sorgente sat 3?
### CONTEXT
CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)
### ANSWER
SELECT content FROM table_name_20 WHERE television_service = "la sorgente sat 3" | {
"answer": "SELECT content FROM table_name_20 WHERE television_service = \"la sorgente sat 3\"",
"context": "CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)",
"question": "What is the content for la sorgente sat 3?"
} |
### QUESTION
What team does Oliver Dobbins play for?
### CONTEXT
CREATE TABLE table_name_39 (team VARCHAR, player VARCHAR)
### ANSWER
SELECT team FROM table_name_39 WHERE player = "oliver dobbins" | {
"answer": "SELECT team FROM table_name_39 WHERE player = \"oliver dobbins\"",
"context": "CREATE TABLE table_name_39 (team VARCHAR, player VARCHAR)",
"question": "What team does Oliver Dobbins play for?"
} |
### QUESTION
How many different winners both participated in the WTA Championships and were left handed?
### CONTEXT
CREATE TABLE matches (winner_name VARCHAR, tourney_name VARCHAR, winner_hand VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L' | {
"answer": "SELECT COUNT(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L'",
"context": "CREATE TABLE matches (winner_name VARCHAR, tourney_name VARCHAR, winner_hand VARCHAR)",
"question": "How many different winners both participated in the WTA Championships and were left handed?"
} |
### QUESTION
What is the score for the game where Birmingham City was the home team on 10 March 1984?
### CONTEXT
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR, home_team VARCHAR)
### ANSWER
SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city" | {
"answer": "SELECT score FROM table_name_86 WHERE date = \"10 march 1984\" AND home_team = \"birmingham city\"",
"context": "CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR, home_team VARCHAR)",
"question": "What is the score for the game where Birmingham City was the home team on 10 March 1984?"
} |
### QUESTION
What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)?
### CONTEXT
CREATE TABLE table_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = "Bābǎi zhuàngshì (八百壯士)" | {
"answer": "SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = \"Bābǎi zhuàngshì (八百壯士)\"",
"context": "CREATE TABLE table_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)",
"question": "What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)?"
} |
### QUESTION
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
### CONTEXT
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
### ANSWER
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)" | {
"answer": "SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = \"100g\" AND monounsaturated_fat = \"20g (84g in high oleic variety)\"",
"context": "CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)",
"question": "Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)"
} |
### QUESTION
Which Partner has a Score of 7–6, 6–3?
### CONTEXT
CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR)
### ANSWER
SELECT partner FROM table_name_38 WHERE score = "7–6, 6–3" | {
"answer": "SELECT partner FROM table_name_38 WHERE score = \"7–6, 6–3\"",
"context": "CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR)",
"question": "Which Partner has a Score of 7–6, 6–3?"
} |
### QUESTION
Who were the co-drivers in 2008?
### CONTEXT
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)
### ANSWER
SELECT co_drivers FROM table_name_81 WHERE year = 2008 | {
"answer": "SELECT co_drivers FROM table_name_81 WHERE year = 2008",
"context": "CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)",
"question": "Who were the co-drivers in 2008?"
} |
### QUESTION
What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign?
### CONTEXT
CREATE TABLE table_name_43 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### ANSWER
SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = "w223au" | {
"answer": "SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = \"w223au\"",
"context": "CREATE TABLE table_name_43 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)",
"question": "What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign?"
} |
### QUESTION
Show the product type codes that have at least two products.
### CONTEXT
CREATE TABLE Products (Product_Type_Code VARCHAR)
### ANSWER
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*) >= 2 | {
"answer": "SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*) >= 2",
"context": "CREATE TABLE Products (Product_Type_Code VARCHAR)",
"question": "Show the product type codes that have at least two products."
} |
### QUESTION
Which tournament has an Outcome of winner, and a Opponent of dia evtimova?
### CONTEXT
CREATE TABLE table_name_53 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)
### ANSWER
SELECT tournament FROM table_name_53 WHERE outcome = "winner" AND opponent = "dia evtimova" | {
"answer": "SELECT tournament FROM table_name_53 WHERE outcome = \"winner\" AND opponent = \"dia evtimova\"",
"context": "CREATE TABLE table_name_53 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)",
"question": "Which tournament has an Outcome of winner, and a Opponent of dia evtimova?"
} |
### QUESTION
What is the hand number of the hand where player 1 is south and the east wind is prevailing?
### CONTEXT
CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)
### ANSWER
SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East" | {
"answer": "SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = \"South\" AND prevailing_wind = \"East\"",
"context": "CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)",
"question": "What is the hand number of the hand where player 1 is south and the east wind is prevailing?"
} |
### QUESTION
How many laps did antônio pizzonia do?
### CONTEXT
CREATE TABLE table_name_32 (laps VARCHAR, driver VARCHAR)
### ANSWER
SELECT COUNT(laps) FROM table_name_32 WHERE driver = "antônio pizzonia" | {
"answer": "SELECT COUNT(laps) FROM table_name_32 WHERE driver = \"antônio pizzonia\"",
"context": "CREATE TABLE table_name_32 (laps VARCHAR, driver VARCHAR)",
"question": "How many laps did antônio pizzonia do?"
} |
### QUESTION
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
### CONTEXT
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
### ANSWER
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest" | {
"answer": "SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = \"howard johnson hotel bucharest\"",
"context": "CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)",
"question": "What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?"
} |
### QUESTION
Which Country has a Prominence (m) smaller than 1540, and a Height (m) smaller than 3530, and a Range of virunga mountains, and a Mountain of nyiragongo?
### CONTEXT
CREATE TABLE table_name_12 (country VARCHAR, mountain VARCHAR, range VARCHAR, prominence__m_ VARCHAR, height__m_ VARCHAR)
### ANSWER
SELECT country FROM table_name_12 WHERE prominence__m_ < 1540 AND height__m_ < 3530 AND range = "virunga mountains" AND mountain = "nyiragongo" | {
"answer": "SELECT country FROM table_name_12 WHERE prominence__m_ < 1540 AND height__m_ < 3530 AND range = \"virunga mountains\" AND mountain = \"nyiragongo\"",
"context": "CREATE TABLE table_name_12 (country VARCHAR, mountain VARCHAR, range VARCHAR, prominence__m_ VARCHAR, height__m_ VARCHAR)",
"question": "Which Country has a Prominence (m) smaller than 1540, and a Height (m) smaller than 3530, and a Range of virunga mountains, and a Mountain of nyiragongo?"
} |
### QUESTION
Name the number of conference tournament for james madison
### CONTEXT
CREATE TABLE table_22849575_6 (conference VARCHAR, tournament_winner VARCHAR)
### ANSWER
SELECT COUNT(conference) AS Tournament FROM table_22849575_6 WHERE tournament_winner = "James Madison" | {
"answer": "SELECT COUNT(conference) AS Tournament FROM table_22849575_6 WHERE tournament_winner = \"James Madison\"",
"context": "CREATE TABLE table_22849575_6 (conference VARCHAR, tournament_winner VARCHAR)",
"question": "Name the number of conference tournament for james madison"
} |
### QUESTION
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?
### CONTEXT
CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
### ANSWER
SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes" | {
"answer": "SELECT melbourne FROM table_name_59 WHERE gold_coast = \"yes\" AND adelaide = \"no\" AND sydney = \"yes\"",
"context": "CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)",
"question": "Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?"
} |
### QUESTION
What country has chunkath, mohan verghese as the name?
### CONTEXT
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
### ANSWER
SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese" | {
"answer": "SELECT country FROM table_name_88 WHERE name = \"chunkath, mohan verghese\"",
"context": "CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)",
"question": "What country has chunkath, mohan verghese as the name?"
} |
### QUESTION
What is Score, when Place is "T8", and when Player is "Orville Moody"?
### CONTEXT
CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)
### ANSWER
SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody" | {
"answer": "SELECT score FROM table_name_40 WHERE place = \"t8\" AND player = \"orville moody\"",
"context": "CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)",
"question": "What is Score, when Place is \"T8\", and when Player is \"Orville Moody\"?"
} |
### QUESTION
Where is ropery lane and la matches 7 location?
### CONTEXT
CREATE TABLE table_1176371_1 (location VARCHAR, la_matches VARCHAR, name_of_ground VARCHAR)
### ANSWER
SELECT location FROM table_1176371_1 WHERE la_matches = 7 AND name_of_ground = "Ropery Lane" | {
"answer": "SELECT location FROM table_1176371_1 WHERE la_matches = 7 AND name_of_ground = \"Ropery Lane\"",
"context": "CREATE TABLE table_1176371_1 (location VARCHAR, la_matches VARCHAR, name_of_ground VARCHAR)",
"question": "Where is ropery lane and la matches 7 location?"
} |
### QUESTION
Who wrote season 10
### CONTEXT
CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR)
### ANSWER
SELECT written_by FROM table_17355743_1 WHERE season__number = 10 | {
"answer": "SELECT written_by FROM table_17355743_1 WHERE season__number = 10",
"context": "CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR)",
"question": "Who wrote season 10"
} |
### QUESTION
Name the number location of georgia perimeter college
### CONTEXT
CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)
### ANSWER
SELECT COUNT(location) FROM table_16734640_1 WHERE institution = "Georgia Perimeter College" | {
"answer": "SELECT COUNT(location) FROM table_16734640_1 WHERE institution = \"Georgia Perimeter College\"",
"context": "CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)",
"question": "Name the number location of georgia perimeter college"
} |
### QUESTION
What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have?
### CONTEXT
CREATE TABLE table_name_31 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, country VARCHAR)
### ANSWER
SELECT MAX(evening_gown) FROM table_name_31 WHERE interview > 9.36 AND country = "tennessee" AND average > 9.75 | {
"answer": "SELECT MAX(evening_gown) FROM table_name_31 WHERE interview > 9.36 AND country = \"tennessee\" AND average > 9.75",
"context": "CREATE TABLE table_name_31 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, country VARCHAR)",
"question": "What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have?"
} |
### QUESTION
Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
### CONTEXT
CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
### ANSWER
SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222 | {
"answer": "SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222",
"context": "CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)",
"question": "Can you tell me the Player that has the Long larger than 28, and the Yards of 222?"
} |
### QUESTION
What was the outcome when the final score was 7–6(9), 7–6(1)?
### CONTEXT
CREATE TABLE table_2199290_2 (outcome VARCHAR, score_in_the_final VARCHAR)
### ANSWER
SELECT outcome FROM table_2199290_2 WHERE score_in_the_final = "7–6(9), 7–6(1)" | {
"answer": "SELECT outcome FROM table_2199290_2 WHERE score_in_the_final = \"7–6(9), 7–6(1)\"",
"context": "CREATE TABLE table_2199290_2 (outcome VARCHAR, score_in_the_final VARCHAR)",
"question": "What was the outcome when the final score was 7–6(9), 7–6(1)?"
} |
### QUESTION
Find the cities which were once a host city after 2010?
### CONTEXT
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, year INTEGER)
### ANSWER
SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year > 2010 | {
"answer": "SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year > 2010",
"context": "CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, year INTEGER)",
"question": "Find the cities which were once a host city after 2010?"
} |
### QUESTION
Who were the candidates in district Pennsylvania 3?
### CONTEXT
CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR)
### ANSWER
SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3" | {
"answer": "SELECT candidates FROM table_1341423_38 WHERE district = \"Pennsylvania 3\"",
"context": "CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR)",
"question": "Who were the candidates in district Pennsylvania 3?"
} |
### QUESTION
What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape?
### CONTEXT
CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR)
### ANSWER
SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = "Zinfandel" | {
"answer": "SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = \"Zinfandel\"",
"context": "CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR)",
"question": "What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape?"
} |
### QUESTION
What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals?
### CONTEXT
CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)
### ANSWER
SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2 | {
"answer": "SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2",
"context": "CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)",
"question": "What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals?"
} |
### QUESTION
When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?
### CONTEXT
CREATE TABLE table_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR)
### ANSWER
SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = "10th, South West District 1" | {
"answer": "SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = \"10th, South West District 1\"",
"context": "CREATE TABLE table_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR)",
"question": "When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?"
} |
### QUESTION
Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?
### CONTEXT
CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
### ANSWER
SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = "susan day" | {
"answer": "SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = \"susan day\"",
"context": "CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)",
"question": "Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?"
} |
### QUESTION
How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26?
### CONTEXT
CREATE TABLE table_name_43 (silver VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
### ANSWER
SELECT COUNT(silver) FROM table_name_43 WHERE gold > 2 AND bronze < 35 AND nation = "china" AND total > 26 | {
"answer": "SELECT COUNT(silver) FROM table_name_43 WHERE gold > 2 AND bronze < 35 AND nation = \"china\" AND total > 26",
"context": "CREATE TABLE table_name_43 (silver VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)",
"question": "How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26?"
} |
### QUESTION
Name the being for having things of language, religions, work, customs, values, norms?
### CONTEXT
CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)
### ANSWER
SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" | {
"answer": "SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = \"language, religions, work, customs, values, norms\"",
"context": "CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)",
"question": "Name the being for having things of language, religions, work, customs, values, norms?"
} |
### QUESTION
What is the to par for Gene Littler?
### CONTEXT
CREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_42 WHERE player = "gene littler" | {
"answer": "SELECT to_par FROM table_name_42 WHERE player = \"gene littler\"",
"context": "CREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR)",
"question": "What is the to par for Gene Littler?"
} |
### QUESTION
When is the club founded that founed prsl in 2008 and the home city is carolina 1?
### CONTEXT
CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)
### ANSWER
SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = "carolina 1" | {
"answer": "SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = \"carolina 1\"",
"context": "CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)",
"question": "When is the club founded that founed prsl in 2008 and the home city is carolina 1?"
} |
### QUESTION
Which television service has programmi per adulti 24h/24 content and no HDTV?
### CONTEXT
CREATE TABLE table_name_41 (television_service VARCHAR, content VARCHAR, hdtv VARCHAR)
### ANSWER
SELECT television_service FROM table_name_41 WHERE content = "programmi per adulti 24h/24" AND hdtv = "no" | {
"answer": "SELECT television_service FROM table_name_41 WHERE content = \"programmi per adulti 24h/24\" AND hdtv = \"no\"",
"context": "CREATE TABLE table_name_41 (television_service VARCHAR, content VARCHAR, hdtv VARCHAR)",
"question": "Which television service has programmi per adulti 24h/24 content and no HDTV?"
} |
### QUESTION
What is the last match with a resigned manner of departure and a round 1 date of vacancy?
### CONTEXT
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
### ANSWER
SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1" | {
"answer": "SELECT last_match FROM table_name_96 WHERE manner_of_departure = \"resigned\" AND date_of_vacancy = \"round 1\"",
"context": "CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)",
"question": "What is the last match with a resigned manner of departure and a round 1 date of vacancy?"
} |
### QUESTION
What is the total number of Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?
### CONTEXT
CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(weight) FROM table_name_90 WHERE position = "forward/center" AND player = "othella harrington" AND number < 32 | {
"answer": "SELECT COUNT(weight) FROM table_name_90 WHERE position = \"forward/center\" AND player = \"othella harrington\" AND number < 32",
"context": "CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)",
"question": "What is the total number of Weight, when Position is \"Forward/Center\", when Player is \"Othella Harrington\", and when Number is less than 32?"
} |
### QUESTION
Find names of colleges with enrollment greater than that of some (at least one) college in the FL state.
### CONTEXT
CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)
### ANSWER
SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL') | {
"answer": "SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL')",
"context": "CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)",
"question": "Find names of colleges with enrollment greater than that of some (at least one) college in the FL state."
} |
### QUESTION
If the chief judge is Glen E. Conrad, what is the region?
### CONTEXT
CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)
### ANSWER
SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad" | {
"answer": "SELECT region FROM table_22901612_2 WHERE chief_judge = \"Glen E. Conrad\"",
"context": "CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)",
"question": "If the chief judge is Glen E. Conrad, what is the region?"
} |
### QUESTION
Name the region with catalog of 576 097-2
### CONTEXT
CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR)
### ANSWER
SELECT region FROM table_name_47 WHERE catalog = "576 097-2" | {
"answer": "SELECT region FROM table_name_47 WHERE catalog = \"576 097-2\"",
"context": "CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR)",
"question": "Name the region with catalog of 576 097-2"
} |
### QUESTION
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?
### CONTEXT
CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR)
### ANSWER
SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = "inaugural rl test v new zealand" AND test_debut = "inaugural ru test v new zealand" | {
"answer": "SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = \"inaugural rl test v new zealand\" AND test_debut = \"inaugural ru test v new zealand\"",
"context": "CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR)",
"question": "What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?"
} |
### QUESTION
Who were the candidates when Henry Garland Dupré was incumbent?
### CONTEXT
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT candidates FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré" | {
"answer": "SELECT candidates FROM table_1342451_16 WHERE incumbent = \"Henry Garland Dupré\"",
"context": "CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)",
"question": "Who were the candidates when Henry Garland Dupré was incumbent?"
} |
### QUESTION
How many people were first elected when john roane was the incumbent?
### CONTEXT
CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = "John Roane" | {
"answer": "SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = \"John Roane\"",
"context": "CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "How many people were first elected when john roane was the incumbent?"
} |
### QUESTION
What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333?
### CONTEXT
CREATE TABLE table_name_87 (free INTEGER, athlete VARCHAR, total VARCHAR)
### ANSWER
SELECT MIN(free) FROM table_name_87 WHERE athlete = "apolline dreyfuss & lila meesseman-bakir" AND total > 90.333 | {
"answer": "SELECT MIN(free) FROM table_name_87 WHERE athlete = \"apolline dreyfuss & lila meesseman-bakir\" AND total > 90.333",
"context": "CREATE TABLE table_name_87 (free INTEGER, athlete VARCHAR, total VARCHAR)",
"question": "What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333?"
} |
### QUESTION
Show the movie titles and book titles for all companies in China.
### CONTEXT
CREATE TABLE movie (title VARCHAR, movie_id VARCHAR); CREATE TABLE culture_company (movie_id VARCHAR, book_club_id VARCHAR, incorporated_in VARCHAR); CREATE TABLE book_club (book_title VARCHAR, book_club_id VARCHAR)
### ANSWER
SELECT T1.title, T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id WHERE T2.incorporated_in = 'China' | {
"answer": "SELECT T1.title, T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id WHERE T2.incorporated_in = 'China'",
"context": "CREATE TABLE movie (title VARCHAR, movie_id VARCHAR); CREATE TABLE culture_company (movie_id VARCHAR, book_club_id VARCHAR, incorporated_in VARCHAR); CREATE TABLE book_club (book_title VARCHAR, book_club_id VARCHAR)",
"question": "Show the movie titles and book titles for all companies in China."
} |
### QUESTION
How many Bangladeshi citizens are there in the borough ranked at number 7?
### CONTEXT
CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR)
### ANSWER
SELECT MIN(bangladeshi_population) FROM table_19149550_9 WHERE rank = 7 | {
"answer": "SELECT MIN(bangladeshi_population) FROM table_19149550_9 WHERE rank = 7",
"context": "CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR)",
"question": "How many Bangladeshi citizens are there in the borough ranked at number 7?"
} |
### QUESTION
what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?
### CONTEXT
CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
### ANSWER
SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26 | {
"answer": "SELECT MIN(grid) FROM table_name_88 WHERE time_retired = \"clutch\" AND driver = \"peter collins\" AND laps < 26",
"context": "CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)",
"question": "what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?"
} |
### QUESTION
WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S?
### CONTEXT
CREATE TABLE table_name_78 (diameter__km_ INTEGER, latitude VARCHAR)
### ANSWER
SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = "52.0s" | {
"answer": "SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = \"52.0s\"",
"context": "CREATE TABLE table_name_78 (diameter__km_ INTEGER, latitude VARCHAR)",
"question": "WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S?"
} |
### QUESTION
What is Player, when Score is less than 69, and when Country is "United States"?
### CONTEXT
CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR)
### ANSWER
SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states" | {
"answer": "SELECT player FROM table_name_70 WHERE score < 69 AND country = \"united states\"",
"context": "CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR)",
"question": "What is Player, when Score is less than 69, and when Country is \"United States\"?"
} |
### QUESTION
how many end of term with age at inauguration being 64-066 64years, 66days
### CONTEXT
CREATE TABLE table_12134383_1 (end_of_term VARCHAR, age_at_inauguration VARCHAR)
### ANSWER
SELECT COUNT(end_of_term) FROM table_12134383_1 WHERE age_at_inauguration = "64-066 64years, 66days" | {
"answer": "SELECT COUNT(end_of_term) FROM table_12134383_1 WHERE age_at_inauguration = \"64-066 64years, 66days\"",
"context": "CREATE TABLE table_12134383_1 (end_of_term VARCHAR, age_at_inauguration VARCHAR)",
"question": " how many end of term with age at inauguration being 64-066 64years, 66days"
} |
### QUESTION
Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?
### CONTEXT
CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)
### ANSWER
SELECT year FROM table_name_59 WHERE borough = "harrogate" AND rank < 6 AND definition = "civil parish" | {
"answer": "SELECT year FROM table_name_59 WHERE borough = \"harrogate\" AND rank < 6 AND definition = \"civil parish\"",
"context": "CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)",
"question": "Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?"
} |
### QUESTION
Which team was the visitor on January 10?
### CONTEXT
CREATE TABLE table_name_69 (visitor VARCHAR, date VARCHAR)
### ANSWER
SELECT visitor FROM table_name_69 WHERE date = "january 10" | {
"answer": "SELECT visitor FROM table_name_69 WHERE date = \"january 10\"",
"context": "CREATE TABLE table_name_69 (visitor VARCHAR, date VARCHAR)",
"question": "Which team was the visitor on January 10?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.