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