text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Find the name of route that has the highest number of deliveries.
### CONTEXT
CREATE TABLE Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)
### ANSWER
SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id = t2.route_id GROUP BY t1.route_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id = t2.route_id GROUP BY t1.route_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)",
"question": "Find the name of route that has the highest number of deliveries."
} |
### QUESTION
IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT?
### CONTEXT
CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR)
### ANSWER
SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford" | {
"answer": "SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = \"Harrison Ford\"",
"context": "CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR)",
"question": "IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT?"
} |
### QUESTION
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?
### CONTEXT
CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR)
### ANSWER
SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 | {
"answer": "SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = \"alan sweeney\" AND league_cup_apps < 0",
"context": "CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR)",
"question": "What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?"
} |
### QUESTION
Which episode had a share 16-19 of 23,22%?
### CONTEXT
CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR)
### ANSWER
SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = "23,22%" | {
"answer": "SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = \"23,22%\"",
"context": "CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR)",
"question": "Which episode had a share 16-19 of 23,22%?"
} |
### QUESTION
How many times did a center that attended Oral Roberts play for the Rockets?
### CONTEXT
CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
### ANSWER
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral Roberts" | {
"answer": "SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = \"Center\" AND school_club_team_country = \"Oral Roberts\"",
"context": "CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR)",
"question": "How many times did a center that attended Oral Roberts play for the Rockets?"
} |
### QUESTION
What Social Democratic has a Democratic and Social Centre of 10.0% 22 seats?
### CONTEXT
CREATE TABLE table_name_33 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)
### ANSWER
SELECT social_democratic FROM table_name_33 WHERE democratic_and_social_centre = "10.0% 22 seats" | {
"answer": "SELECT social_democratic FROM table_name_33 WHERE democratic_and_social_centre = \"10.0% 22 seats\"",
"context": "CREATE TABLE table_name_33 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)",
"question": "What Social Democratic has a Democratic and Social Centre of 10.0% 22 seats?"
} |
### QUESTION
Name the title of jean-pierre jeunet
### CONTEXT
CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR)
### ANSWER
SELECT english_title FROM table_name_17 WHERE director = "jean-pierre jeunet" | {
"answer": "SELECT english_title FROM table_name_17 WHERE director = \"jean-pierre jeunet\"",
"context": "CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR)",
"question": "Name the title of jean-pierre jeunet"
} |
### QUESTION
Who is the home team when the san francisco 49ers are visiting with a result of 42-14?
### CONTEXT
CREATE TABLE table_name_92 (home_team VARCHAR, visiting_team VARCHAR, result VARCHAR)
### ANSWER
SELECT home_team FROM table_name_92 WHERE visiting_team = "san francisco 49ers" AND result = "42-14" | {
"answer": "SELECT home_team FROM table_name_92 WHERE visiting_team = \"san francisco 49ers\" AND result = \"42-14\"",
"context": "CREATE TABLE table_name_92 (home_team VARCHAR, visiting_team VARCHAR, result VARCHAR)",
"question": "Who is the home team when the san francisco 49ers are visiting with a result of 42-14?"
} |
### QUESTION
For games on December 20, how many points did the scoring leaders get?
### CONTEXT
CREATE TABLE table_10812293_4 (high_points VARCHAR, date VARCHAR)
### ANSWER
SELECT high_points FROM table_10812293_4 WHERE date = "December 20" | {
"answer": "SELECT high_points FROM table_10812293_4 WHERE date = \"December 20\"",
"context": "CREATE TABLE table_10812293_4 (high_points VARCHAR, date VARCHAR)",
"question": "For games on December 20, how many points did the scoring leaders get?"
} |
### QUESTION
What is the place of player sergio garcía, who has £77,500?
### CONTEXT
CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía" | {
"answer": "SELECT place FROM table_name_45 WHERE money___£__ = \"77,500\" AND player = \"sergio garcía\"",
"context": "CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)",
"question": "What is the place of player sergio garcía, who has £77,500?"
} |
### QUESTION
Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?
### CONTEXT
CREATE TABLE table_name_80 (year INTEGER, competition VARCHAR, venue VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_80 WHERE competition = "european indoor championships" AND venue = "budapest , hungary" | {
"answer": "SELECT SUM(year) FROM table_name_80 WHERE competition = \"european indoor championships\" AND venue = \"budapest , hungary\"",
"context": "CREATE TABLE table_name_80 (year INTEGER, competition VARCHAR, venue VARCHAR)",
"question": "Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?"
} |
### QUESTION
Which player had a position of t1 and played in the united states?
### CONTEXT
CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR)
### ANSWER
SELECT player FROM table_name_49 WHERE place = "t1" AND country = "united states" | {
"answer": "SELECT player FROM table_name_49 WHERE place = \"t1\" AND country = \"united states\"",
"context": "CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR)",
"question": "Which player had a position of t1 and played in the united states?"
} |
### QUESTION
List the name and gender for all artists who released songs in March.
### CONTEXT
CREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)
### ANSWER
SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE "%Mar%" | {
"answer": "SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE \"%Mar%\"",
"context": "CREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)",
"question": "List the name and gender for all artists who released songs in March."
} |
### QUESTION
What is the sum of Sylvain Guintoli's laps?
### CONTEXT
CREATE TABLE table_name_8 (laps INTEGER, rider VARCHAR)
### ANSWER
SELECT SUM(laps) FROM table_name_8 WHERE rider = "sylvain guintoli" | {
"answer": "SELECT SUM(laps) FROM table_name_8 WHERE rider = \"sylvain guintoli\"",
"context": "CREATE TABLE table_name_8 (laps INTEGER, rider VARCHAR)",
"question": "What is the sum of Sylvain Guintoli's laps?"
} |
### QUESTION
What is Language, when Content is Sport, when HDTV is No, and when Television Service is ESPN America?
### CONTEXT
CREATE TABLE table_name_71 (language VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)
### ANSWER
SELECT language FROM table_name_71 WHERE content = "sport" AND hdtv = "no" AND television_service = "espn america" | {
"answer": "SELECT language FROM table_name_71 WHERE content = \"sport\" AND hdtv = \"no\" AND television_service = \"espn america\"",
"context": "CREATE TABLE table_name_71 (language VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)",
"question": "What is Language, when Content is Sport, when HDTV is No, and when Television Service is ESPN America?"
} |
### QUESTION
Who was the visiting team at Raymond James Stadium?
### CONTEXT
CREATE TABLE table_name_36 (visiting_team VARCHAR, stadium VARCHAR)
### ANSWER
SELECT visiting_team FROM table_name_36 WHERE stadium = "raymond james stadium" | {
"answer": "SELECT visiting_team FROM table_name_36 WHERE stadium = \"raymond james stadium\"",
"context": "CREATE TABLE table_name_36 (visiting_team VARCHAR, stadium VARCHAR)",
"question": "Who was the visiting team at Raymond James Stadium?"
} |
### QUESTION
What country is Yerevan located in?
### CONTEXT
CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR)
### ANSWER
SELECT country FROM table_name_21 WHERE city = "yerevan" | {
"answer": "SELECT country FROM table_name_21 WHERE city = \"yerevan\"",
"context": "CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR)",
"question": "What country is Yerevan located in?"
} |
### QUESTION
List all of the ids for left-footed players with a height between 180cm and 190cm.
### CONTEXT
CREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)
### ANSWER
SELECT player_api_id FROM Player WHERE height >= 180 AND height <= 190 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE preferred_foot = "left" | {
"answer": "SELECT player_api_id FROM Player WHERE height >= 180 AND height <= 190 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE preferred_foot = \"left\"",
"context": "CREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)",
"question": "List all of the ids for left-footed players with a height between 180cm and 190cm."
} |
### QUESTION
How many original Australian performers are there when the Original West End Performer is Jordan Dunne?
### CONTEXT
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
### ANSWER
SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne" | {
"answer": "SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = \"Jordan Dunne\"",
"context": "CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)",
"question": "How many original Australian performers are there when the Original West End Performer is Jordan Dunne?"
} |
### QUESTION
What vehicle has an epa highway fuel economy of 109 mpg-e?
### CONTEXT
CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)
### ANSWER
SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e" | {
"answer": "SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = \"109 mpg-e\"",
"context": "CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)",
"question": "What vehicle has an epa highway fuel economy of 109 mpg-e?"
} |
### QUESTION
Name the number of troops for troops per $1 billion being 2.45
### CONTEXT
CREATE TABLE table_30108346_1 (number_of_troops VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR)
### ANSWER
SELECT COUNT(number_of_troops) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = "2.45" | {
"answer": "SELECT COUNT(number_of_troops) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = \"2.45\"",
"context": "CREATE TABLE table_30108346_1 (number_of_troops VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR)",
"question": "Name the number of troops for troops per $1 billion being 2.45"
} |
### QUESTION
How many titles have directors of matthew Penn and number in series of 143?
### CONTEXT
CREATE TABLE table_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
### ANSWER
SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = "Matthew Penn" AND no_in_series = 143 | {
"answer": "SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = \"Matthew Penn\" AND no_in_series = 143",
"context": "CREATE TABLE table_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)",
"question": "How many titles have directors of matthew Penn and number in series of 143?"
} |
### QUESTION
Name the tournament venue for big sky conference
### CONTEXT
CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR)
### ANSWER
SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky conference" | {
"answer": "SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = \"Big Sky conference\"",
"context": "CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR)",
"question": "Name the tournament venue for big sky conference"
} |
### QUESTION
What is the country with a 66-70-69=205 score?
### CONTEXT
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)
### ANSWER
SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205 | {
"answer": "SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205",
"context": "CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)",
"question": "What is the country with a 66-70-69=205 score?"
} |
### QUESTION
Name the total number of laps for 23rd position
### CONTEXT
CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR)
### ANSWER
SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd" | {
"answer": "SELECT COUNT(laps) FROM table_name_17 WHERE pos = \"23rd\"",
"context": "CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR)",
"question": "Name the total number of laps for 23rd position"
} |
### QUESTION
What is the Team of Winner Mark Skaife in ATCC Round 7?
### CONTEXT
CREATE TABLE table_name_82 (team VARCHAR, winner VARCHAR, series VARCHAR)
### ANSWER
SELECT team FROM table_name_82 WHERE winner = "mark skaife" AND series = "atcc round 7" | {
"answer": "SELECT team FROM table_name_82 WHERE winner = \"mark skaife\" AND series = \"atcc round 7\"",
"context": "CREATE TABLE table_name_82 (team VARCHAR, winner VARCHAR, series VARCHAR)",
"question": "What is the Team of Winner Mark Skaife in ATCC Round 7?"
} |
### QUESTION
Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7?
### CONTEXT
CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR)
### ANSWER
SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = "768" AND crude_birth_rate__per_1000_ < 29.7 | {
"answer": "SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = \"768\" AND crude_birth_rate__per_1000_ < 29.7",
"context": "CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR)",
"question": "Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7?"
} |
### QUESTION
What was the result during the week # of top 8?
### CONTEXT
CREATE TABLE table_name_26 (result VARCHAR, week__number VARCHAR)
### ANSWER
SELECT result FROM table_name_26 WHERE week__number = "top 8" | {
"answer": "SELECT result FROM table_name_26 WHERE week__number = \"top 8\"",
"context": "CREATE TABLE table_name_26 (result VARCHAR, week__number VARCHAR)",
"question": "What was the result during the week # of top 8?"
} |
### QUESTION
What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
### CONTEXT
CREATE TABLE table_name_94 (tournament VARCHAR)
### ANSWER
SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament = "u.s. open" | {
"answer": "SELECT 2001 FROM table_name_94 WHERE 1989 = \"a\" AND tournament = \"u.s. open\"",
"context": "CREATE TABLE table_name_94 (tournament VARCHAR)",
"question": "What is 2001, when 1989 is \"A\", and when Tournament is \"U.S. Open\"?"
} |
### QUESTION
what is the total number of constancy where purity is falling
### CONTEXT
CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)
### ANSWER
SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling" | {
"answer": "SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = \"falling\"",
"context": "CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)",
"question": "what is the total number of constancy where purity is falling"
} |
### QUESTION
What is the maximum number of minutes associated with exactly 70 field goals?
### CONTEXT
CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR)
### ANSWER
SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 70 | {
"answer": "SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 70",
"context": "CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR)",
"question": "What is the maximum number of minutes associated with exactly 70 field goals?"
} |
### QUESTION
Which event has a distance of ft10in (m)?
### CONTEXT
CREATE TABLE table_name_88 (event VARCHAR, distance VARCHAR)
### ANSWER
SELECT event FROM table_name_88 WHERE distance = "ft10in (m)" | {
"answer": "SELECT event FROM table_name_88 WHERE distance = \"ft10in (m)\"",
"context": "CREATE TABLE table_name_88 (event VARCHAR, distance VARCHAR)",
"question": "Which event has a distance of ft10in (m)?"
} |
### QUESTION
Name the high assists for chauncey billups , carmelo anthony (18)
### CONTEXT
CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" | {
"answer": "SELECT high_assists FROM table_17355408_4 WHERE high_points = \"Chauncey Billups , Carmelo Anthony (18)\"",
"context": "CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)",
"question": "Name the high assists for chauncey billups , carmelo anthony (18)"
} |
### QUESTION
Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories
### CONTEXT
CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)
### ANSWER
SELECT title FROM table_name_84 WHERE published_in = "astounding stories" AND main_characters = "grant calthorpe, lee neilan" | {
"answer": "SELECT title FROM table_name_84 WHERE published_in = \"astounding stories\" AND main_characters = \"grant calthorpe, lee neilan\"",
"context": "CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)",
"question": "Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories"
} |
### QUESTION
Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
### CONTEXT
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006" | {
"answer": "SELECT score FROM table_name_35 WHERE opponents = \"pkns fc\" AND date = \"january 8, 2006\"",
"context": "CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)",
"question": "Which Score has Opponents of pkns fc, and a Date of january 8, 2006?"
} |
### QUESTION
Show statement id, statement detail, account detail for accounts.
### CONTEXT
CREATE TABLE Accounts (statement_id VARCHAR, account_details VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)
### ANSWER
SELECT T1.statement_id, T2.statement_details, T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id | {
"answer": "SELECT T1.statement_id, T2.statement_details, T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id",
"context": "CREATE TABLE Accounts (statement_id VARCHAR, account_details VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)",
"question": "Show statement id, statement detail, account detail for accounts."
} |
### QUESTION
What is the average when interview is 9.465 and evening gown is less than 9.454?
### CONTEXT
CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)
### ANSWER
SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454 | {
"answer": "SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454",
"context": "CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)",
"question": "What is the average when interview is 9.465 and evening gown is less than 9.454?"
} |
### QUESTION
What is varricchio's status?
### CONTEXT
CREATE TABLE table_name_75 (status VARCHAR, authors VARCHAR)
### ANSWER
SELECT status FROM table_name_75 WHERE authors = "varricchio" | {
"answer": "SELECT status FROM table_name_75 WHERE authors = \"varricchio\"",
"context": "CREATE TABLE table_name_75 (status VARCHAR, authors VARCHAR)",
"question": "What is varricchio's status?"
} |
### QUESTION
what is the score on 22 february 1993?
### CONTEXT
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_10 WHERE date = "22 february 1993" | {
"answer": "SELECT score FROM table_name_10 WHERE date = \"22 february 1993\"",
"context": "CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)",
"question": "what is the score on 22 february 1993?"
} |
### QUESTION
How many papers have "Atsushi Ohori" published?
### CONTEXT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)
### ANSWER
SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Atsushi" AND t1.lname = "Ohori" | {
"answer": "SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = \"Atsushi\" AND t1.lname = \"Ohori\"",
"context": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)",
"question": "How many papers have \"Atsushi Ohori\" published?"
} |
### QUESTION
display those employees who contain a letter z to their first name and also display their last name, city.
### CONTEXT
CREATE TABLE locations (city VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR)
### ANSWER
SELECT T1.first_name, T1.last_name, T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T1.first_name LIKE '%z%' | {
"answer": "SELECT T1.first_name, T1.last_name, T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T1.first_name LIKE '%z%'",
"context": "CREATE TABLE locations (city VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR)",
"question": "display those employees who contain a letter z to their first name and also display their last name, city."
} |
### QUESTION
how many laps have a time/retired of +1 lap and mark blundell is the driver?
### CONTEXT
CREATE TABLE table_name_85 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
### ANSWER
SELECT AVG(laps) FROM table_name_85 WHERE time_retired = "+1 lap" AND driver = "mark blundell" | {
"answer": "SELECT AVG(laps) FROM table_name_85 WHERE time_retired = \"+1 lap\" AND driver = \"mark blundell\"",
"context": "CREATE TABLE table_name_85 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)",
"question": "how many laps have a time/retired of +1 lap and mark blundell is the driver?"
} |
### QUESTION
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
### CONTEXT
CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR)
### ANSWER
SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825" | {
"answer": "SELECT name FROM table_name_76 WHERE species_authority = \"sigmodon hispidus say & ord, 1825\"",
"context": "CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR)",
"question": "What is the name for the species Authority of sigmodon hispidus say & ord, 1825?"
} |
### QUESTION
What is the average age of the dogs who have gone through any treatments?
### CONTEXT
CREATE TABLE Dogs (age INTEGER, dog_id VARCHAR); CREATE TABLE Treatments (age INTEGER, dog_id VARCHAR)
### ANSWER
SELECT AVG(age) FROM Dogs WHERE dog_id IN (SELECT dog_id FROM Treatments) | {
"answer": "SELECT AVG(age) FROM Dogs WHERE dog_id IN (SELECT dog_id FROM Treatments)",
"context": "CREATE TABLE Dogs (age INTEGER, dog_id VARCHAR); CREATE TABLE Treatments (age INTEGER, dog_id VARCHAR)",
"question": "What is the average age of the dogs who have gone through any treatments?"
} |
### QUESTION
what is the location attendance when the score is w 86–77 (ot)?
### CONTEXT
CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)
### ANSWER
SELECT location_attendance FROM table_name_42 WHERE score = "w 86–77 (ot)" | {
"answer": "SELECT location_attendance FROM table_name_42 WHERE score = \"w 86–77 (ot)\"",
"context": "CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)",
"question": "what is the location attendance when the score is w 86–77 (ot)?"
} |
### QUESTION
What is the Name of the Multiple Type museum in Anchorage?
### CONTEXT
CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)
### ANSWER
SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple" | {
"answer": "SELECT name FROM table_name_54 WHERE town_city = \"anchorage\" AND type = \"multiple\"",
"context": "CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)",
"question": "What is the Name of the Multiple Type museum in Anchorage?"
} |
### QUESTION
List title of albums have the number of tracks greater than 10.
### CONTEXT
CREATE TABLE tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)
### ANSWER
SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING COUNT(T1.id) > 10 | {
"answer": "SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING COUNT(T1.id) > 10",
"context": "CREATE TABLE tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)",
"question": "List title of albums have the number of tracks greater than 10."
} |
### QUESTION
How many subsidiaries of Postermobile Limited?
### CONTEXT
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
### ANSWER
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED" | {
"answer": "SELECT subsidiaries FROM table_1756264_2 WHERE company_name = \"POSTERMOBILE LIMITED\"",
"context": "CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)",
"question": "How many subsidiaries of Postermobile Limited?"
} |
### QUESTION
What is the 2007 value at the 2012 Grand Slam Tournaments?
### CONTEXT
CREATE TABLE table_name_26 (Id VARCHAR)
### ANSWER
SELECT 2007 FROM table_name_26 WHERE 2012 = "grand slam tournaments" | {
"answer": "SELECT 2007 FROM table_name_26 WHERE 2012 = \"grand slam tournaments\"",
"context": "CREATE TABLE table_name_26 (Id VARCHAR)",
"question": "What is the 2007 value at the 2012 Grand Slam Tournaments?"
} |
### QUESTION
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
### CONTEXT
CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)
### ANSWER
SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30 | {
"answer": "SELECT date_of_polling FROM table_name_2 WHERE polling_firm = \"forum research\" AND green = 7 AND liberal < 30",
"context": "CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)",
"question": "On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?"
} |
### QUESTION
What is the latest year joined with a Conference championships of 5, and an Institution of university of north carolina?
### CONTEXT
CREATE TABLE table_name_84 (joined INTEGER, conference_championships VARCHAR, institution VARCHAR)
### ANSWER
SELECT MAX(joined) FROM table_name_84 WHERE conference_championships = 5 AND institution = "university of north carolina" | {
"answer": "SELECT MAX(joined) FROM table_name_84 WHERE conference_championships = 5 AND institution = \"university of north carolina\"",
"context": "CREATE TABLE table_name_84 (joined INTEGER, conference_championships VARCHAR, institution VARCHAR)",
"question": "What is the latest year joined with a Conference championships of 5, and an Institution of university of north carolina?"
} |
### QUESTION
What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
### CONTEXT
CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12" | {
"answer": "SELECT score FROM table_name_24 WHERE visitor = \"chicago black hawks\" AND date = \"november 12\"",
"context": "CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR)",
"question": "What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?"
} |
### QUESTION
Which Office has a Party of rep, and a Representative of brian bosma?
### CONTEXT
CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR)
### ANSWER
SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma" | {
"answer": "SELECT office FROM table_name_9 WHERE party = \"rep\" AND representative = \"brian bosma\"",
"context": "CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR)",
"question": "Which Office has a Party of rep, and a Representative of brian bosma?"
} |
### QUESTION
What is the issue price (proof) where the issue price (bu) is 34.95?
### CONTEXT
CREATE TABLE table_11916083_1 (issue_price__proof_ VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)
### ANSWER
SELECT issue_price__proof_ FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "34.95" | {
"answer": "SELECT issue_price__proof_ FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = \"34.95\"",
"context": "CREATE TABLE table_11916083_1 (issue_price__proof_ VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)",
"question": "What is the issue price (proof) where the issue price (bu) is 34.95?"
} |
### QUESTION
How many papers are published by the institution "Tokohu University"?
### CONTEXT
CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Tokohu University" | {
"answer": "SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = \"Tokohu University\"",
"context": "CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)",
"question": "How many papers are published by the institution \"Tokohu University\"?"
} |
### QUESTION
What percentage is Karen Handel at in the poll in which Eric Johnson is 13% and undecided is 22%?
### CONTEXT
CREATE TABLE table_name_45 (karen_handel VARCHAR, eric_johnson VARCHAR, undecided VARCHAR)
### ANSWER
SELECT karen_handel FROM table_name_45 WHERE eric_johnson = "13%" AND undecided = "22%" | {
"answer": "SELECT karen_handel FROM table_name_45 WHERE eric_johnson = \"13%\" AND undecided = \"22%\"",
"context": "CREATE TABLE table_name_45 (karen_handel VARCHAR, eric_johnson VARCHAR, undecided VARCHAR)",
"question": "What percentage is Karen Handel at in the poll in which Eric Johnson is 13% and undecided is 22%?"
} |
### QUESTION
What constructor has under 62 laps, a Time/Retired of gearbox, a Grid larger than 1, and pedro diniz driving?
### CONTEXT
CREATE TABLE table_name_19 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT constructor FROM table_name_19 WHERE laps < 62 AND time_retired = "gearbox" AND grid > 1 AND driver = "pedro diniz" | {
"answer": "SELECT constructor FROM table_name_19 WHERE laps < 62 AND time_retired = \"gearbox\" AND grid > 1 AND driver = \"pedro diniz\"",
"context": "CREATE TABLE table_name_19 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR)",
"question": "What constructor has under 62 laps, a Time/Retired of gearbox, a Grid larger than 1, and pedro diniz driving?"
} |
### QUESTION
What are the Ratings of Japanese Title プロポーズ大作戦 episode 11 on Fuji TV station?
### CONTEXT
CREATE TABLE table_name_32 (average_ratings VARCHAR, japanese_title VARCHAR, episodes VARCHAR, tv_station VARCHAR)
### ANSWER
SELECT average_ratings FROM table_name_32 WHERE episodes = "11" AND tv_station = "fuji tv" AND japanese_title = "プロポーズ大作戦" | {
"answer": "SELECT average_ratings FROM table_name_32 WHERE episodes = \"11\" AND tv_station = \"fuji tv\" AND japanese_title = \"プロポーズ大作戦\"",
"context": "CREATE TABLE table_name_32 (average_ratings VARCHAR, japanese_title VARCHAR, episodes VARCHAR, tv_station VARCHAR)",
"question": "What are the Ratings of Japanese Title プロポーズ大作戦 episode 11 on Fuji TV station?"
} |
### QUESTION
What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam
### CONTEXT
CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR)
### ANSWER
SELECT AVG(money_requested__) AS £_ FROM table_name_96 WHERE first_aired = "18 january 2005" AND company_or_product_name = "iv cam" | {
"answer": "SELECT AVG(money_requested__) AS £_ FROM table_name_96 WHERE first_aired = \"18 january 2005\" AND company_or_product_name = \"iv cam\"",
"context": "CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR)",
"question": "What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam"
} |
### QUESTION
Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025?
### CONTEXT
CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)
### ANSWER
SELECT total FROM table_name_31 WHERE a_score > 6.4 AND b_score < 9.025 | {
"answer": "SELECT total FROM table_name_31 WHERE a_score > 6.4 AND b_score < 9.025",
"context": "CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)",
"question": "Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025?"
} |
### QUESTION
What was the rating share when the total viewers was 11.49 million?
### CONTEXT
CREATE TABLE table_23793770_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
### ANSWER
SELECT rating / SUM(rating) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "11.49" | {
"answer": "SELECT rating / SUM(rating) FROM table_23793770_2 WHERE total_viewers__in_millions_ = \"11.49\"",
"context": "CREATE TABLE table_23793770_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)",
"question": "What was the rating share when the total viewers was 11.49 million?"
} |
### QUESTION
What years for the rockets did player ford, alton alton ford play?
### CONTEXT
CREATE TABLE table_11734041_6 (years_for_rockets VARCHAR, player VARCHAR)
### ANSWER
SELECT years_for_rockets FROM table_11734041_6 WHERE player = "Ford, Alton Alton Ford" | {
"answer": "SELECT years_for_rockets FROM table_11734041_6 WHERE player = \"Ford, Alton Alton Ford\"",
"context": "CREATE TABLE table_11734041_6 (years_for_rockets VARCHAR, player VARCHAR)",
"question": "What years for the rockets did player ford, alton alton ford play?"
} |
### QUESTION
Who is the actor in the original production when Troy Stephens is the GamePlan?
### CONTEXT
CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)
### ANSWER
SELECT actor_in_original_production FROM table_name_69 WHERE gameplan = "troy stephens" | {
"answer": "SELECT actor_in_original_production FROM table_name_69 WHERE gameplan = \"troy stephens\"",
"context": "CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)",
"question": "Who is the actor in the original production when Troy Stephens is the GamePlan?"
} |
### QUESTION
What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins?
### CONTEXT
CREATE TABLE table_name_31 (score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR)
### ANSWER
SELECT score FROM table_name_31 WHERE decision = "lundqvist" AND november < 28 AND opponent = "boston bruins" | {
"answer": "SELECT score FROM table_name_31 WHERE decision = \"lundqvist\" AND november < 28 AND opponent = \"boston bruins\"",
"context": "CREATE TABLE table_name_31 (score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR)",
"question": "What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins?"
} |
### QUESTION
What are the average fastest lap speed in races held after 2004 grouped by race name and ordered by year?
### CONTEXT
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)
### ANSWER
SELECT AVG(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year | {
"answer": "SELECT AVG(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year",
"context": "CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)",
"question": "What are the average fastest lap speed in races held after 2004 grouped by race name and ordered by year?"
} |
### QUESTION
Name the points for 212 respect toward opponents
### CONTEXT
CREATE TABLE table_226619_12 (points VARCHAR, respect_toward_opponents VARCHAR)
### ANSWER
SELECT points FROM table_226619_12 WHERE respect_toward_opponents = 212 | {
"answer": "SELECT points FROM table_226619_12 WHERE respect_toward_opponents = 212",
"context": "CREATE TABLE table_226619_12 (points VARCHAR, respect_toward_opponents VARCHAR)",
"question": "Name the points for 212 respect toward opponents"
} |
### QUESTION
How many times was the viewer target group 0.63?
### CONTEXT
CREATE TABLE table_2639433_4 (market_share__target_group_14_49_ VARCHAR, viewers__in_millions_target_group_14_49_ VARCHAR)
### ANSWER
SELECT COUNT(market_share__target_group_14_49_) FROM table_2639433_4 WHERE viewers__in_millions_target_group_14_49_ = "0.63" | {
"answer": "SELECT COUNT(market_share__target_group_14_49_) FROM table_2639433_4 WHERE viewers__in_millions_target_group_14_49_ = \"0.63\"",
"context": "CREATE TABLE table_2639433_4 (market_share__target_group_14_49_ VARCHAR, viewers__in_millions_target_group_14_49_ VARCHAR)",
"question": "How many times was the viewer target group 0.63?"
} |
### QUESTION
What country has a silver medal in the boxing, heavyweight event?
### CONTEXT
CREATE TABLE table_name_77 (country VARCHAR, medal VARCHAR, event VARCHAR)
### ANSWER
SELECT country FROM table_name_77 WHERE medal = "silver" AND event = "boxing, heavyweight" | {
"answer": "SELECT country FROM table_name_77 WHERE medal = \"silver\" AND event = \"boxing, heavyweight\"",
"context": "CREATE TABLE table_name_77 (country VARCHAR, medal VARCHAR, event VARCHAR)",
"question": "What country has a silver medal in the boxing, heavyweight event?"
} |
### QUESTION
What is the home team's score at corio oval?
### CONTEXT
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_66 WHERE venue = "corio oval" | {
"answer": "SELECT home_team AS score FROM table_name_66 WHERE venue = \"corio oval\"",
"context": "CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)",
"question": "What is the home team's score at corio oval?"
} |
### QUESTION
What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"?
### CONTEXT
CREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR)
### ANSWER
SELECT pos FROM table_name_66 WHERE from_club = "chelsea" AND date = "30 july 2008" | {
"answer": "SELECT pos FROM table_name_66 WHERE from_club = \"chelsea\" AND date = \"30 july 2008\"",
"context": "CREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR)",
"question": "What is Pos., when From Club is \"Chelsea\", and when Date is \"30 July 2008\"?"
} |
### QUESTION
Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?
### CONTEXT
CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
### ANSWER
SELECT MAX(round) FROM table_name_67 WHERE school_club_team = "cal-poly slo" AND pick < 238 | {
"answer": "SELECT MAX(round) FROM table_name_67 WHERE school_club_team = \"cal-poly slo\" AND pick < 238",
"context": "CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)",
"question": "Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?"
} |
### QUESTION
What is the title for david campbell mulford?
### CONTEXT
CREATE TABLE table_name_90 (title VARCHAR, name VARCHAR)
### ANSWER
SELECT title FROM table_name_90 WHERE name = "david campbell mulford" | {
"answer": "SELECT title FROM table_name_90 WHERE name = \"david campbell mulford\"",
"context": "CREATE TABLE table_name_90 (title VARCHAR, name VARCHAR)",
"question": "What is the title for david campbell mulford?"
} |
### QUESTION
Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?
### CONTEXT
CREATE TABLE table_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (16)" | {
"answer": "SELECT high_rebounds FROM table_27755603_2 WHERE high_points = \"Rodney Stuckey (16)\"",
"context": "CREATE TABLE table_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR)",
"question": "Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?"
} |
### QUESTION
Which city did kpnz-tv provide coverage for?
### CONTEXT
CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)
### ANSWER
SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV" | {
"answer": "SELECT coverage FROM table_2523809_1 WHERE callsign = \"KPNZ-TV\"",
"context": "CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)",
"question": "Which city did kpnz-tv provide coverage for?"
} |
### QUESTION
What's the previous conference of Fountain City with a size more than 287?
### CONTEXT
CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)
### ANSWER
SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = "fountain city" | {
"answer": "SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = \"fountain city\"",
"context": "CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)",
"question": "What's the previous conference of Fountain City with a size more than 287?"
} |
### QUESTION
What was the earliest week the team played the chicago cardinals in front of less than 25,312?
### CONTEXT
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
### ANSWER
SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312 | {
"answer": "SELECT MIN(week) FROM table_name_12 WHERE opponent = \"chicago cardinals\" AND attendance < 25 OFFSET 312",
"context": "CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)",
"question": "What was the earliest week the team played the chicago cardinals in front of less than 25,312?"
} |
### QUESTION
How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher?
### CONTEXT
CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
### ANSWER
SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Michael Schumacher" | {
"answer": "SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = \"Benetton - Ford\" AND pole_position = \"Michael Schumacher\"",
"context": "CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)",
"question": "How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher?"
} |
### QUESTION
Find the semester when both Master students and Bachelor students got enrolled in.
### CONTEXT
CREATE TABLE Degree_Programs (degree_program_id VARCHAR); CREATE TABLE Student_Enrolment (semester_id VARCHAR, degree_program_id VARCHAR)
### ANSWER
SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor' | {
"answer": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Bachelor'",
"context": "CREATE TABLE Degree_Programs (degree_program_id VARCHAR); CREATE TABLE Student_Enrolment (semester_id VARCHAR, degree_program_id VARCHAR)",
"question": "Find the semester when both Master students and Bachelor students got enrolled in."
} |
### QUESTION
What is the Original name of empire of passion?
### CONTEXT
CREATE TABLE table_name_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
### ANSWER
SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = "empire of passion" | {
"answer": "SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = \"empire of passion\"",
"context": "CREATE TABLE table_name_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)",
"question": "What is the Original name of empire of passion?"
} |
### QUESTION
What is the career caps for half-back, when tests is more than 3?
### CONTEXT
CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)
### ANSWER
SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3 | {
"answer": "SELECT career_caps FROM table_name_73 WHERE position = \"half-back\" AND tests > 3",
"context": "CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)",
"question": "What is the career caps for half-back, when tests is more than 3?"
} |
### QUESTION
Find the first and last names of all the female (sex is F) students who have president votes.
### CONTEXT
CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, sex VARCHAR); CREATE TABLE VOTING_RECORD (President_VOTE VARCHAR)
### ANSWER
SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.President_VOTE WHERE T1.sex = "F" | {
"answer": "SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.President_VOTE WHERE T1.sex = \"F\"",
"context": "CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, sex VARCHAR); CREATE TABLE VOTING_RECORD (President_VOTE VARCHAR)",
"question": "Find the first and last names of all the female (sex is F) students who have president votes."
} |
### QUESTION
Show the names of all the donors except those whose donation amount less than 9.
### CONTEXT
CREATE TABLE endowment (donator_name VARCHAR, amount INTEGER)
### ANSWER
SELECT donator_name FROM endowment EXCEPT SELECT donator_name FROM endowment WHERE amount < 9 | {
"answer": "SELECT donator_name FROM endowment EXCEPT SELECT donator_name FROM endowment WHERE amount < 9",
"context": "CREATE TABLE endowment (donator_name VARCHAR, amount INTEGER)",
"question": "Show the names of all the donors except those whose donation amount less than 9."
} |
### QUESTION
Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?
### CONTEXT
CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR)
### ANSWER
SELECT league_cup_goals FROM table_name_61 WHERE total > "14" AND league_goals = "14" AND fa_cup_goals = "0" | {
"answer": "SELECT league_cup_goals FROM table_name_61 WHERE total > \"14\" AND league_goals = \"14\" AND fa_cup_goals = \"0\"",
"context": "CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR)",
"question": "Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?"
} |
### QUESTION
What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?
### CONTEXT
CREATE TABLE visitor (name VARCHAR, id VARCHAR); CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)
### ANSWER
SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011 | {
"answer": "SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year < 2009 INTERSECT SELECT t1.name FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id JOIN museum AS t3 ON t3.Museum_ID = t2.Museum_ID WHERE t3.open_year > 2011",
"context": "CREATE TABLE visitor (name VARCHAR, id VARCHAR); CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)",
"question": "What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?"
} |
### QUESTION
what is the play when the company is national theatre of greece?
### CONTEXT
CREATE TABLE table_name_11 (play VARCHAR, company VARCHAR)
### ANSWER
SELECT play FROM table_name_11 WHERE company = "national theatre of greece" | {
"answer": "SELECT play FROM table_name_11 WHERE company = \"national theatre of greece\"",
"context": "CREATE TABLE table_name_11 (play VARCHAR, company VARCHAR)",
"question": "what is the play when the company is national theatre of greece?"
} |
### QUESTION
What is Player, when Figures is source: . last updated: 28 june 2007.?
### CONTEXT
CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)
### ANSWER
SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007." | {
"answer": "SELECT player FROM table_name_52 WHERE figures = \"source: . last updated: 28 june 2007.\"",
"context": "CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)",
"question": "What is Player, when Figures is source: . last updated: 28 june 2007.?"
} |
### QUESTION
What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?
### CONTEXT
CREATE TABLE table_name_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark" | {
"answer": "SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = \"resigned\" AND replaced_by = \"sandy clark\"",
"context": "CREATE TABLE table_name_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)",
"question": "What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?"
} |
### QUESTION
How many pixels would be found in a hardware colour of 8?
### CONTEXT
CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)
### ANSWER
SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8 | {
"answer": "SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8",
"context": "CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)",
"question": "How many pixels would be found in a hardware colour of 8?"
} |
### QUESTION
What bombing happened in Brighton, UK?
### CONTEXT
CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR)
### ANSWER
SELECT event FROM table_name_98 WHERE location = "brighton, uk" | {
"answer": "SELECT event FROM table_name_98 WHERE location = \"brighton, uk\"",
"context": "CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR)",
"question": "What bombing happened in Brighton, UK?"
} |
### QUESTION
What is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0 eurocup, and there are more than 0 wins?
### CONTEXT
CREATE TABLE table_name_5 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)
### ANSWER
SELECT MAX(races) FROM table_name_5 WHERE podiums < 6 AND series = "formula renault 2.0 eurocup" AND wins > 0 | {
"answer": "SELECT MAX(races) FROM table_name_5 WHERE podiums < 6 AND series = \"formula renault 2.0 eurocup\" AND wins > 0",
"context": "CREATE TABLE table_name_5 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)",
"question": "What is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0 eurocup, and there are more than 0 wins?"
} |
### QUESTION
Find the last names of teachers who are not involved in any detention.
### CONTEXT
CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)
### ANSWER
SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id | {
"answer": "SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id",
"context": "CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)",
"question": "Find the last names of teachers who are not involved in any detention."
} |
### QUESTION
How many years did lin gaoyuan wu jiaji play mens doubles?
### CONTEXT
CREATE TABLE table_28138035_20 (year_location VARCHAR, mens_doubles VARCHAR)
### ANSWER
SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = "Lin Gaoyuan Wu Jiaji" | {
"answer": "SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = \"Lin Gaoyuan Wu Jiaji\"",
"context": "CREATE TABLE table_28138035_20 (year_location VARCHAR, mens_doubles VARCHAR)",
"question": "How many years did lin gaoyuan wu jiaji play mens doubles?"
} |
### QUESTION
What is the area located in Rhode Island with more than 38 sq mi area?
### CONTEXT
CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)
### ANSWER
SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38 | {
"answer": "SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = \"rhode island\" AND area__sq_mi_ > 38",
"context": "CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)",
"question": "What is the area located in Rhode Island with more than 38 sq mi area?"
} |
### QUESTION
What is the to par when the total is larger than 288?
### CONTEXT
CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER)
### ANSWER
SELECT to_par FROM table_name_97 WHERE total > 288 | {
"answer": "SELECT to_par FROM table_name_97 WHERE total > 288",
"context": "CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER)",
"question": "What is the to par when the total is larger than 288?"
} |
### QUESTION
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
### CONTEXT
CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)
### ANSWER
SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%" | {
"answer": "SELECT judaism FROM table_name_15 WHERE other = \"0.13%\" AND buddhism = \"0.01%\"",
"context": "CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)",
"question": "What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?"
} |
### QUESTION
How many picks have charley sanders as the name, with a round greater than 22?
### CONTEXT
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
### ANSWER
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22 | {
"answer": "SELECT SUM(pick) FROM table_name_78 WHERE name = \"charley sanders\" AND round > 22",
"context": "CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)",
"question": "How many picks have charley sanders as the name, with a round greater than 22?"
} |
### QUESTION
Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?
### CONTEXT
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, year_member_organization_was_founded VARCHAR, name_of_member_organization VARCHAR)
### ANSWER
SELECT admits_boys_girls FROM table_104858_1 WHERE year_member_organization_was_founded = "1912" AND name_of_member_organization = "The Ghana Scout Association" | {
"answer": "SELECT admits_boys_girls FROM table_104858_1 WHERE year_member_organization_was_founded = \"1912\" AND name_of_member_organization = \"The Ghana Scout Association\"",
"context": "CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, year_member_organization_was_founded VARCHAR, name_of_member_organization VARCHAR)",
"question": "Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?"
} |
### QUESTION
For the Enernoc Australia Pty Ltd, what's the country with an unknown date?
### CONTEXT
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)
### ANSWER
SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd" | {
"answer": "SELECT country FROM table_name_15 WHERE date = \"unknown\" AND company = \"enernoc australia pty ltd\"",
"context": "CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)",
"question": "For the Enernoc Australia Pty Ltd, what's the country with an unknown date?"
} |
### QUESTION
Which Country has a Place of t10, and a Player of tony jacklin?
### CONTEXT
CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin" | {
"answer": "SELECT country FROM table_name_2 WHERE place = \"t10\" AND player = \"tony jacklin\"",
"context": "CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR)",
"question": "Which Country has a Place of t10, and a Player of tony jacklin?"
} |
### QUESTION
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
### CONTEXT
CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
### ANSWER
SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0 | {
"answer": "SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0",
"context": "CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)",
"question": "What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.