answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT venue FROM table_name_36 WHERE date = "2002-03-07"
CREATE TABLE table_name_36 (venue VARCHAR, date VARCHAR)
Where was the game held that was played on 2002-03-07?
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 14
CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)
What is the total gold from New zealand and a rank less than 14?
SELECT AVG(silver) FROM table_name_75 WHERE gold < 0
CREATE TABLE table_name_75 (silver INTEGER, gold INTEGER)
What is the average of the silver that has less than 0 gold
SELECT nation FROM table_name_53 WHERE gold = 0 AND silver = 0 AND total = 2
CREATE TABLE table_name_53 (nation VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)
Which nation has 0 gold, 0 silver and 2 total?
SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1
CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
What is the total gold in Norway with more than 1 bronze?
SELECT SUM(bronze) FROM table_name_27 WHERE nation = "puerto rico" AND total < 1
CREATE TABLE table_name_27 (bronze INTEGER, nation VARCHAR, total VARCHAR)
What is the total bronze from Puerto Rico with a total of less than 1?
SELECT season FROM table_name_53 WHERE club = "celtic"
CREATE TABLE table_name_53 (season VARCHAR, club VARCHAR)
Which season has the Celtic club?
SELECT party FROM table_name_3 WHERE minister = "parker moloney" AND title = "minister for markets"
CREATE TABLE table_name_3 (party VARCHAR, minister VARCHAR, title VARCHAR)
What was Parker Moloney's party affiliation when he was the Minister for Markets?
SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND order = "25"
CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)
What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25??
SELECT score FROM table_name_32 WHERE venue = "seoul" AND result = "8-0"
CREATE TABLE table_name_32 (score VARCHAR, venue VARCHAR, result VARCHAR)
What was the score in the venue of Seoul that resulted in 8-0?
SELECT date FROM table_name_40 WHERE result = "8-0"
CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
What date had a result of 8-0?
SELECT competition FROM table_name_89 WHERE venue = "kuala lumpur" AND result = "4-0" AND date = "july 26, 1977"
CREATE TABLE table_name_89 (competition VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)
On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0?
SELECT venue FROM table_name_44 WHERE competition = "1986 asian games" AND result = "2-0"
CREATE TABLE table_name_44 (venue VARCHAR, competition VARCHAR, result VARCHAR)
What venue were the 1986 Asian games resulting in 2-0 played at?
SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn"
CREATE TABLE table_name_45 (league_goals INTEGER, player VARCHAR)
How many total League goals does Player John O'Flynn have?
SELECT MIN(year) FROM table_name_73 WHERE chassis = "lotus 49b"
CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR)
What is the earliest year that had a Lotus 49B chassis?
SELECT MIN(lane) FROM table_name_18 WHERE name = "lenny krayzelburg"
CREATE TABLE table_name_18 (lane INTEGER, name VARCHAR)
Name the least lane for lenny krayzelburg
SELECT name FROM table_name_67 WHERE round = 9
CREATE TABLE table_name_67 (name VARCHAR, round VARCHAR)
Round of 9 involved what name?
SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6
CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR)
Name of calvin o'neal, and a Round smaller than 6 had what number total overall?
SELECT work FROM table_name_47 WHERE year < 2007 AND award = "blockbuster entertainment awards"
CREATE TABLE table_name_47 (work VARCHAR, year VARCHAR, award VARCHAR)
Name the work for years before 2007 that won blockbuster entertainment awards
SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND award = "mtv movie awards"
CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)
Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards
SELECT college FROM table_name_57 WHERE position = "running back"
CREATE TABLE table_name_57 (college VARCHAR, position VARCHAR)
Position of running back involves which college?
SELECT college FROM table_name_6 WHERE round > 2 AND position = "guard"
CREATE TABLE table_name_6 (college VARCHAR, round VARCHAR, position VARCHAR)
Round larger than 2, and a Position of guard involves what college?
SELECT college FROM table_name_72 WHERE pick__number < 46 AND round = 5 AND position = "defensive tackle"
CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, pick__number VARCHAR, round VARCHAR)
Pick # smaller than 46, and a Round of 5, and a Position of defensive tackle involves which college?
SELECT percentage___percentage_ FROM table_name_73 WHERE language = "russian"
CREATE TABLE table_name_73 (percentage___percentage_ VARCHAR, language VARCHAR)
What is the percentage who speak Russian?
SELECT number FROM table_name_50 WHERE language = "german"
CREATE TABLE table_name_50 (number VARCHAR, language VARCHAR)
How many speak german?
SELECT percentage___percentage_ FROM table_name_35 WHERE males = "99"
CREATE TABLE table_name_35 (percentage___percentage_ VARCHAR, males VARCHAR)
What is the percentage where males equal 99?
SELECT females FROM table_name_67 WHERE language = "german"
CREATE TABLE table_name_67 (females VARCHAR, language VARCHAR)
How many women speak German?
SELECT MIN(league_cup) FROM table_name_65 WHERE fa_cup < 0
CREATE TABLE table_name_65 (league_cup INTEGER, fa_cup INTEGER)
What is the lowest number of league cups associated with 0 FA cups?
SELECT SUM(fa_cup) FROM table_name_13 WHERE championship < 5 AND league_cup = 0 AND total > 3
CREATE TABLE table_name_13 (fa_cup INTEGER, total VARCHAR, championship VARCHAR, league_cup VARCHAR)
How many FA cups for the player with under 5 champs, 0 league cups, and over 3 total?
SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3
CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)
How many league cups associated with under 10 championships and a total of under 3?
SELECT group_position FROM table_name_80 WHERE result_f_a = "2–0"
CREATE TABLE table_name_80 (group_position VARCHAR, result_f_a VARCHAR)
Result F–A of 2–0 had what group position?
SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0"
CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR)
Result F–A of 5–0 had what group position?
SELECT AVG(attendance) FROM table_name_69 WHERE group_position = "1st" AND result_f_a = "2–0"
CREATE TABLE table_name_69 (attendance INTEGER, group_position VARCHAR, result_f_a VARCHAR)
Group position of 1st, and a Result F–A of 2–0 has what average attendance?
SELECT date FROM table_name_72 WHERE result_f_a = "5–0"
CREATE TABLE table_name_72 (date VARCHAR, result_f_a VARCHAR)
Result F–A of 5–0 had what date?
SELECT attendance FROM table_name_18 WHERE date = "1 october 2003"
CREATE TABLE table_name_18 (attendance VARCHAR, date VARCHAR)
Date of 1 october 2003 had what attendance?
SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"
CREATE TABLE table_name_84 (score VARCHAR, partner VARCHAR)
what score is it with tathiana garbin as partner?
SELECT date FROM table_name_48 WHERE partner = "giulia casoni"
CREATE TABLE table_name_48 (date VARCHAR, partner VARCHAR)
what date was giulia casoni the partner?
SELECT city FROM table_name_29 WHERE country = "spain" AND iata = "ibz"
CREATE TABLE table_name_29 (city VARCHAR, country VARCHAR, iata VARCHAR)
for country of spain and iata of ibz, what's the city?
SELECT icao FROM table_name_76 WHERE airport = "fiumicino airport"
CREATE TABLE table_name_76 (icao VARCHAR, airport VARCHAR)
for fiumicino airport what is the icao?
SELECT airport FROM table_name_95 WHERE city = "milan" AND iata = "lin"
CREATE TABLE table_name_95 (airport VARCHAR, city VARCHAR, iata VARCHAR)
for milan and the iata of lin what is the airport?
SELECT iata FROM table_name_39 WHERE icao = "eheh"
CREATE TABLE table_name_39 (iata VARCHAR, icao VARCHAR)
what's the iata for the icao of eheh?
SELECT airport FROM table_name_58 WHERE country = "united kingdom" AND iata = "lcy"
CREATE TABLE table_name_58 (airport VARCHAR, country VARCHAR, iata VARCHAR)
which aiport is in the united kingdom and has iata of lcy?
SELECT F.goals FROM table_name_31 WHERE games = "22 22" AND points = "012 12"
CREATE TABLE table_name_31 (games VARCHAR, points VARCHAR)
Name the F. Goals for games of 22 22 and points of 012 12
SELECT points FROM table_name_43 WHERE games = "16 16"
CREATE TABLE table_name_43 (points VARCHAR, games VARCHAR)
Name the points for games of 16 16
SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27"
CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
Name the tries that has a points of 008 8 and games of 27 27
SELECT F.goals FROM table_name_18 WHERE tries = "0 0" AND games = "05 5"
CREATE TABLE table_name_18 (tries VARCHAR, games VARCHAR)
Name the F. Goals with tries of 0 0 and games of 05 5
SELECT player FROM table_name_83 WHERE tries = "02 2" AND points = "008 8"
CREATE TABLE table_name_83 (player VARCHAR, tries VARCHAR, points VARCHAR)
Name the player with tries of 02 2 and points of 008 8
SELECT area FROM table_name_73 WHERE name = "william colenso college"
CREATE TABLE table_name_73 (area VARCHAR, name VARCHAR)
Which area has a Name of william colenso college?
SELECT authority FROM table_name_41 WHERE name = "tamatea high school"
CREATE TABLE table_name_41 (authority VARCHAR, name VARCHAR)
Which authority has a Name of tamatea high school?
SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13"
CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR)
Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?
SELECT decile FROM table_name_69 WHERE years = "–" AND gender = "coed"
CREATE TABLE table_name_69 (decile VARCHAR, years VARCHAR, gender VARCHAR)
Which Decile has Years of –, and a Gender of coed?
SELECT COUNT(division) FROM table_name_83 WHERE apps > 5 AND country = "greece"
CREATE TABLE table_name_83 (division VARCHAR, apps VARCHAR, country VARCHAR)
Name the total number of division for apps more than 5 for greece
SELECT AVG(apps) FROM table_name_73 WHERE team = "smederevo"
CREATE TABLE table_name_73 (apps INTEGER, team VARCHAR)
Name the average apps for smederevo
SELECT engine FROM table_name_64 WHERE chassis = "lotus 16"
CREATE TABLE table_name_64 (engine VARCHAR, chassis VARCHAR)
What model engine has a lotus 16 chassis?
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
CREATE TABLE table_name_80 (points INTEGER, entrant VARCHAR, year VARCHAR)
How many points after 1960 for fred tuck cars?
SELECT dist__miles_ FROM table_name_94 WHERE race_name = "unnamed race" AND runners = "3" AND course = "newcastle"
CREATE TABLE table_name_94 (dist__miles_ VARCHAR, course VARCHAR, race_name VARCHAR, runners VARCHAR)
What is the distance for the unnamed race with 3 runners at Newcastle?
SELECT score FROM table_name_51 WHERE record = "18-25"
CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR)
Name the score when the record was 18-25
SELECT loss FROM table_name_10 WHERE opponent = "angels"
CREATE TABLE table_name_10 (loss VARCHAR, opponent VARCHAR)
Name the loss for the angels opponent
SELECT COUNT(attendance) FROM table_name_32 WHERE record = "16-22"
CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)
Name the total number of people that went when the record was 16-22
SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10"
CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Name the score for the mariners opponent on may 10
SELECT outcome FROM table_name_25 WHERE partner = "jürgen melzer" AND date = "january 7, 2012"
CREATE TABLE table_name_25 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
What was the Outcome for the Partner of Jürgen Melzer and the Date of January 7, 2012?
SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011"
CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR)
What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011?
SELECT outcome FROM table_name_76 WHERE date = "july 16, 2011"
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
What's the Outcome for the Date of July 16, 2011?
SELECT outcome FROM table_name_94 WHERE partner = "jürgen melzer" AND date = "february 7, 2010"
CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
What's the Outcome for the Partner of Jürgen Melzer on the Date of February 7, 2010?
SELECT nation FROM table_name_77 WHERE rank > 9
CREATE TABLE table_name_77 (nation VARCHAR, rank INTEGER)
Name the nation with rank more than 9
SELECT MIN(bronze) FROM table_name_45 WHERE silver < 0
CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER)
Name the least bronze for silver being less than 0
SELECT SUM(rank) FROM table_name_90 WHERE bronze < 1 AND gold = 1 AND total < 1
CREATE TABLE table_name_90 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
SELECT SUM(rank) FROM table_name_55 WHERE silver < 0
CREATE TABLE table_name_55 (rank INTEGER, silver INTEGER)
Name the sum of rank for silver less than 0
SELECT MIN(rank) FROM table_name_5 WHERE silver < 1 AND total > 1 AND bronze < 1
CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1
SELECT date FROM table_name_90 WHERE series = "1-4"
CREATE TABLE table_name_90 (date VARCHAR, series VARCHAR)
What was the date of the game in which the series was 1-4?
SELECT score FROM table_name_6 WHERE home = "montreal canadiens" AND date = "april 11"
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
What is the Score that has a Home of montreal canadiens on april 11?
SELECT record FROM table_name_32 WHERE date = "april 13"
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
What is the Record on april 13?
SELECT date FROM table_name_57 WHERE home = "chicago black hawks" AND record = "0–1"
CREATE TABLE table_name_57 (date VARCHAR, home VARCHAR, record VARCHAR)
When is Home of chicago black hawks has a Record of 0–1?
SELECT date FROM table_name_5 WHERE visitor = "chicago black hawks" AND record = "2–2"
CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR)
What is the Date that chicago black hawks has a Record of 2–2?
SELECT record FROM table_name_38 WHERE score = "0–2"
CREATE TABLE table_name_38 (record VARCHAR, score VARCHAR)
Which Record has a Score of 0–2?
SELECT visitor FROM table_name_8 WHERE date = "april 5"
CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)
Who is the visitor on April 5?
SELECT team FROM table_name_14 WHERE year = "2011"
CREATE TABLE table_name_14 (team VARCHAR, year VARCHAR)
What is the Team, when the Year is 2011?
SELECT int_yds FROM table_name_68 WHERE team = "new orleans saints" AND sacks > 0 AND solo = 71
CREATE TABLE table_name_68 (int_yds VARCHAR, solo VARCHAR, team VARCHAR, sacks VARCHAR)
What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?
SELECT MIN(sacks) FROM table_name_22 WHERE team = "new orleans saints" AND tackles = "132"
CREATE TABLE table_name_22 (sacks INTEGER, team VARCHAR, tackles VARCHAR)
What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?
SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1
CREATE TABLE table_name_75 (tackles VARCHAR, int_yds VARCHAR, solo VARCHAR, sacks VARCHAR)
What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?
SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"
CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR)
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
SELECT outcome FROM table_name_39 WHERE score = "6–4, 6–1"
CREATE TABLE table_name_39 (outcome VARCHAR, score VARCHAR)
What is the outcome of the match with a score of 6–4, 6–1?
SELECT date FROM table_name_55 WHERE surface = "clay" AND opponent = "andrea hlaváčková"
CREATE TABLE table_name_55 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
What date was the match on a clay surface against Andrea Hlaváčková?
SELECT opponent FROM table_name_54 WHERE tournament = "herceg novi"
CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR)
What is the name of the opponent at the Herceg Novi tournament?
SELECT loss FROM table_name_81 WHERE record = "50-32"
CREATE TABLE table_name_81 (loss VARCHAR, record VARCHAR)
What was the loss of the game when the record was 50-32?
SELECT opponent FROM table_name_6 WHERE result = "l 14–6"
CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR)
Who was the opponent with a result of l 14–6?
SELECT SUM(attendance) FROM table_name_40 WHERE date = "november 17, 1961"
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
What is the sum of all attendance on November 17, 1961?
SELECT MIN(attendance) FROM table_name_18 WHERE week = 5
CREATE TABLE table_name_18 (attendance INTEGER, week VARCHAR)
What is the smallest attendance in week 5?
SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61
CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR)
Name the 3rd for season less than 4 and lost of 61
SELECT SUM(played) FROM table_name_27 WHERE first_game < 2000 AND lost < 21 AND drawn < 0
CREATE TABLE table_name_27 (played INTEGER, drawn VARCHAR, first_game VARCHAR, lost VARCHAR)
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
SELECT MIN(played) FROM table_name_14 WHERE drawn > 0 AND percentage = "12.50%" AND lost < 3
CREATE TABLE table_name_14 (played INTEGER, lost VARCHAR, drawn VARCHAR, percentage VARCHAR)
What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?
SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប"
CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR)
What's the total value of សាមសិប?
SELECT word_form FROM table_name_30 WHERE other = "sam sep"
CREATE TABLE table_name_30 (word_form VARCHAR, other VARCHAR)
What can you say is the word from of sam sep?
SELECT MIN(khmer) FROM table_name_9 WHERE ala_lc = "kau sip" AND value < 90
CREATE TABLE table_name_9 (khmer INTEGER, ala_lc VARCHAR, value VARCHAR)
What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb"
CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR)
How much is the total value of kau sĕb UNGEGN ?
SELECT MIN(losses) FROM table_name_79 WHERE club = "cádiz cf"
CREATE TABLE table_name_79 (losses INTEGER, club VARCHAR)
What is the lowest number of losses for the club cádiz cf?
SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 1"
CREATE TABLE table_name_41 (artist VARCHAR, single___pack VARCHAR)
What is the name of the artist with a Single / Pack of guitar hero track pack 1?
SELECT record FROM table_name_34 WHERE loss = "lemanczyk (0–1)"
CREATE TABLE table_name_34 (record VARCHAR, loss VARCHAR)
What was the record at the game that had a loss of Lemanczyk (0–1)?
SELECT time FROM table_name_29 WHERE game > 1 AND location = "comiskey park (i)" AND date = "october 9"
CREATE TABLE table_name_29 (time VARCHAR, date VARCHAR, game VARCHAR, location VARCHAR)
Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?
SELECT time FROM table_name_1 WHERE date = "october 8"
CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)
Date of october 8 happened at what time?