instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What circut has an unknown fastest lap on July 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (circuit VARCHAR, fastest_lap VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_76 WHERE fastest_lap = "unknown" AND date = "july 19"
Write a SQL query that answers the following question: What circuit did marlboro team penske win with an unknown fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)
SELECT circuit FROM table_name_67 WHERE winning_team = "marlboro team penske" AND fastest_lap = "unknown"
Write a SQL query that answers the following question: What team does mario andretti play pole position for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (winning_team VARCHAR, pole_position VARCHAR)
SELECT winning_team FROM table_name_9 WHERE pole_position = "mario andretti"
Write a SQL query that answers the following question: What was the venue where Carlton was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_3 WHERE away_team = "carlton"
Write a SQL query that answers the following question: What was the venue when Carlton was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_28 WHERE away_team = "carlton"
Write a SQL query that answers the following question: What was the highest heat with a time slower than 48.87 from sweden?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)
SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden"
Write a SQL query that answers the following question: How many lanes featured a swimmer ranked above 4, in a heat later than 1, from australia, named ashley callus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (lane VARCHAR, name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
SELECT COUNT(lane) FROM table_name_62 WHERE rank > 4 AND heat > 1 AND nationality = "australia" AND name = "ashley callus"
Write a SQL query that answers the following question: What is the Eurozone result for Population M (LUZ) of 3.08?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (eurozone VARCHAR, population_m__luz_ VARCHAR)
SELECT eurozone FROM table_name_24 WHERE population_m__luz_ = 3.08
Write a SQL query that answers the following question: What is the GDP $IDB in Istanbul?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (gdp_in_$id_b VARCHAR, city VARCHAR)
SELECT gdp_in_$id_b FROM table_name_42 WHERE city = "istanbul"
Write a SQL query that answers the following question: What is the most recently founded school that joined in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (founded INTEGER, joined VARCHAR)
SELECT MAX(founded) FROM table_name_94 WHERE joined = "2011"
Write a SQL query that answers the following question: What was the home team that played Geelong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_43 WHERE away_team = "geelong"
Write a SQL query that answers the following question: What was the home team's score when they played Richmond?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_13 WHERE away_team = "richmond"
Write a SQL query that answers the following question: What is Melbourne's home venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_74 WHERE home_team = "melbourne"
Write a SQL query that answers the following question: What was the overall draft pick for the player selected for the tight end position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (overall VARCHAR, position VARCHAR)
SELECT overall FROM table_name_72 WHERE position = "tight end"
Write a SQL query that answers the following question: On what date is Hawthorn the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_10 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: On what date is St Kilda the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_31 WHERE away_team = "st kilda"
Write a SQL query that answers the following question: Who did the Browns play on October 13, 1968?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_7 WHERE date = "october 13, 1968"
Write a SQL query that answers the following question: Which game is named tsegay kebede category:articles with hcards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_70 WHERE name = "tsegay kebede category:articles with hcards"
Write a SQL query that answers the following question: Which event in the 2000 Sydney games was in the category gete wami category:articles with hcards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (event VARCHAR, games VARCHAR, name VARCHAR)
SELECT event FROM table_name_73 WHERE games = "2000 sydney" AND name = "gete wami category:articles with hcards"
Write a SQL query that answers the following question: Which event in the 2008 Beijing Games had a bronze medal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (event VARCHAR, games VARCHAR, medal VARCHAR)
SELECT event FROM table_name_34 WHERE games = "2008 beijing" AND medal = "bronze"
Write a SQL query that answers the following question: What is the medal named fatuma roba category:articles with hcards for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR)
SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards"
Write a SQL query that answers the following question: What is the game named derartu tulu category:articles with hcards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_15 WHERE name = "derartu tulu category:articles with hcards"
Write a SQL query that answers the following question: What is the fastest time for the Kentucky Derby race?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (time VARCHAR, race VARCHAR)
SELECT time FROM table_name_40 WHERE race = "kentucky derby"
Write a SQL query that answers the following question: Which track does the Woodward Stakes race take place on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (track VARCHAR, race VARCHAR)
SELECT track FROM table_name_72 WHERE race = "woodward stakes"
Write a SQL query that answers the following question: What grade did jockey Robby Albarado get when racing with Ravens Pass?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)
SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"
Write a SQL query that answers the following question: In which Age Category is Marco Manenti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (age_category VARCHAR, name VARCHAR)
SELECT age_category FROM table_name_44 WHERE name = "marco manenti"
Write a SQL query that answers the following question: Which year has a Time of 13:23:43?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year VARCHAR, time VARCHAR)
SELECT year FROM table_name_50 WHERE time = "13:23:43"
Write a SQL query that answers the following question: What score has 3-7 as the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_46 WHERE record = "3-7"
Write a SQL query that answers the following question: What loss has 16,458 as an Att.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (loss VARCHAR, att VARCHAR)
SELECT loss FROM table_name_82 WHERE att = "16,458"
Write a SQL query that answers the following question: What date has 5-3 as the score, and holt (1-1) as a loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, score VARCHAR, loss VARCHAR)
SELECT date FROM table_name_95 WHERE score = "5-3" AND loss = "holt (1-1)"
Write a SQL query that answers the following question: What is the sector of the company with an incorporated date before 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (sector VARCHAR, incorporated INTEGER)
SELECT sector FROM table_name_64 WHERE incorporated < 1983
Write a SQL query that answers the following question: What is the average incorporataed year of the Air India Charters company?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (incorporated INTEGER, company VARCHAR)
SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters"
Write a SQL query that answers the following question: How many votes were tallied in 1956 with a % of national vote larger than 11.47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR)
SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47
Write a SQL query that answers the following question: How many candidates were nominated in 1952 with under 305,133 votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (candidates_nominated INTEGER, date VARCHAR, votes VARCHAR)
SELECT SUM(candidates_nominated) FROM table_name_51 WHERE date = "1952" AND votes < 305 OFFSET 133
Write a SQL query that answers the following question: How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (votes VARCHAR, _percentage_of_national_vote VARCHAR, candidates_nominated VARCHAR)
SELECT COUNT(votes) FROM table_name_72 WHERE _percentage_of_national_vote = 13.11 AND candidates_nominated > 39
Write a SQL query that answers the following question: Who is the visitor with a record of 14–17–5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_54 WHERE record = "14–17–5"
Write a SQL query that answers the following question: How many in attendance when Penguins were home with a record of 14–19–6 with less than 34 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (attendance VARCHAR, points VARCHAR, home VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_98 WHERE home = "penguins" AND record = "14–19–6" AND points < 34
Write a SQL query that answers the following question: Which Format has a Catalog of 561 445-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_81 WHERE catalog = "561 445-1"
Write a SQL query that answers the following question: Which Region has a Date of early september 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_67 WHERE date = "early september 1999"
Write a SQL query that answers the following question: Which Region has a Date of early september 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_15 WHERE date = "early september 1999"
Write a SQL query that answers the following question: What was the date of the game with a loss of White (4-5)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_34 WHERE loss = "white (4-5)"
Write a SQL query that answers the following question: what score has a location and attendance of montreal forum and the date of may 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, location_attendance VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE location_attendance = "montreal forum" AND date = "may 10"
Write a SQL query that answers the following question: Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (interview INTEGER, province VARCHAR, swimsuit VARCHAR)
SELECT SUM(interview) FROM table_name_75 WHERE province = "monte cristi" AND swimsuit > 7.27
Write a SQL query that answers the following question: WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (evening_gown INTEGER, swimsuit VARCHAR, interview VARCHAR)
SELECT AVG(evening_gown) FROM table_name_21 WHERE swimsuit < 7.99 AND interview > 7.98
Write a SQL query that answers the following question: Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (interview INTEGER, average VARCHAR, swimsuit VARCHAR, province VARCHAR)
SELECT SUM(interview) FROM table_name_11 WHERE swimsuit > 7.6 AND province = "la vega" AND average < 8.38
Write a SQL query that answers the following question: Which items in segment A have a segment D of marble sculptures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (segment_a VARCHAR, segment_d VARCHAR)
SELECT segment_a FROM table_name_34 WHERE segment_d = "marble sculptures"
Write a SQL query that answers the following question: Which segment A also has a segment D of kitchen shears?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (segment_a VARCHAR, segment_d VARCHAR)
SELECT segment_a FROM table_name_57 WHERE segment_d = "kitchen shears"
Write a SQL query that answers the following question: Which items in segment C is episode 160?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (segment_c VARCHAR, episode VARCHAR)
SELECT segment_c FROM table_name_30 WHERE episode = 160
Write a SQL query that answers the following question: Which season last aired on May 6, 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (season VARCHAR, last_airdate VARCHAR)
SELECT season FROM table_name_77 WHERE last_airdate = "may 6, 1987"
Write a SQL query that answers the following question: What is the Nielsen ranking for Season 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (nielsen_ranking VARCHAR, season VARCHAR)
SELECT nielsen_ranking FROM table_name_99 WHERE season = "season 8"
Write a SQL query that answers the following question: What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (first_airdate VARCHAR, episodes VARCHAR, nielsen_ranking VARCHAR)
SELECT first_airdate FROM table_name_68 WHERE episodes < 24 AND nielsen_ranking = "#38"
Write a SQL query that answers the following question: How many episodes were in the season that first aired on September 22, 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (episodes VARCHAR, first_airdate VARCHAR)
SELECT episodes FROM table_name_98 WHERE first_airdate = "september 22, 1989"
Write a SQL query that answers the following question: How many episodes were in the season that ended on April 29, 1986?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR)
SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986"
Write a SQL query that answers the following question: Where the ship is Dahlgren what is the build as?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (built_as VARCHAR, ship VARCHAR)
SELECT built_as FROM table_name_28 WHERE ship = "dahlgren"
Write a SQL query that answers the following question: Where the NRV link is CGN38, what is the reclassified as?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (reclassified_as VARCHAR, nvr_link VARCHAR)
SELECT reclassified_as FROM table_name_35 WHERE nvr_link = "cgn38"
Write a SQL query that answers the following question: Where the built as is DLG-23, what is the class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (class VARCHAR, built_as VARCHAR)
SELECT class FROM table_name_98 WHERE built_as = "dlg-23"
Write a SQL query that answers the following question: What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_56 WHERE rank = "6" AND bronze < 2
Write a SQL query that answers the following question: How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_56 WHERE bronze > 12 AND total < 124
Write a SQL query that answers the following question: December smaller than 21, and a Opponent of buffalo sabres had what score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (score VARCHAR, december VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_68 WHERE december < 21 AND opponent = "buffalo sabres"
Write a SQL query that answers the following question: Score of 8 - 1 happened on what day in December?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (december VARCHAR, score VARCHAR)
SELECT december FROM table_name_27 WHERE score = "8 - 1"
Write a SQL query that answers the following question: December larger than 21, and a Opponent of Pittsburgh penguins had what average game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (game INTEGER, december VARCHAR, opponent VARCHAR)
SELECT AVG(game) FROM table_name_30 WHERE december > 21 AND opponent = "pittsburgh penguins"
Write a SQL query that answers the following question: December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR, december VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_16 WHERE december < 14 AND game < 28 AND score = "6 - 6"
Write a SQL query that answers the following question: What is the date that the item was laid down if it was launched on 1899-04-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (laid_down VARCHAR, launched VARCHAR)
SELECT laid_down FROM table_name_95 WHERE launched = "1899-04-25"
Write a SQL query that answers the following question: Which builder has the the kanji of 曙?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (builder VARCHAR, kanji VARCHAR)
SELECT builder FROM table_name_98 WHERE kanji = "曙"
Write a SQL query that answers the following question: Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (density_per_km² INTEGER, number__map_ VARCHAR, area_in_km² VARCHAR)
SELECT MIN(density_per_km²) FROM table_name_21 WHERE number__map_ < 13 AND area_in_km² = 11.1
Write a SQL query that answers the following question: How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (number__map_ VARCHAR, area_in_km² VARCHAR, population_canada_2011_census VARCHAR)
SELECT COUNT(number__map_) FROM table_name_3 WHERE area_in_km² > 13.5 AND population_canada_2011_census = 134 OFFSET 038
Write a SQL query that answers the following question: Which Number (map) is the lowest one that has a Area in km² of 9.7, and a Population Canada 2011 Census larger than 66,158?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (number__map_ INTEGER, area_in_km² VARCHAR, population_canada_2011_census VARCHAR)
SELECT MIN(number__map_) FROM table_name_71 WHERE area_in_km² = 9.7 AND population_canada_2011_census > 66 OFFSET 158
Write a SQL query that answers the following question: Attendance of 19,741 had what average week?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (week INTEGER, attendance VARCHAR)
SELECT AVG(week) FROM table_name_80 WHERE attendance = "19,741"
Write a SQL query that answers the following question: Attendance of 29,000 occurred on what date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_80 WHERE attendance = "29,000"
Write a SQL query that answers the following question: Opponent of Philadelphia eagles had what attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_38 WHERE opponent = "philadelphia eagles"
Write a SQL query that answers the following question: What day did Alex Best exit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (exited VARCHAR, celebrity VARCHAR)
SELECT exited FROM table_name_26 WHERE celebrity = "alex best"
Write a SQL query that answers the following question: What place did the celebrity who is famous for being an athlete finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (finished VARCHAR, famous_for VARCHAR)
SELECT finished FROM table_name_39 WHERE famous_for = "athlete"
Write a SQL query that answers the following question: What place did the singer in atomic kitten finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (finished VARCHAR, famous_for VARCHAR)
SELECT finished FROM table_name_91 WHERE famous_for = "singer in atomic kitten"
Write a SQL query that answers the following question: Who was the celebrity who exited on day 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR)
SELECT celebrity FROM table_name_35 WHERE exited = "day 13"
Write a SQL query that answers the following question: Who was the celebrity who finished in 7th place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (celebrity VARCHAR, finished VARCHAR)
SELECT celebrity FROM table_name_91 WHERE finished = "7th"
Write a SQL query that answers the following question: Name of gilmar, and a Caps smaller than 94 had how many highest goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (goals INTEGER, name VARCHAR, caps VARCHAR)
SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94
Write a SQL query that answers the following question: Caps of 93 had how many goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (goals VARCHAR, caps VARCHAR)
SELECT goals FROM table_name_94 WHERE caps = 93
Write a SQL query that answers the following question: Latest cap of september 5, 2011 had how many goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (goals VARCHAR, latest_cap VARCHAR)
SELECT goals FROM table_name_39 WHERE latest_cap = "september 5, 2011"
Write a SQL query that answers the following question: Name of rivelino had how many highest caps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (caps INTEGER, name VARCHAR)
SELECT MAX(caps) FROM table_name_65 WHERE name = "rivelino"
Write a SQL query that answers the following question: Which athlete played at the Birmingham venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR)
SELECT athlete FROM table_name_32 WHERE venue = "birmingham"
Write a SQL query that answers the following question: Which Frequency has a Webcast of •, and a Callsign of xemr?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR)
SELECT AVG(frequency) FROM table_name_31 WHERE webcast = "•" AND callsign = "xemr"
Write a SQL query that answers the following question: Which Website has a Frequency smaller than 760 and a Callsign of kkyx?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (website VARCHAR, frequency VARCHAR, callsign VARCHAR)
SELECT website FROM table_name_85 WHERE frequency < 760 AND callsign = "kkyx"
Write a SQL query that answers the following question: Which Webcast has a Callsign of kgbt?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (webcast VARCHAR, callsign VARCHAR)
SELECT webcast FROM table_name_91 WHERE callsign = "kgbt"
Write a SQL query that answers the following question: Which Frequency has a Website of •, and a Webcast of •in san antonio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)
SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio"
Write a SQL query that answers the following question: What years did the player play when he scored 78 points and 22 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"
Write a SQL query that answers the following question: How many goals did Joey Worthen have when he had 15 assists?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR)
SELECT goals FROM table_name_78 WHERE assists = "15" AND player = "joey worthen"
Write a SQL query that answers the following question: How many goals were scored when 158 points were collected?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (goals VARCHAR, points VARCHAR)
SELECT goals FROM table_name_45 WHERE points = "158"
Write a SQL query that answers the following question: What years had players who scored 36 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (years VARCHAR, goals VARCHAR)
SELECT years FROM table_name_51 WHERE goals = "36"
Write a SQL query that answers the following question: What was the rank of the player who had 13 assists?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (rank VARCHAR, assists VARCHAR)
SELECT rank FROM table_name_14 WHERE assists = "13"
Write a SQL query that answers the following question: What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT SUM(week) FROM table_name_97 WHERE opponent = "houston oilers" AND attendance > 54 OFFSET 582
Write a SQL query that answers the following question: What is the highest attendance for week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (attendance INTEGER, week INTEGER)
SELECT MAX(attendance) FROM table_name_63 WHERE week < 1
Write a SQL query that answers the following question: What is the total number in attendance for the game after week 8 that was on November 25, 1979?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (attendance VARCHAR, week VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_49 WHERE week > 8 AND date = "november 25, 1979"
Write a SQL query that answers the following question: Which Surface has a Score of 2009 wta tour?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_13 WHERE score = "2009 wta tour"
Write a SQL query that answers the following question: Which Round has a Ranking of 2008 wta tour?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (round VARCHAR, ranking VARCHAR)
SELECT round FROM table_name_31 WHERE ranking = "2008 wta tour"
Write a SQL query that answers the following question: Which Surface has a Round of 4th round, and a Player of maria sharapova?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (surface VARCHAR, round VARCHAR, player VARCHAR)
SELECT surface FROM table_name_57 WHERE round = "4th round" AND player = "maria sharapova"
Write a SQL query that answers the following question: Which Player has a Score of 6–4, 7–6 (7–5)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_97 WHERE score = "6–4, 7–6 (7–5)"
Write a SQL query that answers the following question: Which Round has a Player of anna chakvetadze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_23 WHERE player = "anna chakvetadze"
Write a SQL query that answers the following question: Record of 89-67 had what loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_16 WHERE record = "89-67"
Write a SQL query that answers the following question: Score of 3 - 2 had what record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_93 WHERE score = "3 - 2"
Write a SQL query that answers the following question: Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_60 WHERE opponent = "@ blue jays" AND loss = "lyon (5-4)"