answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT opponents_in_the_final FROM table_name_62 WHERE surface = "carpet (i)"
CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR)
Who were the Opponents in the final that played on a carpet (i) Surface?
SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund"
CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
Played on Clay Surface, what was the Score of the Dortmund Tournament?
SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen"
CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR)
Who is Partner Frederik Nielsen's Opponents in the final?
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend"
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR)
What is Partner Tomas Behrend's Score in the final?
SELECT country FROM table_name_67 WHERE player = "larry mize"
CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR)
What Country does Larry Mize play for?
SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976"
CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR)
What is the winning total from 1976?
SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram"
CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR)
What year was owner Michael E. Pegram's last win?
SELECT trainer FROM table_name_94 WHERE owner = "cherry valley farm"
CREATE TABLE table_name_94 (trainer VARCHAR, owner VARCHAR)
Who is the trainer for Cherry Valley Farm?
SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein"
CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR)
Who owned winner Blueeyesintherein after 2009?
SELECT opponent FROM table_name_8 WHERE record = "33-15"
CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)
Who was the Blue Jays' opponent when their record was 33-15?
SELECT loss FROM table_name_3 WHERE record = "36-20"
CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)
Who did the Blue Jays lose to when their record was 36-20?
SELECT rank FROM table_name_3 WHERE qual = "141.471"
CREATE TABLE table_name_3 (rank VARCHAR, qual VARCHAR)
What is the rank of the qual 141.471?
SELECT start FROM table_name_18 WHERE laps = 55
CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR)
What is the start of lap 55?
SELECT rank FROM table_name_63 WHERE year = "1956"
CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)
What is rank of the year 1956?
SELECT laps FROM table_name_78 WHERE rank = "13"
CREATE TABLE table_name_78 (laps VARCHAR, rank VARCHAR)
What is the lap number for the rank of 13?
SELECT rank FROM table_name_33 WHERE year = "1961"
CREATE TABLE table_name_33 (rank VARCHAR, year VARCHAR)
What is the rank for 1961?
SELECT SUM(laps) FROM table_name_60 WHERE finish = "24"
CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR)
What is the sum of the lap with a finish of 24?
SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"
CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)
Which band plays Self Versus Self - Immersion?
SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4"
CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR)
What Event used submission (rear naked choke) with 9-4?
SELECT event FROM table_name_41 WHERE opponent = "donald ouimet"
CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR)
What event was Donald Ouimet involved?
SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010
CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR)
What event did she finish 3rd in 2010?
SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland"
CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR)
What year did she compete in tampere, finland?
SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan"
CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR)
Ben Hogan with a score larger than 66 had a place listed of what?
SELECT player FROM table_name_27 WHERE score = 70
CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR)
With a score of 70, this player's name is listed as what?
SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6"
CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR)
With a score smaller than 71 along with a place of t6, what is the To par score?
SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400"
CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR)
Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010?
SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972"
CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR)
Which Hanzi has a Regional Population of 4,591,972 in 2010?
SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands"
CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62?
SELECT MAX(rank) FROM table_name_59 WHERE name = "karen pickering" AND time < 55.71
CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR)
What is the highest Rank of Karen Pickering when she had a time of less than 55.71?
SELECT MAX(lane) FROM table_name_68 WHERE time > 55.94 AND rank > 8
CREATE TABLE table_name_68 (lane INTEGER, time VARCHAR, rank VARCHAR)
What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8?
SELECT date FROM table_name_85 WHERE loss = "burns (0-1)"
CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR)
What was the date of the game that had a loss of Burns (0-1)?
SELECT loss FROM table_name_77 WHERE record = "20-16"
CREATE TABLE table_name_77 (loss VARCHAR, record VARCHAR)
What was the loss of the game when the record was 20-16?
SELECT loss FROM table_name_22 WHERE attendance = "18,769"
CREATE TABLE table_name_22 (loss VARCHAR, attendance VARCHAR)
What was the loss of the game that had an attendance of 18,769?
SELECT date FROM table_name_5 WHERE loss = "geisel (0-1)"
CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR)
What was the date of the game that had a loss of Geisel (0-1)?
SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699"
CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
What is the date of the game against the Royals that had an attendance of 12,699?
SELECT MAX(floors) FROM table_name_62 WHERE name = "regions center" AND rank < 11
CREATE TABLE table_name_62 (floors INTEGER, name VARCHAR, rank VARCHAR)
When Regions center has a rank less than 11, what is the greatest number o floors?
SELECT AVG(rank) FROM table_name_84 WHERE floors = 24
CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR)
What is the average rank for a building with 24 floors?
SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel"
CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)
What is the rank for Omni nashville hotel?
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center"
CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)
What is the greatest rank for Fifth third center?
SELECT AVG(year) FROM table_name_77 WHERE floors < 23 AND height_ft__m_ = "292 (89)" AND rank < 14
CREATE TABLE table_name_77 (year INTEGER, rank VARCHAR, floors VARCHAR, height_ft__m_ VARCHAR)
When a building is 292 (89) ft (m) tall, has less than 23 floors, and ranks less than 14, what is the average year?
SELECT regular_season___preseason FROM table_name_70 WHERE date = "august 25, 2007"
CREATE TABLE table_name_70 (regular_season___preseason VARCHAR, date VARCHAR)
What type of regular season/preseason game was played on August 25, 2007?
SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008"
CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR)
In what stadium was the game on August 22, 2008 played?
SELECT stadium FROM table_name_89 WHERE home_team = "dallas cowboys 21"
CREATE TABLE table_name_89 (stadium VARCHAR, home_team VARCHAR)
In what stadium was the home team Dallas Cowboys 21?
SELECT date FROM table_name_28 WHERE home_team = "dallas cowboys 34"
CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR)
On what date was the home team the Dallas Cowboys 34?
SELECT visiting_team FROM table_name_59 WHERE date = "october 15, 2006"
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
Who was the visiting team on October 15, 2006?
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)
What's the smallest amount of Laps that had a finish of 7 with a start of 6?
SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary"
CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?
SELECT AVG(bronze) FROM table_name_73 WHERE rank = 4 AND silver < 1
CREATE TABLE table_name_73 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
What is the average bronze with a rank of 4 and less than 1 silver?
SELECT silver FROM table_name_74 WHERE gold > 4 AND rank = 1
CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Which silver has a Gold larger than 4, and a Rank of 1?
SELECT MIN(bronze) FROM table_name_52 WHERE total = 3 AND nation = "hungary" AND gold < 0
CREATE TABLE table_name_52 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0
CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
SELECT COUNT(total) FROM table_name_71 WHERE silver < 2 AND nation = "ukraine" AND gold < 3
CREATE TABLE table_name_71 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)
How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3?
SELECT player FROM table_name_17 WHERE season = "2007"
CREATE TABLE table_name_17 (player VARCHAR, season VARCHAR)
Which player played in 2007?
SELECT bowling FROM table_name_7 WHERE player = "min patel"
CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR)
What was Min Patel's bowling?
SELECT week_1 FROM table_name_35 WHERE week_2 = "piia jarkko"
CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR)
Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?
SELECT week_12 FROM table_name_10 WHERE week_9 = "walked (day 11)"
CREATE TABLE table_name_10 (week_12 VARCHAR, week_9 VARCHAR)
Who was the week 12 nomination when the week 9 nomination walked (day 11)?
SELECT week_12 FROM table_name_1 WHERE week_1 = "maria maxine" AND week_2 = "henri satu"
CREATE TABLE table_name_1 (week_12 VARCHAR, week_1 VARCHAR, week_2 VARCHAR)
What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?
SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny"
CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR)
Name the heightfor city of license of malone, ny
SELECT class FROM table_name_74 WHERE call_sign = "wmhn"
CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR)
Name the class with call sign of wmhn
SELECT frequency FROM table_name_78 WHERE class = "b"
CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR)
Name the frequency with class of b
SELECT city_of_license FROM table_name_37 WHERE frequency = "90.1 fm"
CREATE TABLE table_name_37 (city_of_license VARCHAR, frequency VARCHAR)
Name the city of license with frequency of 90.1 fm
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430
CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430
SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971
CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR)
What is the Engine(s) that has f Tyres in 1971?
SELECT MIN(att) FROM table_name_6 WHERE date = "june 27"
CREATE TABLE table_name_6 (att INTEGER, date VARCHAR)
What was the attendance on June 27?
SELECT surface FROM table_name_3 WHERE date = "12 september 2006"
CREATE TABLE table_name_3 (surface VARCHAR, date VARCHAR)
Name the surface for 12 september 2006
SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello"
CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR)
Name the score for opponent in the final being paul baccanello
SELECT surface FROM table_name_5 WHERE date = "20 march 2007"
CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR)
Name the surface for 20 march 2007
SELECT date FROM table_name_5 WHERE opponent_in_the_final = "ignasi villacampa"
CREATE TABLE table_name_5 (date VARCHAR, opponent_in_the_final VARCHAR)
Name the date for opponent in the final being ignasi villacampa
SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello"
CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Name the tournament for grass surface and opponent in the final being paul baccanello
SELECT MIN(year) FROM table_name_43 WHERE location = "milan" AND champion = "guillermo vilas"
CREATE TABLE table_name_43 (year INTEGER, location VARCHAR, champion VARCHAR)
When is the earliest year in milan that guillermo vilas was champion?
SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte"
CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR)
Where in 1985 was tim mayotte runner up?
SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg"
CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
What was the score when stefan edberg won after 1978?
SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.5
CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR)
What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?
SELECT city_of_license FROM table_name_45 WHERE erp_kw > 4.5 AND station = "w23dr-d"
CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR)
What is the City of license that has a ERP kW more than 4.5 and w23dr-d?
SELECT location FROM table_name_46 WHERE date_of_demolition = 1940 AND church_name = "christ church greyfriars"
CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR)
What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars?
SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE location = "wood street"
CREATE TABLE table_name_7 (date_of_demolition VARCHAR, location VARCHAR)
How many dates of demolition are located on Wood Street?
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008"
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
SELECT outcome FROM table_name_59 WHERE surface = "grass"
CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR)
What was Olga Govortsova's outcome when she played on a grass surface?
SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 2012"
CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR)
What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012?
SELECT mountain_range FROM table_name_35 WHERE rank = 19
CREATE TABLE table_name_35 (mountain_range VARCHAR, rank VARCHAR)
Which mountain range has a rank of 19?
SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain"
CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
SELECT mountain_range FROM table_name_64 WHERE mountain_peak = "mount hubbard"
CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR)
Which mountain range includes Mount Hubbard?
SELECT province FROM table_name_25 WHERE mountain_range = "axel heiberg island"
CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR)
Which province includes Axel Heiberg Island?
SELECT notes FROM table_name_94 WHERE position = "12th"
CREATE TABLE table_name_94 (notes VARCHAR, position VARCHAR)
What are the notes of events that finished in 12th position?
SELECT venue FROM table_name_40 WHERE position = "2nd" AND year = 1985
CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR)
Which venue was finished in 2nd position in 1985?
SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium"
CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR)
What is the average year of events that took place in Antwerp, Belgium?
SELECT MAX(year) FROM table_name_42 WHERE notes = "team competition" AND venue = "antwerp, belgium"
CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR)
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?
SELECT label FROM table_name_76 WHERE format = "lp" AND catalog = "ch-9192"
CREATE TABLE table_name_76 (label VARCHAR, format VARCHAR, catalog VARCHAR)
What was the label's format LP and catalog of CH-9192?
SELECT date FROM table_name_66 WHERE catalog = "chd-9192"
CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)
When was Catalog CHD-9192 published?
SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5
CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR)
I need the FCC info on the radio Frequency MHz 107.5?
SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida"
CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Give me the MHz Frequency of Allapattah, Florida.
SELECT class FROM table_name_10 WHERE call_sign = "w298ak"
CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR)
What class does the w298ak sign belong to?
SELECT class FROM table_name_9 WHERE erp_w = 800
CREATE TABLE table_name_9 (class VARCHAR, erp_w VARCHAR)
What class is ERP W of 800?
SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8
CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?
SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1
CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR)
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?
SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = "c.d. atlético balboa"
CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR)
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa?
SELECT MAX(played) FROM table_name_9 WHERE place > 10
CREATE TABLE table_name_9 (played INTEGER, place INTEGER)
What is listed as the Highest Played and that has a Place that is larger than 10?
SELECT MAX(played) FROM table_name_19 WHERE points = 17 AND draw < 5
CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, draw VARCHAR)
What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5?
SELECT date FROM table_name_38 WHERE score = "6-4"
CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)
When was the game that ended with a score of 6-4?
SELECT score FROM table_name_39 WHERE date = "april 8"
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
What was the score on April 8?