answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT name FROM table_name_99 WHERE authors = "gao chiappe meng o'connor wang cheng liu"
CREATE TABLE table_name_99 (name VARCHAR, authors VARCHAR)
What is the name of gao chiappe meng o'connor wang cheng liu?
SELECT location FROM table_name_84 WHERE name = "zhongornis"
CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR)
Where has a Name of zhongornis?
SELECT notes FROM table_name_40 WHERE authors = "zhou clarke zhang"
CREATE TABLE table_name_40 (notes VARCHAR, authors VARCHAR)
Which Notes has Authors of zhou clarke zhang?
SELECT MAX(rank) FROM table_name_6 WHERE team = "beirasar rosalía" AND games < 32
CREATE TABLE table_name_6 (rank INTEGER, team VARCHAR, games VARCHAR)
What was the ranking of Beirasar Rosalía, the year they played 32 games?
SELECT SUM(points) FROM table_name_12 WHERE name = "antwain barbour" AND games < 39
CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, games VARCHAR)
How many points did Antwain Barbour score in the year he played 39 games?
SELECT team FROM table_name_59 WHERE name = "paolo quinteros"
CREATE TABLE table_name_59 (team VARCHAR, name VARCHAR)
What team was Paolo Quinteros on?
SELECT res FROM table_name_10 WHERE record = "8-1 (1)"
CREATE TABLE table_name_10 (res VARCHAR, record VARCHAR)
Was the record of 8-1 (1) a win or a loss?
SELECT event FROM table_name_8 WHERE method = "technical decision (split)"
CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR)
In what event was the technical decision (split) method used?
SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3
CREATE TABLE table_name_9 (play_offs INTEGER, fa_cup INTEGER)
What are the average play-offs that have an FA Cup greater than 3?
SELECT COUNT(total) FROM table_name_47 WHERE play_offs < 0
CREATE TABLE table_name_47 (total VARCHAR, play_offs INTEGER)
How many totals have a play-off less than 0?
SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21
CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)
Which league has an FA cup greater than 0, with a total greater than 21?
SELECT MAX(play_offs) FROM table_name_64 WHERE club = "stevenage borough" AND total > 21
CREATE TABLE table_name_64 (play_offs INTEGER, club VARCHAR, total VARCHAR)
What is the highest play-offs that have stevenage borough as the club, and a total greater than 21?
SELECT 2012 FROM table_name_6 WHERE 2003 = "2r" AND tournament = "wimbledon"
CREATE TABLE table_name_6 (tournament VARCHAR)
What is the tournament in 2012 results that has a 2003 results of 2r and played at Wimbledon?
SELECT 2012 FROM table_name_65 WHERE 2013 = "2r" AND tournament = "wimbledon"
CREATE TABLE table_name_65 (tournament VARCHAR)
What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon?
SELECT 2003 FROM table_name_67 WHERE 2012 = "1r" AND 2004 = "2r" AND tournament = "australian open"
CREATE TABLE table_name_67 (tournament VARCHAR)
What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open?
SELECT tournament FROM table_name_25 WHERE 2003 = "2r" AND 2004 = "1r"
CREATE TABLE table_name_25 (tournament VARCHAR)
What is the name of the tournament that has the results of 2003 2r and 2004 1r?
SELECT 2004 FROM table_name_72 WHERE 2013 = "2r"
CREATE TABLE table_name_72 (Id VARCHAR)
What is the results in 2004 that has a 2013 result of 2r?
SELECT 2003 FROM table_name_80 WHERE tournament = "us open"
CREATE TABLE table_name_80 (tournament VARCHAR)
What is the result from 2003 from the US Open?
SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"
CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)
What is the height of the player born on June 24, 1964, with a weight over 84 kg?
SELECT birthdate FROM table_name_54 WHERE birthplace = "melrose, massachusetts"
CREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR)
On what date was the player from Melrose, Massachusetts born?
SELECT date FROM table_name_34 WHERE event = "billabong pro"
CREATE TABLE table_name_34 (date VARCHAR, event VARCHAR)
What is Date, when Event is Billabong Pro?
SELECT location FROM table_name_74 WHERE date = "december 8-december 20"
CREATE TABLE table_name_74 (location VARCHAR, date VARCHAR)
What is Location, when Date is December 8-December 20?
SELECT runner_up FROM table_name_87 WHERE event = "mancora peru classic"
CREATE TABLE table_name_87 (runner_up VARCHAR, event VARCHAR)
What is Runner-up, when Event is Mancora Peru Classic?
SELECT event FROM table_name_72 WHERE date = "august 20-august 27"
CREATE TABLE table_name_72 (event VARCHAR, date VARCHAR)
What is Event, when Date is August 20-August 27?
SELECT date FROM table_name_92 WHERE runner_up = "sofía mulánovich ( per )"
CREATE TABLE table_name_92 (date VARCHAR, runner_up VARCHAR)
What is Date when Runner-up is Sofía Mulánovich ( per )?
SELECT country FROM table_name_67 WHERE event = "rip curl women's pro"
CREATE TABLE table_name_67 (country VARCHAR, event VARCHAR)
What is Country, when Event is Rip Curl Women's Pro?
SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23
CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)
What is the highest win percentage when there were 23 losses?
SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53
CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR)
Which finish had a win percentage that was more than 0.598 and also had less than 53 wins?
SELECT 2007 AS _team FROM table_name_30 WHERE player = "deshaun foster"
CREATE TABLE table_name_30 (player VARCHAR)
What is the 2007 Team with player Deshaun Foster?
SELECT free_agent_type FROM table_name_2 WHERE player = "bryant johnson"
CREATE TABLE table_name_2 (free_agent_type VARCHAR, player VARCHAR)
What is the Free Agent Type for player bryant johnson?
SELECT high_assists FROM table_name_39 WHERE date = "march 31"
CREATE TABLE table_name_39 (high_assists VARCHAR, date VARCHAR)
What is the High assists with a Date that is march 31?
SELECT score FROM table_name_93 WHERE date = "march 12"
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
What is the Score with a Date that is march 12?
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2
CREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?
SELECT AVG(rank) FROM table_name_41 WHERE silver < 0
CREATE TABLE table_name_41 (rank INTEGER, silver INTEGER)
What average rank that has a silver less than 0?
SELECT COUNT(silver) FROM table_name_42 WHERE total = 4 AND bronze < 2
CREATE TABLE table_name_42 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
How many silver have 4 as the total with a bronze less than 2?
SELECT SUM(total) FROM table_name_6 WHERE rank > 4 AND nation = "czech republic" AND bronze > 0
CREATE TABLE table_name_6 (total INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)
How many totals have a rank greater than 4, czech Republic as the nation, and a bronze greater than 0?
SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 2
CREATE TABLE table_name_9 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR)
What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2?
SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "0"
CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR)
Which country has an Indigenous mining production 2006 of 0?
SELECT SUM(silver) FROM table_name_19 WHERE total < "6" AND rank = "6" AND nation = "bulgaria"
CREATE TABLE table_name_19 (silver INTEGER, nation VARCHAR, total VARCHAR, rank VARCHAR)
What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?
SELECT nation FROM table_name_84 WHERE bronze = 2 AND total < 5 AND rank = "6"
CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR)
What nation has a bronze of 2 with a total less than 5 and rank of 6?
SELECT MIN(total) FROM table_name_13 WHERE rank = "3" AND gold > 4
CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, gold VARCHAR)
What is the lowest Total for rank 3 with more than 4 gold?
SELECT MIN(total) FROM table_name_32 WHERE nation = "italy" AND silver < 0
CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, silver VARCHAR)
What is the lowest Total for Italy with less than 0 silver?
SELECT nation FROM table_name_81 WHERE silver < 1 AND total = 1 AND bronze = 0
CREATE TABLE table_name_81 (nation VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)
What is the Nation with less than 1 silver, and the total is 1, and bronze is less than 0?
SELECT number FROM table_name_32 WHERE season = "2002-2003"
CREATE TABLE table_name_32 (number VARCHAR, season VARCHAR)
What number has 2002-2003 as the season?
SELECT position FROM table_name_11 WHERE season = "2008"
CREATE TABLE table_name_11 (position VARCHAR, season VARCHAR)
What position has 2008 as the season?
SELECT name FROM table_name_54 WHERE number = "50"
CREATE TABLE table_name_54 (name VARCHAR, number VARCHAR)
What name has 50 as the number?
SELECT number FROM table_name_38 WHERE season = "2008"
CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR)
What number has 2008 as the season?
SELECT name FROM table_name_5 WHERE number = "8"
CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)
What name has 8 as the number?
SELECT position FROM table_name_16 WHERE name = "ronjay buenafe"
CREATE TABLE table_name_16 (position VARCHAR, name VARCHAR)
What position has ronjay buenafe as the name?
SELECT MIN(long) FROM table_name_51 WHERE yards = 26
CREATE TABLE table_name_51 (long INTEGER, yards VARCHAR)
What was the lowest long with 26 yards?
SELECT MAX(avg) FROM table_name_57 WHERE fuml < 0
CREATE TABLE table_name_57 (avg INTEGER, fuml INTEGER)
What was the highest average when Fuml was 0?
SELECT MAX(current_run_since) FROM table_name_12 WHERE last_title = "2010" AND seasons_in_esiliiga > 10
CREATE TABLE table_name_12 (current_run_since INTEGER, last_title VARCHAR, seasons_in_esiliiga VARCHAR)
What is the highest run currently since the last title in 2010, and a season in Esiliiga larger than 10?
SELECT 2012 FROM table_name_87 WHERE seasons_in_esiliiga > 4 AND titles > 0
CREATE TABLE table_name_87 (seasons_in_esiliiga VARCHAR, titles VARCHAR)
What is the 2012 season in Esiliiga more than 4, and more than 0 titles?
SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"
CREATE TABLE table_name_69 (season VARCHAR)
What 20-29 was in season 2008?
SELECT MIN(points) FROM table_name_33 WHERE season = "1994"
CREATE TABLE table_name_33 (points INTEGER, season VARCHAR)
What were the lowest amount of points for season 1994?
SELECT 20 AS _29 FROM table_name_11 WHERE season = "1997"
CREATE TABLE table_name_11 (season VARCHAR)
Which 20-29 had a season of 1997?
SELECT position FROM table_name_27 WHERE name = "rod paavola"
CREATE TABLE table_name_27 (position VARCHAR, name VARCHAR)
What is the Postion, when the Name is Rod Paavola?
SELECT COUNT(jersey__number) FROM table_name_56 WHERE position = "w" AND birthdate = "17 october 1932"
CREATE TABLE table_name_56 (jersey__number VARCHAR, position VARCHAR, birthdate VARCHAR)
What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932?
SELECT birthplace FROM table_name_76 WHERE name = "bob mcvey"
CREATE TABLE table_name_76 (birthplace VARCHAR, name VARCHAR)
What is the Birthplace, when the Name is Bob Mcvey?
SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11
CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR)
What is the Name, when the Position is W, and when the Jersey # is 11?
SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"
CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)
What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?
SELECT home FROM table_name_96 WHERE score = "122-28"
CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR)
What home has 122-28 as the score?
SELECT ground FROM table_name_88 WHERE home = "etobicoke kangaroos"
CREATE TABLE table_name_88 (ground VARCHAR, home VARCHAR)
What ground has etobicoke kangaroos as the home?
SELECT time FROM table_name_58 WHERE ground = "humber college north" AND home = "toronto downtown dingos"
CREATE TABLE table_name_58 (time VARCHAR, ground VARCHAR, home VARCHAR)
What time has humber college north as the ground, and toronto downtown dingos as the home?
SELECT score FROM table_name_57 WHERE home = "toronto eagles"
CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR)
What score has Toronto Eagles as the home?
SELECT date FROM table_name_15 WHERE away = "high park demons"
CREATE TABLE table_name_15 (date VARCHAR, away VARCHAR)
What date has high park demons as the away?
SELECT away FROM table_name_71 WHERE home = "toronto downtown dingos"
CREATE TABLE table_name_71 (away VARCHAR, home VARCHAR)
What away has toronto downtown dingos as the home?
SELECT winner FROM table_name_71 WHERE event = "rip curl pro search"
CREATE TABLE table_name_71 (winner VARCHAR, event VARCHAR)
Who was the winner from the Rip Curl Pro Search?
SELECT location FROM table_name_56 WHERE country = "spain"
CREATE TABLE table_name_56 (location VARCHAR, country VARCHAR)
What was the location of the tournament held in Spain?
SELECT date FROM table_name_23 WHERE country = "indonesia"
CREATE TABLE table_name_23 (date VARCHAR, country VARCHAR)
What was the date of the tournament held in Indonesia?
SELECT AVG(lost) FROM table_name_21 WHERE difference = "- 3" AND played < 10
CREATE TABLE table_name_21 (lost INTEGER, difference VARCHAR, played VARCHAR)
What is the average Lost when the difference is - 3, and a Played is less than 10?
SELECT position FROM table_name_65 WHERE drawn < "2" AND difference = "2"
CREATE TABLE table_name_65 (position VARCHAR, drawn VARCHAR, difference VARCHAR)
What is the Position when the Drawn is less than 2, with a Difference of 2?
SELECT SUM(against) FROM table_name_35 WHERE drawn < 2 AND position > 8 AND lost > 6
CREATE TABLE table_name_35 (against INTEGER, lost VARCHAR, drawn VARCHAR, position VARCHAR)
What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.
SELECT difference FROM table_name_57 WHERE position < 3 AND points = 17
CREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)
What is the Difference with a position of less than 3, and, 17 points.
SELECT AVG(top_5) FROM table_name_72 WHERE tournament = "u.s. open" AND cuts_made > 10
CREATE TABLE table_name_72 (top_5 INTEGER, tournament VARCHAR, cuts_made VARCHAR)
What is the average Top-5, when Tournament is U.S. Open, and when Cuts Made is greater than 10?
SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 4
CREATE TABLE table_name_80 (events INTEGER, top_10 VARCHAR, top_5 VARCHAR)
What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?
SELECT SUM(top_5) FROM table_name_68 WHERE tournament = "totals" AND events > 86
CREATE TABLE table_name_68 (top_5 INTEGER, tournament VARCHAR, events VARCHAR)
What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86?
SELECT AVG(top_10) FROM table_name_37 WHERE wins < 0
CREATE TABLE table_name_37 (top_10 INTEGER, wins INTEGER)
What is the average Top-10, when Wins is less than 0?
SELECT COUNT(top_25) FROM table_name_65 WHERE events > 86
CREATE TABLE table_name_65 (top_25 VARCHAR, events INTEGER)
What is the total number of Top-25, when Events is greater than 86?
SELECT 2011 FROM table_name_68 WHERE 2008 = "4r"
CREATE TABLE table_name_68 (Id VARCHAR)
What 2011 has 4r as the 2008?
SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon"
CREATE TABLE table_name_88 (tournament VARCHAR)
What 2007 has wimbledon as the tournament?
SELECT 2006 FROM table_name_74 WHERE 2007 = "1r"
CREATE TABLE table_name_74 (Id VARCHAR)
What 2006 has 1r as the 2007?
SELECT tournament FROM table_name_66 WHERE 2004 = "q2"
CREATE TABLE table_name_66 (tournament VARCHAR)
What tournament has q2 as the 2004?
SELECT 2009 FROM table_name_43 WHERE 2008 = "grand slam tournaments"
CREATE TABLE table_name_43 (Id VARCHAR)
What 2009 has grand slam tournaments of 2008?
SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0"
CREATE TABLE table_name_29 (Id VARCHAR)
What 2006 has 0-0 as the 2011?
SELECT lineup FROM table_name_12 WHERE match = "27"
CREATE TABLE table_name_12 (lineup VARCHAR, match VARCHAR)
What is the Lineup from a Match that is 27?
SELECT date FROM table_name_56 WHERE name = "orangeville"
CREATE TABLE table_name_56 (date VARCHAR, name VARCHAR)
What is the date for Orangeville?
SELECT builder FROM table_name_16 WHERE works_number = "2534"
CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)
Who is the builder with a works number of 2534?
SELECT name FROM table_name_49 WHERE works_number = "809"
CREATE TABLE table_name_49 (name VARCHAR, works_number VARCHAR)
Who is the name with a works number of 809?
SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound"
CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, name VARCHAR)
In early 1873, Owen sound had what works number?
SELECT name FROM table_name_23 WHERE type = "2-8-0" AND number = 20
CREATE TABLE table_name_23 (name VARCHAR, type VARCHAR, number VARCHAR)
What was the name for the locomotive with a type of 2-8-0 and a number of 20?
SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157
CREATE TABLE table_name_4 (year_won VARCHAR, to_par VARCHAR, total VARCHAR)
What is the Year won for the player with a larger than 4 To par and less the 157 Total?
SELECT AVG(total) FROM table_name_66 WHERE to_par < 4 AND year_won > 1983
CREATE TABLE table_name_66 (total INTEGER, to_par VARCHAR, year_won VARCHAR)
What is the Total for the Player who won after 1983 with less than 4 To par?
SELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983
CREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR)
What is the Total of the player who won before 1983 with a smaller than 4 To par?
SELECT venue FROM table_name_93 WHERE result = "draw"
CREATE TABLE table_name_93 (venue VARCHAR, result VARCHAR)
Which venue led to a draw?
SELECT MAX(stolen_ends) FROM table_name_54 WHERE skip = "ludmila privivkova"
CREATE TABLE table_name_54 (stolen_ends INTEGER, skip VARCHAR)
What is the highest Stolen Ends when ludmila privivkova shows for skip?
SELECT SUM(blank_ends) FROM table_name_39 WHERE nation = "denmark" AND ends_lost < 42
CREATE TABLE table_name_39 (blank_ends INTEGER, nation VARCHAR, ends_lost VARCHAR)
What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?
SELECT blank_ends FROM table_name_88 WHERE ends_won < 39 AND ends_lost > 35 AND stolen_ends = 4
CREATE TABLE table_name_88 (blank_ends VARCHAR, stolen_ends VARCHAR, ends_won VARCHAR, ends_lost VARCHAR)
What is the Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.
SELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = "camille paglia"
CREATE TABLE table_name_97 (interview_subject VARCHAR)
Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
SELECT centerfold_model FROM table_name_32 WHERE date = "5-95"
CREATE TABLE table_name_32 (centerfold_model VARCHAR, date VARCHAR)
Who was the Centerfold Model on 5-95?