answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT country FROM table_name_22 WHERE score = 69 - 67 - 69 - 70 = 275
CREATE TABLE table_name_22 (country VARCHAR, score VARCHAR)
Which country scored 69-67-69-70=275?
SELECT date FROM table_name_69 WHERE game = 17
CREATE TABLE table_name_69 (date VARCHAR, game VARCHAR)
What is the Date, when Game is 17?
SELECT date FROM table_name_97 WHERE away_team = "cardiff city"
CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR)
What day was the away team Cardiff City?
SELECT home_team FROM table_name_33 WHERE away_team = "aston villa"
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
What home team had an away team of Aston Villa?
SELECT score FROM table_name_89 WHERE home_team = "york city"
CREATE TABLE table_name_89 (score VARCHAR, home_team VARCHAR)
What was the score when York City was home?
SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = "corey pavin"
CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR)
If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals?
SELECT AVG(round) FROM table_name_8 WHERE event = "ufc on fox: velasquez vs. dos santos"
CREATE TABLE table_name_8 (round INTEGER, event VARCHAR)
What is the round for the ufc on fox: velasquez vs. dos santos event?
SELECT game_site FROM table_name_31 WHERE attendance = "71,060"
CREATE TABLE table_name_31 (game_site VARCHAR, attendance VARCHAR)
Where was the game played when 71,060 people attended?
SELECT result FROM table_name_87 WHERE week < 9 AND game_site = "mile high stadium"
CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, game_site VARCHAR)
When the game was played at Mile High Stadium before week 9, what was the result?
SELECT result FROM table_name_64 WHERE week > 14 AND opponent = "houston oilers"
CREATE TABLE table_name_64 (result VARCHAR, week VARCHAR, opponent VARCHAR)
Against the Houston Oilers after week 14, what was the result of the game?
SELECT player FROM table_name_23 WHERE to_par = "+3" AND score = 75 - 72 = 147
CREATE TABLE table_name_23 (player VARCHAR, to_par VARCHAR, score VARCHAR)
What player has +3 to par and score of 75-72=147?
SELECT country FROM table_name_30 WHERE to_par = "+3" AND score = 74 - 73 = 147
CREATE TABLE table_name_30 (country VARCHAR, to_par VARCHAR, score VARCHAR)
What is the country that the player is from with +3 to par and score of 74-73=147?
SELECT player FROM table_name_29 WHERE to_par = "+2"
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)
What player has +2 to par?
SELECT team FROM table_name_87 WHERE time_retired = "contact" AND grid < 17
CREATE TABLE table_name_87 (team VARCHAR, time_retired VARCHAR, grid VARCHAR)
Name the Team which has a Time/Retired of contact, and a Grid smaller than 17?
SELECT AVG(bronze) FROM table_name_53 WHERE nation = "north korea" AND total > 5
CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)
What is the average Bronze, when Nation is "North Korea", and when Total is greater than 5?
SELECT MIN(bronze) FROM table_name_83 WHERE "total" > 10 AND silver > 0 AND rank = "total"
CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
What is the lowest Bronze, when Total is greater than 10, when Silver is greater than 0, and when Rank is "Total"?
SELECT rank FROM table_name_29 WHERE silver < 6 AND bronze > 4 AND total = 10
CREATE TABLE table_name_29 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10?
SELECT gold FROM table_name_38 WHERE rank = "7"
CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)
What is Gold, when Rank is 7?
SELECT surface FROM table_name_15 WHERE date = "july 26, 2010"
CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)
what is the surface on july 26, 2010?
SELECT tournament FROM table_name_14 WHERE date = "august 17, 2008"
CREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR)
what is the tournament on august 17, 2008?
SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)"
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)
who is the opponent when the score is 7–5, 7–6 (8–6)?
SELECT tournament FROM table_name_11 WHERE date = "july 23, 2006"
CREATE TABLE table_name_11 (tournament VARCHAR, date VARCHAR)
what is the tournament on july 23, 2006?
SELECT score FROM table_name_9 WHERE opponent = "fernando vicente"
CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)
what is the score when the opponent is fernando vicente?
SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 7–5"
CREATE TABLE table_name_22 (opponent VARCHAR, score VARCHAR)
who is the opponent when the score is 3–6, 6–1, 7–5?
SELECT to_par FROM table_name_33 WHERE player = "scott hoch"
CREATE TABLE table_name_33 (to_par VARCHAR, player VARCHAR)
What is Scott Hoch's to par?
SELECT place FROM table_name_10 WHERE player = "nolan henke"
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
What place is Nolan Henke in?
SELECT total_votes FROM table_name_29 WHERE election > 2001 AND share_of_votes = "44.5%"
CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR)
What is the vote total for elections after 2001 with 44.5% participation?
SELECT MAX(league_cup_goals) FROM table_name_62 WHERE name = "david beresford" AND fa_cup_goals < 0
CREATE TABLE table_name_62 (league_cup_goals INTEGER, name VARCHAR, fa_cup_goals VARCHAR)
What is the most league cup goals for David Beresford having less than 0 FA Cup Goals?
SELECT AVG(league_goals) FROM table_name_95 WHERE league_apps = "16 (1)" AND league_cup_goals < 0
CREATE TABLE table_name_95 (league_goals INTEGER, league_apps VARCHAR, league_cup_goals VARCHAR)
What is the league goals when the league cup goals is less than 0 and 16 (1) league apps?
SELECT league_cup_apps FROM table_name_13 WHERE position = "mf" AND league_goals > 3 AND total_apps = "30 (2)"
CREATE TABLE table_name_13 (league_cup_apps VARCHAR, total_apps VARCHAR, position VARCHAR, league_goals VARCHAR)
What is the league cup apps when the league goals are greater than 3, there are 30 (2) total apps, and has a position of mf?
SELECT fa_cup_apps FROM table_name_53 WHERE league_goals < 4 AND squad_no = 3
CREATE TABLE table_name_53 (fa_cup_apps VARCHAR, league_goals VARCHAR, squad_no VARCHAR)
What is the FA Cup App for Squad Number 3 having fewer than 4 league goals?
SELECT MIN(fa_cup) FROM table_name_17 WHERE league_cup = 1 AND total < 12 AND premier_league = 1
CREATE TABLE table_name_17 (fa_cup INTEGER, premier_league VARCHAR, league_cup VARCHAR, total VARCHAR)
What is the lowest FA cup with 1 league cup, less than 12 total and 1 premier league?
SELECT MAX(league_cup) FROM table_name_77 WHERE fa_cup > 0 AND premier_league < 34 AND total = 11
CREATE TABLE table_name_77 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR, premier_league VARCHAR)
What is the highest league cup with more than 0 FA cups, a premier league less than 34 and a total of 11?
SELECT AVG(total) FROM table_name_43 WHERE name = "kenwyne jones" AND premier_league > 10
CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR)
What is the average total of kenwyne jones, who has more than 10 premier leagues?
SELECT MAX(league_cup) FROM table_name_97 WHERE name = "danny collins" AND premier_league > 1
CREATE TABLE table_name_97 (league_cup INTEGER, name VARCHAR, premier_league VARCHAR)
What is the highest league cup of danny collins, who has more than 1 premier league?
SELECT high_assists FROM table_name_5 WHERE game < 19
CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER)
Who had the high assists in the game less than 19?
SELECT high_rebounds FROM table_name_17 WHERE location_attendance = "philips arena 12,088"
CREATE TABLE table_name_17 (high_rebounds VARCHAR, location_attendance VARCHAR)
Who had the high rebounds in Philips Arena 12,088?
SELECT high_points FROM table_name_59 WHERE score = "w 108–105 (ot)"
CREATE TABLE table_name_59 (high_points VARCHAR, score VARCHAR)
Who had the high points when the score was w 108–105 (ot)?
SELECT competition FROM table_name_97 WHERE result = "draw" AND date = "29 november 1997"
CREATE TABLE table_name_97 (competition VARCHAR, result VARCHAR, date VARCHAR)
What was the competition on 29 November 1997 that resulted in a draw?
SELECT AVG(area__in_km²_) FROM table_name_81 WHERE markatal < 0
CREATE TABLE table_name_81 (area__in_km²_ INTEGER, markatal INTEGER)
What is the average Area (in km²), when Markatal is less than 0?
SELECT MAX(markatal) FROM table_name_69 WHERE municipality = "leirvík" AND inhabitants_per_km² > 79
CREATE TABLE table_name_69 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR)
What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79?
SELECT SUM(population) FROM table_name_57 WHERE markatal > 48 AND inhabitants_per_km² > 24 AND municipality = "runavík"
CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR)
What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík?
SELECT SUM(markatal) FROM table_name_47 WHERE inhabitants_per_km² < 13 AND area__in_km²_ = 27
CREATE TABLE table_name_47 (markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR)
What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27?
SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4
CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR)
How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4?
SELECT SUM(wins) FROM table_name_26 WHERE loses > 2 AND against = "73.3"
CREATE TABLE table_name_26 (wins INTEGER, loses VARCHAR, against VARCHAR)
How many Wins have Losses larger than 2, and an Against of 73.3?
SELECT SUM(year) FROM table_name_54 WHERE date = "september 26"
CREATE TABLE table_name_54 (year INTEGER, date VARCHAR)
In what Year was the Game on September 26?
SELECT loser FROM table_name_32 WHERE result = "35-27"
CREATE TABLE table_name_32 (loser VARCHAR, result VARCHAR)
What was the Loser of the Game with a Result of 35-27?
SELECT MAX(year) FROM table_name_81 WHERE result = "16-14"
CREATE TABLE table_name_81 (year INTEGER, result VARCHAR)
In what Year was the Result of the game 16-14?
SELECT AVG(year) FROM table_name_44 WHERE result = "34-25"
CREATE TABLE table_name_44 (year INTEGER, result VARCHAR)
What Year had a Result of 34-25?
SELECT winner FROM table_name_7 WHERE date = "november 26"
CREATE TABLE table_name_7 (winner VARCHAR, date VARCHAR)
What is the Winner of the Game on November 26?
SELECT MAX(position) FROM table_name_66 WHERE pilot = "mario kiessling"
CREATE TABLE table_name_66 (position INTEGER, pilot VARCHAR)
What is the highest Position, when Pilot is "Mario Kiessling"?
SELECT AVG(position) FROM table_name_97 WHERE speed = "143.5km/h"
CREATE TABLE table_name_97 (position INTEGER, speed VARCHAR)
What is the average Position, when Speed is "143.5km/h"?
SELECT glider FROM table_name_40 WHERE speed = "147.3km/h"
CREATE TABLE table_name_40 (glider VARCHAR, speed VARCHAR)
What is Glider, when Speed is "147.3km/h"?
SELECT distance FROM table_name_64 WHERE pilot = "stanislaw wujczak"
CREATE TABLE table_name_64 (distance VARCHAR, pilot VARCHAR)
What is Distance, when Pilot is "Stanislaw Wujczak"?
SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31"
CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)
Who has a Jersey number of 31?
SELECT position FROM table_name_58 WHERE years = "1999"
CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)
What was the position in 1999?
SELECT away_team FROM table_name_40 WHERE tie_no = "7"
CREATE TABLE table_name_40 (away_team VARCHAR, tie_no VARCHAR)
What is the name of the away team with a Tie no of 7?
SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea"
CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)
What is home team Chelsea's Tie no?
SELECT away_team FROM table_name_97 WHERE tie_no = "5"
CREATE TABLE table_name_97 (away_team VARCHAR, tie_no VARCHAR)
What away team has a Tie no of 5?
SELECT score FROM table_name_76 WHERE player = "raymond floyd"
CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)
Can you tell me the Score that has the Player of raymond floyd?
SELECT player FROM table_name_68 WHERE country = "united states" AND score = 77 - 72 - 72 = 221
CREATE TABLE table_name_68 (player VARCHAR, country VARCHAR, score VARCHAR)
Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221?
SELECT score FROM table_name_45 WHERE country = "united states" AND to_par = 8
CREATE TABLE table_name_45 (score VARCHAR, country VARCHAR, to_par VARCHAR)
Can you tell me the Score that has the Country of united states, and the To par of 8?
SELECT time FROM table_name_68 WHERE opponent = "cleber luciano"
CREATE TABLE table_name_68 (time VARCHAR, opponent VARCHAR)
What was the time when his opponent was Cleber Luciano?
SELECT method FROM table_name_87 WHERE round = 1 AND event = "ufc 20"
CREATE TABLE table_name_87 (method VARCHAR, round VARCHAR, event VARCHAR)
What was the method in round 1 of the UFC 20 event?
SELECT points FROM table_name_90 WHERE tries_for = "correct as of 00:00 11 june 2008"
CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)
What is Points, when Tries For is "correct as of 00:00 11 June 2008"?
SELECT try_bonus FROM table_name_52 WHERE lost = "5" AND points = "73"
CREATE TABLE table_name_52 (try_bonus VARCHAR, lost VARCHAR, points VARCHAR)
What is Try Bonus, when Lost is "5", and when Points is "73"?
SELECT points FROM table_name_64 WHERE played = "20" AND club = "caldicot rfc"
CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR)
What is Points, when Played is "20", and when Club is "Caldicot RFC"?
SELECT points FROM table_name_67 WHERE drawn = "1" AND lost = "5"
CREATE TABLE table_name_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR)
What is Points, when Drawn is "1", and when Lost is "5"?
SELECT lost FROM table_name_11 WHERE points_for = "257"
CREATE TABLE table_name_11 (lost VARCHAR, points_for VARCHAR)
What is Lost, when Points For is "257"?
SELECT lost FROM table_name_64 WHERE losing_bonus = "3" AND club = "bettws rfc"
CREATE TABLE table_name_64 (lost VARCHAR, losing_bonus VARCHAR, club VARCHAR)
What is Lost, when Losing Bonus is "3", and when Club is "Bettws RFC"?
SELECT record FROM table_name_90 WHERE visitor = "atlanta hawks"
CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR)
What was the record when the visitor was Atlanta Hawks?
SELECT visitor FROM table_name_78 WHERE score = "136–120"
CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)
Who was the visitor when the score was 136–120?
SELECT home FROM table_name_79 WHERE visitor = "new york knicks"
CREATE TABLE table_name_79 (home VARCHAR, visitor VARCHAR)
Who was the home when the visitor was New York Knicks?
SELECT date FROM table_name_87 WHERE home = "los angeles lakers"
CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
When was the home Los Angeles Lakers?
SELECT visitor FROM table_name_94 WHERE date = "december 15, 1976"
CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR)
Who was the visitor on december 15, 1976?
SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)
At Time Warner Cable Arena 12,096, what was the high points?
SELECT record FROM table_name_27 WHERE date = "november 2"
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
On November 2 what was the record of the team?
SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"
CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)
Average frequency with ERP W of 62?
SELECT COUNT(frequency_mhz) FROM table_name_40 WHERE erp_w = "62"
CREATE TABLE table_name_40 (frequency_mhz VARCHAR, erp_w VARCHAR)
Total frequency with ERP W of 62?
SELECT frequency_mhz FROM table_name_4 WHERE call_sign = "kamy"
CREATE TABLE table_name_4 (frequency_mhz VARCHAR, call_sign VARCHAR)
Frequency for kamy?
SELECT method FROM table_name_84 WHERE record = "23-16-1"
CREATE TABLE table_name_84 (method VARCHAR, record VARCHAR)
What was the method of resolution when LaVerne Clark's record was 23-16-1?
SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang"
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)
how many subdivisions have an English Name of jiyang?
SELECT MIN(population) FROM table_name_73 WHERE english_name = "nanbin farm"
CREATE TABLE table_name_73 (population INTEGER, english_name VARCHAR)
What is the Population of the subdivision with the English Name of nanbin farm?
SELECT traditional FROM table_name_27 WHERE pinyin = "hédōng qū"
CREATE TABLE table_name_27 (traditional VARCHAR, pinyin VARCHAR)
What is the Traditional when the Pinyin is hédōng qū?
SELECT traditional FROM table_name_28 WHERE area = "35"
CREATE TABLE table_name_28 (traditional VARCHAR, area VARCHAR)
What is the Traditional for area 35?
SELECT class FROM table_name_91 WHERE verb_meaning = "to run"
CREATE TABLE table_name_91 (class VARCHAR, verb_meaning VARCHAR)
Which class has the verb meaning of to run?
SELECT part_1 FROM table_name_81 WHERE class = "7d"
CREATE TABLE table_name_81 (part_1 VARCHAR, class VARCHAR)
What is the entry for Part 1 for class 7d?
SELECT part_3 FROM table_name_31 WHERE part_4 = "giboran"
CREATE TABLE table_name_31 (part_3 VARCHAR, part_4 VARCHAR)
What is the part 3 entry that has a part 4 entry of giboran?
SELECT part_2 FROM table_name_36 WHERE class = "3a"
CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR)
What is the part 2 entry for class 3a?
SELECT part_4 FROM table_name_88 WHERE class = "7b"
CREATE TABLE table_name_88 (part_4 VARCHAR, class VARCHAR)
What is the part 4 entry for class 7b?
SELECT date FROM table_name_24 WHERE result = "draw"
CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR)
On what date was the result a draw?
SELECT score FROM table_name_6 WHERE competition = "2010 fifa world cup qualification" AND result = "win"
CREATE TABLE table_name_6 (score VARCHAR, competition VARCHAR, result VARCHAR)
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
SELECT power__kw_ FROM table_name_83 WHERE location = "cebu"
CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR)
What is the Power (kW) for the station located in Cebu?
SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz"
CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR)
What is the Power (kW) for the station with a frequency of 95.1mhz?
SELECT callsign FROM table_name_31 WHERE branding = "93dot5 home radio cagayan de oro"
CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR)
What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?
SELECT frequency FROM table_name_74 WHERE branding = "94dot3 home radio palawan"
CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR)
What is the frequency for the station with the branding of 94dot3 home radio Palawan?
SELECT branding FROM table_name_25 WHERE location = "zamboanga"
CREATE TABLE table_name_25 (branding VARCHAR, location VARCHAR)
What is the Branding for the station located in Zamboanga?
SELECT power__kw_ FROM table_name_26 WHERE frequency = "98.7mhz"
CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR)
What is the Power (kW) for the station with the frequency of 98.7mhz?
SELECT COUNT(total) FROM table_name_52 WHERE nation = "denmark"
CREATE TABLE table_name_52 (total VARCHAR, nation VARCHAR)
What is the medal total of Denmark?
SELECT record FROM table_name_32 WHERE game > 24 AND date = "december 19"
CREATE TABLE table_name_32 (record VARCHAR, game VARCHAR, date VARCHAR)
What is the record of the game with a game number greater than 24 on December 19?