text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
How much in total does customer with first name as Carole and last name as Bernhard paid?
### CONTEXT
CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR)
### ANSWER
SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Carole" AND T2.last_name = "Bernhard" | {
"answer": "SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Carole\" AND T2.last_name = \"Bernhard\"",
"context": "CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR)",
"question": "How much in total does customer with first name as Carole and last name as Bernhard paid?"
} |
### QUESTION
Show the names of phones and the districts of markets they are on.
### CONTEXT
CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE market (District VARCHAR, Market_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)
### ANSWER
SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID | {
"answer": "SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID",
"context": "CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE market (District VARCHAR, Market_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)",
"question": "Show the names of phones and the districts of markets they are on."
} |
### QUESTION
How many assists per game in the tournament 2010 fiba world championship?
### CONTEXT
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, tournament VARCHAR)
### ANSWER
SELECT assists_per_game FROM table_2387461_1 WHERE tournament = "2010 FIBA World Championship" | {
"answer": "SELECT assists_per_game FROM table_2387461_1 WHERE tournament = \"2010 FIBA World Championship\"",
"context": "CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, tournament VARCHAR)",
"question": "How many assists per game in the tournament 2010 fiba world championship?"
} |
### QUESTION
Location of brendan byrne arena had what score?
### CONTEXT
CREATE TABLE table_name_5 (score VARCHAR, location VARCHAR)
### ANSWER
SELECT score FROM table_name_5 WHERE location = "brendan byrne arena" | {
"answer": "SELECT score FROM table_name_5 WHERE location = \"brendan byrne arena\"",
"context": "CREATE TABLE table_name_5 (score VARCHAR, location VARCHAR)",
"question": "Location of brendan byrne arena had what score?"
} |
### QUESTION
Which skip's third is Steffen Walstad?
### CONTEXT
CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR)
### ANSWER
SELECT skip FROM table_name_1 WHERE third = "steffen walstad" | {
"answer": "SELECT skip FROM table_name_1 WHERE third = \"steffen walstad\"",
"context": "CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR)",
"question": "Which skip's third is Steffen Walstad?"
} |
### QUESTION
What is the name of the baseball stadium for the school with the Murray Center basketball arena?
### CONTEXT
CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)
### ANSWER
SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center" | {
"answer": "SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = \"The Murray Center\"",
"context": "CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)",
"question": "What is the name of the baseball stadium for the school with the Murray Center basketball arena?"
} |
### QUESTION
What is the name of the wrestler with the fewest days held?
### CONTEXT
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
### ANSWER
SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1 | {
"answer": "SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1",
"context": "CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)",
"question": "What is the name of the wrestler with the fewest days held?"
} |
### QUESTION
Which name has an Order smaller than 997,more than 5 goals, and 215 games?
### CONTEXT
CREATE TABLE table_name_43 (name VARCHAR, games VARCHAR, order VARCHAR, goals VARCHAR)
### ANSWER
SELECT name FROM table_name_43 WHERE order < 997 AND goals > 5 AND games = 215 | {
"answer": "SELECT name FROM table_name_43 WHERE order < 997 AND goals > 5 AND games = 215",
"context": "CREATE TABLE table_name_43 (name VARCHAR, games VARCHAR, order VARCHAR, goals VARCHAR)",
"question": "Which name has an Order smaller than 997,more than 5 goals, and 215 games?"
} |
### QUESTION
What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?
### CONTEXT
CREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)
### ANSWER
SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1 | {
"answer": "SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1",
"context": "CREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)",
"question": "What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?"
} |
### QUESTION
what will be the population of Europe when Northern America is 482 (4.7%)?
### CONTEXT
CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)
### ANSWER
SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)" | {
"answer": "SELECT europe FROM table_19017269_5 WHERE northern_america = \"482 (4.7%)\"",
"context": "CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)",
"question": "what will be the population of Europe when Northern America is 482 (4.7%)?"
} |
### QUESTION
Which position is team mons who was replaced by Christophe Dessy (caretaker)?
### CONTEXT
CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT position_in_table FROM table_name_91 WHERE team = "mons" AND replaced_by = "christophe dessy (caretaker)" | {
"answer": "SELECT position_in_table FROM table_name_91 WHERE team = \"mons\" AND replaced_by = \"christophe dessy (caretaker)\"",
"context": "CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR)",
"question": "Which position is team mons who was replaced by Christophe Dessy (caretaker)?"
} |
### QUESTION
What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?
### CONTEXT
CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR)
### ANSWER
SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103 | {
"answer": "SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = \"england\" AND operating_income_$m_ > -5 AND revenue__$m_ < 103",
"context": "CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR)",
"question": "What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?"
} |
### QUESTION
What was the venue on October 16, 1996?
### CONTEXT
CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR)
### ANSWER
SELECT venue FROM table_name_13 WHERE date = "october 16, 1996" | {
"answer": "SELECT venue FROM table_name_13 WHERE date = \"october 16, 1996\"",
"context": "CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR)",
"question": "What was the venue on October 16, 1996?"
} |
### QUESTION
What is Result, when Director is Mirza Idrizović category:articles with hcards?
### CONTEXT
CREATE TABLE table_name_78 (result VARCHAR, director VARCHAR)
### ANSWER
SELECT result FROM table_name_78 WHERE director = "mirza idrizović category:articles with hcards" | {
"answer": "SELECT result FROM table_name_78 WHERE director = \"mirza idrizović category:articles with hcards\"",
"context": "CREATE TABLE table_name_78 (result VARCHAR, director VARCHAR)",
"question": "What is Result, when Director is Mirza Idrizović category:articles with hcards?"
} |
### QUESTION
How many customers did not have any event?
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE customer_events (customer_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_events) | {
"answer": "SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_events)",
"context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE customer_events (customer_id VARCHAR)",
"question": "How many customers did not have any event?"
} |
### QUESTION
What is the year when Spirit Tom's Racing had more than 3 points?
### CONTEXT
CREATE TABLE table_name_70 (year INTEGER, entrant VARCHAR, points VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_70 WHERE entrant = "spirit tom's racing" AND points > 3 | {
"answer": "SELECT SUM(year) FROM table_name_70 WHERE entrant = \"spirit tom's racing\" AND points > 3",
"context": "CREATE TABLE table_name_70 (year INTEGER, entrant VARCHAR, points VARCHAR)",
"question": "What is the year when Spirit Tom's Racing had more than 3 points?"
} |
### QUESTION
Which Mountain Peak has a Region of baja california, and a Location of 28.1301°n 115.2206°w?
### CONTEXT
CREATE TABLE table_name_87 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR)
### ANSWER
SELECT mountain_peak FROM table_name_87 WHERE region = "baja california" AND location = "28.1301°n 115.2206°w" | {
"answer": "SELECT mountain_peak FROM table_name_87 WHERE region = \"baja california\" AND location = \"28.1301°n 115.2206°w\"",
"context": "CREATE TABLE table_name_87 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR)",
"question": "Which Mountain Peak has a Region of baja california, and a Location of 28.1301°n 115.2206°w?"
} |
### QUESTION
what is the event when gold is darren kenny great britain (gbr)?
### CONTEXT
CREATE TABLE table_name_1 (event VARCHAR, gold VARCHAR)
### ANSWER
SELECT event FROM table_name_1 WHERE gold = "darren kenny great britain (gbr)" | {
"answer": "SELECT event FROM table_name_1 WHERE gold = \"darren kenny great britain (gbr)\"",
"context": "CREATE TABLE table_name_1 (event VARCHAR, gold VARCHAR)",
"question": "what is the event when gold is darren kenny great britain (gbr)?"
} |
### QUESTION
Find the dates of orders which belong to the customer named "Jeramie".
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)
### ANSWER
SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie" | {
"answer": "SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\"",
"context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)",
"question": "Find the dates of orders which belong to the customer named \"Jeramie\"."
} |
### QUESTION
display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name.
### CONTEXT
CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)
### ANSWER
SELECT employee_id, first_name, last_name, salary FROM employees WHERE salary > (SELECT AVG(salary) FROM employees) AND department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%J%') | {
"answer": "SELECT employee_id, first_name, last_name, salary FROM employees WHERE salary > (SELECT AVG(salary) FROM employees) AND department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%J%')",
"context": "CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)",
"question": "display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name."
} |
### QUESTION
How many writers write the episode whose director is Jonathan Herron?
### CONTEXT
CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = "Jonathan Herron" | {
"answer": "SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = \"Jonathan Herron\"",
"context": "CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR)",
"question": "How many writers write the episode whose director is Jonathan Herron?"
} |
### QUESTION
Name the leader battle for plamen
### CONTEXT
CREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)
### ANSWER
SELECT leader_battle FROM table_25920798_2 WHERE eliminated = "Plamen" | {
"answer": "SELECT leader_battle FROM table_25920798_2 WHERE eliminated = \"Plamen\"",
"context": "CREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)",
"question": "Name the leader battle for plamen"
} |
### QUESTION
What was the state (class) where the new successor was formally installed on May 11, 1966?
### CONTEXT
CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
### ANSWER
SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | {
"answer": "SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = \"May 11, 1966\"",
"context": "CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)",
"question": "What was the state (class) where the new successor was formally installed on May 11, 1966?"
} |
### QUESTION
how many times has Aaron Ogden (f), been a successor and has had a formal installation?
### CONTEXT
CREATE TABLE table_224840_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR)
### ANSWER
SELECT COUNT(date_of_successors_formal_installation) FROM table_224840_3 WHERE successor = "Aaron Ogden (F)" | {
"answer": "SELECT COUNT(date_of_successors_formal_installation) FROM table_224840_3 WHERE successor = \"Aaron Ogden (F)\"",
"context": "CREATE TABLE table_224840_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR)",
"question": "how many times has Aaron Ogden (f), been a successor and has had a formal installation? "
} |
### QUESTION
What is the grid number for troy corser with under 22 laps?
### CONTEXT
CREATE TABLE table_name_48 (grid INTEGER, rider VARCHAR, laps VARCHAR)
### ANSWER
SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22 | {
"answer": "SELECT SUM(grid) FROM table_name_48 WHERE rider = \"troy corser\" AND laps < 22",
"context": "CREATE TABLE table_name_48 (grid INTEGER, rider VARCHAR, laps VARCHAR)",
"question": "What is the grid number for troy corser with under 22 laps?"
} |
### QUESTION
Name the date for s. valentino alla muta , italia
### CONTEXT
CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR)
### ANSWER
SELECT date FROM table_30073089_2 WHERE location = "S. Valentino Alla Muta , Italia" | {
"answer": "SELECT date FROM table_30073089_2 WHERE location = \"S. Valentino Alla Muta , Italia\"",
"context": "CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR)",
"question": "Name the date for s. valentino alla muta , italia"
} |
### QUESTION
What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?
### CONTEXT
CREATE TABLE table_name_18 (year INTEGER, crowd VARCHAR, winners VARCHAR, season_result VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_18 WHERE winners = "hawthorn" AND season_result = "preliminary finalist" AND crowd < 27 OFFSET 407 | {
"answer": "SELECT MAX(year) FROM table_name_18 WHERE winners = \"hawthorn\" AND season_result = \"preliminary finalist\" AND crowd < 27 OFFSET 407",
"context": "CREATE TABLE table_name_18 (year INTEGER, crowd VARCHAR, winners VARCHAR, season_result VARCHAR)",
"question": "What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?"
} |
### QUESTION
Tell me the total number of pick for university of virginia
### CONTEXT
CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia" | {
"answer": "SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = \"university of virginia\"",
"context": "CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR)",
"question": "Tell me the total number of pick for university of virginia"
} |
### QUESTION
Show the names of people that are on affirmative side of debates with number of audience bigger than 200.
### CONTEXT
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Debate_ID VARCHAR, Num_of_Audience INTEGER); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)
### ANSWER
SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200 | {
"answer": "SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200",
"context": "CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Debate_ID VARCHAR, Num_of_Audience INTEGER); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)",
"question": "Show the names of people that are on affirmative side of debates with number of audience bigger than 200."
} |
### QUESTION
Name the most population 2002
### CONTEXT
CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)
### ANSWER
SELECT MAX(population__2002_census_data_) FROM table_22854436_1 | {
"answer": "SELECT MAX(population__2002_census_data_) FROM table_22854436_1",
"context": "CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)",
"question": "Name the most population 2002"
} |
### QUESTION
What are the characters from the movie Suppressed Duck?
### CONTEXT
CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)
### ANSWER
SELECT characters FROM table_name_80 WHERE title = "suppressed duck" | {
"answer": "SELECT characters FROM table_name_80 WHERE title = \"suppressed duck\"",
"context": "CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)",
"question": "What are the characters from the movie Suppressed Duck?"
} |
### QUESTION
Find courses that ran in Fall 2009 but not in Spring 2010.
### CONTEXT
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
### ANSWER
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010 | {
"answer": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010",
"context": "CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)",
"question": "Find courses that ran in Fall 2009 but not in Spring 2010."
} |
### QUESTION
Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver?
### CONTEXT
CREATE TABLE table_name_10 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR)
### ANSWER
SELECT crew_chief FROM table_name_10 WHERE team = "chip ganassi racing with felix sabates" AND driver_s_ = "casey mears" | {
"answer": "SELECT crew_chief FROM table_name_10 WHERE team = \"chip ganassi racing with felix sabates\" AND driver_s_ = \"casey mears\"",
"context": "CREATE TABLE table_name_10 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR)",
"question": "Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver?"
} |
### QUESTION
Find the average age of members of the club "Hopkins Student Enterprises".
### CONTEXT
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### ANSWER
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" | {
"answer": "SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\"",
"context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)",
"question": "Find the average age of members of the club \"Hopkins Student Enterprises\"."
} |
### QUESTION
What is the record for the game against the New England Patriots with a recap?
### CONTEXT
CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)
### ANSWER
SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots" | {
"answer": "SELECT record FROM table_name_90 WHERE nfl_recap = \"recap\" AND opponent = \"new england patriots\"",
"context": "CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)",
"question": "What is the record for the game against the New England Patriots with a recap?"
} |
### QUESTION
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007
### CONTEXT
CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)
### ANSWER
SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 2007" | {
"answer": "SELECT representative FROM table_name_65 WHERE appointed_by = \"george w. bush\" AND presentation_of_credentials = \"9 november 2007\"",
"context": "CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)",
"question": "Name the representative appointed by george w. bush with presentation of credentials 9 november 2007"
} |
### QUESTION
In what Week has a Result of l 24–20, and a Opponent of at new england patriots?
### CONTEXT
CREATE TABLE table_name_32 (week INTEGER, result VARCHAR, opponent VARCHAR)
### ANSWER
SELECT MAX(week) FROM table_name_32 WHERE result = "l 24–20" AND opponent = "at new england patriots" | {
"answer": "SELECT MAX(week) FROM table_name_32 WHERE result = \"l 24–20\" AND opponent = \"at new england patriots\"",
"context": "CREATE TABLE table_name_32 (week INTEGER, result VARCHAR, opponent VARCHAR)",
"question": "In what Week has a Result of l 24–20, and a Opponent of at new england patriots?"
} |
### QUESTION
What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate?
### CONTEXT
CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR)
### ANSWER
SELECT standard_name FROM table_name_49 WHERE version = "adsl2" AND downstream_rate = "01.5 1.5 mbit/s" | {
"answer": "SELECT standard_name FROM table_name_49 WHERE version = \"adsl2\" AND downstream_rate = \"01.5 1.5 mbit/s\"",
"context": "CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR)",
"question": "What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate?"
} |
### QUESTION
Which Time has an Event of 200 m butterfly?
### CONTEXT
CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR)
### ANSWER
SELECT time FROM table_name_7 WHERE event = "200 m butterfly" | {
"answer": "SELECT time FROM table_name_7 WHERE event = \"200 m butterfly\"",
"context": "CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR)",
"question": "Which Time has an Event of 200 m butterfly?"
} |
### QUESTION
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?
### CONTEXT
CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
### ANSWER
SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles" | {
"answer": "SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = \"philadelphia eagles\"",
"context": "CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)",
"question": "What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?"
} |
### QUESTION
Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?
### CONTEXT
CREATE TABLE table_name_27 (total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
### ANSWER
SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "13" | {
"answer": "SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = \"13\"",
"context": "CREATE TABLE table_name_27 (total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)",
"question": "Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?"
} |
### QUESTION
After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards?
### CONTEXT
CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR)
### ANSWER
SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario category:articles with hcards" | {
"answer": "SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = \"dwayne de rosario category:articles with hcards\"",
"context": "CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR)",
"question": "After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards?"
} |
### QUESTION
Which junctions have "replaced by bsi-35" listed in their remarks section?
### CONTEXT
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
### ANSWER
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35" | {
"answer": "SELECT junctions FROM table_11336756_6 WHERE remarks = \"Replaced by BSI-35\"",
"context": "CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)",
"question": "Which junctions have \"replaced by bsi-35\" listed in their remarks section?"
} |
### QUESTION
What is every value for approximate duration when event details is women's foil?
### CONTEXT
CREATE TABLE table_28003469_1 (approx_duration VARCHAR, event_details VARCHAR)
### ANSWER
SELECT approx_duration FROM table_28003469_1 WHERE event_details = "Women's Foil" | {
"answer": "SELECT approx_duration FROM table_28003469_1 WHERE event_details = \"Women's Foil\"",
"context": "CREATE TABLE table_28003469_1 (approx_duration VARCHAR, event_details VARCHAR)",
"question": "What is every value for approximate duration when event details is women's foil?"
} |
### QUESTION
What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2?
### CONTEXT
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
### ANSWER
SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2 | {
"answer": "SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = \"1\" AND nation = \"brazil (bra)\" AND gold < 2",
"context": "CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)",
"question": "What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2?"
} |
### QUESTION
What is Surface, when Tournament is "Saint Joseph , United States"?
### CONTEXT
CREATE TABLE table_name_87 (surface VARCHAR, tournament VARCHAR)
### ANSWER
SELECT surface FROM table_name_87 WHERE tournament = "saint joseph , united states" | {
"answer": "SELECT surface FROM table_name_87 WHERE tournament = \"saint joseph , united states\"",
"context": "CREATE TABLE table_name_87 (surface VARCHAR, tournament VARCHAR)",
"question": "What is Surface, when Tournament is \"Saint Joseph , United States\"?"
} |
### QUESTION
What is the role name and role description for employee called Ebba?
### CONTEXT
CREATE TABLE Employees (role_code VARCHAR, employee_name VARCHAR); CREATE TABLE ROLES (role_name VARCHAR, role_description VARCHAR, role_code VARCHAR)
### ANSWER
SELECT T2.role_name, T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = "Ebba" | {
"answer": "SELECT T2.role_name, T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = \"Ebba\"",
"context": "CREATE TABLE Employees (role_code VARCHAR, employee_name VARCHAR); CREATE TABLE ROLES (role_name VARCHAR, role_description VARCHAR, role_code VARCHAR)",
"question": "What is the role name and role description for employee called Ebba?"
} |
### QUESTION
What album has the title I Need A Life with the label of warp records / paper bag records?
### CONTEXT
CREATE TABLE table_name_18 (album VARCHAR, label VARCHAR, title VARCHAR)
### ANSWER
SELECT album FROM table_name_18 WHERE label = "warp records / paper bag records" AND title = "i need a life" | {
"answer": "SELECT album FROM table_name_18 WHERE label = \"warp records / paper bag records\" AND title = \"i need a life\"",
"context": "CREATE TABLE table_name_18 (album VARCHAR, label VARCHAR, title VARCHAR)",
"question": "What album has the title I Need A Life with the label of warp records / paper bag records?"
} |
### QUESTION
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
### CONTEXT
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)
### ANSWER
SELECT school FROM table_11677691_2 WHERE college = "South Carolina" | {
"answer": "SELECT school FROM table_11677691_2 WHERE college = \"South Carolina\"",
"context": "CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)",
"question": "WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?"
} |
### QUESTION
What week did the Jets play in the meadowlands with and attendance of 78,161?
### CONTEXT
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
### ANSWER
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" | {
"answer": "SELECT SUM(week) FROM table_name_13 WHERE game_site = \"the meadowlands\" AND attendance = \"78,161\"",
"context": "CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)",
"question": "What week did the Jets play in the meadowlands with and attendance of 78,161?"
} |
### QUESTION
Name the won promotion for kalmar ff
### CONTEXT
CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)
### ANSWER
SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF" | {
"answer": "SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = \"Kalmar FF\"",
"context": "CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)",
"question": "Name the won promotion for kalmar ff"
} |
### QUESTION
What Round was the Winning Team Engstler Motorsport Maurer Motorsport?
### CONTEXT
CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR)
### ANSWER
SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport" | {
"answer": "SELECT round FROM table_name_26 WHERE winning_team = \"engstler motorsport maurer motorsport\"",
"context": "CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR)",
"question": "What Round was the Winning Team Engstler Motorsport Maurer Motorsport?"
} |
### QUESTION
Who is every play-by-play announcer when Chris Rose is the trophy presenter?
### CONTEXT
CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR)
### ANSWER
SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" | {
"answer": "SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = \"Chris Rose\"",
"context": "CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR)",
"question": "Who is every play-by-play announcer when Chris Rose is the trophy presenter?"
} |
### QUESTION
What is the epa rated combined fuel economy for the Nissan Leaf?
### CONTEXT
CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR)
### ANSWER
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf" | {
"answer": "SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = \"Nissan Leaf\"",
"context": "CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR)",
"question": "What is the epa rated combined fuel economy for the Nissan Leaf?"
} |
### QUESTION
What is the number of car models that are produced by each maker and what is the id and full name of each maker?
### CONTEXT
CREATE TABLE CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
### ANSWER
SELECT COUNT(*), T2.FullName, T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id | {
"answer": "SELECT COUNT(*), T2.FullName, T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id",
"context": "CREATE TABLE CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)",
"question": "What is the number of car models that are produced by each maker and what is the id and full name of each maker?"
} |
### QUESTION
What was the date of the game against Northwestern?
### CONTEXT
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)
### ANSWER
SELECT date FROM table_name_62 WHERE opponent = "northwestern" | {
"answer": "SELECT date FROM table_name_62 WHERE opponent = \"northwestern\"",
"context": "CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)",
"question": "What was the date of the game against Northwestern?"
} |
### QUESTION
Find the team names of the universities whose enrollments are smaller than the average enrollment size.
### CONTEXT
CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)
### ANSWER
SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university) | {
"answer": "SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university)",
"context": "CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)",
"question": "Find the team names of the universities whose enrollments are smaller than the average enrollment size."
} |
### QUESTION
Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip?
### CONTEXT
CREATE TABLE table_name_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR)
### ANSWER
SELECT body_tackle FROM table_name_56 WHERE diving_tackle = "yes" AND sliding_tackle = "classified as a trip" | {
"answer": "SELECT body_tackle FROM table_name_56 WHERE diving_tackle = \"yes\" AND sliding_tackle = \"classified as a trip\"",
"context": "CREATE TABLE table_name_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR)",
"question": "Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip?"
} |
### QUESTION
Find the number of different airports which are the destinations of the American Airlines.
### CONTEXT
CREATE TABLE routes (alid VARCHAR); CREATE TABLE airlines (alid VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines' | {
"answer": "SELECT COUNT(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'",
"context": "CREATE TABLE routes (alid VARCHAR); CREATE TABLE airlines (alid VARCHAR, name VARCHAR)",
"question": "Find the number of different airports which are the destinations of the American Airlines."
} |
### QUESTION
Find the number of routes with destination airports in Italy.
### CONTEXT
CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR)
### ANSWER
SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy' | {
"answer": "SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy'",
"context": "CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR)",
"question": "Find the number of routes with destination airports in Italy."
} |
### QUESTION
Which date has Total Holocaust records in the ed Remaster cassette format?
### CONTEXT
CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR)
### ANSWER
SELECT date FROM table_name_85 WHERE label = "total holocaust records" AND format = "ed remaster cassette" | {
"answer": "SELECT date FROM table_name_85 WHERE label = \"total holocaust records\" AND format = \"ed remaster cassette\"",
"context": "CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR)",
"question": "Which date has Total Holocaust records in the ed Remaster cassette format?"
} |
### QUESTION
what is the standard when the pollutant is o 3 and averaging time is 8-hour?
### CONTEXT
CREATE TABLE table_name_79 (standard VARCHAR, pollutant VARCHAR, averaging_time VARCHAR)
### ANSWER
SELECT standard FROM table_name_79 WHERE pollutant = "o 3" AND averaging_time = "8-hour" | {
"answer": "SELECT standard FROM table_name_79 WHERE pollutant = \"o 3\" AND averaging_time = \"8-hour\"",
"context": "CREATE TABLE table_name_79 (standard VARCHAR, pollutant VARCHAR, averaging_time VARCHAR)",
"question": "what is the standard when the pollutant is o 3 and averaging time is 8-hour?"
} |
### QUESTION
Show white percentages of cities and the crime rates of counties they are in.
### CONTEXT
CREATE TABLE city (White VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR)
### ANSWER
SELECT T1.White, T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID | {
"answer": "SELECT T1.White, T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID",
"context": "CREATE TABLE city (White VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR)",
"question": "Show white percentages of cities and the crime rates of counties they are in."
} |
### QUESTION
How many people participated in the Rasmussen Reports poll on October 13, 2010?
### CONTEXT
CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)
### ANSWER
SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010" | {
"answer": "SELECT sample_size FROM table_name_61 WHERE poll_source = \"rasmussen reports\" AND date_s__administered = \"october 13, 2010\"",
"context": "CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)",
"question": "How many people participated in the Rasmussen Reports poll on October 13, 2010?"
} |
### QUESTION
When melbourne played as the home team, who did they play?
### CONTEXT
CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT away_team FROM table_name_41 WHERE home_team = "melbourne" | {
"answer": "SELECT away_team FROM table_name_41 WHERE home_team = \"melbourne\"",
"context": "CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR)",
"question": "When melbourne played as the home team, who did they play?"
} |
### QUESTION
How many ranks had 367 matches and more than 216 goals?
### CONTEXT
CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)
### ANSWER
SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216 | {
"answer": "SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216",
"context": "CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)",
"question": "How many ranks had 367 matches and more than 216 goals?"
} |
### QUESTION
Show the product name and total order quantity for each product.
### CONTEXT
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, product_id VARCHAR)
### ANSWER
SELECT T1.product_name, SUM(T2.order_quantity) FROM products AS T1 JOIN order_items AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_id | {
"answer": "SELECT T1.product_name, SUM(T2.order_quantity) FROM products AS T1 JOIN order_items AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_id",
"context": "CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, product_id VARCHAR)",
"question": "Show the product name and total order quantity for each product."
} |
### QUESTION
What was the result after the week # top 11?
### CONTEXT
CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)
### ANSWER
SELECT result FROM table_name_84 WHERE week__number = "top 11" | {
"answer": "SELECT result FROM table_name_84 WHERE week__number = \"top 11\"",
"context": "CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)",
"question": "What was the result after the week # top 11?"
} |
### QUESTION
What is the D43 associated with a D41 of r 16?
### CONTEXT
CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR)
### ANSWER
SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" | {
"answer": "SELECT d_43 FROM table_name_92 WHERE d_41 = \"r 16\"",
"context": "CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR)",
"question": "What is the D43 associated with a D41 of r 16?"
} |
### QUESTION
How many students enrolled in class ACCT-211?
### CONTEXT
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)
### ANSWER
SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code WHERE T1.crs_code = 'ACCT-211' | {
"answer": "SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code WHERE T1.crs_code = 'ACCT-211'",
"context": "CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)",
"question": "How many students enrolled in class ACCT-211?"
} |
### QUESTION
What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?
### CONTEXT
CREATE TABLE table_name_94 (round VARCHAR, position VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_94 WHERE position = "d" AND player = "andrew campbell" | {
"answer": "SELECT COUNT(round) FROM table_name_94 WHERE position = \"d\" AND player = \"andrew campbell\"",
"context": "CREATE TABLE table_name_94 (round VARCHAR, position VARCHAR, player VARCHAR)",
"question": "What is the total number of Round, when Position is \"D\", and when Player is \"Andrew Campbell\"?"
} |
### QUESTION
How many export volume of goods/services values are associated with GDP at constant prices values of 3.072?
### CONTEXT
CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR)
### ANSWER
SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = "3.072" | {
"answer": "SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = \"3.072\"",
"context": "CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR)",
"question": "How many export volume of goods/services values are associated with GDP at constant prices values of 3.072?"
} |
### QUESTION
What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
### CONTEXT
CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
### ANSWER
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017" | {
"answer": "SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = \"1386-000-017\"",
"context": "CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)",
"question": "What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?"
} |
### QUESTION
What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?
### CONTEXT
CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)
### ANSWER
SELECT attendance FROM table_name_63 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND opponent = "ohio" | {
"answer": "SELECT attendance FROM table_name_63 WHERE site = \"dowdy-ficklen stadium • greenville, nc\" AND opponent = \"ohio\"",
"context": "CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)",
"question": "What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?"
} |
### QUESTION
What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?
### CONTEXT
CREATE TABLE table_name_24 (videoconferencing VARCHAR, faxing VARCHAR, synchronous_conferencing VARCHAR, web_conferencing VARCHAR)
### ANSWER
SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = "no" AND web_conferencing = "no" AND faxing = "yes" | {
"answer": "SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = \"no\" AND web_conferencing = \"no\" AND faxing = \"yes\"",
"context": "CREATE TABLE table_name_24 (videoconferencing VARCHAR, faxing VARCHAR, synchronous_conferencing VARCHAR, web_conferencing VARCHAR)",
"question": "What is Videoconferencing, when Synchronous Conferencing is \"No\", when Web Conferencing is \"No\", and when Faxing is \"Yes\"?"
} |
### QUESTION
What candidate was re-elected in the Louisiana 5 district?
### CONTEXT
CREATE TABLE table_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)
### ANSWER
SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 5" | {
"answer": "SELECT candidates FROM table_1342149_18 WHERE result = \"Re-elected\" AND district = \"Louisiana 5\"",
"context": "CREATE TABLE table_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)",
"question": "What candidate was re-elected in the Louisiana 5 district? "
} |
### QUESTION
What place did Jack McGrath start in when he received a qual score of 141.033?
### CONTEXT
CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)
### ANSWER
SELECT start FROM table_name_72 WHERE qual = "141.033" | {
"answer": "SELECT start FROM table_name_72 WHERE qual = \"141.033\"",
"context": "CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)",
"question": "What place did Jack McGrath start in when he received a qual score of 141.033?"
} |
### QUESTION
What's the production code of the episode with a series number 37b?
### CONTEXT
CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)
### ANSWER
SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b" | {
"answer": "SELECT production_code FROM table_14035132_3 WHERE no_in_series = \"37b\"",
"context": "CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)",
"question": "What's the production code of the episode with a series number 37b? "
} |
### QUESTION
What was the highest number of against when the difference was 58 and the total played was more than 22?
### CONTEXT
CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR)
### ANSWER
SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22 | {
"answer": "SELECT MAX(against) FROM table_name_62 WHERE difference = \"58\" AND played > 22",
"context": "CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR)",
"question": "What was the highest number of against when the difference was 58 and the total played was more than 22?"
} |
### QUESTION
What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?
### CONTEXT
CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)
### ANSWER
SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317 | {
"answer": "SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = \"total\" AND draw > 317",
"context": "CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)",
"question": "What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?"
} |
### QUESTION
What is the full number of Total Seats with a constituency seat number bigger than 0 with the Liberal Democrat party, and the Regional seat number is smaller than 6?
### CONTEXT
CREATE TABLE table_name_26 (total_seats INTEGER, regional_seats VARCHAR, constituency_seats VARCHAR, party VARCHAR)
### ANSWER
SELECT SUM(total_seats) FROM table_name_26 WHERE constituency_seats > 0 AND party = "liberal democrat" AND regional_seats < 6 | {
"answer": "SELECT SUM(total_seats) FROM table_name_26 WHERE constituency_seats > 0 AND party = \"liberal democrat\" AND regional_seats < 6",
"context": "CREATE TABLE table_name_26 (total_seats INTEGER, regional_seats VARCHAR, constituency_seats VARCHAR, party VARCHAR)",
"question": "What is the full number of Total Seats with a constituency seat number bigger than 0 with the Liberal Democrat party, and the Regional seat number is smaller than 6?"
} |
### QUESTION
What was the film title used in nomination for the film directed by Gheorghe Vitanidis?
### CONTEXT
CREATE TABLE table_name_89 (film_title_used_in_nomination VARCHAR, director VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = "gheorghe vitanidis" | {
"answer": "SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = \"gheorghe vitanidis\"",
"context": "CREATE TABLE table_name_89 (film_title_used_in_nomination VARCHAR, director VARCHAR)",
"question": "What was the film title used in nomination for the film directed by Gheorghe Vitanidis?"
} |
### QUESTION
What is the lowest Year with an Album that is live love in London?
### CONTEXT
CREATE TABLE table_name_34 (year INTEGER, album VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_34 WHERE album = "live love in london" | {
"answer": "SELECT MIN(year) FROM table_name_34 WHERE album = \"live love in london\"",
"context": "CREATE TABLE table_name_34 (year INTEGER, album VARCHAR)",
"question": "What is the lowest Year with an Album that is live love in London?"
} |
### QUESTION
Record of 8–1, and a Week larger than 9 had what highest attendance?
### CONTEXT
CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9 | {
"answer": "SELECT MAX(attendance) FROM table_name_18 WHERE record = \"8–1\" AND week > 9",
"context": "CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR)",
"question": "Record of 8–1, and a Week larger than 9 had what highest attendance?"
} |
### QUESTION
Which sign has a red border and a warning sign?
### CONTEXT
CREATE TABLE table_name_68 (text_symbol VARCHAR, border VARCHAR, type_of_sign VARCHAR)
### ANSWER
SELECT text_symbol FROM table_name_68 WHERE border = "red" AND type_of_sign = "warning" | {
"answer": "SELECT text_symbol FROM table_name_68 WHERE border = \"red\" AND type_of_sign = \"warning\"",
"context": "CREATE TABLE table_name_68 (text_symbol VARCHAR, border VARCHAR, type_of_sign VARCHAR)",
"question": "Which sign has a red border and a warning sign?"
} |
### QUESTION
Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.
### CONTEXT
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### ANSWER
SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER" | {
"answer": "SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"OTHA\" AND T2.lastname = \"MOYER\"",
"context": "CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"question": "Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names."
} |
### QUESTION
What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko?
### CONTEXT
CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
### ANSWER
SELECT week_of FROM table_name_2 WHERE semi_finalists = "anke huber chanda rubin" AND runner_up = "meredith mcgrath larisa savchenko" | {
"answer": "SELECT week_of FROM table_name_2 WHERE semi_finalists = \"anke huber chanda rubin\" AND runner_up = \"meredith mcgrath larisa savchenko\"",
"context": "CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)",
"question": "What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko?"
} |
### QUESTION
What is the highest rank for the team of egypt?
### CONTEXT
CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)
### ANSWER
SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt" | {
"answer": "SELECT MAX(rank) FROM table_name_58 WHERE country = \"egypt\"",
"context": "CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)",
"question": "What is the highest rank for the team of egypt?"
} |
### QUESTION
What is Record, when Location is "Des Moines, Iowa , United States", and when Method is "Submission (arm-triangle choke)"?
### CONTEXT
CREATE TABLE table_name_31 (record VARCHAR, location VARCHAR, method VARCHAR)
### ANSWER
SELECT record FROM table_name_31 WHERE location = "des moines, iowa , united states" AND method = "submission (arm-triangle choke)" | {
"answer": "SELECT record FROM table_name_31 WHERE location = \"des moines, iowa , united states\" AND method = \"submission (arm-triangle choke)\"",
"context": "CREATE TABLE table_name_31 (record VARCHAR, location VARCHAR, method VARCHAR)",
"question": "What is Record, when Location is \"Des Moines, Iowa , United States\", and when Method is \"Submission (arm-triangle choke)\"?"
} |
### QUESTION
what is the division north when division south was kožuf and division southwest was ilinden velmej
### CONTEXT
CREATE TABLE table_17881033_1 (division_north VARCHAR, division_south VARCHAR, division_southwest VARCHAR)
### ANSWER
SELECT division_north FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_southwest = "Ilinden Velmej" | {
"answer": "SELECT division_north FROM table_17881033_1 WHERE division_south = \"Kožuf\" AND division_southwest = \"Ilinden Velmej\"",
"context": "CREATE TABLE table_17881033_1 (division_north VARCHAR, division_south VARCHAR, division_southwest VARCHAR)",
"question": "what is the division north when division south was kožuf and division southwest was ilinden velmej"
} |
### QUESTION
What is the date they played against fitzroy?
### CONTEXT
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
### ANSWER
SELECT date FROM table_name_10 WHERE away_team = "fitzroy" | {
"answer": "SELECT date FROM table_name_10 WHERE away_team = \"fitzroy\"",
"context": "CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)",
"question": "What is the date they played against fitzroy?"
} |
### QUESTION
Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession?
### CONTEXT
CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR)
### ANSWER
SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession" | {
"answer": "SELECT spouse FROM table_name_31 WHERE became_duchess = \"31 october 1733 husband's accession\"",
"context": "CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR)",
"question": "Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession?"
} |
### QUESTION
How many reports were the for the cleveland burke lakefront airport circut?
### CONTEXT
CREATE TABLE table_10707176_2 (report VARCHAR, circuit VARCHAR)
### ANSWER
SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = "Cleveland Burke Lakefront Airport" | {
"answer": "SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = \"Cleveland Burke Lakefront Airport\"",
"context": "CREATE TABLE table_10707176_2 (report VARCHAR, circuit VARCHAR)",
"question": "How many reports were the for the cleveland burke lakefront airport circut?"
} |
### QUESTION
Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.
### CONTEXT
CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)
### ANSWER
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680 | {
"answer": "SELECT website FROM table_name_53 WHERE city_of_license = \"san antonio\" AND webcast = \"listen live\" AND frequency = 680",
"context": "CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)",
"question": "Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio."
} |
### QUESTION
What is the minimum population of the region in which Roskilde is the largest city?
### CONTEXT
CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR)
### ANSWER
SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde" | {
"answer": "SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = \"Roskilde\"",
"context": "CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR)",
"question": "What is the minimum population of the region in which Roskilde is the largest city?"
} |
### QUESTION
What is the lowest cr number?
### CONTEXT
CREATE TABLE table_1886270_1 (cr_no INTEGER)
### ANSWER
SELECT MIN(cr_no) FROM table_1886270_1 | {
"answer": "SELECT MIN(cr_no) FROM table_1886270_1",
"context": "CREATE TABLE table_1886270_1 (cr_no INTEGER)",
"question": "What is the lowest cr number?"
} |
### QUESTION
What kind of Replaced has a Team of gimnasia y esgrima (lp)?
### CONTEXT
CREATE TABLE table_name_71 (replaced_by VARCHAR, team VARCHAR)
### ANSWER
SELECT replaced_by FROM table_name_71 WHERE team = "gimnasia y esgrima (lp)" | {
"answer": "SELECT replaced_by FROM table_name_71 WHERE team = \"gimnasia y esgrima (lp)\"",
"context": "CREATE TABLE table_name_71 (replaced_by VARCHAR, team VARCHAR)",
"question": "What kind of Replaced has a Team of gimnasia y esgrima (lp)?"
} |
### QUESTION
Which Series 2 has a Series 3 of deborah meaden?
### CONTEXT
CREATE TABLE table_name_35 (series_2 VARCHAR, series_3 VARCHAR)
### ANSWER
SELECT series_2 FROM table_name_35 WHERE series_3 = "deborah meaden" | {
"answer": "SELECT series_2 FROM table_name_35 WHERE series_3 = \"deborah meaden\"",
"context": "CREATE TABLE table_name_35 (series_2 VARCHAR, series_3 VARCHAR)",
"question": "Which Series 2 has a Series 3 of deborah meaden?"
} |
### QUESTION
What is the lowest number of uncommitted superdelegates for a state with more than 16 total and 2 for Hillary Clinton?
### CONTEXT
CREATE TABLE table_name_16 (uncommitted INTEGER, total VARCHAR, hillary_clinton VARCHAR)
### ANSWER
SELECT MIN(uncommitted) FROM table_name_16 WHERE total > 16 AND hillary_clinton = 2 | {
"answer": "SELECT MIN(uncommitted) FROM table_name_16 WHERE total > 16 AND hillary_clinton = 2",
"context": "CREATE TABLE table_name_16 (uncommitted INTEGER, total VARCHAR, hillary_clinton VARCHAR)",
"question": "What is the lowest number of uncommitted superdelegates for a state with more than 16 total and 2 for Hillary Clinton?"
} |
### QUESTION
Find the last name of the latest contact individual of the organization "Labour Party".
### CONTEXT
CREATE TABLE organizations (organization_id VARCHAR, organization_name VARCHAR); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)
### ANSWER
SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.organization_name = "Labour Party" ORDER BY t2.date_contact_to DESC LIMIT 1 | {
"answer": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.organization_name = \"Labour Party\" ORDER BY t2.date_contact_to DESC LIMIT 1",
"context": "CREATE TABLE organizations (organization_id VARCHAR, organization_name VARCHAR); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)",
"question": "Find the last name of the latest contact individual of the organization \"Labour Party\"."
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.