answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT region FROM table_name_5 WHERE name = "tv uskana"
CREATE TABLE table_name_5 (region VARCHAR, name VARCHAR)
What is the region for tv uskana?
SELECT region FROM table_name_69 WHERE name = "tv vtv"
CREATE TABLE table_name_69 (region VARCHAR, name VARCHAR)
What is the region for tv vtv?
SELECT MAX(week) FROM table_name_67 WHERE opponent = "buffalo bills"
CREATE TABLE table_name_67 (week INTEGER, opponent VARCHAR)
What is the highest Week with the Opponent Buffalo Bills?
SELECT competition FROM table_name_60 WHERE result = "france 46-16 scotland"
CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR)
Which Competition has a Result of france 46-16 scotland?
SELECT percentage FROM table_name_86 WHERE district > 2 AND party = "independent"
CREATE TABLE table_name_86 (percentage VARCHAR, district VARCHAR, party VARCHAR)
Which Percentage has a District larger than 2, and a Party of independent?
SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11
CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR)
How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11?
SELECT nation FROM table_name_45 WHERE bronze > 1 AND silver < 3
CREATE TABLE table_name_45 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
What nation has more than 1 bronze and less than 3 silver?
SELECT MAX(silver) FROM table_name_43 WHERE bronze = 9 AND total < 27
CREATE TABLE table_name_43 (silver INTEGER, bronze VARCHAR, total VARCHAR)
What's the highest number of silver for 9 bronze and less than 27 total?
SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "23"
CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR)
What is the Market Share that has Assets of 25 Million and a rank of 23?
SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = "equity bank" AND number_of_branches < 44
CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)
What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches?
SELECT score FROM table_name_66 WHERE attendance = "349"
CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)
What is Score, when Attendance is "349"?
SELECT score FROM table_name_18 WHERE away_team = "newcastle benfield"
CREATE TABLE table_name_18 (score VARCHAR, away_team VARCHAR)
What is Score, when Away Team is "Newcastle Benfield"?
SELECT score FROM table_name_82 WHERE tie_no = "30"
CREATE TABLE table_name_82 (score VARCHAR, tie_no VARCHAR)
What is Score, when Tie No is "30"?
SELECT score FROM table_name_67 WHERE tie_no = "109"
CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)
What is Score, when Tie No is "109"?
SELECT away_team FROM table_name_23 WHERE tie_no = "37"
CREATE TABLE table_name_23 (away_team VARCHAR, tie_no VARCHAR)
What is Away Team, when Tie No is "37"?
SELECT australian FROM table_name_79 WHERE american = "ɑ"
CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR)
What is the Australian for the American ɑ?
SELECT australian FROM table_name_79 WHERE letter = "i /ɪ/"
CREATE TABLE table_name_79 (australian VARCHAR, letter VARCHAR)
What is the Australian equivalent to i /ɪ/?
SELECT british FROM table_name_93 WHERE australian = "ɔ"
CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR)
What is the British for the Australian ɔ?
SELECT american FROM table_name_62 WHERE british = "ə"
CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR)
What is the American version of the British ə?
SELECT examples FROM table_name_51 WHERE australian = "æ"
CREATE TABLE table_name_51 (examples VARCHAR, australian VARCHAR)
What are the examples for the Australian æ?
SELECT letter FROM table_name_74 WHERE british = "ɒ"
CREATE TABLE table_name_74 (letter VARCHAR, british VARCHAR)
What is the letter for the Brisish ɒ?
SELECT 2 AS nd_member FROM table_name_34 WHERE elected = "1555"
CREATE TABLE table_name_34 (elected VARCHAR)
Who is the second member that was elected in 1555?
SELECT dissolved FROM table_name_95 WHERE elected = "1553"
CREATE TABLE table_name_95 (dissolved VARCHAR, elected VARCHAR)
Who was dissolved that was elected in 1553?
SELECT COUNT(pick) FROM table_name_27 WHERE nationality = "canada" AND player = "dennis maxwell"
CREATE TABLE table_name_27 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
Which Pick has a Nationality of canada, and a Player of dennis maxwell?
SELECT player FROM table_name_89 WHERE draft = 1994 AND pick > 8 AND round = "10" AND nationality = "canada"
CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR)
Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality of canada?
SELECT player FROM table_name_16 WHERE round = "7" AND pick > 187 AND nationality = "united states" AND draft > 2000
CREATE TABLE table_name_16 (player VARCHAR, draft VARCHAR, nationality VARCHAR, round VARCHAR, pick VARCHAR)
Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and a Draft larger than 2000?
SELECT player FROM table_name_82 WHERE round = "9" AND pick = 263
CREATE TABLE table_name_82 (player VARCHAR, round VARCHAR, pick VARCHAR)
Which Player has a Round of 9, and a Pick of 263?
SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier"
CREATE TABLE table_name_56 (draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR, nationality VARCHAR)
Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier?
SELECT penalties FROM table_name_88 WHERE pim = "34.5"
CREATE TABLE table_name_88 (penalties VARCHAR, pim VARCHAR)
What penalties has P.I.M. of 34.5?
SELECT wins FROM table_name_82 WHERE wpct = "0.2"
CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR)
What wins has WPct of 0.2?
SELECT wpct FROM table_name_7 WHERE "wins" = "wins"
CREATE TABLE table_name_7 (wpct VARCHAR)
What WPct has wins of wins?
SELECT assists FROM table_name_11 WHERE points = "10"
CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR)
What assists has points of 10?
SELECT losses FROM table_name_13 WHERE team = "japan"
CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)
What losses consist of the team of japan?
SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1
CREATE TABLE table_name_26 (wins INTEGER, teams VARCHAR, losses VARCHAR)
How many wins have more than 1 loss and a team of chiefs?
SELECT MIN(loss) FROM table_name_75 WHERE name = "antwon bailey" AND gain > 227
CREATE TABLE table_name_75 (loss INTEGER, name VARCHAR, gain VARCHAR)
What was the total yards lost by antwon bailey when he gained 227?
SELECT COUNT(wins) FROM table_name_56 WHERE points > 51 AND goals_against > 23 AND losses = 5
CREATE TABLE table_name_56 (wins VARCHAR, losses VARCHAR, points VARCHAR, goals_against VARCHAR)
How many wins when points are more than 51, goals against are more than 23 and losses are 5?
SELECT SUM(wins) FROM table_name_36 WHERE points > 19 AND position < 12 AND played < 30
CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
How many wins when there are more than 19 points, place smaller than 12, and fewer than 30 played?
SELECT AVG(played) FROM table_name_43 WHERE position > 16
CREATE TABLE table_name_43 (played INTEGER, position INTEGER)
What is the number played by the team in place greater than 16?
SELECT 2 AS nd_round FROM table_name_63 WHERE team_2 = "girondins de bordeaux (d1)"
CREATE TABLE table_name_63 (team_2 VARCHAR)
What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2?
SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)"
CREATE TABLE table_name_6 (team_2 VARCHAR)
What was the 1st round result that had US Valenciennes (d1) as Team 2?
SELECT score FROM table_name_87 WHERE team_2 = "usl dunkerque (d2)"
CREATE TABLE table_name_87 (score VARCHAR, team_2 VARCHAR)
What was the Score of the match with USL Dunkerque (d2) as Team 2?
SELECT club FROM table_name_88 WHERE head_coach = "manuel fernandes"
CREATE TABLE table_name_88 (club VARCHAR, head_coach VARCHAR)
What club does Manuel Fernandes coach?
SELECT head_coach FROM table_name_17 WHERE city = "estoril"
CREATE TABLE table_name_17 (head_coach VARCHAR, city VARCHAR)
Who is the head coach for the club from Estoril?
SELECT head_coach FROM table_name_71 WHERE city = "aveiro"
CREATE TABLE table_name_71 (head_coach VARCHAR, city VARCHAR)
Who is the head coach for the club from Aveiro?
SELECT team_1 FROM table_name_36 WHERE team_2 = "iskra odintsovo"
CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR)
What is Team 1, when Team 2 is "Iskra Odintsovo"?
SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca"
CREATE TABLE table_name_45 (team_1 VARCHAR)
What is 1st Leg, when Team 1 is "Portol Palma Mallorca"?
SELECT agg FROM table_name_35 WHERE team_1 = "noliko maaseik"
CREATE TABLE table_name_35 (agg VARCHAR, team_1 VARCHAR)
What is Agg., when Team 1 is "Noliko Maaseik"?
SELECT position FROM table_name_60 WHERE players = "jake johnson"
CREATE TABLE table_name_60 (position VARCHAR, players VARCHAR)
What is Jake Johnson's position?
SELECT bats_throws FROM table_name_87 WHERE players = "clayton allison"
CREATE TABLE table_name_87 (bats_throws VARCHAR, players VARCHAR)
What side does Clayton Allison Bat/Throw from?
SELECT bats_throws FROM table_name_9 WHERE players = "ryan overland"
CREATE TABLE table_name_9 (bats_throws VARCHAR, players VARCHAR)
What side does Ryan Overland Bat/Throws from?
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_2 = "pelister"
CREATE TABLE table_name_90 (team_2 VARCHAR)
What is the 2nd leg of pelister team 2?
SELECT team_1 FROM table_name_20 WHERE team_2 = "cementarnica"
CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR)
What is the team 1 with cementarnica as team 2?
SELECT team_2 FROM table_name_6 WHERE team_1 = "turnovo"
CREATE TABLE table_name_6 (team_2 VARCHAR, team_1 VARCHAR)
What is the team 2 with turnovo as team 1?
SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš"
CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR)
What is the team 1 with tikveš as team 2?
SELECT place FROM table_name_77 WHERE score = 69 - 69 = 138 AND country = "united states"
CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, score VARCHAR)
What is Place, when Score is "69-69=138", and when Country is "United States"?
SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter"
CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR)
What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"?
SELECT score FROM table_name_47 WHERE country = "scotland"
CREATE TABLE table_name_47 (score VARCHAR, country VARCHAR)
What is Score, when Country is "Scotland"?
SELECT score FROM table_name_43 WHERE country = "united states" AND player = "bob tway"
CREATE TABLE table_name_43 (score VARCHAR, country VARCHAR, player VARCHAR)
What is Score, when Country is "United States", and when Player is "Bob Tway"?
SELECT score FROM table_name_15 WHERE player = "ernie els"
CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)
What is Score, when Player is "Ernie Els"?
SELECT MIN(pick) FROM table_name_33 WHERE overall = 244
CREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR)
What is the smallest Pick with Overall of 244?
SELECT MIN(pick) FROM table_name_88 WHERE overall > 17 AND player_name = "dave adams category:articles with hcards" AND year > 1963
CREATE TABLE table_name_88 (pick INTEGER, year VARCHAR, overall VARCHAR, player_name VARCHAR)
What is the smallest Pick with Overall larger than 17, a Player name of dave adams category:articles with hcards, and a Year larger than 1963?
SELECT MAX(year) FROM table_name_35 WHERE player_name = "dave adams category:articles with hcards" AND round < 23
CREATE TABLE table_name_35 (year INTEGER, player_name VARCHAR, round VARCHAR)
What is the greatest Year with a Player name of dave adams category:articles with hcards, and a Round smaller than 23?
SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia"
CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR)
Name the Round that has Res of win and an Opponent of demian maia?
SELECT event FROM table_name_2 WHERE opponent = "kendall grove"
CREATE TABLE table_name_2 (event VARCHAR, opponent VARCHAR)
which Event that has an Opponent of kendall grove?
SELECT time FROM table_name_61 WHERE event = "ufc 123"
CREATE TABLE table_name_61 (time VARCHAR, event VARCHAR)
When has an Event of ufc 123?
SELECT region FROM table_name_77 WHERE country = "laos"
CREATE TABLE table_name_77 (region VARCHAR, country VARCHAR)
The country of Laos is in what region?
SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—"
CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)
What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?
SELECT onitoolsfiltering FROM table_name_62 WHERE fhfreepressreport = "54" AND onisocialfiltering = "ne"
CREATE TABLE table_name_62 (onitoolsfiltering VARCHAR, fhfreepressreport VARCHAR, onisocialfiltering VARCHAR)
With a FHFreepressreport of 54, and ne as ONIsocialfiltering, what is the ONItoolsfiltering?
SELECT results FROM table_name_90 WHERE district = "arizona 1"
CREATE TABLE table_name_90 (results VARCHAR, district VARCHAR)
What were the Results in Arizona 1 District?
SELECT district FROM table_name_90 WHERE party = "republican" AND results = "re-elected" AND first_elected = 2000
CREATE TABLE table_name_90 (district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
What Republican District had Incumbent First Elected in 2000 then Re-elected?
SELECT AVG(first_elected) FROM table_name_18 WHERE incumbent = "john shadegg"
CREATE TABLE table_name_18 (first_elected INTEGER, incumbent VARCHAR)
What is John Shadegg's First Elected date?
SELECT date FROM table_name_92 WHERE opponent = "lamine ouahab"
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
On which date was the opponent lamine ouahab?
SELECT date FROM table_name_62 WHERE round = "1r" AND result = "2–6, 5–7, 2–6"
CREATE TABLE table_name_62 (date VARCHAR, round VARCHAR, result VARCHAR)
On what date did the match take place in a round of 1r and have a result 2–6, 5–7, 2–6?
SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia"
CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)
What is the result of the match in round 1r against tunisia and on a hard surface?
SELECT against FROM table_name_19 WHERE round = "2r" AND surface = "clay"
CREATE TABLE table_name_19 (against VARCHAR, round VARCHAR, surface VARCHAR)
Who was the match against when on a clay surface during round 2r?
SELECT round FROM table_name_34 WHERE edition = "2010 davis cup europe/africa group ii" AND against = "cyprus"
CREATE TABLE table_name_34 (round VARCHAR, edition VARCHAR, against VARCHAR)
What round had a amtch against cyprus and an edition of 2010 davis cup europe/africa group ii?
SELECT MAX(year) FROM table_name_37 WHERE time = 10.56
CREATE TABLE table_name_37 (year INTEGER, time VARCHAR)
What is the most recent year with a time of 10.56?
SELECT date FROM table_name_56 WHERE opponents = "astley bridge 'a'"
CREATE TABLE table_name_56 (date VARCHAR, opponents VARCHAR)
When was the game played against Astley Bridge 'a'?
SELECT week_5 FROM table_name_93 WHERE week_4 = "nicole woodruff"
CREATE TABLE table_name_93 (week_5 VARCHAR, week_4 VARCHAR)
Who was the girl of the week after nicole woodruff in the same month?
SELECT week_5 FROM table_name_65 WHERE week_2 = "brianne bailey"
CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR)
Who was the girl of the week 3 weeks after brianne bailey in the same month?
SELECT week_2 FROM table_name_47 WHERE week_4 = "terri lynn farrow"
CREATE TABLE table_name_47 (week_2 VARCHAR, week_4 VARCHAR)
Who was the girl of the week 2 weeks before terri lynn farrow in the same month?
SELECT tries FROM table_name_13 WHERE points = 20
CREATE TABLE table_name_13 (tries VARCHAR, points VARCHAR)
How many tries did the player have which ended with 20 Points?
SELECT AVG(points) FROM table_name_14 WHERE date = "february 2" AND attendance < 16 OFFSET 874
CREATE TABLE table_name_14 (points INTEGER, date VARCHAR, attendance VARCHAR)
What is the average Points, when Date is "February 2", and when Attendance is less than 16,874?
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57
CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?
SELECT years FROM table_name_93 WHERE total = "1" AND sport = "softball"
CREATE TABLE table_name_93 (years VARCHAR, total VARCHAR, sport VARCHAR)
For a total of 1 and the sport of softball what were the years?
SELECT total FROM table_name_39 WHERE years = "1925"
CREATE TABLE table_name_39 (total VARCHAR, years VARCHAR)
What was the total for the year of 1925?
SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd"
CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR)
Which label is in a limited edition cd/dvd format?
SELECT date FROM table_name_88 WHERE country = "united kingdom" AND format = "lp"
CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR, format VARCHAR)
What is the date for the United Kingdom with an LP format?
SELECT format FROM table_name_37 WHERE country = "japan"
CREATE TABLE table_name_37 (format VARCHAR, country VARCHAR)
Which format is in Japan?
SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)"
CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR)
What is the format of catalog number 886973273913 (gowow012) in the United Kingdom?
SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 7
CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)
Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7?
SELECT season FROM table_name_7 WHERE club = "real madrid" AND rank < 6 AND goals < 121
CREATE TABLE table_name_7 (season VARCHAR, goals VARCHAR, club VARCHAR, rank VARCHAR)
Which Season has a Club of real madrid, and a Rank smaller than 6, and less than 121 goals?
SELECT SUM(apps) FROM table_name_48 WHERE rank > 2 AND goals < 102
CREATE TABLE table_name_48 (apps INTEGER, rank VARCHAR, goals VARCHAR)
How many Apps have a Rank larger than 2, and Goals smaller than 102?
SELECT season FROM table_name_61 WHERE rank < 4 AND club = "barcelona" AND goals < 115
CREATE TABLE table_name_61 (season VARCHAR, goals VARCHAR, rank VARCHAR, club VARCHAR)
Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals?
SELECT player FROM table_name_97 WHERE total = 147 AND country = "spain"
CREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR)
What player has a 147 total from Spain?
SELECT year_s__won FROM table_name_58 WHERE total = 146
CREATE TABLE table_name_58 (year_s__won VARCHAR, total VARCHAR)
What year was the 146 total?
SELECT country FROM table_name_39 WHERE player = "paul lawrie"
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
What country is Paul Lawrie from?
SELECT fuel FROM table_name_50 WHERE output = "ps (kw; hp) @6000 rpm"
CREATE TABLE table_name_50 (fuel VARCHAR, output VARCHAR)
Which Fuel has an Output of ps (kw; hp) @6000 rpm?
SELECT torque FROM table_name_21 WHERE volume = "1896 cc" AND co_2 = "140 g/km"
CREATE TABLE table_name_21 (torque VARCHAR, volume VARCHAR, co_2 VARCHAR)
Which Torque has a Volume of 1896 cc, and a CO 2 of 140 g/km?
SELECT venue FROM table_name_62 WHERE year < 1986 AND position = "6th"
CREATE TABLE table_name_62 (venue VARCHAR, year VARCHAR, position VARCHAR)
What Venue has a Year smaller than 1986, and a Position of 6th?