answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(pop__km²) FROM table_2252745_1 WHERE administrative_centre = "Egilsstaðir"
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, administrative_centre VARCHAR)
when administrative centre is egilsstaðir, what is the pop./ km²?
SELECT pop__km² FROM table_2252745_1 WHERE area__km²_ = 22721
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, area__km²_ VARCHAR)
when the area (km²) is 22721, what is the pop./ km²?
SELECT MAX(population_2008_07_01) FROM table_2252745_1 WHERE administrative_centre = "Selfoss"
CREATE TABLE table_2252745_1 (population_2008_07_01 INTEGER, administrative_centre VARCHAR)
What is the max pop of 2008 for selfoss?
SELECT pop__km² FROM table_2252745_1 WHERE _number = 4
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR)
When the # is 4, what is the pop./ km²?
SELECT player FROM table_22538587_3 WHERE l_apps = 17
CREATE TABLE table_22538587_3 (player VARCHAR, l_apps VARCHAR)
Name the player for l apps for 17
SELECT MIN(total_apps) FROM table_22538587_3 WHERE player = "Jaime"
CREATE TABLE table_22538587_3 (total_apps INTEGER, player VARCHAR)
Name the least total apps for jaime
SELECT COUNT(l_g) FROM table_22538587_3 WHERE c_g > 1.0 AND c_apps = 3
CREATE TABLE table_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR)
Name the total number of lg for cg is larger than 1.0 for c apps is 3
SELECT result FROM table_22577693_1 WHERE runner_up = "[[|]] 151/8 (50.0 overs)"
CREATE TABLE table_22577693_1 (result VARCHAR, runner_up VARCHAR)
If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)"
CREATE TABLE table_22577693_1 (host_nation_s_ VARCHAR, winner VARCHAR)
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?
SELECT details FROM table_22577693_1 WHERE result = "Kuwait won by 72 runs Scorecard"
CREATE TABLE table_22577693_1 (details VARCHAR, result VARCHAR)
If the results are Kuwait won by 72 runs scorecard, what are the details?
SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket Club"
CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)
Who was the winner if the final venue is Kowloon Cricket Club?
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
How many u.s. viewers (million) have a series # 83?
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE season__number = 5
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, season__number VARCHAR)
How many u.s. viewers (millions) have 5 as the season #?
SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler"
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
How many written by have wendey stanzler as the director?
SELECT original_air_date FROM table_22570439_1 WHERE written_by = "Tracy Poust & Jon Kinnally"
CREATE TABLE table_22570439_1 (original_air_date VARCHAR, written_by VARCHAR)
What is the original air date where tracy poust & jon kinnally was written by?
SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington"
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
Who is the written by when mark worthington is the director?
SELECT reporters FROM table_22583466_5 WHERE year = 1976
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)
In 1976, who was the reporter for the Belmont Stakes?
SELECT race_caller FROM table_22583466_5 WHERE year = 1978
CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR)
Who called the race in 1978?
SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy"
CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR)
For the race called by Marshall Cassidy, who was the host?
SELECT reporters FROM table_22583466_5 WHERE year = 1977
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)
Who were the reporters for the 1977 Belmont Stakes?
SELECT race_caller FROM table_22583466_3 WHERE year = 1998
CREATE TABLE table_22583466_3 (race_caller VARCHAR, year VARCHAR)
Who called the race in 1998?
SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3
CREATE TABLE table_22591910_4 (position VARCHAR)
who was position 3 in 2007-2008?
SELECT standing FROM table_2259285_1 WHERE goals_against = 279
CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR)
What was the standing when goal against were 279?
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 229
CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)
What is the winning pct % if the goal for are 229?
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322
CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)
What was the winning % when there were 322 goals?
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin"
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)
Name the year for willie goggin
SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship"
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)
Name the winning score for pga championship
SELECT MIN(year) FROM table_225880_1 WHERE runner_s__up = "Walter Hagen"
CREATE TABLE table_225880_1 (year INTEGER, runner_s__up VARCHAR)
Name the least year for walter hagen
SELECT score_in_the_final FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas"
CREATE TABLE table_22597626_17 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
What was the score in the final where one of the opponents in the final was fitzgerald vilas?
SELECT surface FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas"
CREATE TABLE table_22597626_17 (surface VARCHAR, opponents_in_the_final VARCHAR)
What was the surface for the opponents in the final with fitzgerald vilas?
SELECT opponents_in_the_final FROM table_22597626_17 WHERE score_in_the_final = "6–4, 7–6 2"
CREATE TABLE table_22597626_17 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
Who were the opponents in the final where the score in the final is 6–4, 7–6 2?
SELECT COUNT(partner) FROM table_22597626_17 WHERE opponents_in_the_final = "Forget Leconte"
CREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)
What was the partner count when the opponents in the final was forget leconte?
SELECT MIN(year) FROM table_22597626_17 WHERE opponents_in_the_final = "Bahrami Leconte" AND score_in_the_final = "7–6 2 , 6–1"
CREATE TABLE table_22597626_17 (year INTEGER, opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?
SELECT COUNT(year) FROM table_22597626_6 WHERE score_in_the_final = "6–3, 6–2, 6–4"
CREATE TABLE table_22597626_6 (year VARCHAR, score_in_the_final VARCHAR)
Name the number of year for score being 6–3, 6–2, 6–4
SELECT surface FROM table_22597626_6 WHERE score_in_the_final = "6–0, 6–3"
CREATE TABLE table_22597626_6 (surface VARCHAR, score_in_the_final VARCHAR)
Name the surface for 6–0, 6–3
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara"
CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR)
Name the championship for peter mcnamara
SELECT championship FROM table_22597626_6 WHERE year = 1980 AND surface = "Hard"
CREATE TABLE table_22597626_6 (championship VARCHAR, year VARCHAR, surface VARCHAR)
Name the championship for 1980 hard surface
SELECT race_time FROM table_2260452_1 WHERE team = "Billy Ballew Motorsports"
CREATE TABLE table_2260452_1 (race_time VARCHAR, team VARCHAR)
If the team is Billy Ballew Motorsports, what is the race time?
SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley"
CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR)
What was the date if the driver was Robert Pressley?
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
If the race time is 2:00:33, what is the average speed?
SELECT 1982 AS _83 FROM table_22606461_10 WHERE rank = 1
CREATE TABLE table_22606461_10 (rank VARCHAR)
What is every entry for 1982-83 for rank 1?
SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley"
CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR)
How many heights are listed for Jesse Holley in the WR position?
SELECT result FROM table_22603701_1 WHERE college = "Wisconsin"
CREATE TABLE table_22603701_1 (result VARCHAR, college VARCHAR)
What is the result for Wisconsin?
SELECT result FROM table_22603701_1 WHERE name = "Steve Gonzalez"
CREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR)
What is the result for Steve Gonzalez?
SELECT position FROM table_22603701_1 WHERE college = "Menlo college"
CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)
What are the positions for Menlo College?
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
SELECT COUNT(release_date) FROM table_2263152_1 WHERE security_issues = "99-025" AND distribution_mechanism = "Microsoft website"
CREATE TABLE table_2263152_1 (release_date VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number?
SELECT release_date FROM table_2263152_1 WHERE version = "1.5a"
CREATE TABLE table_2263152_1 (release_date VARCHAR, version VARCHAR)
With the version of 1.5a, what is the release date?
SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)
If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?
SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b"
CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR)
If the version is 1.5b, what is the distribution mechanism?
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE tournament_winner = "Temple"
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)
How many locations are listed for the winner Temple?
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference"
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR)
How many locations are listed for the Big 12 Conference?
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"
CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
Who had the best regular season in the contest won by Arkansas-Pine Bluff?
SELECT age_at_appointment FROM table_2263674_1 WHERE chinese_name = "孫明揚"
CREATE TABLE table_2263674_1 (age_at_appointment VARCHAR, chinese_name VARCHAR)
How old was the official with Chinese name 孫明揚?
SELECT romanised_name FROM table_2263674_1 WHERE chinese_name = "梁愛詩"
CREATE TABLE table_2263674_1 (romanised_name VARCHAR, chinese_name VARCHAR)
What's 梁愛詩's romanised name?
SELECT romanised_name FROM table_2263674_1 WHERE portfolio = "Secretary for Health, Welfare and Food"
CREATE TABLE table_2263674_1 (romanised_name VARCHAR, portfolio VARCHAR)
What's the romanised name of the official who was Secretary for health, welfare and food?
SELECT portfolio FROM table_2263674_1 WHERE romanised_name = "Anthony Leung Kam-chung"
CREATE TABLE table_2263674_1 (portfolio VARCHAR, romanised_name VARCHAR)
What was Anthony Leung Kam-Chung previous position?
SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 11"
CREATE TABLE table_22654073_13 (high_rebounds VARCHAR, date VARCHAR)
List all high rebound entries from May 11.
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 1"
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)
How many games were there on May 1?
SELECT high_assists FROM table_22654073_13 WHERE series = "2-3"
CREATE TABLE table_22654073_13 (high_assists VARCHAR, series VARCHAR)
List all high assists in series 2-3.
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11"
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)
How many games were played on May 11?
SELECT score FROM table_22654073_7 WHERE team = "Chicago Bulls"
CREATE TABLE table_22654073_7 (score VARCHAR, team VARCHAR)
Name the score for chicago bulls
SELECT location_attendance FROM table_22654073_7 WHERE record = "22-8"
CREATE TABLE table_22654073_7 (location_attendance VARCHAR, record VARCHAR)
Name the location attendance for 22-8
SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = "Mo Williams , LeBron James , J.J. Hickson (6)"
CREATE TABLE table_22654073_7 (high_points VARCHAR, high_rebounds VARCHAR)
Name the high points for mo williams , lebron james , j.j. hickson (6)
SELECT high_assists FROM table_22654073_7 WHERE date = "December 13"
CREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR)
Name the high assists for december 13
SELECT august_21_22 FROM table_22651355_3 WHERE june_10_11 = "June 11, 1983"
CREATE TABLE table_22651355_3 (august_21_22 VARCHAR, june_10_11 VARCHAR)
What value can you find under the column "august 21-22" and the row of June 11, 1983?
SELECT location_attendance FROM table_22654073_10 WHERE record = "51-15"
CREATE TABLE table_22654073_10 (location_attendance VARCHAR, record VARCHAR)
What was the location and attendance for the game against the team with a 51-15 record with the Cavaliers?
SELECT COUNT(score) FROM table_22654073_8 WHERE record = "27-9"
CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR)
How many scores are associated with a record of 27-9?
SELECT COUNT(game) FROM table_22654073_8 WHERE record = "29-10"
CREATE TABLE table_22654073_8 (game VARCHAR, record VARCHAR)
How many games are associated with a record of 29-10?
SELECT team FROM table_22654073_6 WHERE record = "3-2"
CREATE TABLE table_22654073_6 (team VARCHAR, record VARCHAR)
Name the team for record 3-2
SELECT date FROM table_22654073_6 WHERE high_points = "LeBron James , Mo Williams (21)"
CREATE TABLE table_22654073_6 (date VARCHAR, high_points VARCHAR)
Name the date for lebron james , mo williams (21)
SELECT high_points FROM table_22654073_6 WHERE record = "9-4"
CREATE TABLE table_22654073_6 (high_points VARCHAR, record VARCHAR)
Name the high points for record 9-4
SELECT COUNT(date) FROM table_22654073_6 WHERE score = "L 85–86 (OT)"
CREATE TABLE table_22654073_6 (date VARCHAR, score VARCHAR)
Name the total number of date for l 85–86 (ot)
SELECT COUNT(network) FROM table_22654139_2 WHERE year = 2007
CREATE TABLE table_22654139_2 (network VARCHAR, year VARCHAR)
Name the network for 2007 total
SELECT s_analyst FROM table_22654139_2
CREATE TABLE table_22654139_2 (s_analyst VARCHAR)
Name the analysts
SELECT result FROM table_22656187_9 WHERE partnering = "Frederica Piedade"
CREATE TABLE table_22656187_9 (result VARCHAR, partnering VARCHAR)
What was the result for a partnering of Frederica Piedade?
SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group I"
CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR)
Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?
SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984"
CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR)
Name the manufacturer for cale yarborough for 1984
SELECT report FROM table_2266230_1 WHERE year = "2003"
CREATE TABLE table_2266230_1 (report VARCHAR, year VARCHAR)
Name the report for 2003
SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901
CREATE TABLE table_22665117_1 (date_opened VARCHAR, dist_id VARCHAR)
What is the date opened if thedistrict ID is 11901?
SELECT authorizing_agency FROM table_22665117_1 WHERE district_name = "Academy of Flint"
CREATE TABLE table_22665117_1 (authorizing_agency VARCHAR, district_name VARCHAR)
If the district name is the Academy of Flint, what is the authorizing agency?
SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907
CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR)
If the district ID is 74907, what is the name of the district?
SELECT county FROM table_22665117_1 WHERE district_name = "Charyl Stockwell Academy"
CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR)
If the name of the district is the Charyl Stockwell Academy, what is the county name?
SELECT driver FROM table_2266976_1 WHERE year = "1986"
CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR)
Who was the driver in 1986?
SELECT date FROM table_2266976_1 WHERE average_speed__mph_ = "81.388"
CREATE TABLE table_2266976_1 (date VARCHAR, average_speed__mph_ VARCHAR)
When was an average speed of 81.388 mph recorded?
SELECT manufacturer FROM table_2266976_1 WHERE year = "1990"
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, year VARCHAR)
Who was the manufacturer in 1990?
SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28"
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)
Who was the manufacturer in the year when the race lasted 2:30:28?
SELECT team FROM table_2266976_1 WHERE year = "2003"
CREATE TABLE table_2266976_1 (team VARCHAR, year VARCHAR)
What team competed in 2003?
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53"
CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR)
How long in miles (km) was the race that lasted 3:07:53?
SELECT race_name FROM table_22669375_1 WHERE date = "June 6"
CREATE TABLE table_22669375_1 (race_name VARCHAR, date VARCHAR)
Name the race name for june 6
SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300"
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
Name the location for trenton 300
SELECT race_name FROM table_22669375_1 WHERE rnd = 11
CREATE TABLE table_22669375_1 (race_name VARCHAR, rnd VARCHAR)
Name the race name for rnd being 11
SELECT length FROM table_22669816_1 WHERE winning_driver = "Roger McCluskey"
CREATE TABLE table_22669816_1 (length VARCHAR, winning_driver VARCHAR)
What length was won by Roger McCluskey?
SELECT rnd FROM table_22669816_1 WHERE track = "Phoenix International Raceway"
CREATE TABLE table_22669816_1 (rnd VARCHAR, track VARCHAR)
What rounds did Phoenix International Raceway host?
SELECT length FROM table_22669816_1 WHERE track = "Pocono International Raceway"
CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR)
What are the lengths hosted by Pocono International Raceway?
SELECT length FROM table_22669816_1 WHERE track = "Phoenix International Raceway"
CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR)
What lengths did Phoenix International Raceway host?
SELECT location_attendance FROM table_22669044_7 WHERE score = "L 83–118 (OT)"
CREATE TABLE table_22669044_7 (location_attendance VARCHAR, score VARCHAR)
Name the location attendance for score being l 83–118 (ot)
SELECT high_assists FROM table_22669044_7 WHERE date = "December 9"
CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR)
Name the high assists for december 9
SELECT COUNT(winner) FROM table_2267345_2 WHERE team_classification = "Kelme-Costa Blanca" AND combativity_award = "Jacky Durand"
CREATE TABLE table_2267345_2 (winner VARCHAR, team_classification VARCHAR, combativity_award VARCHAR)
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?