question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
What is the pinyin for the English name Wuping County?
CREATE TABLE table_1204998_2 (pinyin VARCHAR, english_name VARCHAR)
{ "SQL_Query": "SELECT pinyin FROM table_1204998_2 WHERE english_name = \"Wuping County\"" }
What is the area of the English name Shanghang County?
CREATE TABLE table_1204998_2 (area VARCHAR, english_name VARCHAR)
{ "SQL_Query": "SELECT area FROM table_1204998_2 WHERE english_name = \"Shanghang County\"" }
Which pinyin have a population of 374047?
CREATE TABLE table_1204998_2 (pinyin VARCHAR, population VARCHAR)
{ "SQL_Query": "SELECT pinyin FROM table_1204998_2 WHERE population = 374047" }
How many NHL teams are there in the Phoenix, Arizona area?
CREATE TABLE table_1205598_1 (nhl_team_s_ VARCHAR, metropolitan_area VARCHAR)
{ "SQL_Query": "SELECT COUNT(nhl_team_s_) FROM table_1205598_1 WHERE metropolitan_area = \"Phoenix, Arizona\"" }
What is the media market ranking for the Blackhawks?
CREATE TABLE table_1205598_1 (media_market_ranking VARCHAR, nhl_team_s_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(media_market_ranking) FROM table_1205598_1 WHERE nhl_team_s_ = \"Blackhawks\"" }
What is the the name of the NHL team that is in the same market as the NBA team, Nuggets?
CREATE TABLE table_1205598_1 (nhl_team_s_ VARCHAR, nba_team_s_ VARCHAR)
{ "SQL_Query": "SELECT nhl_team_s_ FROM table_1205598_1 WHERE nba_team_s_ = \"Nuggets\"" }
What is the NHL team in the media market ranking number 7?
CREATE TABLE table_1205598_1 (nhl_team_s_ VARCHAR, media_market_ranking VARCHAR)
{ "SQL_Query": "SELECT nhl_team_s_ FROM table_1205598_1 WHERE media_market_ranking = 7" }
How many netflow version are there when the vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
{ "SQL_Query": "SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = \"Enterasys Switches\"" }
What are the comments when the vendor and type is alcatel-lucent routers?
CREATE TABLE table_1206114_2 (comments VARCHAR, vendor_and_type VARCHAR)
{ "SQL_Query": "SELECT comments FROM table_1206114_2 WHERE vendor_and_type = \"Alcatel-Lucent routers\"" }
What are the comments when vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 (comments VARCHAR, vendor_and_type VARCHAR)
{ "SQL_Query": "SELECT comments FROM table_1206114_2 WHERE vendor_and_type = \"Enterasys Switches\"" }
What is the netflow version when vendor and type is pc and servers?
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
{ "SQL_Query": "SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = \"PC and Servers\"" }
What are the comments when the implementation is software running on central processor module?
CREATE TABLE table_1206114_2 (comments VARCHAR, implementation VARCHAR)
{ "SQL_Query": "SELECT comments FROM table_1206114_2 WHERE implementation = \"Software running on Central Processor Module\"" }
What is the implementation when the netflow version is v5, v8, v9, ipfix?
CREATE TABLE table_1206114_2 (implementation VARCHAR, netflow_version VARCHAR)
{ "SQL_Query": "SELECT implementation FROM table_1206114_2 WHERE netflow_version = \"v5, v8, v9, IPFIX\"" }
Name the minimum for prohibition?
CREATE TABLE table_120778_1 (for_prohibition INTEGER)
{ "SQL_Query": "SELECT MIN(for_prohibition) FROM table_120778_1" }
What is the number of jurisdiction for 57.3 percent?
CREATE TABLE table_120778_1 (jurisdiction VARCHAR, percent_for VARCHAR)
{ "SQL_Query": "SELECT COUNT(jurisdiction) FROM table_120778_1 WHERE percent_for = \"57.3\"" }
Name the max for prohibition.
CREATE TABLE table_120778_1 (for_prohibition INTEGER)
{ "SQL_Query": "SELECT MAX(for_prohibition) FROM table_120778_1" }
What is the percent for when against prohibition is 2978?
CREATE TABLE table_120778_1 (percent_for VARCHAR, against_prohibition VARCHAR)
{ "SQL_Query": "SELECT percent_for FROM table_120778_1 WHERE against_prohibition = 2978" }
What is the percent for in manitoba?
CREATE TABLE table_120778_1 (percent_for VARCHAR, jurisdiction VARCHAR)
{ "SQL_Query": "SELECT percent_for FROM table_120778_1 WHERE jurisdiction = \"Manitoba\"" }
How many trains leave from puri?
CREATE TABLE table_12095519_1 (train_name VARCHAR, origin VARCHAR)
{ "SQL_Query": "SELECT COUNT(train_name) FROM table_12095519_1 WHERE origin = \"Puri\"" }
What train number is heading to amritsar?
CREATE TABLE table_12095519_1 (train_no VARCHAR, destination VARCHAR)
{ "SQL_Query": "SELECT train_no FROM table_12095519_1 WHERE destination = \"Amritsar\"" }
How often does a train leave sealdah?
CREATE TABLE table_12095519_1 (frequency VARCHAR, origin VARCHAR)
{ "SQL_Query": "SELECT frequency FROM table_12095519_1 WHERE origin = \"Sealdah\"" }
Where does the bg express train end?
CREATE TABLE table_12095519_1 (destination VARCHAR, train_name VARCHAR)
{ "SQL_Query": "SELECT destination FROM table_12095519_1 WHERE train_name = \"BG Express\"" }
What's the name of train number 15647/48?
CREATE TABLE table_12095519_1 (train_name VARCHAR, train_no VARCHAR)
{ "SQL_Query": "SELECT train_name FROM table_12095519_1 WHERE train_no = \"15647/48\"" }
What is the number of nationality in 1992?
CREATE TABLE table_12086015_7 (nationality VARCHAR, year_s_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(nationality) FROM table_12086015_7 WHERE year_s_ = \"1992\"" }
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
CREATE TABLE table_12113818_1 (academic_ VARCHAR, _university_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
{ "SQL_Query": "SELECT academic_ & _university_affairs FROM table_12113818_1 WHERE human_resources_ & _operations = \"N. Charles Hamilton\"" }
What year was communications and corporate affairs held by Jeff Rotman?
CREATE TABLE table_12113818_1 (year VARCHAR, communications_and_corporate_affairs VARCHAR)
{ "SQL_Query": "SELECT year FROM table_12113818_1 WHERE communications_and_corporate_affairs = \"Jeff Rotman\"" }
What was the built data for Knocklayd rebuild?
CREATE TABLE table_12113888_1 (built VARCHAR, name_as_rebuilt VARCHAR)
{ "SQL_Query": "SELECT built FROM table_12113888_1 WHERE name_as_rebuilt = \"Knocklayd\"" }
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?
CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR, scrapped_sold VARCHAR)
{ "SQL_Query": "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\"" }
What is the built data on the scrapped information that is cannot handle non-empty timestamp argument! 1947?
CREATE TABLE table_12113888_1 (built VARCHAR, scrapped_sold VARCHAR)
{ "SQL_Query": "SELECT built FROM table_12113888_1 WHERE scrapped_sold = \"Cannot handle non-empty timestamp argument! 1947\"" }
How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR)
{ "SQL_Query": "SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = \"Cannot handle non-empty timestamp argument! 1934\"" }
What is the built data for number 34?
CREATE TABLE table_12113888_1 (built VARCHAR, number VARCHAR)
{ "SQL_Query": "SELECT built FROM table_12113888_1 WHERE number = 34" }
What is the highest number listed?
CREATE TABLE table_12113888_1 (number INTEGER)
{ "SQL_Query": "SELECT MAX(number) FROM table_12113888_1" }
Who won the womens singles when Marc Zwiebler won the men's singles?
CREATE TABLE table_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)
{ "SQL_Query": "SELECT womens_singles FROM table_12121208_1 WHERE mens_singles = \"Marc Zwiebler\"" }
The 1.6 Duratec model/engine has how many torque formulas?
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
{ "SQL_Query": "SELECT COUNT(torque__nm__rpm) FROM table_1212189_1 WHERE model_engine = \"1.6 Duratec\"" }
For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power?
CREATE TABLE table_1212189_1 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)
{ "SQL_Query": "SELECT power_rpm FROM table_1212189_1 WHERE torque__nm__rpm = \"N·m (lb·ft)/*N·m (lb·ft) @1750\"" }
For the model/engine of 1.8 Duratec HE, what is the torque?
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
{ "SQL_Query": "SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = \"1.8 Duratec HE\"" }
How many capacities are possible for the 1.6 Duratec model/engine?
CREATE TABLE table_1212189_1 (capacity VARCHAR, model_engine VARCHAR)
{ "SQL_Query": "SELECT COUNT(capacity) FROM table_1212189_1 WHERE model_engine = \"1.6 Duratec\"" }
What is the torque formula for the model/engine which has 1,753 cc capacity?
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, capacity VARCHAR)
{ "SQL_Query": "SELECT torque__nm__rpm FROM table_1212189_1 WHERE capacity = \"1,753 cc\"" }
What is the torque formula for the 1.6 Duratec ti-vct model/engine?
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
{ "SQL_Query": "SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = \"1.6 Duratec Ti-VCT\"" }
what's the date of birth with end of term being 2april1969
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
{ "SQL_Query": "SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = \"2April1969\"" }
who is the the president with date of inauguration being 4june1979
CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)
{ "SQL_Query": "SELECT president FROM table_12134383_1 WHERE date_of_inauguration = \"4June1979\"" }
how many president with date of inauguration being 4june1979
CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)
{ "SQL_Query": "SELECT COUNT(president) FROM table_12134383_1 WHERE date_of_inauguration = \"4June1979\"" }
what's the date of birth with end of term being 5july1978
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
{ "SQL_Query": "SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = \"5July1978\"" }
what's the date of birth with # being 2
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR)
{ "SQL_Query": "SELECT date_of_birth FROM table_12134383_1 WHERE _number = 2" }
how many end of term with age at inauguration being 64-066 64years, 66days
CREATE TABLE table_12134383_1 (end_of_term VARCHAR, age_at_inauguration VARCHAR)
{ "SQL_Query": "SELECT COUNT(end_of_term) FROM table_12134383_1 WHERE age_at_inauguration = \"64-066 64years, 66days\"" }
Who was the winning pitcher on june 25?
CREATE TABLE table_12125069_2 (winning_pitcher VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT winning_pitcher FROM table_12125069_2 WHERE date = \"June 25\"" }
How many games were on May 20?
CREATE TABLE table_12125069_2 (attendance VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT COUNT(attendance) FROM table_12125069_2 WHERE date = \"May 20\"" }
Who is the losing pitcher when the winning pitcher is roy oswalt?
CREATE TABLE table_12125069_2 (losing_pitcher VARCHAR, winning_pitcher VARCHAR)
{ "SQL_Query": "SELECT losing_pitcher FROM table_12125069_2 WHERE winning_pitcher = \"Roy Oswalt\"" }
Who is the winning pitcher when attendance is 38109?
CREATE TABLE table_12125069_2 (winning_pitcher VARCHAR, attendance VARCHAR)
{ "SQL_Query": "SELECT winning_pitcher FROM table_12125069_2 WHERE attendance = 38109" }
How many NHL teams does Terry French play for?
CREATE TABLE table_1213511_2 (nhl_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(nhl_team) FROM table_1213511_2 WHERE player = \"Terry French\"" }
Who's the player for the New York Rangers?
CREATE TABLE table_1213511_2 (player VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_1213511_2 WHERE nhl_team = \"New York Rangers\"" }
How many positions do the players of Chicago Black Hawks play in?
CREATE TABLE table_1213511_2 (position VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT COUNT(position) FROM table_1213511_2 WHERE nhl_team = \"Chicago Black Hawks\"" }
What is the nationality of the player from Buffalo Sabres?
CREATE TABLE table_1213511_2 (nationality VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_1213511_2 WHERE nhl_team = \"Buffalo Sabres\"" }
What position does the player from Peterborough Petes (OHA) play on?
CREATE TABLE table_1213511_2 (position VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_1213511_2 WHERE college_junior_club_team = \"Peterborough Petes (OHA)\"" }
What's Dave Fortier's pick number?
CREATE TABLE table_1213511_2 (pick__number VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(pick__number) FROM table_1213511_2 WHERE player = \"Dave Fortier\"" }
What team does George Hulme play for?
CREATE TABLE table_1213511_4 (college_junior_club_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_1213511_4 WHERE player = \"George Hulme\"" }
What position does Neil Komadoski play?
CREATE TABLE table_1213511_4 (position VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT position FROM table_1213511_4 WHERE player = \"Neil Komadoski\"" }
where is team player mike mcniven played for?
CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_1213511_5 WHERE player = \"Mike McNiven\"" }
what college has nhl team chicago black hawks?
CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = \"Chicago Black Hawks\"" }
who is the player with the nationality of canada and pick # is 65?
CREATE TABLE table_1213511_5 (player VARCHAR, nationality VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT player FROM table_1213511_5 WHERE nationality = \"Canada\" AND pick__number = 65" }
How many teams did Bob Peppler play for?
CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = \"Bob Peppler\"" }
What is the position listed for the team the Philadelphia Flyers?
CREATE TABLE table_1213511_3 (position VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT position FROM table_1213511_3 WHERE nhl_team = \"Philadelphia Flyers\"" }
How many nationalities are listed for the player Glen Irwin?
CREATE TABLE table_1213511_3 (nationality VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT COUNT(nationality) FROM table_1213511_3 WHERE player = \"Glen Irwin\"" }
Which players have the position of centre and play for the nhl team new york rangers
CREATE TABLE table_1213511_7 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT player FROM table_1213511_7 WHERE position = \"Centre\" AND nhl_team = \"New York Rangers\"" }
Which nhl team has a college/junior/club team named university of notre dame (ncaa)
CREATE TABLE table_1213511_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_1213511_7 WHERE college_junior_club_team = \"University of Notre Dame (NCAA)\"" }
what are all the position where player is al simmons
CREATE TABLE table_1213511_7 (position VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT position FROM table_1213511_7 WHERE player = \"Al Simmons\"" }
What nationality is pick # 89
CREATE TABLE table_1213511_7 (nationality VARCHAR, pick__number VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_1213511_7 WHERE pick__number = 89" }
Which college/junior/club teams nationality is canada and nhl team is minnesota north stars
CREATE TABLE table_1213511_7 (college_junior_club_team VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_1213511_7 WHERE nationality = \"Canada\" AND nhl_team = \"Minnesota North Stars\"" }
what is the total number of pick # where nhl team is philadelphia flyers
CREATE TABLE table_1213511_7 (pick__number VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT COUNT(pick__number) FROM table_1213511_7 WHERE nhl_team = \"Philadelphia Flyers\"" }
What is the nationality of the player from the Detroit Red Wings?
CREATE TABLE table_1213511_6 (nationality VARCHAR, nhl_team VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_1213511_6 WHERE nhl_team = \"Detroit Red Wings\"" }
What position does Jim Johnston play?
CREATE TABLE table_1213511_6 (position VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT position FROM table_1213511_6 WHERE player = \"Jim Johnston\"" }
Which team does Pierre Duguay play for?
CREATE TABLE table_1213511_6 (nhl_team VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nhl_team FROM table_1213511_6 WHERE player = \"Pierre Duguay\"" }
What country does the goaltender come from?
CREATE TABLE table_1213511_6 (nationality VARCHAR, position VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_1213511_6 WHERE position = \"Goaltender\"" }
who is the writer where viewers is 5.16m
CREATE TABLE table_12148018_2 (writer VARCHAR, viewers VARCHAR)
{ "SQL_Query": "SELECT writer FROM table_12148018_2 WHERE viewers = \"5.16m\"" }
For which league is the open cup the quarter finals
CREATE TABLE table_1214035_1 (league VARCHAR, open_cup VARCHAR)
{ "SQL_Query": "SELECT league FROM table_1214035_1 WHERE open_cup = \"Quarter Finals\"" }
What open cups where played in 2002
CREATE TABLE table_1214035_1 (open_cup VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT open_cup FROM table_1214035_1 WHERE year = 2002" }
What leagues includes division 3
CREATE TABLE table_1214035_1 (league VARCHAR, division VARCHAR)
{ "SQL_Query": "SELECT league FROM table_1214035_1 WHERE division = \"3\"" }
What was the result of the playoffs when the regular season was 7th, southeast
CREATE TABLE table_1214035_1 (playoffs VARCHAR, regular_season VARCHAR)
{ "SQL_Query": "SELECT playoffs FROM table_1214035_1 WHERE regular_season = \"7th, Southeast\"" }
What's the original air date of the episode with production code 2T6719?
CREATE TABLE table_12159115_2 (original_air_date VARCHAR, production_code VARCHAR)
{ "SQL_Query": "SELECT original_air_date FROM table_12159115_2 WHERE production_code = \"2T6719\"" }
Who's the writer of the episode see by 12.13 million US viewers?
CREATE TABLE table_12159115_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_12159115_2 WHERE us_viewers__millions_ = \"12.13\"" }
What's the total number of episodes with production code 2T6705?
CREATE TABLE table_12159115_2 (title VARCHAR, production_code VARCHAR)
{ "SQL_Query": "SELECT COUNT(title) FROM table_12159115_2 WHERE production_code = \"2T6705\"" }
What's the total number of directors who've directed episodes seen by 11.34 million US viewers?
CREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = \"11.34\"" }
What's the production code of the episode seen by 11.64 million US viewers?
CREATE TABLE table_12159115_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT production_code FROM table_12159115_2 WHERE us_viewers__millions_ = \"11.64\"" }
What is the winner women and third is italy and runner-up is finland?
CREATE TABLE table_1216097_7 (winner VARCHAR, third VARCHAR, runner_up VARCHAR)
{ "SQL_Query": "SELECT winner AS Women FROM table_1216097_7 WHERE third = \"Italy\" AND runner_up = \"Finland\"" }
what's the report with fastest lap being felipe massa and winning driver being jenson button
CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
{ "SQL_Query": "SELECT report FROM table_12161822_5 WHERE fastest_lap = \"Felipe Massa\" AND winning_driver = \"Jenson Button\"" }
what's the grand prix with winning driver being jenson button
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)
{ "SQL_Query": "SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = \"Jenson Button\"" }
who is the the pole position with grand prix being italian grand prix
CREATE TABLE table_12161822_5 (pole_position VARCHAR, grand_prix VARCHAR)
{ "SQL_Query": "SELECT pole_position FROM table_12161822_5 WHERE grand_prix = \"Italian grand_prix\"" }
who is the the fastest lap with grand prix being european grand prix
CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)
{ "SQL_Query": "SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = \"European grand_prix\"" }
How many viewers, in millions, were for the episode directed by Tawnia McKiernan?
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
{ "SQL_Query": "SELECT us_viewers__millions_ FROM table_12159115_3 WHERE directed_by = \"Tawnia McKiernan\"" }
How many episodes were written only by William N. Fordes?
CREATE TABLE table_12159115_3 (series__number VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = \"William N. Fordes\"" }
How many U.S Viewers, in millions, were for series # 26?
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
{ "SQL_Query": "SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26" }
What is the third year course in science?
CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR)
{ "SQL_Query": "SELECT third_year FROM table_12148147_2 WHERE subjects = \"Science\"" }
What is the second year class following pag-unawa?
CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR)
{ "SQL_Query": "SELECT second_year FROM table_12148147_2 WHERE first_year = \"Pag-unawa\"" }
How many classes are taken in the third year when pag-unawa was taken in the first year?
CREATE TABLE table_12148147_2 (third_year VARCHAR, first_year VARCHAR)
{ "SQL_Query": "SELECT COUNT(third_year) FROM table_12148147_2 WHERE first_year = \"Pag-unawa\"" }
What is the first year course in the program where geometry is taken in the third year?
CREATE TABLE table_12148147_2 (first_year VARCHAR, third_year VARCHAR)
{ "SQL_Query": "SELECT first_year FROM table_12148147_2 WHERE third_year = \"Geometry\"" }
What is the second year course in the program where physics is taken in the fourth year?
CREATE TABLE table_12148147_2 (second_year VARCHAR, fourth_year VARCHAR)
{ "SQL_Query": "SELECT second_year FROM table_12148147_2 WHERE fourth_year = \"Physics\"" }
Who won the womens singles event the year that Jonas Lyduch won?
CREATE TABLE table_12163387_1 (womens_singles VARCHAR, mens_singles VARCHAR)
{ "SQL_Query": "SELECT womens_singles FROM table_12163387_1 WHERE mens_singles = \"Jonas Lyduch\"" }
Who won the mens doubles the year Alison Humby won the womens singles?
CREATE TABLE table_12163387_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
{ "SQL_Query": "SELECT mens_doubles FROM table_12163387_1 WHERE womens_singles = \"Alison Humby\"" }
How many years did Peter Mikkelsen win the Mens Singles?
CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)
{ "SQL_Query": "SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = \"Peter Mikkelsen\"" }
Who won the Men's Doubles when Karina de Wit won the Women's Singles?
CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
{ "SQL_Query": "SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = \"Karina de Wit\"" }