text
stringlengths
146
1.06k
source
dict
### QUESTION Show the stadium name and capacity with most number of concerts in year 2014 or after. ### CONTEXT CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR) ### ANSWER SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR)", "question": "Show the stadium name and capacity with most number of concerts in year 2014 or after." }
### QUESTION Find the country of origin for the artist who made the least number of songs? ### CONTEXT CREATE TABLE song (artist_name VARCHAR); CREATE TABLE artist (country VARCHAR, artist_name VARCHAR) ### ANSWER SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE song (artist_name VARCHAR); CREATE TABLE artist (country VARCHAR, artist_name VARCHAR)", "question": "Find the country of origin for the artist who made the least number of songs?" }
### QUESTION Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038? ### CONTEXT CREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR) ### ANSWER SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = "1:15.038"
{ "answer": "SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = \"1:15.038\"", "context": "CREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)", "question": "Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?" }
### QUESTION What is the average access count of documents? ### CONTEXT CREATE TABLE documents (access_count INTEGER) ### ANSWER SELECT AVG(access_count) FROM documents
{ "answer": "SELECT AVG(access_count) FROM documents", "context": "CREATE TABLE documents (access_count INTEGER)", "question": "What is the average access count of documents?" }
### QUESTION What is the sum of the places of the team with more than 49 points and less than 54 goals scored? ### CONTEXT CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR) ### ANSWER SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54
{ "answer": "SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54", "context": "CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR)", "question": "What is the sum of the places of the team with more than 49 points and less than 54 goals scored?" }
### QUESTION What's the February for the game against the Montreal Canadiens? ### CONTEXT CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) ### ANSWER SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens"
{ "answer": "SELECT SUM(february) FROM table_name_88 WHERE opponent = \"montreal canadiens\"", "context": "CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR)", "question": "What's the February for the game against the Montreal Canadiens?" }
### QUESTION What is the average age of the members of the club "Bootup Baltimore"? ### 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 = "Bootup Baltimore"
{ "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 = \"Bootup Baltimore\"", "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": "What is the average age of the members of the club \"Bootup Baltimore\"?" }
### QUESTION What is the maximum diameter of the Mid West Gas Pipeline (1999)? ### CONTEXT CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR) ### ANSWER SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)"
{ "answer": "SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = \"mid west gas pipeline (1999)\"", "context": "CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR)", "question": "What is the maximum diameter of the Mid West Gas Pipeline (1999)?" }
### QUESTION What is the production code for the episode written by J. H. Wyman & Jeff Pinkner? ### CONTEXT CREATE TABLE table_24649082_1 (production_code VARCHAR, written_by VARCHAR) ### ANSWER SELECT production_code FROM table_24649082_1 WHERE written_by = "J. H. Wyman & Jeff Pinkner"
{ "answer": "SELECT production_code FROM table_24649082_1 WHERE written_by = \"J. H. Wyman & Jeff Pinkner\"", "context": "CREATE TABLE table_24649082_1 (production_code VARCHAR, written_by VARCHAR)", "question": "What is the production code for the episode written by J. H. Wyman & Jeff Pinkner?" }
### QUESTION Find the id and surname of the driver who participated the most number of races? ### CONTEXT CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR) ### ANSWER SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)", "question": "Find the id and surname of the driver who participated the most number of races?" }
### QUESTION What is the lowest Perigee with a Launch date of 1970-08-26? ### CONTEXT CREATE TABLE table_name_30 (perigee__km_ INTEGER, launch_date VARCHAR) ### ANSWER SELECT MIN(perigee__km_) FROM table_name_30 WHERE launch_date = "1970-08-26"
{ "answer": "SELECT MIN(perigee__km_) FROM table_name_30 WHERE launch_date = \"1970-08-26\"", "context": "CREATE TABLE table_name_30 (perigee__km_ INTEGER, launch_date VARCHAR)", "question": "What is the lowest Perigee with a Launch date of 1970-08-26?" }
### QUESTION Name the foochow for pingnan county ### CONTEXT CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR) ### ANSWER SELECT foochow FROM table_2013618_1 WHERE english_name = "Pingnan County"
{ "answer": "SELECT foochow FROM table_2013618_1 WHERE english_name = \"Pingnan County\"", "context": "CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR)", "question": "Name the foochow for pingnan county" }
### QUESTION Return the names of singers who are from UK and released an English song. ### CONTEXT CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) ### ANSWER SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english"
{ "answer": "SELECT artist_name FROM artist WHERE country = \"UK\" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = \"english\"", "context": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)", "question": "Return the names of singers who are from UK and released an English song." }
### QUESTION What date did Jatin Shah and Shalini Chandran perform? ### CONTEXT CREATE TABLE table_18278508_2 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) ### ANSWER SELECT date_performed FROM table_18278508_2 WHERE main_contestant = "Jatin Shah" AND co_contestant__yaar_vs_pyaar_ = "Shalini Chandran"
{ "answer": "SELECT date_performed FROM table_18278508_2 WHERE main_contestant = \"Jatin Shah\" AND co_contestant__yaar_vs_pyaar_ = \"Shalini Chandran\"", "context": "CREATE TABLE table_18278508_2 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)", "question": "What date did Jatin Shah and Shalini Chandran perform?" }
### QUESTION What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11? ### CONTEXT CREATE TABLE table_name_30 (pole_position VARCHAR, fastest_lap VARCHAR, round VARCHAR) ### ANSWER SELECT pole_position FROM table_name_30 WHERE fastest_lap = "rubens barrichello" AND round > 11
{ "answer": "SELECT pole_position FROM table_name_30 WHERE fastest_lap = \"rubens barrichello\" AND round > 11", "context": "CREATE TABLE table_name_30 (pole_position VARCHAR, fastest_lap VARCHAR, round VARCHAR)", "question": "What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11?" }
### QUESTION What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370? ### CONTEXT CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR) ### ANSWER SELECT AVG(level) FROM table_name_42 WHERE example_name = "lower snake" AND number_of_hus__approximate_ < 370
{ "answer": "SELECT AVG(level) FROM table_name_42 WHERE example_name = \"lower snake\" AND number_of_hus__approximate_ < 370", "context": "CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)", "question": "What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370?" }
### QUESTION Which year was the peter jackson classic? ### CONTEXT CREATE TABLE table_name_36 (year VARCHAR, championship VARCHAR) ### ANSWER SELECT year FROM table_name_36 WHERE championship = "peter jackson classic"
{ "answer": "SELECT year FROM table_name_36 WHERE championship = \"peter jackson classic\"", "context": "CREATE TABLE table_name_36 (year VARCHAR, championship VARCHAR)", "question": "Which year was the peter jackson classic?" }
### QUESTION When zachary sanders is the performer how many first aired are there? ### CONTEXT CREATE TABLE table_191105_2 (first_aired VARCHAR, performed_by VARCHAR) ### ANSWER SELECT COUNT(first_aired) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"
{ "answer": "SELECT COUNT(first_aired) FROM table_191105_2 WHERE performed_by = \"Zachary Sanders\"", "context": "CREATE TABLE table_191105_2 (first_aired VARCHAR, performed_by VARCHAR)", "question": "When zachary sanders is the performer how many first aired are there?" }
### QUESTION What was the latest number in series that was directed by Skip Sudduth? ### CONTEXT CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR) ### ANSWER SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth"
{ "answer": "SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = \"Skip Sudduth\"", "context": "CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR)", "question": "What was the latest number in series that was directed by Skip Sudduth?" }
### QUESTION How many head coaches did Kent state golden flashes have? ### CONTEXT CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR) ### ANSWER SELECT COUNT(opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = "Kent State Golden Flashes"
{ "answer": "SELECT COUNT(opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = \"Kent State Golden Flashes\"", "context": "CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)", "question": "How many head coaches did Kent state golden flashes have?" }
### QUESTION Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3 ### CONTEXT CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR) ### ANSWER SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3
{ "answer": "SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3", "context": "CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR)", "question": "Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3" }
### QUESTION What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue? ### CONTEXT CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR) ### ANSWER SELECT date FROM table_name_93 WHERE venue = "jeonju" AND goals < 28 AND competition = "k-league cup"
{ "answer": "SELECT date FROM table_name_93 WHERE venue = \"jeonju\" AND goals < 28 AND competition = \"k-league cup\"", "context": "CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)", "question": "What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue?" }
### QUESTION For directors who had more than one movie, return the titles and produced years of all movies directed by them. ### CONTEXT CREATE TABLE Movie (director VARCHAR, title VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, director VARCHAR) ### ANSWER SELECT T1.title, T1.year FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title
{ "answer": "SELECT T1.title, T1.year FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title", "context": "CREATE TABLE Movie (director VARCHAR, title VARCHAR); CREATE TABLE Movie (title VARCHAR, year VARCHAR, director VARCHAR)", "question": "For directors who had more than one movie, return the titles and produced years of all movies directed by them." }
### QUESTION Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price? ### CONTEXT CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR) ### ANSWER SELECT date FROM table_name_99 WHERE home = "montreal canadiens" AND points > 9 AND decision = "price"
{ "answer": "SELECT date FROM table_name_99 WHERE home = \"montreal canadiens\" AND points > 9 AND decision = \"price\"", "context": "CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR)", "question": "Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price?" }
### QUESTION Which Game has a Series of bruins lead 3–1? ### CONTEXT CREATE TABLE table_name_30 (game INTEGER, series VARCHAR) ### ANSWER SELECT SUM(game) FROM table_name_30 WHERE series = "bruins lead 3–1"
{ "answer": "SELECT SUM(game) FROM table_name_30 WHERE series = \"bruins lead 3–1\"", "context": "CREATE TABLE table_name_30 (game INTEGER, series VARCHAR)", "question": "Which Game has a Series of bruins lead 3–1?" }
### QUESTION What is Ludo Peeters' team classification? ### CONTEXT CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR) ### ANSWER SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters"
{ "answer": "SELECT team_classification FROM table_name_74 WHERE winner = \"ludo peeters\"", "context": "CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR)", "question": "What is Ludo Peeters' team classification?" }
### QUESTION How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis? ### CONTEXT CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r"
{ "answer": "SELECT COUNT(year) FROM table_name_10 WHERE engine = \"audi 3.6l turbo v8\" AND rank = \"1st\" AND chassis = \"audi r8r\"", "context": "CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)", "question": "How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?" }
### QUESTION What is the name of the ship sunk on 5 May 1943 from the United Kingdom sunk by an u-266 with 0 casualties? ### CONTEXT CREATE TABLE table_name_23 (name VARCHAR, casualties VARCHAR, sunk_by… VARCHAR, date VARCHAR, nationality VARCHAR) ### ANSWER SELECT name FROM table_name_23 WHERE date = "5 may 1943" AND nationality = "united kingdom" AND sunk_by… = "u-266" AND casualties = "0"
{ "answer": "SELECT name FROM table_name_23 WHERE date = \"5 may 1943\" AND nationality = \"united kingdom\" AND sunk_by… = \"u-266\" AND casualties = \"0\"", "context": "CREATE TABLE table_name_23 (name VARCHAR, casualties VARCHAR, sunk_by… VARCHAR, date VARCHAR, nationality VARCHAR)", "question": "What is the name of the ship sunk on 5 May 1943 from the United Kingdom sunk by an u-266 with 0 casualties?" }
### QUESTION What is the number of 1991 populations named Bečej? ### CONTEXT CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR) ### ANSWER SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = "Bečej"
{ "answer": "SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = \"Bečej\"", "context": "CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR)", "question": "What is the number of 1991 populations named Bečej?" }
### QUESTION What type has an unspecified species and less than 367 genes? ### CONTEXT CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR) ### ANSWER SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367
{ "answer": "SELECT type FROM table_name_65 WHERE species = \"unspecified\" AND genes < 367", "context": "CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR)", "question": "What type has an unspecified species and less than 367 genes?" }
### QUESTION Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D? ### CONTEXT CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR) ### ANSWER SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire"
{ "answer": "SELECT winning_applicant FROM table_name_45 WHERE block = \"10d\" AND ensemble_name = \"muxco lincolnshire\"", "context": "CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)", "question": "Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?" }
### QUESTION What is the Date when the week is more than 3 and the attendance shows bye? ### CONTEXT CREATE TABLE table_name_39 (date VARCHAR, week VARCHAR, attendance VARCHAR) ### ANSWER SELECT date FROM table_name_39 WHERE week > 3 AND attendance = "bye"
{ "answer": "SELECT date FROM table_name_39 WHERE week > 3 AND attendance = \"bye\"", "context": "CREATE TABLE table_name_39 (date VARCHAR, week VARCHAR, attendance VARCHAR)", "question": "What is the Date when the week is more than 3 and the attendance shows bye?" }
### QUESTION Who is the winner who attended college at Connecticut and is from North Syracuse, NY? ### CONTEXT CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR) ### ANSWER SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
{ "answer": "SELECT winner FROM table_name_63 WHERE college = \"connecticut\" AND hometown = \"north syracuse, ny\"", "context": "CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)", "question": "Who is the winner who attended college at Connecticut and is from North Syracuse, NY?" }
### QUESTION what's the date entered service with ships name koningin wilhelmina ### CONTEXT CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR) ### ANSWER SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Koningin Wilhelmina"
{ "answer": "SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = \"Koningin Wilhelmina\"", "context": "CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)", "question": " what's the date entered service with ships name koningin wilhelmina" }
### QUESTION Of the games with a record of 80-81, what was the highest attendance? ### CONTEXT CREATE TABLE table_name_89 (attendance INTEGER, record VARCHAR) ### ANSWER SELECT MAX(attendance) FROM table_name_89 WHERE record = "80-81"
{ "answer": "SELECT MAX(attendance) FROM table_name_89 WHERE record = \"80-81\"", "context": "CREATE TABLE table_name_89 (attendance INTEGER, record VARCHAR)", "question": "Of the games with a record of 80-81, what was the highest attendance?" }
### QUESTION Who is the second performer in episode 5? ### CONTEXT CREATE TABLE table_14934885_1 (performer_2 VARCHAR, episode VARCHAR) ### ANSWER SELECT performer_2 FROM table_14934885_1 WHERE episode = 5
{ "answer": "SELECT performer_2 FROM table_14934885_1 WHERE episode = 5", "context": "CREATE TABLE table_14934885_1 (performer_2 VARCHAR, episode VARCHAR)", "question": "Who is the second performer in episode 5?" }
### QUESTION List the date, theme and sales of the journal which did not have any of the listed editors serving on committee. ### CONTEXT CREATE TABLE journal_committee (journal_ID VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR, journal_ID VARCHAR) ### ANSWER SELECT date, theme, sales FROM journal EXCEPT SELECT T1.date, T1.theme, T1.sales FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID
{ "answer": "SELECT date, theme, sales FROM journal EXCEPT SELECT T1.date, T1.theme, T1.sales FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID", "context": "CREATE TABLE journal_committee (journal_ID VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR, journal_ID VARCHAR)", "question": "List the date, theme and sales of the journal which did not have any of the listed editors serving on committee." }
### QUESTION Find the codes of countries that have more than 50 players. ### CONTEXT CREATE TABLE players (country_code VARCHAR) ### ANSWER SELECT country_code FROM players GROUP BY country_code HAVING COUNT(*) > 50
{ "answer": "SELECT country_code FROM players GROUP BY country_code HAVING COUNT(*) > 50", "context": "CREATE TABLE players (country_code VARCHAR)", "question": "Find the codes of countries that have more than 50 players." }
### QUESTION What is the Winning Team with Rick Mears' and Kraco Twin 125 (R1)? ### CONTEXT CREATE TABLE table_name_80 (winning_team VARCHAR, winning_driver VARCHAR, name VARCHAR) ### ANSWER SELECT winning_team FROM table_name_80 WHERE winning_driver = "rick mears" AND name = "kraco twin 125 (r1)"
{ "answer": "SELECT winning_team FROM table_name_80 WHERE winning_driver = \"rick mears\" AND name = \"kraco twin 125 (r1)\"", "context": "CREATE TABLE table_name_80 (winning_team VARCHAR, winning_driver VARCHAR, name VARCHAR)", "question": "What is the Winning Team with Rick Mears' and Kraco Twin 125 (R1)?" }
### QUESTION If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version? ### CONTEXT CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR) ### ANSWER SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"
{ "answer": "SELECT version FROM table_2263152_1 WHERE features = \"Service release\" AND distribution_mechanism = \"Windows NT 4.0 Option Pack Microsoft Office 97\"", "context": "CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)", "question": "If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?" }
### QUESTION How tall is the Mountain of jbel ghat? ### CONTEXT CREATE TABLE table_name_11 (height__m_ VARCHAR, mountain VARCHAR) ### ANSWER SELECT COUNT(height__m_) FROM table_name_11 WHERE mountain = "jbel ghat"
{ "answer": "SELECT COUNT(height__m_) FROM table_name_11 WHERE mountain = \"jbel ghat\"", "context": "CREATE TABLE table_name_11 (height__m_ VARCHAR, mountain VARCHAR)", "question": "How tall is the Mountain of jbel ghat?" }
### QUESTION What are the id and name of the mountains that have at least 2 photos? ### CONTEXT CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR) ### ANSWER SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id GROUP BY T1.id HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id GROUP BY T1.id HAVING COUNT(*) >= 2", "context": "CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR)", "question": "What are the id and name of the mountains that have at least 2 photos?" }
### QUESTION List the hardware model name for the phones that have screen mode type "Text" or RAM size greater than 32. ### CONTEXT CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR) ### ANSWER SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T3.Type = "Text" OR T1.RAM_MiB > 32
{ "answer": "SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T3.Type = \"Text\" OR T1.RAM_MiB > 32", "context": "CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)", "question": "List the hardware model name for the phones that have screen mode type \"Text\" or RAM size greater than 32." }
### QUESTION Find the names of the customers who have order status both "On Road" and "Shipped". ### CONTEXT CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped"
{ "answer": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"", "context": "CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)", "question": "Find the names of the customers who have order status both \"On Road\" and \"Shipped\"." }
### QUESTION Which representative was the Ambassador Extraordinary and Plenipotentiary and had a Termination of Mission date September 20, 1996? ### CONTEXT CREATE TABLE table_name_83 (representative VARCHAR, title VARCHAR, termination_of_mission VARCHAR) ### ANSWER SELECT representative FROM table_name_83 WHERE title = "ambassador extraordinary and plenipotentiary" AND termination_of_mission = "september 20, 1996"
{ "answer": "SELECT representative FROM table_name_83 WHERE title = \"ambassador extraordinary and plenipotentiary\" AND termination_of_mission = \"september 20, 1996\"", "context": "CREATE TABLE table_name_83 (representative VARCHAR, title VARCHAR, termination_of_mission VARCHAR)", "question": "Which representative was the Ambassador Extraordinary and Plenipotentiary and had a Termination of Mission date September 20, 1996?" }
### QUESTION What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger? ### CONTEXT CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR) ### ANSWER SELECT COUNT(place) FROM table_name_10 WHERE artist = "rosie hunter" AND draw > 1
{ "answer": "SELECT COUNT(place) FROM table_name_10 WHERE artist = \"rosie hunter\" AND draw > 1", "context": "CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)", "question": "What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger?" }
### QUESTION What was the result in 2011 for the French Open tournament? ### CONTEXT CREATE TABLE table_name_16 (tournament VARCHAR) ### ANSWER SELECT 2011 FROM table_name_16 WHERE tournament = "french open"
{ "answer": "SELECT 2011 FROM table_name_16 WHERE tournament = \"french open\"", "context": "CREATE TABLE table_name_16 (tournament VARCHAR)", "question": "What was the result in 2011 for the French Open tournament?" }
### QUESTION Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6–4, 6–2? ### CONTEXT CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) ### ANSWER SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6–4, 6–2"
{ "answer": "SELECT tournament FROM table_name_95 WHERE outcome = \"runner-up\" AND surface = \"hard\" AND score = \"6–4, 6–2\"", "context": "CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR)", "question": "Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6–4, 6–2?" }
### QUESTION Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51 ### CONTEXT CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR) ### ANSWER SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51
{ "answer": "SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = \"1888/89-1913/14\" AND matches > 51", "context": "CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR)", "question": "Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51" }
### QUESTION Name the location for school eckstein ### CONTEXT CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR) ### ANSWER SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area FROM table_17641314_3 WHERE school = "Eckstein"
{ "answer": "SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area FROM table_17641314_3 WHERE school = \"Eckstein\"", "context": "CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR)", "question": "Name the location for school eckstein" }
### QUESTION What is the lowest game number on February 20? ### CONTEXT CREATE TABLE table_name_69 (game INTEGER, date VARCHAR) ### ANSWER SELECT MIN(game) FROM table_name_69 WHERE date = "february 20"
{ "answer": "SELECT MIN(game) FROM table_name_69 WHERE date = \"february 20\"", "context": "CREATE TABLE table_name_69 (game INTEGER, date VARCHAR)", "question": "What is the lowest game number on February 20?" }
### QUESTION Which Elevator has Elevated of april 12, 1281, a Nationality of french, and an Elector of jean cholet? ### CONTEXT CREATE TABLE table_name_89 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, nationality VARCHAR) ### ANSWER SELECT elevator FROM table_name_89 WHERE elevated = "april 12, 1281" AND nationality = "french" AND elector = "jean cholet"
{ "answer": "SELECT elevator FROM table_name_89 WHERE elevated = \"april 12, 1281\" AND nationality = \"french\" AND elector = \"jean cholet\"", "context": "CREATE TABLE table_name_89 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, nationality VARCHAR)", "question": "Which Elevator has Elevated of april 12, 1281, a Nationality of french, and an Elector of jean cholet?" }
### QUESTION What is the 2007 that has a grand slam tournaments in 2006. ### CONTEXT CREATE TABLE table_name_32 (Id VARCHAR) ### ANSWER SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments"
{ "answer": "SELECT 2007 FROM table_name_32 WHERE 2006 = \"grand slam tournaments\"", "context": "CREATE TABLE table_name_32 (Id VARCHAR)", "question": "What is the 2007 that has a grand slam tournaments in 2006." }
### QUESTION What is the july average low associated with a january average high of 30.4? ### CONTEXT CREATE TABLE table_name_28 (july__avg_low_ VARCHAR, january__avg_high_°f_ VARCHAR) ### ANSWER SELECT COUNT(july__avg_low_) AS °f_ FROM table_name_28 WHERE january__avg_high_°f_ = "30.4"
{ "answer": "SELECT COUNT(july__avg_low_) AS °f_ FROM table_name_28 WHERE january__avg_high_°f_ = \"30.4\"", "context": "CREATE TABLE table_name_28 (july__avg_low_ VARCHAR, january__avg_high_°f_ VARCHAR)", "question": "What is the july average low associated with a january average high of 30.4?" }
### QUESTION what is the total number of coach where captain is grant welsh and win/loss is 5-15 ### CONTEXT CREATE TABLE table_1165048_1 (coach VARCHAR, captain VARCHAR, win_loss VARCHAR) ### ANSWER SELECT COUNT(coach) FROM table_1165048_1 WHERE captain = "Grant Welsh" AND win_loss = "5-15"
{ "answer": "SELECT COUNT(coach) FROM table_1165048_1 WHERE captain = \"Grant Welsh\" AND win_loss = \"5-15\"", "context": "CREATE TABLE table_1165048_1 (coach VARCHAR, captain VARCHAR, win_loss VARCHAR)", "question": "what is the total number of coach where captain is grant welsh and win/loss is 5-15" }
### QUESTION How many cities are in Australia? ### CONTEXT CREATE TABLE country (country_id VARCHAR, country VARCHAR); CREATE TABLE city (country_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'
{ "answer": "SELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'", "context": "CREATE TABLE country (country_id VARCHAR, country VARCHAR); CREATE TABLE city (country_id VARCHAR)", "question": "How many cities are in Australia?" }
### QUESTION Name the sum of top-25 for pga championship and top-5 less than 1 ### CONTEXT CREATE TABLE table_name_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR) ### ANSWER SELECT SUM(top_25) FROM table_name_21 WHERE tournament = "pga championship" AND top_5 < 1
{ "answer": "SELECT SUM(top_25) FROM table_name_21 WHERE tournament = \"pga championship\" AND top_5 < 1", "context": "CREATE TABLE table_name_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR)", "question": "Name the sum of top-25 for pga championship and top-5 less than 1" }
### QUESTION What is the name of the high schooler who has the greatest number of likes? ### CONTEXT CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR) ### ANSWER SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)", "question": "What is the name of the high schooler who has the greatest number of likes?" }
### QUESTION When the # is 4, what is the pop./ km²? ### CONTEXT CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR) ### ANSWER SELECT pop__km² FROM table_2252745_1 WHERE _number = 4
{ "answer": "SELECT pop__km² FROM table_2252745_1 WHERE _number = 4", "context": "CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR)", "question": "When the # is 4, what is the pop./ km²?" }
### QUESTION When chase harrison category:articles with hcards is the name what is the year? ### CONTEXT CREATE TABLE table_29743928_4 (years VARCHAR, name VARCHAR) ### ANSWER SELECT years FROM table_29743928_4 WHERE name = "Chase Harrison Category:Articles with hCards"
{ "answer": "SELECT years FROM table_29743928_4 WHERE name = \"Chase Harrison Category:Articles with hCards\"", "context": "CREATE TABLE table_29743928_4 (years VARCHAR, name VARCHAR)", "question": "When chase harrison category:articles with hcards is the name what is the year?" }
### QUESTION Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013? ### CONTEXT CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR) ### ANSWER SELECT form_factor FROM table_name_84 WHERE controller = "sandforce" AND capacities__gb_ = "80/120/180/240/360/480" AND introduced = "july 2013"
{ "answer": "SELECT form_factor FROM table_name_84 WHERE controller = \"sandforce\" AND capacities__gb_ = \"80/120/180/240/360/480\" AND introduced = \"july 2013\"", "context": "CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR)", "question": "Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013?" }
### QUESTION Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison ### CONTEXT CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR) ### ANSWER SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = "ducati 999rs" AND rider = "dean ellison"
{ "answer": "SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = \"ducati 999rs\" AND rider = \"dean ellison\"", "context": "CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR)", "question": "Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison" }
### QUESTION Name the total number of golden tickets being rosen shingle creek resort ### CONTEXT CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, callback_venue VARCHAR) ### ANSWER SELECT COUNT(golden_tickets) FROM table_22897967_1 WHERE callback_venue = "Rosen Shingle Creek Resort"
{ "answer": "SELECT COUNT(golden_tickets) FROM table_22897967_1 WHERE callback_venue = \"Rosen Shingle Creek Resort\"", "context": "CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, callback_venue VARCHAR)", "question": "Name the total number of golden tickets being rosen shingle creek resort" }
### QUESTION What is the Number of dances is 11 and competition finish is larger than 2.0 total ### CONTEXT CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR) ### ANSWER SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0
{ "answer": "SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0", "context": "CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR)", "question": "What is the Number of dances is 11 and competition finish is larger than 2.0 total" }
### QUESTION Where did Essendon play as the away team? ### CONTEXT CREATE TABLE table_name_69 (venue VARCHAR, away_team VARCHAR) ### ANSWER SELECT venue FROM table_name_69 WHERE away_team = "essendon"
{ "answer": "SELECT venue FROM table_name_69 WHERE away_team = \"essendon\"", "context": "CREATE TABLE table_name_69 (venue VARCHAR, away_team VARCHAR)", "question": "Where did Essendon play as the away team?" }
### QUESTION Show the name for regions and the number of storms for each region. ### CONTEXT CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR) ### ANSWER SELECT T1.region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id
{ "answer": "SELECT T1.region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id", "context": "CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)", "question": "Show the name for regions and the number of storms for each region." }
### QUESTION Which tourist attractions does the visitor with detail 'Vincent' visit? ### CONTEXT CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) ### ANSWER SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent"
{ "answer": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = \"Vincent\"", "context": "CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)", "question": "Which tourist attractions does the visitor with detail 'Vincent' visit?" }
### QUESTION Which Projects template has an IntelliTrace of no, and a Windows Phone development of yes, and a Test impact analysis of no? ### CONTEXT CREATE TABLE table_name_39 (projects_templates VARCHAR, test_impact_analysis VARCHAR, intellitrace VARCHAR, windows_phone_development VARCHAR) ### ANSWER SELECT projects_templates FROM table_name_39 WHERE intellitrace = "no" AND windows_phone_development = "yes" AND test_impact_analysis = "no"
{ "answer": "SELECT projects_templates FROM table_name_39 WHERE intellitrace = \"no\" AND windows_phone_development = \"yes\" AND test_impact_analysis = \"no\"", "context": "CREATE TABLE table_name_39 (projects_templates VARCHAR, test_impact_analysis VARCHAR, intellitrace VARCHAR, windows_phone_development VARCHAR)", "question": "Which Projects template has an IntelliTrace of no, and a Windows Phone development of yes, and a Test impact analysis of no?" }
### QUESTION Who is performing in the back stage position for the song "Der Kapitan"? Show the first name and last name. ### CONTEXT CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR) ### ANSWER SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Der Kapitan" AND T1.StagePosition = "back"
{ "answer": "SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = \"Der Kapitan\" AND T1.StagePosition = \"back\"", "context": "CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)", "question": "Who is performing in the back stage position for the song \"Der Kapitan\"? Show the first name and last name." }
### QUESTION Where did Audette Racing win? ### CONTEXT CREATE TABLE table_25773116_2 (location VARCHAR, winning_team VARCHAR) ### ANSWER SELECT location FROM table_25773116_2 WHERE winning_team = "Audette Racing"
{ "answer": "SELECT location FROM table_25773116_2 WHERE winning_team = \"Audette Racing\"", "context": "CREATE TABLE table_25773116_2 (location VARCHAR, winning_team VARCHAR)", "question": "Where did Audette Racing win?" }
### QUESTION What is the highest Rank of Karen Pickering when she had a time of less than 55.71? ### CONTEXT CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR) ### ANSWER SELECT MAX(rank) FROM table_name_59 WHERE name = "karen pickering" AND time < 55.71
{ "answer": "SELECT MAX(rank) FROM table_name_59 WHERE name = \"karen pickering\" AND time < 55.71", "context": "CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR)", "question": "What is the highest Rank of Karen Pickering when she had a time of less than 55.71?" }
### QUESTION What country is new orleans in? ### CONTEXT CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR) ### ANSWER SELECT country FROM table_28005160_2 WHERE city = "New Orleans"
{ "answer": "SELECT country FROM table_28005160_2 WHERE city = \"New Orleans\"", "context": "CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)", "question": "What country is new orleans in?" }
### QUESTION Name the total number for 3 public ### CONTEXT CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_26375386_22 WHERE public = 3
{ "answer": "SELECT COUNT(total) FROM table_26375386_22 WHERE public = 3", "context": "CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR)", "question": "Name the total number for 3 public" }
### QUESTION What is the home teamscore for Richmond? ### CONTEXT CREATE TABLE table_name_11 (home_team VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_11 WHERE home_team = "richmond"
{ "answer": "SELECT home_team AS score FROM table_name_11 WHERE home_team = \"richmond\"", "context": "CREATE TABLE table_name_11 (home_team VARCHAR)", "question": "What is the home teamscore for Richmond?" }
### QUESTION What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? ### CONTEXT CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR) ### ANSWER SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01"
{ "answer": "SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = \"1995-11-06, 05:15:01\"", "context": "CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR)", "question": "What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01?" }
### QUESTION Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0? ### CONTEXT CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR) ### ANSWER SELECT losses FROM table_name_95 WHERE season > 1941 AND team = "hamilton wildcats" AND ties = 0
{ "answer": "SELECT losses FROM table_name_95 WHERE season > 1941 AND team = \"hamilton wildcats\" AND ties = 0", "context": "CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR)", "question": "Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0?" }
### QUESTION What opponent is at Richmond Academy? ### CONTEXT CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR) ### ANSWER SELECT opponent FROM table_name_38 WHERE location_attendance = "richmond academy"
{ "answer": "SELECT opponent FROM table_name_38 WHERE location_attendance = \"richmond academy\"", "context": "CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR)", "question": "What opponent is at Richmond Academy?" }
### QUESTION How many cars have a larger accelerate than the car with the largest horsepower? ### CONTEXT CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR) ### ANSWER SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1)
{ "answer": "SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1)", "context": "CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR)", "question": "How many cars have a larger accelerate than the car with the largest horsepower?" }
### QUESTION What's the general classification of Ignatas Konovalovas when the mountains classification was Stefano Garzelli and points classification was Danilo Di Luca? ### CONTEXT CREATE TABLE table_name_36 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) ### ANSWER SELECT general_classification FROM table_name_36 WHERE mountains_classification = "stefano garzelli" AND points_classification = "danilo di luca" AND winner = "ignatas konovalovas"
{ "answer": "SELECT general_classification FROM table_name_36 WHERE mountains_classification = \"stefano garzelli\" AND points_classification = \"danilo di luca\" AND winner = \"ignatas konovalovas\"", "context": "CREATE TABLE table_name_36 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)", "question": "What's the general classification of Ignatas Konovalovas when the mountains classification was Stefano Garzelli and points classification was Danilo Di Luca?" }
### QUESTION what is the 3-dart average of raymond van barneveld ### CONTEXT CREATE TABLE table_20301877_2 (player VARCHAR) ### ANSWER SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld"
{ "answer": "SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = \"Raymond van Barneveld\"", "context": "CREATE TABLE table_20301877_2 (player VARCHAR)", "question": "what is the 3-dart average of raymond van barneveld" }
### QUESTION When did svishtov , bulgaria disband? ### CONTEXT CREATE TABLE table_242785_1 (date_disband VARCHAR, main_legionary_base VARCHAR) ### ANSWER SELECT date_disband FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
{ "answer": "SELECT date_disband FROM table_242785_1 WHERE main_legionary_base = \"Svishtov , Bulgaria\"", "context": "CREATE TABLE table_242785_1 (date_disband VARCHAR, main_legionary_base VARCHAR)", "question": "When did svishtov , bulgaria disband?" }
### QUESTION Tell me the section for position of 8th and season of 2003 ### CONTEXT CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR) ### ANSWER SELECT section FROM table_name_29 WHERE position = "8th" AND season = "2003"
{ "answer": "SELECT section FROM table_name_29 WHERE position = \"8th\" AND season = \"2003\"", "context": "CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR)", "question": "Tell me the section for position of 8th and season of 2003" }
### QUESTION Where is Interlake located? ### CONTEXT CREATE TABLE table_13759592_2 (location VARCHAR, institution VARCHAR) ### ANSWER SELECT location FROM table_13759592_2 WHERE institution = "Interlake"
{ "answer": "SELECT location FROM table_13759592_2 WHERE institution = \"Interlake\"", "context": "CREATE TABLE table_13759592_2 (location VARCHAR, institution VARCHAR)", "question": "Where is Interlake located?" }
### QUESTION How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit? ### CONTEXT CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR) ### ANSWER SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = "Gabriele Gardel Patrice Goueslard Fernando Rees" AND circuit = "Algarve"
{ "answer": "SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = \"Gabriele Gardel Patrice Goueslard Fernando Rees\" AND circuit = \"Algarve\"", "context": "CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR)", "question": "How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?" }
### QUESTION what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji? ### CONTEXT CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR) ### ANSWER SELECT lifespan FROM table_name_56 WHERE imperial = "7ft 8 in" AND nationality = "fiji"
{ "answer": "SELECT lifespan FROM table_name_56 WHERE imperial = \"7ft 8 in\" AND nationality = \"fiji\"", "context": "CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR)", "question": "what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji?" }
### QUESTION What was the earliest week when the New Orleans Saints were the opponents? ### CONTEXT CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR) ### ANSWER SELECT MIN(week) FROM table_name_31 WHERE opponent = "new orleans saints"
{ "answer": "SELECT MIN(week) FROM table_name_31 WHERE opponent = \"new orleans saints\"", "context": "CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)", "question": "What was the earliest week when the New Orleans Saints were the opponents?" }
### QUESTION Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov? ### CONTEXT CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) ### ANSWER SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov"
{ "answer": "SELECT stage__winner_ FROM table_name_17 WHERE general_classification = \"vladimir karpets\" AND team_classification = \"relax-gam\" AND points_classification = \"denis menchov\"", "context": "CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)", "question": "Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?" }
### QUESTION Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152? ### CONTEXT CREATE TABLE table_name_62 (year_s__won VARCHAR, country VARCHAR, total VARCHAR) ### ANSWER SELECT year_s__won FROM table_name_62 WHERE country = "united states" AND total > 152
{ "answer": "SELECT year_s__won FROM table_name_62 WHERE country = \"united states\" AND total > 152", "context": "CREATE TABLE table_name_62 (year_s__won VARCHAR, country VARCHAR, total VARCHAR)", "question": "Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152?" }
### QUESTION For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team? ### CONTEXT CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) ### ANSWER SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport"
{ "answer": "SELECT winning_team FROM table_name_15 WHERE winning_driver = \"emerson fittipaldi\" AND pole_position = \"michael andretti\" AND circuit = \"cleveland burke lakefront airport\"", "context": "CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)", "question": "For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?" }
### QUESTION What is the lane for notes Q, SB and time less than 11.22? ### CONTEXT CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR) ### ANSWER SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22
{ "answer": "SELECT SUM(lane) FROM table_name_31 WHERE notes = \"q, sb\" AND time___sec__ < 11.22", "context": "CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR)", "question": "What is the lane for notes Q, SB and time less than 11.22?" }
### QUESTION Name the score when the opponent was the dodgers on april 21 ### CONTEXT CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21"
{ "answer": "SELECT score FROM table_name_61 WHERE opponent = \"dodgers\" AND date = \"april 21\"", "context": "CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR)", "question": "Name the score when the opponent was the dodgers on april 21" }
### QUESTION What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa? ### CONTEXT CREATE TABLE table_name_95 (year INTEGER, state VARCHAR, name VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_95 WHERE state = "orissa" AND name = "prof. priyambada mohanty hejmadi"
{ "answer": "SELECT SUM(year) FROM table_name_95 WHERE state = \"orissa\" AND name = \"prof. priyambada mohanty hejmadi\"", "context": "CREATE TABLE table_name_95 (year INTEGER, state VARCHAR, name VARCHAR)", "question": "What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?" }
### QUESTION Show times of elimination of wrestlers with days held more than 50. ### CONTEXT CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR) ### ANSWER SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50
{ "answer": "SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50", "context": "CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)", "question": "Show times of elimination of wrestlers with days held more than 50." }
### QUESTION Which gender is associated with University students and adults of 25mm? ### CONTEXT CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) ### ANSWER SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm"
{ "answer": "SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = \"25mm\"", "context": "CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR)", "question": "Which gender is associated with University students and adults of 25mm?" }
### QUESTION Please show the themes of competitions with host cities having populations larger than 1000. ### CONTEXT CREATE TABLE city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR) ### ANSWER SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 1000
{ "answer": "SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 1000", "context": "CREATE TABLE city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR)", "question": "Please show the themes of competitions with host cities having populations larger than 1000." }
### QUESTION What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4? ### CONTEXT CREATE TABLE table_name_62 (agricultural_panel INTEGER, total VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR) ### ANSWER SELECT AVG(agricultural_panel) FROM table_name_62 WHERE labour_panel < 6 AND nominated_by_the_taoiseach > 0 AND total < 4
{ "answer": "SELECT AVG(agricultural_panel) FROM table_name_62 WHERE labour_panel < 6 AND nominated_by_the_taoiseach > 0 AND total < 4", "context": "CREATE TABLE table_name_62 (agricultural_panel INTEGER, total VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)", "question": "What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4?" }
### QUESTION What is the highest rank of Venezuela, which has more than 9 bronze medals? ### CONTEXT CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 9
{ "answer": "SELECT MIN(rank) FROM table_name_54 WHERE nation = \"venezuela\" AND bronze > 9", "context": "CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR)", "question": "What is the highest rank of Venezuela, which has more than 9 bronze medals?" }
### QUESTION What is the latest year that shadow racing team scored more than 0 points? ### CONTEXT CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0
{ "answer": "SELECT MAX(year) FROM table_name_13 WHERE entrant = \"shadow racing team\" AND pts > 0", "context": "CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR)", "question": "What is the latest year that shadow racing team scored more than 0 points?" }
### QUESTION What is the date of the game later than week 13 and 41,862 people attended? ### CONTEXT CREATE TABLE table_name_62 (date VARCHAR, week VARCHAR, attendance VARCHAR) ### ANSWER SELECT date FROM table_name_62 WHERE week > 13 AND attendance = "41,862"
{ "answer": "SELECT date FROM table_name_62 WHERE week > 13 AND attendance = \"41,862\"", "context": "CREATE TABLE table_name_62 (date VARCHAR, week VARCHAR, attendance VARCHAR)", "question": "What is the date of the game later than week 13 and 41,862 people attended?" }
### QUESTION How many districts does gary condit represent? ### CONTEXT CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) ### ANSWER SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit"
{ "answer": "SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = \"Gary Condit\"", "context": "CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR)", "question": "How many districts does gary condit represent?" }