text
stringlengths
146
1.06k
source
dict
### QUESTION What is the total brup for the team? ### CONTEXT CREATE TABLE table_18064020_21 (brup VARCHAR, name VARCHAR) ### ANSWER SELECT brup FROM table_18064020_21 WHERE name = "total"
{ "answer": "SELECT brup FROM table_18064020_21 WHERE name = \"total\"", "context": "CREATE TABLE table_18064020_21 (brup VARCHAR, name VARCHAR)", "question": "What is the total brup for the team?" }
### QUESTION What is the sum of silver medals for teams with more than 14 total medals and more than 16 golds? ### CONTEXT CREATE TABLE table_name_14 (silver INTEGER, total VARCHAR, gold VARCHAR) ### ANSWER SELECT SUM(silver) FROM table_name_14 WHERE total > 14 AND gold > 16
{ "answer": "SELECT SUM(silver) FROM table_name_14 WHERE total > 14 AND gold > 16", "context": "CREATE TABLE table_name_14 (silver INTEGER, total VARCHAR, gold VARCHAR)", "question": "What is the sum of silver medals for teams with more than 14 total medals and more than 16 golds?" }
### QUESTION Which Genre has a Game of donkey kong country? ### CONTEXT CREATE TABLE table_name_81 (genre VARCHAR, game VARCHAR) ### ANSWER SELECT genre FROM table_name_81 WHERE game = "donkey kong country"
{ "answer": "SELECT genre FROM table_name_81 WHERE game = \"donkey kong country\"", "context": "CREATE TABLE table_name_81 (genre VARCHAR, game VARCHAR)", "question": "Which Genre has a Game of donkey kong country?" }
### QUESTION Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives? ### CONTEXT CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR) ### ANSWER SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives"
{ "answer": "SELECT SUM(season) FROM table_name_40 WHERE score = \"1:3\" AND venue = \"national stadium, maldives\"", "context": "CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR)", "question": "Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives?" }
### QUESTION What is the Competition when the Club was costa rica u-20? ### CONTEXT CREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR) ### ANSWER SELECT competition FROM table_name_94 WHERE club = "costa rica u-20"
{ "answer": "SELECT competition FROM table_name_94 WHERE club = \"costa rica u-20\"", "context": "CREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR)", "question": "What is the Competition when the Club was costa rica u-20?" }
### QUESTION How many rounds did satrio hermanto go with an opc-challenge engine? ### CONTEXT CREATE TABLE table_name_84 (rounds VARCHAR, engine VARCHAR, driver VARCHAR) ### ANSWER SELECT rounds FROM table_name_84 WHERE engine = "opc-challenge" AND driver = "satrio hermanto"
{ "answer": "SELECT rounds FROM table_name_84 WHERE engine = \"opc-challenge\" AND driver = \"satrio hermanto\"", "context": "CREATE TABLE table_name_84 (rounds VARCHAR, engine VARCHAR, driver VARCHAR)", "question": "How many rounds did satrio hermanto go with an opc-challenge engine?" }
### QUESTION What is the capacity at the nop aquatic centre, established after 1929? ### CONTEXT CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR) ### ANSWER SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929
{ "answer": "SELECT COUNT(capacity) FROM table_name_8 WHERE venue = \"nop aquatic centre\" AND established > 1929", "context": "CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)", "question": "What is the capacity at the nop aquatic centre, established after 1929?" }
### QUESTION What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4? ### CONTEXT CREATE TABLE table_name_59 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(bronze) FROM table_name_59 WHERE gold > 0 AND rank = "4" AND total > 4
{ "answer": "SELECT COUNT(bronze) FROM table_name_59 WHERE gold > 0 AND rank = \"4\" AND total > 4", "context": "CREATE TABLE table_name_59 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)", "question": "What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?" }
### QUESTION Show the location name and code with the least documents. ### CONTEXT CREATE TABLE Document_locations (location_code VARCHAR); CREATE TABLE Ref_locations (location_name VARCHAR, location_code VARCHAR) ### ANSWER SELECT T2.location_name, T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T2.location_name, T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE Document_locations (location_code VARCHAR); CREATE TABLE Ref_locations (location_name VARCHAR, location_code VARCHAR)", "question": "Show the location name and code with the least documents." }
### QUESTION What is Tournament, when Career SR is "ATP Masters Series"? ### CONTEXT CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR) ### ANSWER SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"
{ "answer": "SELECT tournament FROM table_name_73 WHERE career_sr = \"atp masters series\"", "context": "CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)", "question": "What is Tournament, when Career SR is \"ATP Masters Series\"?" }
### QUESTION How many tourists visited the country that had 2.5 million tourists in 2011? ### CONTEXT CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) ### ANSWER SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = "2.5 million"
{ "answer": "SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = \"2.5 million\"", "context": "CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)", "question": "How many tourists visited the country that had 2.5 million tourists in 2011?" }
### QUESTION What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws? ### CONTEXT CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) ### ANSWER SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0
{ "answer": "SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0", "context": "CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR)", "question": "What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?" }
### QUESTION When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist? ### CONTEXT CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR) ### ANSWER SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008
{ "answer": "SELECT MAX(mintage) FROM table_name_46 WHERE artist = \"royal canadian mint engravers\" AND year > 2008", "context": "CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR)", "question": "When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist?" }
### QUESTION What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro? ### CONTEXT CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR) ### ANSWER SELECT callsign FROM table_name_31 WHERE branding = "93dot5 home radio cagayan de oro"
{ "answer": "SELECT callsign FROM table_name_31 WHERE branding = \"93dot5 home radio cagayan de oro\"", "context": "CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR)", "question": "What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?" }
### QUESTION what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer ### CONTEXT CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR) ### ANSWER SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer"
{ "answer": "SELECT circuit FROM table_13079788_3 WHERE gtc_winner = \"Graeme Mundy Jamie Smyth\" AND pole_position = \"Bradley Ellis Alex Mortimer\"", "context": "CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)", "question": "what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer" }
### QUESTION Which language is used by the optimum TV service that shows cricket and is based in the United States? ### CONTEXT CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) ### ANSWER SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket"
{ "answer": "SELECT language FROM table_name_43 WHERE service = \"optimum tv\" AND origin_of_programming = \"united states\" AND genre = \"cricket\"", "context": "CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR)", "question": "Which language is used by the optimum TV service that shows cricket and is based in the United States?" }
### QUESTION What was the final score of the game at the astrodome? ### CONTEXT CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR) ### ANSWER SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"
{ "answer": "SELECT final_score FROM table_name_74 WHERE stadium = \"astrodome\"", "context": "CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR)", "question": "What was the final score of the game at the astrodome?" }
### QUESTION What's the total power of the unit whose construction finished on 14.06.1963? ### CONTEXT CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR) ### ANSWER SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963"
{ "answer": "SELECT total_power FROM table_12983929_1 WHERE construction_finish = \"14.06.1963\"", "context": "CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)", "question": "What's the total power of the unit whose construction finished on 14.06.1963?" }
### QUESTION When Kabwe Warriors (team 1) played, what was the result of the 1st leg? ### CONTEXT CREATE TABLE table_name_66 (team_1 VARCHAR) ### ANSWER SELECT 1 AS st_leg FROM table_name_66 WHERE team_1 = "kabwe warriors"
{ "answer": "SELECT 1 AS st_leg FROM table_name_66 WHERE team_1 = \"kabwe warriors\"", "context": "CREATE TABLE table_name_66 (team_1 VARCHAR)", "question": "When Kabwe Warriors (team 1) played, what was the result of the 1st leg?" }
### QUESTION What date had Alexander Krasnorutskiy as a partner with a score of 6–3, 4–6, 6–2? ### CONTEXT CREATE TABLE table_name_2 (date VARCHAR, partner VARCHAR, score VARCHAR) ### ANSWER SELECT date FROM table_name_2 WHERE partner = "alexander krasnorutskiy" AND score = "6–3, 4–6, 6–2"
{ "answer": "SELECT date FROM table_name_2 WHERE partner = \"alexander krasnorutskiy\" AND score = \"6–3, 4–6, 6–2\"", "context": "CREATE TABLE table_name_2 (date VARCHAR, partner VARCHAR, score VARCHAR)", "question": "What date had Alexander Krasnorutskiy as a partner with a score of 6–3, 4–6, 6–2?" }
### QUESTION Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930? ### CONTEXT CREATE TABLE table_104858_1 (country VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR, year_member_organization_was_founded VARCHAR) ### ANSWER SELECT country FROM table_104858_1 WHERE year_current_scouting_organization_joined_wosm = "1930" AND year_member_organization_was_founded = "1926"
{ "answer": "SELECT country FROM table_104858_1 WHERE year_current_scouting_organization_joined_wosm = \"1930\" AND year_member_organization_was_founded = \"1926\"", "context": "CREATE TABLE table_104858_1 (country VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR, year_member_organization_was_founded VARCHAR)", "question": "Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?" }
### QUESTION Can you tell me the lowest Points won that has the Total matches of 4, and the Total W-L-H of 4-0-0? ### CONTEXT CREATE TABLE table_name_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR) ### ANSWER SELECT MIN(points_won) FROM table_name_66 WHERE total_matches = 4 AND total_w_l_h = "4-0-0"
{ "answer": "SELECT MIN(points_won) FROM table_name_66 WHERE total_matches = 4 AND total_w_l_h = \"4-0-0\"", "context": "CREATE TABLE table_name_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR)", "question": "Can you tell me the lowest Points won that has the Total matches of 4, and the Total W-L-H of 4-0-0?" }
### QUESTION In the US Open championship and the outcome is runner-up, what is the minimum year? ### CONTEXT CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR) ### ANSWER SELECT MIN(year) FROM table_22597626_2 WHERE outcome = "Runner-up" AND championship = "US Open"
{ "answer": "SELECT MIN(year) FROM table_22597626_2 WHERE outcome = \"Runner-up\" AND championship = \"US Open\"", "context": "CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR)", "question": "In the US Open championship and the outcome is runner-up, what is the minimum year?" }
### QUESTION Which incumbent was first elected in 1940? ### CONTEXT CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR) ### ANSWER SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940
{ "answer": "SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940", "context": "CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR)", "question": "Which incumbent was first elected in 1940?" }
### QUESTION Which opposing team had an Against score less than 42 and a Tour Match status in Rugby Park, Gisborne? ### CONTEXT CREATE TABLE table_name_48 (opposing_team VARCHAR, venue VARCHAR, against VARCHAR, status VARCHAR) ### ANSWER SELECT opposing_team FROM table_name_48 WHERE against < 42 AND status = "tour match" AND venue = "rugby park, gisborne"
{ "answer": "SELECT opposing_team FROM table_name_48 WHERE against < 42 AND status = \"tour match\" AND venue = \"rugby park, gisborne\"", "context": "CREATE TABLE table_name_48 (opposing_team VARCHAR, venue VARCHAR, against VARCHAR, status VARCHAR)", "question": "Which opposing team had an Against score less than 42 and a Tour Match status in Rugby Park, Gisborne?" }
### QUESTION What was the total number of games where A. Johnson (6) gave the most high assists? ### CONTEXT CREATE TABLE table_11961582_4 (game VARCHAR, high_assists VARCHAR) ### ANSWER SELECT COUNT(game) FROM table_11961582_4 WHERE high_assists = "A. Johnson (6)"
{ "answer": "SELECT COUNT(game) FROM table_11961582_4 WHERE high_assists = \"A. Johnson (6)\"", "context": "CREATE TABLE table_11961582_4 (game VARCHAR, high_assists VARCHAR)", "question": "What was the total number of games where A. Johnson (6) gave the most high assists?" }
### QUESTION How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99? ### CONTEXT CREATE TABLE table_name_30 (pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR) ### ANSWER SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99
{ "answer": "SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99", "context": "CREATE TABLE table_name_30 (pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR)", "question": "How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99?" }
### QUESTION What is the catalog number of the title called "super callanetics"? ### CONTEXT CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) ### ANSWER SELECT catalog_number FROM table_11222744_3 WHERE title = "Super Callanetics"
{ "answer": "SELECT catalog_number FROM table_11222744_3 WHERE title = \"Super Callanetics\"", "context": "CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)", "question": "What is the catalog number of the title called \"super callanetics\"?" }
### QUESTION List first name and last name of customers that have more than 2 payments. ### CONTEXT CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customer_Payments (customer_id VARCHAR) ### ANSWER SELECT T2.first_name, T2.last_name FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 2
{ "answer": "SELECT T2.first_name, T2.last_name FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 2", "context": "CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customer_Payments (customer_id VARCHAR)", "question": "List first name and last name of customers that have more than 2 payments." }
### QUESTION Name of xue hanqin has what highest term ending? ### CONTEXT CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR) ### ANSWER SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin"
{ "answer": "SELECT MAX(term_ending) FROM table_name_89 WHERE name = \"xue hanqin\"", "context": "CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR)", "question": "Name of xue hanqin has what highest term ending?" }
### QUESTION What is the HDTV that has television service of tv 8 mont blanc and content is general television? ### CONTEXT CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR) ### ANSWER SELECT hdtv FROM table_name_26 WHERE content = "general television" AND television_service = "tv 8 mont blanc"
{ "answer": "SELECT hdtv FROM table_name_26 WHERE content = \"general television\" AND television_service = \"tv 8 mont blanc\"", "context": "CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR)", "question": "What is the HDTV that has television service of tv 8 mont blanc and content is general television?" }
### QUESTION Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy? ### CONTEXT CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) ### ANSWER SELECT second_party FROM table_name_31 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy"
{ "answer": "SELECT second_party FROM table_name_31 WHERE second_member = \"charles robert colvile\" AND first_party = \"conservative\" AND first_member = \"william mundy\"", "context": "CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)", "question": "Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?" }
### QUESTION How many figures are given for the New Democratic for the polling range May 11–31, 2010? ### CONTEXT CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR) ### ANSWER SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010"
{ "answer": "SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = \"May 11–31, 2010\"", "context": "CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR)", "question": "How many figures are given for the New Democratic for the polling range May 11–31, 2010?" }
### QUESTION What is the maximum memory of the model that has a standard memory of 16 mb? ### CONTEXT CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR) ### ANSWER SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb"
{ "answer": "SELECT maximum_memory FROM table_name_10 WHERE standard_memory = \"16 mb\"", "context": "CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR)", "question": "What is the maximum memory of the model that has a standard memory of 16 mb?" }
### QUESTION Which opponent was played at Forbes Field after week 4? ### CONTEXT CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) ### ANSWER SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4
{ "answer": "SELECT opponent FROM table_name_76 WHERE game_site = \"forbes field\" AND week > 4", "context": "CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)", "question": "Which opponent was played at Forbes Field after week 4?" }
### QUESTION How old was the horse when the SP was 200/1? ### CONTEXT CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR) ### ANSWER SELECT COUNT(age) FROM table_22265261_1 WHERE sp = "200/1"
{ "answer": "SELECT COUNT(age) FROM table_22265261_1 WHERE sp = \"200/1\"", "context": "CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR)", "question": "How old was the horse when the SP was 200/1?" }
### QUESTION Show the ids of students whose advisors are professors. ### CONTEXT CREATE TABLE Student (StuID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty (FacID VARCHAR, rank VARCHAR) ### ANSWER SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T1.rank = "Professor"
{ "answer": "SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T1.rank = \"Professor\"", "context": "CREATE TABLE Student (StuID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty (FacID VARCHAR, rank VARCHAR)", "question": "Show the ids of students whose advisors are professors." }
### QUESTION With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area? ### CONTEXT CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) ### ANSWER SELECT in_state_area FROM table_name_30 WHERE outlet = "colorado river" AND _percentage_in_state = "a038 84.8%"
{ "answer": "SELECT in_state_area FROM table_name_30 WHERE outlet = \"colorado river\" AND _percentage_in_state = \"a038 84.8%\"", "context": "CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR)", "question": "With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area?" }
### QUESTION display the department name, city, and state province for each department. ### CONTEXT CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR) ### ANSWER SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id
{ "answer": "SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id", "context": "CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)", "question": "display the department name, city, and state province for each department." }
### QUESTION What is the average played value in Belgrade with attendance greater than 26,222? ### CONTEXT CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR) ### ANSWER SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
{ "answer": "SELECT AVG(played) FROM table_name_83 WHERE city = \"belgrade\" AND average_attendance > 26 OFFSET 222", "context": "CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR)", "question": "What is the average played value in Belgrade with attendance greater than 26,222?" }
### QUESTION When was the finale played when the show premiered on September 24, 2002? ### CONTEXT CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) ### ANSWER SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002"
{ "answer": "SELECT finale FROM table_name_62 WHERE premiere = \"september 24, 2002\"", "context": "CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR)", "question": "When was the finale played when the show premiered on September 24, 2002?" }
### QUESTION What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay? ### CONTEXT CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR) ### ANSWER SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas"
{ "answer": "SELECT partner FROM table_name_45 WHERE surface = \"clay\" AND opponents = \"guillermo garcía-lópez albert portas\"", "context": "CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR)", "question": "What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay?" }
### QUESTION How many ties did the Montreal Victorias have with a GA of less than 24? ### CONTEXT CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR) ### ANSWER SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24
{ "answer": "SELECT MAX(ties) FROM table_name_57 WHERE team = \"montreal victorias\" AND goals_against < 24", "context": "CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR)", "question": "How many ties did the Montreal Victorias have with a GA of less than 24?" }
### QUESTION What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? ### CONTEXT CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR) ### ANSWER SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29"
{ "answer": "SELECT record FROM table_name_23 WHERE home = \"detroit red wings\" AND score = \"1–2\" AND date = \"december 29\"", "context": "CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR)", "question": "What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29?" }
### QUESTION How many international tourist arrivals were in Senegal in 2011? ### CONTEXT CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) ### ANSWER SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal"
{ "answer": "SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = \"Senegal\"", "context": "CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)", "question": "How many international tourist arrivals were in Senegal in 2011?" }
### QUESTION List the full amount of week 36 results when week 32 is 13.2%. ### CONTEXT CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR) ### ANSWER SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = "13.2%"
{ "answer": "SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = \"13.2%\"", "context": "CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR)", "question": "List the full amount of week 36 results when week 32 is 13.2%." }
### QUESTION What's the name of the train that goes to Bhubaneswar? ### CONTEXT CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR) ### ANSWER SELECT train_name FROM table_23477312_1 WHERE destination = "Bhubaneswar"
{ "answer": "SELECT train_name FROM table_23477312_1 WHERE destination = \"Bhubaneswar\"", "context": "CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR)", "question": "What's the name of the train that goes to Bhubaneswar?" }
### QUESTION What is the car number that has less than 369 laps for a Dodge with more than 49 points? ### CONTEXT CREATE TABLE table_name_62 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR) ### ANSWER SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = "dodge" AND points > 49
{ "answer": "SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = \"dodge\" AND points > 49", "context": "CREATE TABLE table_name_62 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR)", "question": "What is the car number that has less than 369 laps for a Dodge with more than 49 points?" }
### QUESTION What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133? ### CONTEXT CREATE TABLE table_name_7 (rank INTEGER, rmax_rpeak___pflops__ VARCHAR) ### ANSWER SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = "17.173 20.133"
{ "answer": "SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = \"17.173 20.133\"", "context": "CREATE TABLE table_name_7 (rank INTEGER, rmax_rpeak___pflops__ VARCHAR)", "question": "What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133?" }
### QUESTION What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5? ### CONTEXT CREATE TABLE table_name_99 (balls_faced INTEGER, average VARCHAR, sr VARCHAR, innings VARCHAR) ### ANSWER SELECT SUM(balls_faced) FROM table_name_99 WHERE sr > 48.28 AND innings = 3 AND average < 5
{ "answer": "SELECT SUM(balls_faced) FROM table_name_99 WHERE sr > 48.28 AND innings = 3 AND average < 5", "context": "CREATE TABLE table_name_99 (balls_faced INTEGER, average VARCHAR, sr VARCHAR, innings VARCHAR)", "question": "What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5?" }
### QUESTION Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? ### CONTEXT CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR) ### ANSWER SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%"
{ "answer": "SELECT district FROM table_1346118_5 WHERE candidates = \"John I. Nolan (R) 87% Thomas F. Feeley (S) 13%\"", "context": "CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)", "question": "Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?" }
### QUESTION What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club? ### CONTEXT CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR) ### ANSWER SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa"
{ "answer": "SELECT position FROM table_name_79 WHERE first_team_goals = \"ongoing\" AND current_club = \"aston villa\"", "context": "CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)", "question": "What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?" }
### QUESTION What is the content of la7 television service? ### CONTEXT CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR) ### ANSWER SELECT content FROM table_15887683_1 WHERE television_service = "LA7"
{ "answer": "SELECT content FROM table_15887683_1 WHERE television_service = \"LA7\"", "context": "CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)", "question": "What is the content of la7 television service?" }
### QUESTION What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has? ### CONTEXT CREATE TABLE table_name_69 (swimsuit INTEGER, state VARCHAR, evening_gown VARCHAR, average VARCHAR, interview VARCHAR) ### ANSWER SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = "kansas"
{ "answer": "SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = \"kansas\"", "context": "CREATE TABLE table_name_69 (swimsuit INTEGER, state VARCHAR, evening_gown VARCHAR, average VARCHAR, interview VARCHAR)", "question": "What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has?" }
### QUESTION What's the total attendance at anaheim stadium after 1983 when the result is 14-28? ### CONTEXT CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_67 WHERE year > 1983 AND venue = "anaheim stadium" AND result = "14-28"
{ "answer": "SELECT COUNT(attendance) FROM table_name_67 WHERE year > 1983 AND venue = \"anaheim stadium\" AND result = \"14-28\"", "context": "CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR)", "question": "What's the total attendance at anaheim stadium after 1983 when the result is 14-28?" }
### QUESTION How many years was Best Musical Revival nominated? ### CONTEXT CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival"
{ "answer": "SELECT COUNT(year) FROM table_name_60 WHERE nominee = \"best musical revival\"", "context": "CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR)", "question": "How many years was Best Musical Revival nominated?" }
### QUESTION What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? ### CONTEXT CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR) ### ANSWER SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"
{ "answer": "SELECT MAX(division) FROM table_name_25 WHERE playoffs = \"quarter finals\" AND regular_season = \"5th\"", "context": "CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR)", "question": "What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?" }
### QUESTION WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER? ### CONTEXT CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, charting VARCHAR) ### ANSWER SELECT bookmarking, _tagging, _rating_and_comments FROM table_name_1 WHERE list_management = "no" AND charting = "no" AND web_publishing = "no" AND name = "microsoft exchange server"
{ "answer": "SELECT bookmarking, _tagging, _rating_and_comments FROM table_name_1 WHERE list_management = \"no\" AND charting = \"no\" AND web_publishing = \"no\" AND name = \"microsoft exchange server\"", "context": "CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, charting VARCHAR)", "question": "WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?" }
### QUESTION Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold? ### CONTEXT CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR) ### ANSWER SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold"
{ "answer": "SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = \"ld hold\"", "context": "CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR)", "question": "Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?" }
### QUESTION In which league would you find the player with a comp percentage of 54.0? ### CONTEXT CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) ### ANSWER SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0"
{ "answer": "SELECT leagues FROM table_18686317_1 WHERE comp__percentage = \"54.0\"", "context": "CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)", "question": "In which league would you find the player with a comp percentage of 54.0?" }
### QUESTION What Entrant has a 1952 maserati straight-6 engine? ### CONTEXT CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR) ### ANSWER SELECT entrant FROM table_name_29 WHERE engine = "maserati straight-6" AND year = 1952
{ "answer": "SELECT entrant FROM table_name_29 WHERE engine = \"maserati straight-6\" AND year = 1952", "context": "CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)", "question": "What Entrant has a 1952 maserati straight-6 engine?" }
### QUESTION What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%? ### CONTEXT CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR) ### ANSWER SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%"
{ "answer": "SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = \"ok\" AND percent_change__1990_2000_ = \"a078 +17.22%\"", "context": "CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR)", "question": "What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%?" }
### QUESTION How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954? ### CONTEXT CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR, scrapped_sold VARCHAR) ### ANSWER SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1929" AND scrapped_sold = "Cannot handle non-empty timestamp argument! 1954"
{ "answer": "SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = \"Cannot handle non-empty timestamp argument! 1929\" AND scrapped_sold = \"Cannot handle non-empty timestamp argument! 1954\"", "context": "CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR, scrapped_sold VARCHAR)", "question": "How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954?" }
### QUESTION What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155? ### CONTEXT CREATE TABLE table_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR) ### ANSWER SELECT pick FROM table_name_10 WHERE position = "dt" AND round > 1 AND overall < 155 AND year = "1952"
{ "answer": "SELECT pick FROM table_name_10 WHERE position = \"dt\" AND round > 1 AND overall < 155 AND year = \"1952\"", "context": "CREATE TABLE table_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR)", "question": "What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?" }
### QUESTION Show name of all students who have some friends and also are liked by someone else. ### CONTEXT CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Likes (student_id VARCHAR, liked_id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, liked_id VARCHAR) ### ANSWER SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id
{ "answer": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id", "context": "CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Likes (student_id VARCHAR, liked_id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, liked_id VARCHAR)", "question": "Show name of all students who have some friends and also are liked by someone else." }
### QUESTION How many wins were there in the 2000 season in the central division with less than 81 losses? ### CONTEXT CREATE TABLE table_name_85 (wins INTEGER, losses VARCHAR, division VARCHAR, reds_season VARCHAR) ### ANSWER SELECT AVG(wins) FROM table_name_85 WHERE division = "central" AND reds_season < 2000 AND losses < 81
{ "answer": "SELECT AVG(wins) FROM table_name_85 WHERE division = \"central\" AND reds_season < 2000 AND losses < 81", "context": "CREATE TABLE table_name_85 (wins INTEGER, losses VARCHAR, division VARCHAR, reds_season VARCHAR)", "question": "How many wins were there in the 2000 season in the central division with less than 81 losses?" }
### QUESTION Name the interview for peru delegate ### CONTEXT CREATE TABLE table_11674683_2 (interview VARCHAR, delegate VARCHAR) ### ANSWER SELECT interview FROM table_11674683_2 WHERE delegate = "Peru"
{ "answer": "SELECT interview FROM table_11674683_2 WHERE delegate = \"Peru\"", "context": "CREATE TABLE table_11674683_2 (interview VARCHAR, delegate VARCHAR)", "question": "Name the interview for peru delegate" }
### QUESTION List the names of representatives that have not participated in elections listed here. ### CONTEXT CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) ### ANSWER SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election)
{ "answer": "SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election)", "context": "CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)", "question": "List the names of representatives that have not participated in elections listed here." }
### QUESTION How many flights depart from City 'Aberdeen' and have destination City 'Ashley'? ### CONTEXT CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR) ### ANSWER SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = "Ashley" AND T3.City = "Aberdeen"
{ "answer": "SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"", "context": "CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)", "question": "How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?" }
### QUESTION Find the name and address of the department that has the highest number of students. ### CONTEXT CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR) ### ANSWER SELECT T2.dept_name, T2.dept_address FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.dept_name, T2.dept_address FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR)", "question": "Find the name and address of the department that has the highest number of students." }
### QUESTION Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? ### CONTEXT CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR) ### ANSWER SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210"
{ "answer": "SELECT controller FROM table_name_67 WHERE nand_type = \"25nm mlc-het\" AND seq_read_write_mb_s = \"270/210\"", "context": "CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR)", "question": "Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210?" }
### QUESTION Before round 9, when Takashi Kogure held pole position, who was the team? ### CONTEXT CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR) ### ANSWER SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure"
{ "answer": "SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = \"takashi kogure\"", "context": "CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR)", "question": "Before round 9, when Takashi Kogure held pole position, who was the team?" }
### QUESTION Who was the home team that played against Armthorpe Welfare? ### CONTEXT CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) ### ANSWER SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare"
{ "answer": "SELECT home_team FROM table_name_51 WHERE away_team = \"armthorpe welfare\"", "context": "CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)", "question": "Who was the home team that played against Armthorpe Welfare?" }
### QUESTION What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3? ### CONTEXT CREATE TABLE table_name_53 (sensor VARCHAR, sensor_resolution VARCHAR, camera VARCHAR) ### ANSWER SELECT sensor FROM table_name_53 WHERE sensor_resolution = "355x288" AND camera = "naturalpoint trackir 3"
{ "answer": "SELECT sensor FROM table_name_53 WHERE sensor_resolution = \"355x288\" AND camera = \"naturalpoint trackir 3\"", "context": "CREATE TABLE table_name_53 (sensor VARCHAR, sensor_resolution VARCHAR, camera VARCHAR)", "question": "What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3?" }
### QUESTION which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? ### CONTEXT CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR) ### ANSWER SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis"
{ "answer": "SELECT order FROM table_name_26 WHERE family = \"vespertilionidae\" AND name = \"northern long-eared myotis\"", "context": "CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)", "question": "which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?" }
### QUESTION What is the maximum elevation in netherlands? ### CONTEXT CREATE TABLE table_24285393_1 (maximum_elevation VARCHAR, country_or_region VARCHAR) ### ANSWER SELECT maximum_elevation FROM table_24285393_1 WHERE country_or_region = "Netherlands"
{ "answer": "SELECT maximum_elevation FROM table_24285393_1 WHERE country_or_region = \"Netherlands\"", "context": "CREATE TABLE table_24285393_1 (maximum_elevation VARCHAR, country_or_region VARCHAR)", "question": "What is the maximum elevation in netherlands?" }
### QUESTION Find the number of complaints with Product Failure type for each complaint status. ### CONTEXT CREATE TABLE complaints (complaint_status_code VARCHAR, complaint_type_code VARCHAR) ### ANSWER SELECT complaint_status_code, COUNT(*) FROM complaints WHERE complaint_type_code = "Product Failure" GROUP BY complaint_status_code
{ "answer": "SELECT complaint_status_code, COUNT(*) FROM complaints WHERE complaint_type_code = \"Product Failure\" GROUP BY complaint_status_code", "context": "CREATE TABLE complaints (complaint_status_code VARCHAR, complaint_type_code VARCHAR)", "question": "Find the number of complaints with Product Failure type for each complaint status." }
### QUESTION What episode number of the season had BCW410 as a production code? ### CONTEXT CREATE TABLE table_24319661_5 (no_in_season VARCHAR, production_code VARCHAR) ### ANSWER SELECT no_in_season FROM table_24319661_5 WHERE production_code = "BCW410"
{ "answer": "SELECT no_in_season FROM table_24319661_5 WHERE production_code = \"BCW410\"", "context": "CREATE TABLE table_24319661_5 (no_in_season VARCHAR, production_code VARCHAR)", "question": "What episode number of the season had BCW410 as a production code?" }
### QUESTION What is the customer id with most number of cards, and how many does he have? ### CONTEXT CREATE TABLE Customers_cards (customer_id VARCHAR) ### ANSWER SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Customers_cards (customer_id VARCHAR)", "question": "What is the customer id with most number of cards, and how many does he have?" }
### QUESTION Which episodes in season 3 were written by Mark Drop? ### CONTEXT CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR) ### ANSWER SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop"
{ "answer": "SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = \"Mark Drop\"", "context": "CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR)", "question": "Which episodes in season 3 were written by Mark Drop?" }
### QUESTION Which station is from China and has a frequency of 684khz? ### CONTEXT CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR) ### ANSWER SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz"
{ "answer": "SELECT station FROM table_name_79 WHERE country_of_origin = \"china\" AND frequency = \"684khz\"", "context": "CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR)", "question": "Which station is from China and has a frequency of 684khz?" }
### QUESTION What was Barreto's song choice where the original artist was Patricia Marx? ### CONTEXT CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR) ### ANSWER SELECT song_choice FROM table_27614571_1 WHERE original_artist = "Patricia Marx"
{ "answer": "SELECT song_choice FROM table_27614571_1 WHERE original_artist = \"Patricia Marx\"", "context": "CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)", "question": "What was Barreto's song choice where the original artist was Patricia Marx?" }
### QUESTION What was the world rank by QS in 2013 for the University of Otago? ### CONTEXT CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR) ### ANSWER SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"
{ "answer": "SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = \"University of Otago\"", "context": "CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)", "question": "What was the world rank by QS in 2013 for the University of Otago?" }
### QUESTION What model number had a chipset of intel q43? ### CONTEXT CREATE TABLE table_name_51 (model VARCHAR, chipset VARCHAR) ### ANSWER SELECT model FROM table_name_51 WHERE chipset = "intel q43"
{ "answer": "SELECT model FROM table_name_51 WHERE chipset = \"intel q43\"", "context": "CREATE TABLE table_name_51 (model VARCHAR, chipset VARCHAR)", "question": "What model number had a chipset of intel q43?" }
### QUESTION Which Team has Losses larger than 5, and a Position of 12? ### CONTEXT CREATE TABLE table_name_53 (team VARCHAR, losses VARCHAR, position VARCHAR) ### ANSWER SELECT team FROM table_name_53 WHERE losses > 5 AND position = 12
{ "answer": "SELECT team FROM table_name_53 WHERE losses > 5 AND position = 12", "context": "CREATE TABLE table_name_53 (team VARCHAR, losses VARCHAR, position VARCHAR)", "question": "Which Team has Losses larger than 5, and a Position of 12?" }
### QUESTION How many fatalities were there in the crash described as crashed at take-off due to engine failure? ### CONTEXT CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR) ### ANSWER SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure"
{ "answer": "SELECT fatalities FROM table_229917_2 WHERE brief_description = \"Crashed at take-off due to engine failure\"", "context": "CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR)", "question": "How many fatalities were there in the crash described as crashed at take-off due to engine failure?" }
### QUESTION What party established in 1797 won an election in 2007? ### CONTEXT CREATE TABLE table_name_17 (party VARCHAR, established VARCHAR, election VARCHAR) ### ANSWER SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007
{ "answer": "SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007", "context": "CREATE TABLE table_name_17 (party VARCHAR, established VARCHAR, election VARCHAR)", "question": "What party established in 1797 won an election in 2007?" }
### QUESTION how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are ### CONTEXT CREATE TABLE table_2889300_6 (drumset_name VARCHAR, drumstand__oftenoptional_ VARCHAR, tom_tom_pads VARCHAR) ### ANSWER SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = "HD-1/3Stand" AND tom_tom_pads = "3xCloth-Head"
{ "answer": "SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = \"HD-1/3Stand\" AND tom_tom_pads = \"3xCloth-Head\"", "context": "CREATE TABLE table_2889300_6 (drumset_name VARCHAR, drumstand__oftenoptional_ VARCHAR, tom_tom_pads VARCHAR)", "question": "how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are" }
### QUESTION What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"? ### CONTEXT CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR) ### ANSWER SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress"
{ "answer": "SELECT trailing_party % votes FROM table_name_74 WHERE party_won = \"bharatiya janta party\" AND trailing_party = \"indian national congress\"", "context": "CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR)", "question": "What is Trailing Party % Votes, when Party Won is \"Bharatiya Janta Party\", and when Trailing Party is \"Indian National Congress\"?" }
### QUESTION Who won Miss Universe Philippines when the first runner-up was Danielle Castaño and Janina San Miguel won Binibining Pilipinas-World? ### CONTEXT CREATE TABLE table_name_82 (miss_universe_philippines VARCHAR, first_runner_up VARCHAR, binibining_pilipinas_world VARCHAR) ### ANSWER SELECT miss_universe_philippines FROM table_name_82 WHERE first_runner_up = "danielle castaño" AND binibining_pilipinas_world = "janina san miguel"
{ "answer": "SELECT miss_universe_philippines FROM table_name_82 WHERE first_runner_up = \"danielle castaño\" AND binibining_pilipinas_world = \"janina san miguel\"", "context": "CREATE TABLE table_name_82 (miss_universe_philippines VARCHAR, first_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)", "question": "Who won Miss Universe Philippines when the first runner-up was Danielle Castaño and Janina San Miguel won Binibining Pilipinas-World?" }
### QUESTION What name has pembroke as the built by hm dockyard, and may 1825 as the laid down? ### CONTEXT CREATE TABLE table_name_79 (name VARCHAR, built_by_hm_dockyard VARCHAR, laid_down VARCHAR) ### ANSWER SELECT name FROM table_name_79 WHERE built_by_hm_dockyard = "pembroke" AND laid_down = "may 1825"
{ "answer": "SELECT name FROM table_name_79 WHERE built_by_hm_dockyard = \"pembroke\" AND laid_down = \"may 1825\"", "context": "CREATE TABLE table_name_79 (name VARCHAR, built_by_hm_dockyard VARCHAR, laid_down VARCHAR)", "question": "What name has pembroke as the built by hm dockyard, and may 1825 as the laid down?" }
### QUESTION How many transaction does account with name 337 have? ### CONTEXT CREATE TABLE Accounts (account_id VARCHAR, account_name VARCHAR); CREATE TABLE Financial_transactions (account_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id WHERE T2.account_name = "337"
{ "answer": "SELECT COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id WHERE T2.account_name = \"337\"", "context": "CREATE TABLE Accounts (account_id VARCHAR, account_name VARCHAR); CREATE TABLE Financial_transactions (account_id VARCHAR)", "question": "How many transaction does account with name 337 have?" }
### QUESTION Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič? ### CONTEXT CREATE TABLE table_name_93 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR) ### ANSWER SELECT tournament FROM table_name_93 WHERE outcome = "runner-up" AND opponent = "maša zec peškirič"
{ "answer": "SELECT tournament FROM table_name_93 WHERE outcome = \"runner-up\" AND opponent = \"maša zec peškirič\"", "context": "CREATE TABLE table_name_93 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)", "question": "Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič?" }
### QUESTION The match that went 1 round, and had a method of submission (rear-naked choke) had what record? ### CONTEXT CREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR) ### ANSWER SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"
{ "answer": "SELECT record FROM table_name_43 WHERE round = 1 AND method = \"submission (rear-naked choke)\"", "context": "CREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR)", "question": "The match that went 1 round, and had a method of submission (rear-naked choke) had what record?" }
### QUESTION what is the yard name when the ship types delivered is n3 type, v4 type and the total vessels built for usmc is 13 ships for usmc? ### CONTEXT CREATE TABLE table_name_19 (yard_name VARCHAR, ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR) ### ANSWER SELECT yard_name FROM table_name_19 WHERE ship_types_delivered = "n3 type, v4 type" AND total_vessels_built_for_usmc = "13 ships for usmc"
{ "answer": "SELECT yard_name FROM table_name_19 WHERE ship_types_delivered = \"n3 type, v4 type\" AND total_vessels_built_for_usmc = \"13 ships for usmc\"", "context": "CREATE TABLE table_name_19 (yard_name VARCHAR, ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)", "question": "what is the yard name when the ship types delivered is n3 type, v4 type and the total vessels built for usmc is 13 ships for usmc?" }
### QUESTION Tell me the previous rank for italy with points more than 100 ### CONTEXT CREATE TABLE table_name_92 (Previous VARCHAR, nationality VARCHAR, points VARCHAR) ### ANSWER SELECT Previous AS rank FROM table_name_92 WHERE nationality = "italy" AND points > 100
{ "answer": "SELECT Previous AS rank FROM table_name_92 WHERE nationality = \"italy\" AND points > 100", "context": "CREATE TABLE table_name_92 (Previous VARCHAR, nationality VARCHAR, points VARCHAR)", "question": "Tell me the previous rank for italy with points more than 100" }
### QUESTION For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads? ### CONTEXT CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR) ### ANSWER SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = "stm" AND year_9_1st_quad = "som" AND year_8_3rd_quad = "sta"
{ "answer": "SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = \"stm\" AND year_9_1st_quad = \"som\" AND year_8_3rd_quad = \"sta\"", "context": "CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)", "question": "For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?" }
### QUESTION Name the District that has a Reserved for ( SC / ST /None) of none and a Constituency number of 242? ### CONTEXT CREATE TABLE table_name_19 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) ### ANSWER SELECT district FROM table_name_19 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "242"
{ "answer": "SELECT district FROM table_name_19 WHERE reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"242\"", "context": "CREATE TABLE table_name_19 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)", "question": "Name the District that has a Reserved for ( SC / ST /None) of none and a Constituency number of 242?" }
### QUESTION What is the current code for the club trophy, in 1867 only? ### CONTEXT CREATE TABLE table_name_20 (current_code VARCHAR, type VARCHAR, years VARCHAR) ### ANSWER SELECT current_code FROM table_name_20 WHERE type = "club trophy" AND years = "1867 only"
{ "answer": "SELECT current_code FROM table_name_20 WHERE type = \"club trophy\" AND years = \"1867 only\"", "context": "CREATE TABLE table_name_20 (current_code VARCHAR, type VARCHAR, years VARCHAR)", "question": "What is the current code for the club trophy, in 1867 only?" }
### QUESTION Who is the incumbent that has been in office since before 1996 and was again re-elected? ### CONTEXT CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR) ### ANSWER SELECT incumbent FROM table_name_90 WHERE results = "re-elected" AND first_elected < 1996
{ "answer": "SELECT incumbent FROM table_name_90 WHERE results = \"re-elected\" AND first_elected < 1996", "context": "CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR)", "question": "Who is the incumbent that has been in office since before 1996 and was again re-elected?" }