text
stringlengths
146
1.06k
source
dict
### QUESTION Show the customer name, customer address city, date from, and date to for each customer address history. ### CONTEXT CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_address_history (date_from VARCHAR, date_to VARCHAR, customer_id VARCHAR, address_id VARCHAR) ### ANSWER SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id
{ "answer": "SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id", "context": "CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_address_history (date_from VARCHAR, date_to VARCHAR, customer_id VARCHAR, address_id VARCHAR)", "question": "Show the customer name, customer address city, date from, and date to for each customer address history." }
### QUESTION How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed? ### CONTEXT CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR) ### ANSWER SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = "Sam M. Gibbons (D) Unopposed"
{ "answer": "SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = \"Sam M. Gibbons (D) Unopposed\"", "context": "CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR)", "question": "How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed?" }
### QUESTION what's the party with incumbent being william e. evans ### CONTEXT CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR) ### ANSWER SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans"
{ "answer": "SELECT party FROM table_1342359_5 WHERE incumbent = \"William E. Evans\"", "context": "CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)", "question": "what's the party with incumbent being william e. evans" }
### QUESTION Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley? ### CONTEXT CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR) ### ANSWER SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley"
{ "answer": "SELECT interview_subject FROM table_name_89 WHERE pictorials = \"christie brinkley\"", "context": "CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)", "question": "Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?" }
### QUESTION What is the dominant religion in Gornji Tavankut? ### CONTEXT CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) ### ANSWER SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = "Gornji Tavankut"
{ "answer": "SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = \"Gornji Tavankut\"", "context": "CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)", "question": "What is the dominant religion in Gornji Tavankut?" }
### QUESTION During footscray's home game, how much did the away team score? ### CONTEXT CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_74 WHERE home_team = "footscray"
{ "answer": "SELECT away_team AS score FROM table_name_74 WHERE home_team = \"footscray\"", "context": "CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)", "question": "During footscray's home game, how much did the away team score?" }
### QUESTION What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st? ### CONTEXT CREATE TABLE table_name_40 (points VARCHAR, series VARCHAR, position VARCHAR) ### ANSWER SELECT points FROM table_name_40 WHERE series = "queensland formula ford championship" AND position = "1st"
{ "answer": "SELECT points FROM table_name_40 WHERE series = \"queensland formula ford championship\" AND position = \"1st\"", "context": "CREATE TABLE table_name_40 (points VARCHAR, series VARCHAR, position VARCHAR)", "question": "What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st?" }
### QUESTION Name the nominating festival for un cartus de kent si un pachet de cafea ### CONTEXT CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR) ### ANSWER SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea"
{ "answer": "SELECT nominating_festival FROM table_name_93 WHERE film = \"un cartus de kent si un pachet de cafea\"", "context": "CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR)", "question": "Name the nominating festival for un cartus de kent si un pachet de cafea" }
### QUESTION How many opponents were there at the game with 64,087 people in attendance? ### CONTEXT CREATE TABLE table_11465521_2 (opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = "64,087"
{ "answer": "SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = \"64,087\"", "context": "CREATE TABLE table_11465521_2 (opponent VARCHAR, attendance VARCHAR)", "question": "How many opponents were there at the game with 64,087 people in attendance?" }
### QUESTION For the Cage Combat Fighting Championships: Mayhem, what was the record? ### CONTEXT CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR) ### ANSWER SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem"
{ "answer": "SELECT record FROM table_name_13 WHERE event = \"cage combat fighting championships: mayhem\"", "context": "CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)", "question": "For the Cage Combat Fighting Championships: Mayhem, what was the record?" }
### QUESTION What type of settlement is ором (hungarian: orom)? ### CONTEXT CREATE TABLE table_2562572_33 (type VARCHAR, cyrillic_name_other_names VARCHAR) ### ANSWER SELECT type FROM table_2562572_33 WHERE cyrillic_name_other_names = "Ором (Hungarian: Orom)"
{ "answer": "SELECT type FROM table_2562572_33 WHERE cyrillic_name_other_names = \"Ором (Hungarian: Orom)\"", "context": "CREATE TABLE table_2562572_33 (type VARCHAR, cyrillic_name_other_names VARCHAR)", "question": "What type of settlement is ором (hungarian: orom)?" }
### QUESTION What is the sum of numbers that had a type of Driving Van Trailer? ### CONTEXT CREATE TABLE table_name_65 (number INTEGER, type VARCHAR) ### ANSWER SELECT SUM(number) FROM table_name_65 WHERE type = "driving van trailer"
{ "answer": "SELECT SUM(number) FROM table_name_65 WHERE type = \"driving van trailer\"", "context": "CREATE TABLE table_name_65 (number INTEGER, type VARCHAR)", "question": "What is the sum of numbers that had a type of Driving Van Trailer?" }
### QUESTION Can you tell me the sum of Grid that has the Laps of 30, and the Rider of toni elias? ### CONTEXT CREATE TABLE table_name_54 (grid INTEGER, laps VARCHAR, rider VARCHAR) ### ANSWER SELECT SUM(grid) FROM table_name_54 WHERE laps = 30 AND rider = "toni elias"
{ "answer": "SELECT SUM(grid) FROM table_name_54 WHERE laps = 30 AND rider = \"toni elias\"", "context": "CREATE TABLE table_name_54 (grid INTEGER, laps VARCHAR, rider VARCHAR)", "question": "Can you tell me the sum of Grid that has the Laps of 30, and the Rider of toni elias?" }
### QUESTION what's the denomination with year being 2008 and reverse being football ### CONTEXT CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR) ### ANSWER SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = "Football"
{ "answer": "SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = \"Football\"", "context": "CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR)", "question": "what's the denomination with year being 2008 and reverse being football" }
### QUESTION Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12 ### CONTEXT CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12"
{ "answer": "SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = \"brm p202 3.0 v12 brm p200 3.0 v12\"", "context": "CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR)", "question": "Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12" }
### QUESTION Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen? ### CONTEXT CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR) ### ANSWER SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen"
{ "answer": "SELECT title FROM table_name_91 WHERE length = \"3:32\" AND producer_s_ = \"hadise açıkgöz, yves jongen\"", "context": "CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)", "question": "Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?" }
### QUESTION What is the second leg that has kk bosna? ### CONTEXT CREATE TABLE table_name_49 (team__number1 VARCHAR) ### ANSWER SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = "kk bosna"
{ "answer": "SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = \"kk bosna\"", "context": "CREATE TABLE table_name_49 (team__number1 VARCHAR)", "question": "What is the second leg that has kk bosna?" }
### QUESTION What was the original air date of the episode that had 5.30 million U.S. viewers? ### CONTEXT CREATE TABLE table_25548505_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) ### ANSWER SELECT original_air_date FROM table_25548505_1 WHERE us_viewers__millions_ = "5.30"
{ "answer": "SELECT original_air_date FROM table_25548505_1 WHERE us_viewers__millions_ = \"5.30\"", "context": "CREATE TABLE table_25548505_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)", "question": "What was the original air date of the episode that had 5.30 million U.S. viewers? " }
### QUESTION What are the polling dates for polling firm Holinshed when Terry Kilrea dropped out and Bob Chiarelli has 22.5%? ### CONTEXT CREATE TABLE table_name_63 (terry_kilrea__dropped_out_ VARCHAR, polling_firm VARCHAR, bob_chiarelli VARCHAR) ### ANSWER SELECT terry_kilrea__dropped_out_ FROM table_name_63 WHERE polling_firm = "holinshed" AND bob_chiarelli = "22.5%"
{ "answer": "SELECT terry_kilrea__dropped_out_ FROM table_name_63 WHERE polling_firm = \"holinshed\" AND bob_chiarelli = \"22.5%\"", "context": "CREATE TABLE table_name_63 (terry_kilrea__dropped_out_ VARCHAR, polling_firm VARCHAR, bob_chiarelli VARCHAR)", "question": "What are the polling dates for polling firm Holinshed when Terry Kilrea dropped out and Bob Chiarelli has 22.5%?" }
### QUESTION What is the lowest rank for Chris Brown with react greater than 0.244? ### CONTEXT CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244
{ "answer": "SELECT MIN(rank) FROM table_name_44 WHERE athlete = \"chris brown\" AND react > 0.244", "context": "CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)", "question": "What is the lowest rank for Chris Brown with react greater than 0.244?" }
### QUESTION Name the slope length for 1966 groundstation ### CONTEXT CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR) ### ANSWER SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
{ "answer": "SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966", "context": "CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR)", "question": "Name the slope length for 1966 groundstation" }
### QUESTION What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released? ### CONTEXT CREATE TABLE table_name_37 (release_date VARCHAR, title VARCHAR, series VARCHAR, director VARCHAR, production_number VARCHAR) ### ANSWER SELECT release_date FROM table_name_37 WHERE director = "friz freleng" AND production_number > 1496 AND series = "mm" AND title = "apes of wrath"
{ "answer": "SELECT release_date FROM table_name_37 WHERE director = \"friz freleng\" AND production_number > 1496 AND series = \"mm\" AND title = \"apes of wrath\"", "context": "CREATE TABLE table_name_37 (release_date VARCHAR, title VARCHAR, series VARCHAR, director VARCHAR, production_number VARCHAR)", "question": "What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released?" }
### QUESTION what's the party with opponent being mike oxley (r) unopposed ### CONTEXT CREATE TABLE table_1341522_38 (party VARCHAR, opponent VARCHAR) ### ANSWER SELECT party FROM table_1341522_38 WHERE opponent = "Mike Oxley (R) unopposed"
{ "answer": "SELECT party FROM table_1341522_38 WHERE opponent = \"Mike Oxley (R) unopposed\"", "context": "CREATE TABLE table_1341522_38 (party VARCHAR, opponent VARCHAR)", "question": "what's the party with opponent being mike oxley (r) unopposed" }
### QUESTION Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007? ### CONTEXT CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR) ### ANSWER SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007
{ "answer": "SELECT championship FROM table_name_36 WHERE opponent = \"roger federer\" AND surface = \"clay\" AND year < 2007", "context": "CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR)", "question": "Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007?" }
### QUESTION how many teams had an appointment date of 11 april 2011 ### CONTEXT CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011"
{ "answer": "SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = \"11 April 2011\"", "context": "CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)", "question": "how many teams had an appointment date of 11 april 2011" }
### QUESTION Name the population % of eu for greece ### CONTEXT CREATE TABLE table_1606824_1 (population__percentage_of_eu VARCHAR, member_state VARCHAR) ### ANSWER SELECT population__percentage_of_eu FROM table_1606824_1 WHERE member_state = "Greece"
{ "answer": "SELECT population__percentage_of_eu FROM table_1606824_1 WHERE member_state = \"Greece\"", "context": "CREATE TABLE table_1606824_1 (population__percentage_of_eu VARCHAR, member_state VARCHAR)", "question": "Name the population % of eu for greece" }
### QUESTION On December 12, 2001, how many weeks had the single been in its position? ### CONTEXT CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR) ### ANSWER SELECT weeks FROM table_name_18 WHERE date = "december 12, 2001"
{ "answer": "SELECT weeks FROM table_name_18 WHERE date = \"december 12, 2001\"", "context": "CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR)", "question": "On December 12, 2001, how many weeks had the single been in its position?" }
### QUESTION what is the mascot when the county is 43 kosciusko? ### CONTEXT CREATE TABLE table_name_82 (mascot VARCHAR, county VARCHAR) ### ANSWER SELECT mascot FROM table_name_82 WHERE county = "43 kosciusko"
{ "answer": "SELECT mascot FROM table_name_82 WHERE county = \"43 kosciusko\"", "context": "CREATE TABLE table_name_82 (mascot VARCHAR, county VARCHAR)", "question": "what is the mascot when the county is 43 kosciusko?" }
### QUESTION What was the record after the game with the Manchester Wolves on July 30, 2004? ### CONTEXT CREATE TABLE table_name_18 (record VARCHAR, opponent VARCHAR, date VARCHAR) ### ANSWER SELECT record FROM table_name_18 WHERE opponent = "manchester wolves" AND date = "july 30, 2004"
{ "answer": "SELECT record FROM table_name_18 WHERE opponent = \"manchester wolves\" AND date = \"july 30, 2004\"", "context": "CREATE TABLE table_name_18 (record VARCHAR, opponent VARCHAR, date VARCHAR)", "question": "What was the record after the game with the Manchester Wolves on July 30, 2004?" }
### QUESTION Which TV network had its series finale on May 7, 2012? ### CONTEXT CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR) ### ANSWER SELECT tv_network_s_ FROM table_29799700_2 WHERE series_finale = "May 7, 2012"
{ "answer": "SELECT tv_network_s_ FROM table_29799700_2 WHERE series_finale = \"May 7, 2012\"", "context": "CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR)", "question": "Which TV network had its series finale on May 7, 2012?" }
### QUESTION Show the title and publication dates of books. ### CONTEXT CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Publication_Date VARCHAR, Book_ID VARCHAR) ### ANSWER SELECT T1.Title, T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID
{ "answer": "SELECT T1.Title, T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID", "context": "CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Publication_Date VARCHAR, Book_ID VARCHAR)", "question": "Show the title and publication dates of books." }
### QUESTION What day did the episode with a production code of 218 originally air? ### CONTEXT CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR) ### ANSWER SELECT original_air_date FROM table_22265225_1 WHERE production_code = "218"
{ "answer": "SELECT original_air_date FROM table_22265225_1 WHERE production_code = \"218\"", "context": "CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR)", "question": "What day did the episode with a production code of 218 originally air?" }
### QUESTION Which professional did not operate any treatment on dogs? List the professional's id, role and email. ### CONTEXT CREATE TABLE Professionals (professional_id VARCHAR, role_code VARCHAR, email_address VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR) ### ANSWER SELECT professional_id, role_code, email_address FROM Professionals EXCEPT SELECT T1.professional_id, T1.role_code, T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id
{ "answer": "SELECT professional_id, role_code, email_address FROM Professionals EXCEPT SELECT T1.professional_id, T1.role_code, T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id", "context": "CREATE TABLE Professionals (professional_id VARCHAR, role_code VARCHAR, email_address VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)", "question": "Which professional did not operate any treatment on dogs? List the professional's id, role and email." }
### QUESTION Which stadium has a payout of $3 million? ### CONTEXT CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR) ### ANSWER SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"
{ "answer": "SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = \"$3 Million\"", "context": "CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)", "question": "Which stadium has a payout of $3 million?" }
### QUESTION Who directed the episode with production code 4akj01? ### CONTEXT CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR) ### ANSWER SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ01"
{ "answer": "SELECT directed_by FROM table_19929970_1 WHERE production_code = \"4AKJ01\"", "context": "CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)", "question": "Who directed the episode with production code 4akj01?" }
### QUESTION Which city has the most addresses? List the city name, number of addresses, and city id. ### CONTEXT CREATE TABLE address (city_id VARCHAR); CREATE TABLE city (city VARCHAR, city_id VARCHAR) ### ANSWER SELECT T2.city, COUNT(*), T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.city, COUNT(*), T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE address (city_id VARCHAR); CREATE TABLE city (city VARCHAR, city_id VARCHAR)", "question": "Which city has the most addresses? List the city name, number of addresses, and city id." }
### QUESTION Which products has been complained by the customer who has filed least amount of complaints? ### CONTEXT CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR) ### ANSWER SELECT DISTINCT t1.product_name FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id JOIN customers AS t3 GROUP BY t3.customer_id ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id JOIN customers AS t3 GROUP BY t3.customer_id ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR)", "question": "Which products has been complained by the customer who has filed least amount of complaints?" }
### QUESTION Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live? ### CONTEXT CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR) ### ANSWER SELECT callsign FROM table_name_97 WHERE webcast = "listen live" AND frequency < 1210 AND brand = "newsradio 740 ktrh"
{ "answer": "SELECT callsign FROM table_name_97 WHERE webcast = \"listen live\" AND frequency < 1210 AND brand = \"newsradio 740 ktrh\"", "context": "CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR)", "question": "Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live?" }
### QUESTION What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality? ### CONTEXT CREATE TABLE table_name_36 (position VARCHAR, nationality VARCHAR, player VARCHAR) ### ANSWER SELECT position FROM table_name_36 WHERE nationality = "united states" AND player = "justin mapp category:articles with hcards"
{ "answer": "SELECT position FROM table_name_36 WHERE nationality = \"united states\" AND player = \"justin mapp category:articles with hcards\"", "context": "CREATE TABLE table_name_36 (position VARCHAR, nationality VARCHAR, player VARCHAR)", "question": "What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality?" }
### QUESTION Name for the high rebounds when score is w 105–91 (ot) ### CONTEXT CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR) ### ANSWER SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (OT)"
{ "answer": "SELECT high_rebounds FROM table_15780718_6 WHERE score = \"W 105–91 (OT)\"", "context": "CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR)", "question": "Name for the high rebounds when score is w 105–91 (ot)" }
### QUESTION Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports? ### CONTEXT CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR) ### ANSWER SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports"
{ "answer": "SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = \"#13 Inspire Motorsports\"", "context": "CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR)", "question": "Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports?" }
### QUESTION What is the description of the department whose name has the substring the computer? ### CONTEXT CREATE TABLE Departments (department_description VARCHAR, department_name VARCHAR) ### ANSWER SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'
{ "answer": "SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'", "context": "CREATE TABLE Departments (department_description VARCHAR, department_name VARCHAR)", "question": "What is the description of the department whose name has the substring the computer?" }
### QUESTION Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8? ### CONTEXT CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) ### ANSWER SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "8"
{ "answer": "SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = \"8\"", "context": "CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)", "question": "Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8?" }
### QUESTION What's the Backed after 2008 with a label of Wild World? ### CONTEXT CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR) ### ANSWER SELECT backed_with FROM table_name_24 WHERE record_label = "wild world" AND date > 2008
{ "answer": "SELECT backed_with FROM table_name_24 WHERE record_label = \"wild world\" AND date > 2008", "context": "CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR)", "question": "What's the Backed after 2008 with a label of Wild World?" }
### QUESTION Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997? ### CONTEXT CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) ### ANSWER SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close"
{ "answer": "SELECT constituency FROM table_name_41 WHERE party = \"alliance\" AND election < 1997 AND position = 2 AND candidate = \"seamus close\"", "context": "CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)", "question": "Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?" }
### QUESTION Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5? ### CONTEXT CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR) ### ANSWER SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5
{ "answer": "SELECT MAX(pick__number) FROM table_name_32 WHERE name = \"william middleton\" AND round > 5", "context": "CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR)", "question": "Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?" }
### QUESTION What's the name of the team that went 113.316mph? ### CONTEXT CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR) ### ANSWER SELECT team FROM table_name_18 WHERE speed = "113.316mph"
{ "answer": "SELECT team FROM table_name_18 WHERE speed = \"113.316mph\"", "context": "CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR)", "question": "What's the name of the team that went 113.316mph?" }
### QUESTION What is the template type code of the template used by document with the name "Data base"? ### CONTEXT CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR) ### ANSWER SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = "Data base"
{ "answer": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\"", "context": "CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR)", "question": "What is the template type code of the template used by document with the name \"Data base\"?" }
### QUESTION What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points? ### CONTEXT CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR) ### ANSWER SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = "30-8"
{ "answer": "SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = \"30-8\"", "context": "CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR)", "question": "What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points?" }
### QUESTION What is the average number of events of PGA Championship tournaments with a top-5 less than 0? ### CONTEXT CREATE TABLE table_name_27 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR) ### ANSWER SELECT AVG(events) FROM table_name_27 WHERE top_10 = 0 AND tournament = "pga championship" AND top_5 < 0
{ "answer": "SELECT AVG(events) FROM table_name_27 WHERE top_10 = 0 AND tournament = \"pga championship\" AND top_5 < 0", "context": "CREATE TABLE table_name_27 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR)", "question": "What is the average number of events of PGA Championship tournaments with a top-5 less than 0?" }
### QUESTION What is the accreditation level of the network brand Movistar? ### CONTEXT CREATE TABLE table_name_76 (accreditation_level VARCHAR, network_brand_name VARCHAR) ### ANSWER SELECT accreditation_level FROM table_name_76 WHERE network_brand_name = "movistar"
{ "answer": "SELECT accreditation_level FROM table_name_76 WHERE network_brand_name = \"movistar\"", "context": "CREATE TABLE table_name_76 (accreditation_level VARCHAR, network_brand_name VARCHAR)", "question": "What is the accreditation level of the network brand Movistar?" }
### QUESTION How much Money is requested by BassToneSlap? ### CONTEXT CREATE TABLE table_name_10 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) ### ANSWER SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap"
{ "answer": "SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = \"basstoneslap\"", "context": "CREATE TABLE table_name_10 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)", "question": "How much Money is requested by BassToneSlap?" }
### QUESTION Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring? ### CONTEXT CREATE TABLE table_name_44 (team VARCHAR, series VARCHAR, races VARCHAR, f_laps VARCHAR) ### ANSWER SELECT team FROM table_name_44 WHERE races = "1" AND f_laps = "1" AND series = "24 hours of nurburgring"
{ "answer": "SELECT team FROM table_name_44 WHERE races = \"1\" AND f_laps = \"1\" AND series = \"24 hours of nurburgring\"", "context": "CREATE TABLE table_name_44 (team VARCHAR, series VARCHAR, races VARCHAR, f_laps VARCHAR)", "question": "Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring?" }
### QUESTION What is the location of the team nicknamed Broncos, which was founded after 1889? ### CONTEXT CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR) ### ANSWER SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos"
{ "answer": "SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = \"broncos\"", "context": "CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR)", "question": "What is the location of the team nicknamed Broncos, which was founded after 1889?" }
### QUESTION Find the name of the item with the lowest average rating. ### CONTEXT CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) ### ANSWER SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) LIMIT 1
{ "answer": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) LIMIT 1", "context": "CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)", "question": "Find the name of the item with the lowest average rating." }
### QUESTION Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)? ### CONTEXT CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR) ### ANSWER SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273)
{ "answer": "SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273)", "context": "CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR)", "question": "Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)?" }
### QUESTION Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12? ### CONTEXT CREATE TABLE table_name_45 (attendance INTEGER, opponent VARCHAR, week VARCHAR) ### ANSWER SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 12
{ "answer": "SELECT AVG(attendance) FROM table_name_45 WHERE opponent = \"new orleans saints\" AND week > 12", "context": "CREATE TABLE table_name_45 (attendance INTEGER, opponent VARCHAR, week VARCHAR)", "question": "Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?" }
### QUESTION Find the titles of items that received both a rating higher than 8 and a rating below 5. ### CONTEXT CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) ### ANSWER SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5
{ "answer": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5", "context": "CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)", "question": "Find the titles of items that received both a rating higher than 8 and a rating below 5." }
### QUESTION Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones ### CONTEXT CREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) ### ANSWER SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"
{ "answer": "SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = \"alan jones\"", "context": "CREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)", "question": "Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones" }
### QUESTION What building is in Shenzhen, have less than 115 floors, and was completed before 2017? ### CONTEXT CREATE TABLE table_name_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR) ### ANSWER SELECT name FROM table_name_79 WHERE city = "shenzhen" AND completion < 2017 AND floors < 115
{ "answer": "SELECT name FROM table_name_79 WHERE city = \"shenzhen\" AND completion < 2017 AND floors < 115", "context": "CREATE TABLE table_name_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR)", "question": "What building is in Shenzhen, have less than 115 floors, and was completed before 2017?" }
### QUESTION What is the lowest game on February 10? ### CONTEXT CREATE TABLE table_name_66 (game INTEGER, date VARCHAR) ### ANSWER SELECT MIN(game) FROM table_name_66 WHERE date = "february 10"
{ "answer": "SELECT MIN(game) FROM table_name_66 WHERE date = \"february 10\"", "context": "CREATE TABLE table_name_66 (game INTEGER, date VARCHAR)", "question": "What is the lowest game on February 10?" }
### QUESTION Which events have the number of notes between one and three? List the event id and the property id. ### CONTEXT CREATE TABLE Customer_Events (Customer_Event_ID VARCHAR, property_id VARCHAR, customer_event_id VARCHAR); CREATE TABLE Customer_Event_Notes (Customer_Event_ID VARCHAR) ### ANSWER SELECT T1.Customer_Event_ID, T1.property_id FROM Customer_Events AS T1 JOIN Customer_Event_Notes AS T2 ON T1.Customer_Event_ID = T2.Customer_Event_ID GROUP BY T1.customer_event_id HAVING COUNT(*) BETWEEN 1 AND 3
{ "answer": "SELECT T1.Customer_Event_ID, T1.property_id FROM Customer_Events AS T1 JOIN Customer_Event_Notes AS T2 ON T1.Customer_Event_ID = T2.Customer_Event_ID GROUP BY T1.customer_event_id HAVING COUNT(*) BETWEEN 1 AND 3", "context": "CREATE TABLE Customer_Events (Customer_Event_ID VARCHAR, property_id VARCHAR, customer_event_id VARCHAR); CREATE TABLE Customer_Event_Notes (Customer_Event_ID VARCHAR)", "question": "Which events have the number of notes between one and three? List the event id and the property id." }
### QUESTION Name the result for ursinus college ### CONTEXT CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR) ### ANSWER SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College"
{ "answer": "SELECT result FROM table_21094951_1 WHERE opponent = \"Ursinus College\"", "context": "CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR)", "question": "Name the result for ursinus college" }
### QUESTION What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? ### CONTEXT CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR) ### ANSWER SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9
{ "answer": "SELECT MAX(roll) FROM table_name_49 WHERE years = \"1–8\" AND name = \"dorie school\" AND decile > 9", "context": "CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)", "question": "What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9?" }
### QUESTION Who were the candidates in the district where Charlie Norwood is the incumbent? ### CONTEXT CREATE TABLE table_1341472_12 (candidates VARCHAR, incumbent VARCHAR) ### ANSWER SELECT candidates FROM table_1341472_12 WHERE incumbent = "Charlie Norwood"
{ "answer": "SELECT candidates FROM table_1341472_12 WHERE incumbent = \"Charlie Norwood\"", "context": "CREATE TABLE table_1341472_12 (candidates VARCHAR, incumbent VARCHAR)", "question": "Who were the candidates in the district where Charlie Norwood is the incumbent?" }
### QUESTION In what county is the latitude less than 46.935364 and GEO ID is 3801700500? ### CONTEXT CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR) ### ANSWER SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500
{ "answer": "SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500", "context": "CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)", "question": "In what county is the latitude less than 46.935364 and GEO ID is 3801700500?" }
### QUESTION What were the total games in the Big Ten conference when Nebraska lost fewer than 488 games and had a Pct less than 0.7014? ### CONTEXT CREATE TABLE table_name_68 (total_games INTEGER, pct VARCHAR, team VARCHAR, conference VARCHAR, lost VARCHAR) ### ANSWER SELECT SUM(total_games) FROM table_name_68 WHERE conference = "big ten" AND lost < 488 AND team = "nebraska" AND pct < 0.7014
{ "answer": "SELECT SUM(total_games) FROM table_name_68 WHERE conference = \"big ten\" AND lost < 488 AND team = \"nebraska\" AND pct < 0.7014", "context": "CREATE TABLE table_name_68 (total_games INTEGER, pct VARCHAR, team VARCHAR, conference VARCHAR, lost VARCHAR)", "question": "What were the total games in the Big Ten conference when Nebraska lost fewer than 488 games and had a Pct less than 0.7014?" }
### QUESTION What mean total had a league number of 18, Richard Logan as a player, and a play-offs number smaller than 1? ### CONTEXT CREATE TABLE table_name_88 (total INTEGER, play_offs VARCHAR, league VARCHAR, player VARCHAR) ### ANSWER SELECT AVG(total) FROM table_name_88 WHERE league = 18 AND player = "richard logan" AND play_offs < 1
{ "answer": "SELECT AVG(total) FROM table_name_88 WHERE league = 18 AND player = \"richard logan\" AND play_offs < 1", "context": "CREATE TABLE table_name_88 (total INTEGER, play_offs VARCHAR, league VARCHAR, player VARCHAR)", "question": "What mean total had a league number of 18, Richard Logan as a player, and a play-offs number smaller than 1?" }
### QUESTION the sum of Events that has a Rank larger than 5 is 3 ### CONTEXT CREATE TABLE table_name_97 (events INTEGER, rank INTEGER) ### ANSWER SELECT SUM(events) FROM table_name_97 WHERE rank > 5
{ "answer": "SELECT SUM(events) FROM table_name_97 WHERE rank > 5", "context": "CREATE TABLE table_name_97 (events INTEGER, rank INTEGER)", "question": "the sum of Events that has a Rank larger than 5 is 3" }
### QUESTION What is the Date of attack of the ship with iron ore sunk by u-101 *? ### CONTEXT CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR) ### ANSWER SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore"
{ "answer": "SELECT date_of_attack FROM table_name_39 WHERE fate = \"sunk by u-101 *\" AND cargo = \"iron ore\"", "context": "CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR)", "question": "What is the Date of attack of the ship with iron ore sunk by u-101 *?" }
### QUESTION This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when? ### CONTEXT CREATE TABLE table_25695027_1 (years_built VARCHAR, cylinder_size VARCHAR, firebox VARCHAR) ### ANSWER SELECT years_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Radial-stay"
{ "answer": "SELECT years_built FROM table_25695027_1 WHERE cylinder_size = \"20 ½” x 26”\" AND firebox = \"Radial-stay\"", "context": "CREATE TABLE table_25695027_1 (years_built VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)", "question": "This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when?" }
### QUESTION What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? ### CONTEXT CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR) ### ANSWER SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz"
{ "answer": "SELECT model_number FROM table_name_86 WHERE voltage = \"3.45 v\" AND frequency = \"133 mhz\"", "context": "CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)", "question": "What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?" }
### QUESTION Name the date for motogp winner of casey stoner and grand prix of valencian grand prix ### CONTEXT CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR) ### ANSWER SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix"
{ "answer": "SELECT date FROM table_name_15 WHERE motogp_winner = \"casey stoner\" AND grand_prix = \"valencian grand prix\"", "context": "CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR)", "question": "Name the date for motogp winner of casey stoner and grand prix of valencian grand prix" }
### QUESTION What venue has a weight (kg) greater than 55, and won as the result? ### CONTEXT CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR) ### ANSWER SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = "won"
{ "answer": "SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = \"won\"", "context": "CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR)", "question": "What venue has a weight (kg) greater than 55, and won as the result?" }
### QUESTION What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? ### CONTEXT CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR) ### ANSWER SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)"
{ "answer": "SELECT format FROM table_name_70 WHERE country = \"united kingdom\" AND catalogue__number = \"886973273913 (gowow012)\"", "context": "CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR)", "question": "What is the format of catalog number 886973273913 (gowow012) in the United Kingdom?" }
### QUESTION Which NHL team has a Player of steve durbano? ### CONTEXT CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR) ### ANSWER SELECT nhl_team FROM table_name_97 WHERE player = "steve durbano"
{ "answer": "SELECT nhl_team FROM table_name_97 WHERE player = \"steve durbano\"", "context": "CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)", "question": "Which NHL team has a Player of steve durbano?" }
### QUESTION How many League Cup Goals have 0 as the total goals, with delroy facey as the name? ### CONTEXT CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"
{ "answer": "SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = \"delroy facey\"", "context": "CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)", "question": "How many League Cup Goals have 0 as the total goals, with delroy facey as the name?" }
### QUESTION What is the city location of the tournament currently known as the Medibank International Sydney? ### CONTEXT CREATE TABLE table_20630462_1 (city_s_ VARCHAR, also_currently_known_as VARCHAR) ### ANSWER SELECT city_s_ FROM table_20630462_1 WHERE also_currently_known_as = "Medibank International Sydney"
{ "answer": "SELECT city_s_ FROM table_20630462_1 WHERE also_currently_known_as = \"Medibank International Sydney\"", "context": "CREATE TABLE table_20630462_1 (city_s_ VARCHAR, also_currently_known_as VARCHAR)", "question": "What is the city location of the tournament currently known as the Medibank International Sydney?" }
### QUESTION When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th? ### CONTEXT CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR) ### ANSWER SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi"
{ "answer": "SELECT sat_29_aug FROM table_23465864_3 WHERE rider = \"Roy Richardson 476cc Aermacchi\"", "context": "CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)", "question": "When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?" }
### QUESTION Find the number of routes operated by American Airlines. ### CONTEXT CREATE TABLE routes (alid VARCHAR); CREATE TABLE airlines (alid VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'
{ "answer": "SELECT COUNT(*) 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 routes operated by American Airlines." }
### QUESTION What is the name of organization that has the greatest number of contact individuals? ### CONTEXT CREATE TABLE organization_contact_individuals (organization_id VARCHAR); CREATE TABLE organizations (organization_name VARCHAR, organization_id VARCHAR) ### ANSWER SELECT t1.organization_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id GROUP BY t1.organization_name ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.organization_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id GROUP BY t1.organization_name ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE organization_contact_individuals (organization_id VARCHAR); CREATE TABLE organizations (organization_name VARCHAR, organization_id VARCHAR)", "question": "What is the name of organization that has the greatest number of contact individuals?" }
### QUESTION What was the record when the high rebounds was david lee (8) ### CONTEXT CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR) ### ANSWER SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (8)"
{ "answer": "SELECT record FROM table_23248869_8 WHERE high_rebounds = \"David Lee (8)\"", "context": "CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)", "question": "What was the record when the high rebounds was david lee (8)" }
### QUESTION Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is "LG-P760". ### CONTEXT CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR) ### ANSWER SELECT T1.Char_cells, T1.Pixels, T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = "LG-P760"
{ "answer": "SELECT T1.Char_cells, T1.Pixels, T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = \"LG-P760\"", "context": "CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR)", "question": "Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is \"LG-P760\"." }
### QUESTION Show the names of all of the high schooler Kyle's friends. ### CONTEXT CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, friend_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR) ### ANSWER SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = "Kyle"
{ "answer": "SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = \"Kyle\"", "context": "CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, friend_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)", "question": "Show the names of all of the high schooler Kyle's friends." }
### QUESTION Which venue has a scoreof 2–0? ### CONTEXT CREATE TABLE table_name_60 (venue VARCHAR, score VARCHAR) ### ANSWER SELECT venue FROM table_name_60 WHERE score = "2–0"
{ "answer": "SELECT venue FROM table_name_60 WHERE score = \"2–0\"", "context": "CREATE TABLE table_name_60 (venue VARCHAR, score VARCHAR)", "question": "Which venue has a scoreof 2–0?" }
### QUESTION What is the Competition with a Result of win with a Score that is 1-0? ### CONTEXT CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR) ### ANSWER SELECT competition FROM table_name_91 WHERE result = "win" AND score = "1-0"
{ "answer": "SELECT competition FROM table_name_91 WHERE result = \"win\" AND score = \"1-0\"", "context": "CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR)", "question": "What is the Competition with a Result of win with a Score that is 1-0?" }
### QUESTION Show the name of colleges that have at least two players in descending alphabetical order. ### CONTEXT CREATE TABLE match_season (College VARCHAR) ### ANSWER SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC
{ "answer": "SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC", "context": "CREATE TABLE match_season (College VARCHAR)", "question": "Show the name of colleges that have at least two players in descending alphabetical order." }
### QUESTION Find the id and number of shops for the company that produces the most expensive furniture. ### CONTEXT CREATE TABLE manufacturer (manufacturer_id VARCHAR, num_of_shops VARCHAR); CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR, Price_in_Dollar VARCHAR) ### ANSWER SELECT t1.manufacturer_id, t1.num_of_shops FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id ORDER BY t2.Price_in_Dollar DESC LIMIT 1
{ "answer": "SELECT t1.manufacturer_id, t1.num_of_shops FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id ORDER BY t2.Price_in_Dollar DESC LIMIT 1", "context": "CREATE TABLE manufacturer (manufacturer_id VARCHAR, num_of_shops VARCHAR); CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR, Price_in_Dollar VARCHAR)", "question": "Find the id and number of shops for the company that produces the most expensive furniture." }
### QUESTION What is the enrollment amount where Hispanic (%) is 3.6? ### CONTEXT CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR) ### ANSWER SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6"
{ "answer": "SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = \"3.6\"", "context": "CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR)", "question": "What is the enrollment amount where Hispanic (%) is 3.6?" }
### QUESTION What number of years did the red bull sauber petronas have greater than 6 points? ### CONTEXT CREATE TABLE table_name_90 (year VARCHAR, entrant VARCHAR, points VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_90 WHERE entrant = "red bull sauber petronas" AND points > 6
{ "answer": "SELECT COUNT(year) FROM table_name_90 WHERE entrant = \"red bull sauber petronas\" AND points > 6", "context": "CREATE TABLE table_name_90 (year VARCHAR, entrant VARCHAR, points VARCHAR)", "question": "What number of years did the red bull sauber petronas have greater than 6 points?" }
### QUESTION What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway? ### CONTEXT CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR) ### ANSWER SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = "infineon raceway"
{ "answer": "SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = \"infineon raceway\"", "context": "CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR)", "question": "What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway?" }
### QUESTION What is the location of the Carousel toll plaza? ### CONTEXT CREATE TABLE table_1211545_2 (location VARCHAR, name VARCHAR) ### ANSWER SELECT location FROM table_1211545_2 WHERE name = "Carousel Toll Plaza"
{ "answer": "SELECT location FROM table_1211545_2 WHERE name = \"Carousel Toll Plaza\"", "context": "CREATE TABLE table_1211545_2 (location VARCHAR, name VARCHAR)", "question": "What is the location of the Carousel toll plaza?" }
### QUESTION Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza ### CONTEXT CREATE TABLE table_name_29 (outgoing_manager VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, team VARCHAR) ### ANSWER SELECT outgoing_manager FROM table_name_29 WHERE manner_of_departure = "resigned" AND team = "real zaragoza" AND replaced_by = "manolo villanova"
{ "answer": "SELECT outgoing_manager FROM table_name_29 WHERE manner_of_departure = \"resigned\" AND team = \"real zaragoza\" AND replaced_by = \"manolo villanova\"", "context": "CREATE TABLE table_name_29 (outgoing_manager VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, team VARCHAR)", "question": "Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza" }
### QUESTION Which leading scorer has a Home of grizzlies, and a Record of 10–28? ### CONTEXT CREATE TABLE table_name_66 (leading_scorer VARCHAR, home VARCHAR, record VARCHAR) ### ANSWER SELECT leading_scorer FROM table_name_66 WHERE home = "grizzlies" AND record = "10–28"
{ "answer": "SELECT leading_scorer FROM table_name_66 WHERE home = \"grizzlies\" AND record = \"10–28\"", "context": "CREATE TABLE table_name_66 (leading_scorer VARCHAR, home VARCHAR, record VARCHAR)", "question": "Which leading scorer has a Home of grizzlies, and a Record of 10–28?" }
### QUESTION how many times is the fa cup apps more than 0, the position mf and the league goals 4? ### CONTEXT CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) ### ANSWER SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4
{ "answer": "SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = \"mf\" AND league_goals = 4", "context": "CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)", "question": "how many times is the fa cup apps more than 0, the position mf and the league goals 4?" }
### QUESTION Show names of shops and the carriers of devices they have in stock. ### CONTEXT CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Device_ID VARCHAR, Shop_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR) ### ANSWER SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
{ "answer": "SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID", "context": "CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Device_ID VARCHAR, Shop_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)", "question": "Show names of shops and the carriers of devices they have in stock." }
### QUESTION Score of postponed (rain) rescheduled for June 27 had what loss? ### CONTEXT CREATE TABLE table_name_32 (loss VARCHAR, score VARCHAR) ### ANSWER SELECT loss FROM table_name_32 WHERE score = "postponed (rain) rescheduled for june 27"
{ "answer": "SELECT loss FROM table_name_32 WHERE score = \"postponed (rain) rescheduled for june 27\"", "context": "CREATE TABLE table_name_32 (loss VARCHAR, score VARCHAR)", "question": "Score of postponed (rain) rescheduled for June 27 had what loss?" }
### QUESTION What was the outcome from the 2009 match in the final against Chong Wei Feng? ### CONTEXT CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_final VARCHAR) ### ANSWER SELECT outcome FROM table_name_44 WHERE year = 2009 AND opponent_in_final = "chong wei feng"
{ "answer": "SELECT outcome FROM table_name_44 WHERE year = 2009 AND opponent_in_final = \"chong wei feng\"", "context": "CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_final VARCHAR)", "question": "What was the outcome from the 2009 match in the final against Chong Wei Feng?" }
### QUESTION Which Prominence (m) has an Elevation (m) of 3,095? ### CONTEXT CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR) ### ANSWER SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095
{ "answer": "SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095", "context": "CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR)", "question": "Which Prominence (m) has an Elevation (m) of 3,095?" }
### QUESTION Find the number of patients who are not using the medication of Procrastin-X. ### CONTEXT CREATE TABLE Prescribes (patient VARCHAR, Medication VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication = T2.Code WHERE T2.name = 'Procrastin-X')
{ "answer": "SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication = T2.Code WHERE T2.name = 'Procrastin-X')", "context": "CREATE TABLE Prescribes (patient VARCHAR, Medication VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR)", "question": "Find the number of patients who are not using the medication of Procrastin-X." }