answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT placement_in_miss_universe FROM table_name_72 WHERE delegate = "janine mari raymundo tugonon"
CREATE TABLE table_name_72 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?
SELECT placement_in_miss_universe FROM table_name_3 WHERE delegate = "armi barbara quiray crespo"
CREATE TABLE table_name_3 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
Which Placement in Miss Universe is armi barbara quiray crespo?
SELECT delegate FROM table_name_96 WHERE placement_in_miss_universe = "fourth runner-up" AND hometown = "makati , rizal"
CREATE TABLE table_name_96 (delegate VARCHAR, placement_in_miss_universe VARCHAR, hometown VARCHAR)
Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?
SELECT placement_in_miss_universe FROM table_name_4 WHERE delegate = "rosita cornell capuyon"
CREATE TABLE table_name_4 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
What kind of Placement in Miss Universe that rosita cornell capuyon is in?
SELECT MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"
CREATE TABLE table_name_50 (year INTEGER, delegate VARCHAR)
Which Year jennifer tarol barrientos is in?
SELECT SUM(year) FROM table_name_18 WHERE competition = "world championships" AND notes = 39.01
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR)
WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?
SELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = "angela park"
CREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)
What's the sum of money ($) that angela park has won?
SELECT pick FROM table_name_10 WHERE position = "dt" AND round > 1 AND overall < 155 AND year = "1952"
CREATE TABLE table_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR)
What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?
SELECT nfl_team FROM table_name_91 WHERE overall > 118 AND pick > 9 AND round > 5 AND position = "de"
CREATE TABLE table_name_91 (nfl_team VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR, pick VARCHAR)
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
SELECT 2006 FROM table_name_63 WHERE 2007 = "1r" AND 2002 = "q2"
CREATE TABLE table_name_63 (Id VARCHAR)
What is 2006, when 2007 is "1R", and when 2002 is "Q2"?
SELECT 2001 FROM table_name_99 WHERE 2007 = "1r" AND 2008 = "q1"
CREATE TABLE table_name_99 (Id VARCHAR)
What is 2001, when 2007 is "1R", and when 2008 is "Q1"?
SELECT tournament FROM table_name_90 WHERE 2003 = "a"
CREATE TABLE table_name_90 (tournament VARCHAR)
What is Tournament, when 2003 is "A"?
SELECT 2012 FROM table_name_55 WHERE tournament = "french open"
CREATE TABLE table_name_55 (tournament VARCHAR)
What is 2012, when Tournament is "French Open"?
SELECT tournament FROM table_name_35 WHERE 2012 = "grand slam tournaments"
CREATE TABLE table_name_35 (tournament VARCHAR)
What is Tournament, when 2012 is "Grand Slam Tournaments"?
SELECT 2004 FROM table_name_81 WHERE 2010 = "grand slam tournaments"
CREATE TABLE table_name_81 (Id VARCHAR)
What is 2004, when 2010 is "Grand Slam Tournaments"?
SELECT member FROM table_name_36 WHERE electorate = "southern melbourne"
CREATE TABLE table_name_36 (member VARCHAR, electorate VARCHAR)
Which Member has an Electorate of southern melbourne?
SELECT first_elected FROM table_name_7 WHERE member = "h.b. higgins"
CREATE TABLE table_name_7 (first_elected VARCHAR, member VARCHAR)
When was H.B. Higgins first elected?
SELECT MAX(byes) FROM table_name_37 WHERE draws > 0
CREATE TABLE table_name_37 (byes INTEGER, draws INTEGER)
What is the highest number of byes when draws are larger than 0?
SELECT MIN(losses) FROM table_name_24 WHERE wins < 15 AND golden_rivers = "quambatook" AND draws > 0
CREATE TABLE table_name_24 (losses INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR)
What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?
SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = "ultima" AND byes > 2
CREATE TABLE table_name_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR)
How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?
SELECT AVG(losses) FROM table_name_2 WHERE golden_rivers = "hay"
CREATE TABLE table_name_2 (losses INTEGER, golden_rivers VARCHAR)
How many losses did the Golden rivers of hay have?
SELECT COUNT(byes) FROM table_name_59 WHERE wins = 9
CREATE TABLE table_name_59 (byes VARCHAR, wins VARCHAR)
What is the total number of byes when the wins were 9?
SELECT AVG(draws) FROM table_name_15 WHERE against = 989 AND wins < 12
CREATE TABLE table_name_15 (draws INTEGER, against VARCHAR, wins VARCHAR)
What is th average dras when wins are less than 12 and the against is 989?
SELECT MAX(pole) FROM table_name_88 WHERE class = "125 cc" AND wchmp > 1
CREATE TABLE table_name_88 (pole INTEGER, class VARCHAR, wchmp VARCHAR)
What is the highest pole for class 125 cc and a WChmp more than 1?
SELECT MAX(flap) FROM table_name_5 WHERE class = "500 cc"
CREATE TABLE table_name_5 (flap INTEGER, class VARCHAR)
What is the highest flap for class 500 cc?
SELECT result_f___a FROM table_name_87 WHERE league_position = "1st" AND date = "4 january 1994"
CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR)
Name the Result F – A that has a League position of 1st on 4 january 1994?
SELECT thai_name FROM table_name_75 WHERE abbr = "มี.ค."
CREATE TABLE table_name_75 (thai_name VARCHAR, abbr VARCHAR)
What is the Thai name for the word abbreviated มี.ค.?
SELECT english_name FROM table_name_23 WHERE abbr = "พ.ย."
CREATE TABLE table_name_23 (english_name VARCHAR, abbr VARCHAR)
What is the English word that is abbreviated พ.ย.?
SELECT transcription FROM table_name_11 WHERE english_name = "march"
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)
What is the transcription for the English word March?
SELECT zodiac_sign FROM table_name_81 WHERE english_name = "march"
CREATE TABLE table_name_81 (zodiac_sign VARCHAR, english_name VARCHAR)
What is the zodiac sign for the English March?
SELECT abbr FROM table_name_22 WHERE zodiac_sign = "capricorn"
CREATE TABLE table_name_22 (abbr VARCHAR, zodiac_sign VARCHAR)
What is the abbreviation for the sign of Capricorn?
SELECT transcription FROM table_name_98 WHERE english_name = "march"
CREATE TABLE table_name_98 (transcription VARCHAR, english_name VARCHAR)
What is the transcription for the English March?
SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7–6 (7–5) , 6–3"
CREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
SELECT opponent FROM table_name_8 WHERE date = "april 24, 1999"
CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR)
Who was the opponent on april 24, 1999?
SELECT result FROM table_name_97 WHERE surface = "clay" AND date = "july 17, 1992"
CREATE TABLE table_name_97 (result VARCHAR, surface VARCHAR, date VARCHAR)
What's the result for the clay surface edition on july 17, 1992?
SELECT round FROM table_name_83 WHERE result = "6–7 (6–8) , 1–6"
CREATE TABLE table_name_83 (round VARCHAR, result VARCHAR)
What round had a result of 6–7 (6–8) , 1–6?
SELECT opponent FROM table_name_75 WHERE result = "7–6 (7–5) , 6–3"
CREATE TABLE table_name_75 (opponent VARCHAR, result VARCHAR)
Who was the opponent when the result was 7–6 (7–5) , 6–3?
SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki"
CREATE TABLE table_name_2 (edition VARCHAR, surface VARCHAR, opponent VARCHAR)
What clay surface edition had an opponent of miho saeki?
SELECT to_par FROM table_name_47 WHERE country = "spain"
CREATE TABLE table_name_47 (to_par VARCHAR, country VARCHAR)
What is To par, when Country is "Spain"?
SELECT country FROM table_name_55 WHERE player = "josé maría olazábal"
CREATE TABLE table_name_55 (country VARCHAR, player VARCHAR)
What is Country, when Player is "José María Olazábal"?
SELECT place FROM table_name_49 WHERE player = "john cook"
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
What is Place, when Player is "John Cook"?
SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd"
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR)
What is Score, when Country is "United States", and when Player is "Raymond Floyd"?
SELECT to_par FROM table_name_59 WHERE player = "larry rinker"
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
What is To par, when Player is "Larry Rinker"?
SELECT country FROM table_name_98 WHERE place = "t8" AND score = 70 - 67 = 137
CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR)
What is Country, when Place is "T8", and when Score is "70-67=137"?
SELECT country FROM table_name_25 WHERE score < 69 AND player = "sandy lyle"
CREATE TABLE table_name_25 (country VARCHAR, score VARCHAR, player VARCHAR)
What Country is player Sandy Lyle from when she scored less than 69?
SELECT to_par FROM table_name_64 WHERE player = "philip parkin"
CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)
What is the to par of Philip Parkin?
SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea"
CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR)
What was the lowest attendance was the opponent was chelsea?
SELECT date_of_birth FROM table_name_61 WHERE pos = "cb" AND height = "m (ft 4in)"
CREATE TABLE table_name_61 (date_of_birth VARCHAR, pos VARCHAR, height VARCHAR)
What is the Date of Birth of the CB Player with a Height of m (ft 4in)?
SELECT country FROM table_name_42 WHERE place = "t4" AND score = 66 - 73 = 139
CREATE TABLE table_name_42 (country VARCHAR, place VARCHAR, score VARCHAR)
Which country had a t4 place and scored 66-73=139?
SELECT player FROM table_name_37 WHERE place = "t1" AND country = "scotland"
CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, country VARCHAR)
Who placed t1 in Scotland?
SELECT player FROM table_name_32 WHERE to_par = "e" AND score = 71 - 69 = 140
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)
Who had a to par of e and scored 71-69=140?
SELECT to_par FROM table_name_35 WHERE place = "t10" AND player = "colin montgomerie"
CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
What is the to par for t10 and Colin Montgomerie?
SELECT country FROM table_name_97 WHERE score = 71 - 69 = 140
CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)
What country scored 71-69=140?
SELECT week FROM table_name_67 WHERE result = "bye"
CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
What week's game had a result of bye?
SELECT record FROM table_name_26 WHERE week = "9"
CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR)
What was the record at week 9?
SELECT to_par FROM table_name_31 WHERE player = "vijay singh"
CREATE TABLE table_name_31 (to_par VARCHAR, player VARCHAR)
What is the to par of player vijay singh?
SELECT player FROM table_name_87 WHERE money___£__ = "playoff" AND country = "united states"
CREATE TABLE table_name_87 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)
Who is the player with playoff money from the United States?
SELECT place FROM table_name_82 WHERE country = "new zealand"
CREATE TABLE table_name_82 (place VARCHAR, country VARCHAR)
What is the place of the player from New Zealand?
SELECT to_par FROM table_name_76 WHERE country = "united states" AND place = "t1"
CREATE TABLE table_name_76 (to_par VARCHAR, country VARCHAR, place VARCHAR)
What is the to par of the player from the United States with a t1 place?
SELECT money___£__ FROM table_name_54 WHERE score = 72 - 70 - 71 - 72 = 285
CREATE TABLE table_name_54 (money___£__ VARCHAR, score VARCHAR)
How much money does the player with a 72-70-71-72=285 score have?
SELECT save FROM table_name_67 WHERE score = "7-6"
CREATE TABLE table_name_67 (save VARCHAR, score VARCHAR)
What is the save of the game with a 7-6 score?
SELECT save FROM table_name_79 WHERE loss = "moran (1-2)"
CREATE TABLE table_name_79 (save VARCHAR, loss VARCHAR)
What is the save of the game where moran (1-2) lost?
SELECT opponent FROM table_name_71 WHERE date = "june 15"
CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR)
Who was the opponent on June 15?
SELECT save FROM table_name_49 WHERE opponent = "rice"
CREATE TABLE table_name_49 (save VARCHAR, opponent VARCHAR)
What is the save of the game with rice as the opponent?
SELECT MIN(goals_against) FROM table_name_38 WHERE played > 34
CREATE TABLE table_name_38 (goals_against INTEGER, played INTEGER)
What is the lowest Goals Agains, when Played is greater than 34?
SELECT MIN(lost) FROM table_name_88 WHERE goals_for > 52 AND points_1 = "44" AND drawn < 8
CREATE TABLE table_name_88 (lost INTEGER, drawn VARCHAR, goals_for VARCHAR, points_1 VARCHAR)
What is the lowest Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8?
SELECT COUNT(lost) FROM table_name_91 WHERE played < 34
CREATE TABLE table_name_91 (lost VARCHAR, played INTEGER)
What is the total number of Lost, when Played is less than 34?
SELECT song FROM table_name_53 WHERE year = 2010 AND us_r & b = "100"
CREATE TABLE table_name_53 (song VARCHAR, year VARCHAR, us_r VARCHAR, b VARCHAR)
Which song has a U.S. R&B 100 in 2010?
SELECT champion FROM table_name_69 WHERE location = "sopot" AND year < 2006 AND score = "6–4, 6–7(7), 6–3"
CREATE TABLE table_name_69 (champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR)
What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?
SELECT COUNT(year) FROM table_name_77 WHERE location = "sopot" AND score = "2–6, 6–2, 6–3"
CREATE TABLE table_name_77 (year VARCHAR, location VARCHAR, score VARCHAR)
In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3?
SELECT team FROM table_name_94 WHERE podiums = "0" AND position = "nc†"
CREATE TABLE table_name_94 (team VARCHAR, podiums VARCHAR, position VARCHAR)
Which Team has Podiums of 0, and a Position of nc†?
SELECT wins FROM table_name_99 WHERE team = "scuderia toro rosso" AND poles = "0" AND races = "16"
CREATE TABLE table_name_99 (wins VARCHAR, races VARCHAR, team VARCHAR, poles VARCHAR)
Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?
SELECT MAX(season) FROM table_name_44 WHERE podiums = "0" AND races = "16"
CREATE TABLE table_name_44 (season INTEGER, podiums VARCHAR, races VARCHAR)
Which Season has Podiums of 0, and Races of 16?
SELECT wins FROM table_name_40 WHERE podiums = "0" AND series = "masters of formula 3"
CREATE TABLE table_name_40 (wins VARCHAR, podiums VARCHAR, series VARCHAR)
Which Wins has Podiums of 0, and a Series of masters of formula 3?
SELECT method FROM table_name_49 WHERE time = "4:52"
CREATE TABLE table_name_49 (method VARCHAR, time VARCHAR)
What was the method used when the time was 4:52?
SELECT res FROM table_name_66 WHERE time = "4:15"
CREATE TABLE table_name_66 (res VARCHAR, time VARCHAR)
What was the result when the time was 4:15?
SELECT nationality FROM table_name_65 WHERE player = "jani hakanpaa"
CREATE TABLE table_name_65 (nationality VARCHAR, player VARCHAR)
What is the nationality of player Jani Hakanpaa?
SELECT league_from FROM table_name_69 WHERE nhl_team = "atlanta thrashers (from dallas) 6"
CREATE TABLE table_name_69 (league_from VARCHAR, nhl_team VARCHAR)
From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
SELECT number_of_households FROM table_name_71 WHERE county = "yadkin"
CREATE TABLE table_name_71 (number_of_households VARCHAR, county VARCHAR)
How many households have yadkin as the county?
SELECT MAX(pick) FROM table_name_11 WHERE year > 2010 AND round < 1
CREATE TABLE table_name_11 (pick INTEGER, year VARCHAR, round VARCHAR)
What is the highest pick for a year after 2010, and a round smaller than 1?
SELECT MAX(pick) FROM table_name_41 WHERE year > 2010 AND round > 1
CREATE TABLE table_name_41 (pick INTEGER, year VARCHAR, round VARCHAR)
What is the highest pick for a year after 2010 and a round larger than 1?
SELECT SUM(pick) FROM table_name_95 WHERE year = 2009 AND round < 2 AND nba_club = "denver nuggets"
CREATE TABLE table_name_95 (pick INTEGER, nba_club VARCHAR, year VARCHAR, round VARCHAR)
What is the sum for the pick of the year 2009, and a round smaller than 2 and an NBA Club Denver Nuggets?
SELECT COUNT(total) FROM table_name_23 WHERE first_round = "0" AND finals < 5
CREATE TABLE table_name_23 (total VARCHAR, first_round VARCHAR, finals VARCHAR)
Can you tell me the total number of Total that has the First round of 0, and the Finals smaller than 5?
SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5
CREATE TABLE table_name_32 (conference_finals INTEGER, finals INTEGER)
Can you tell me the average Conference Finals that has Finals smaller than 5?
SELECT finals FROM table_name_80 WHERE conference_finals < 12 AND semifinals = 0 AND total = 3
CREATE TABLE table_name_80 (finals VARCHAR, total VARCHAR, conference_finals VARCHAR, semifinals VARCHAR)
Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3?
SELECT more_than_$80, 000 FROM table_name_60 WHERE percent_of_total = "2.2%"
CREATE TABLE table_name_60 (more_than_$80 VARCHAR, percent_of_total VARCHAR)
Which have more than $80k and a total percent of 2.2%?
SELECT label FROM table_name_53 WHERE country = "canada" AND format = "cd/digital download"
CREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)
Which Label has a Country of canada, and a Format of cd/digital download?
SELECT format FROM table_name_40 WHERE date = "14 october 2008" AND label = "eagle eye media"
CREATE TABLE table_name_40 (format VARCHAR, date VARCHAR, label VARCHAR)
Which Format has a Date of 14 october 2008, and a Label of eagle eye media?
SELECT label FROM table_name_61 WHERE country = "united kingdom" AND date = "22 september 2008" AND catalogue_number_s_ = "eredv711"
CREATE TABLE table_name_61 (label VARCHAR, catalogue_number_s_ VARCHAR, country VARCHAR, date VARCHAR)
Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711?
SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711"
CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR)
Which Country has a Catalogue number(s) of eredv711?
SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states"
CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states?
SELECT format FROM table_name_23 WHERE label = "eagle records" AND catalogue_number_s_ = "edgcd391"
CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?
SELECT height FROM table_name_58 WHERE date_of_birth = "1978-02-16"
CREATE TABLE table_name_58 (height VARCHAR, date_of_birth VARCHAR)
What is the Height of the Player with a Date of Birth of 1978-02-16?
SELECT name FROM table_name_46 WHERE pos = "d" AND date_of_birth = "1983-07-19"
CREATE TABLE table_name_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)
What is the Name of the D Player born on 1983-07-19?
SELECT pos FROM table_name_64 WHERE name = "eftychia karagianni"
CREATE TABLE table_name_64 (pos VARCHAR, name VARCHAR)
What is Eftychia Karagianni Pos.?
SELECT track FROM table_name_28 WHERE artist = "lcd soundsystem"
CREATE TABLE table_name_28 (track VARCHAR, artist VARCHAR)
What is the track that from lcd soundsystem?
SELECT COUNT(uefa_cup) FROM table_name_44 WHERE total > 3
CREATE TABLE table_name_44 (uefa_cup VARCHAR, total INTEGER)
What is the total number of UEFA Cup(s), when Total is greater than 3?
SELECT MIN(polish_cup) FROM table_name_47 WHERE position = "midfielder" AND player = "miroslav radović" AND ekstraklasa < 1
CREATE TABLE table_name_47 (polish_cup INTEGER, ekstraklasa VARCHAR, position VARCHAR, player VARCHAR)
What is the lowest Polish Cup, when Position is "Midfielder", when Player is "Miroslav Radović", and when Ekstraklasa is less than 1?
SELECT SUM(polish_cup) FROM table_name_34 WHERE player = "maciej iwański" AND ekstraklasa < 1
CREATE TABLE table_name_34 (polish_cup INTEGER, player VARCHAR, ekstraklasa VARCHAR)
What is the sum of Polish Cup, when Player is "Maciej Iwański", and when Ekstraklasa is less than 1?
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"
CREATE TABLE table_name_53 (election VARCHAR)
What 2nd Party has an Election of 1885?