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