answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT record FROM table_name_56 WHERE team = "detroit" AND date = "june 10" | CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR) | What is the Record with a Team that is detroit and a Date that is june 10? |
SELECT location_attendance FROM table_name_31 WHERE record = "1-4" | CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR) | What is the Location Attendance with a Record that is 1-4? |
SELECT gdp__ppp__$m_usd FROM table_name_7 WHERE population_density__per_km²_ = "254.7" | CREATE TABLE table_name_7 (gdp__ppp__$m_usd VARCHAR, population_density__per_km²_ VARCHAR) | How much is the GDP for a population density of 254.7? |
SELECT country FROM table_name_46 WHERE population_density__per_km²_ = "50.3" | CREATE TABLE table_name_46 (country VARCHAR, population_density__per_km²_ VARCHAR) | Which country has a population density of 50.3? |
SELECT gdp__ppp__$m_usd FROM table_name_86 WHERE area__km²_ = "61,395" | CREATE TABLE table_name_86 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) | How much is the GDP for an area of 61,395? |
SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" | CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) | How much is the population density with a GDP at $188,112? |
SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116" | CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) | How much is the GDP for an area of 116? |
SELECT country FROM table_name_79 WHERE population__2011_est_ = "3,221,216" | CREATE TABLE table_name_79 (country VARCHAR, population__2011_est_ VARCHAR) | Which country has a population of 3,221,216? |
SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19 | CREATE TABLE table_name_77 (wins VARCHAR, top_5 VARCHAR, events VARCHAR) | What was Miller Barber wins with Top-5 less than 2 and 19 Events? |
SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 2 | CREATE TABLE table_name_87 (wins INTEGER, tournament VARCHAR, top_5 VARCHAR) | What is the average number of Wins in a PGA Championship with a Top-5 less than 2? |
SELECT MAX(top_5) FROM table_name_63 WHERE events < 4 | CREATE TABLE table_name_63 (top_5 INTEGER, events INTEGER) | What is the highest Top-5 ranking with Events less than 4? |
SELECT week FROM table_name_18 WHERE attendance = "65,272" | CREATE TABLE table_name_18 (week VARCHAR, attendance VARCHAR) | Which week's game was attended by 65,272 people? |
SELECT attendance FROM table_name_60 WHERE week = 13 | CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR) | How many people attended the game in week 13? |
SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904" | CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR) | During which week was the earliest game with an attendance of 65,904 people? |
SELECT MAX(height) FROM table_name_94 WHERE position = "outside hitter" | CREATE TABLE table_name_94 (height INTEGER, position VARCHAR) | What height is the tallest for an outside hitter? |
SELECT MAX(silver) FROM table_name_65 WHERE total = 27 | CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR) | What is the highest silver rank with a total of 27? |
SELECT COUNT(silver) FROM table_name_6 WHERE bronze < 1 AND total < 2 AND nation = "bulgaria" | CREATE TABLE table_name_6 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? |
SELECT temperature_classification FROM table_name_22 WHERE glass_bulb_color = "purple" | CREATE TABLE table_name_22 (temperature_classification VARCHAR, glass_bulb_color VARCHAR) | What is the temperature classification of a purple colored glass bulb? |
SELECT color_code__with_fusible_link_ FROM table_name_67 WHERE temperature_classification = "ordinary" | CREATE TABLE table_name_67 (color_code__with_fusible_link_ VARCHAR, temperature_classification VARCHAR) | What is the color code with a temperature classification of ordinary? |
SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate" | CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) | What is the temperature rating of the intermediate temperature classification? |
SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29 | CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR) | What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? |
SELECT country FROM table_name_11 WHERE season = "2006-07" | CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR) | What is the Country for the 2006-07 season? |
SELECT AVG(apps) FROM table_name_51 WHERE team = "kairat" AND level > 1 | CREATE TABLE table_name_51 (apps INTEGER, team VARCHAR, level VARCHAR) | What is the average Apps for the team Kairat with level larger than 1? |
SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633" | CREATE TABLE table_name_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR) | How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633? |
SELECT rider FROM table_name_43 WHERE laps = 18 AND grid = 25 | CREATE TABLE table_name_43 (rider VARCHAR, laps VARCHAR, grid VARCHAR) | Who was teh rider with 18 laps and a grid of 25? |
SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r" | CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR) | Who was the rider who had an accident time and a kawasaki zx-10r bike? |
SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone" | CREATE TABLE table_name_7 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) | What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? |
SELECT laps FROM table_name_82 WHERE grid > 14 AND time = "+33.150" | CREATE TABLE table_name_82 (laps VARCHAR, grid VARCHAR, time VARCHAR) | How many laps did the rider with a grid larger than 14 and a time of +33.150 have? |
SELECT away FROM table_name_24 WHERE home = "guelph gargoyles" | CREATE TABLE table_name_24 (away VARCHAR, home VARCHAR) | What is Away, when Home is Guelph Gargoyles? |
SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00" | CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR) | What is Home, when Ground is Humber College North, and when Time is 15:00? |
SELECT date FROM table_name_6 WHERE away = "high park demons" | CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR) | What is Date, when Away is High Park Demons? |
SELECT date FROM table_name_43 WHERE away = "high park demons" | CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR) | What is Date, when Away is High Park Demons? |
SELECT time FROM table_name_95 WHERE away = "central blues" | CREATE TABLE table_name_95 (time VARCHAR, away VARCHAR) | What is Time, when Away is Central Blues? |
SELECT cover FROM table_name_12 WHERE published = "may 27, 2009 (hc) may 20, 2009 (tpb)" | CREATE TABLE table_name_12 (cover VARCHAR, published VARCHAR) | What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)? |
SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" | CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR) | What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? |
SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)" | CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR) | What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? |
SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" | CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR) | What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? |
SELECT isbn FROM table_name_75 WHERE series = "conan the barbarian" AND title = "queen of the black coast" | CREATE TABLE table_name_75 (isbn VARCHAR, series VARCHAR, title VARCHAR) | What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? |
SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia" | CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR) | What cover has Throne of Aquilonia as the title? |
SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 4 | CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR) | With a Rank of less than 4, what is Pablo Prigioni's total number of Games? |
SELECT SUM(assists) FROM table_name_45 WHERE games > 25 | CREATE TABLE table_name_45 (assists INTEGER, games INTEGER) | How many Assists for the Player with more than 25 Games? |
SELECT COUNT(rank) FROM table_name_82 WHERE games = 25 AND team = "maccabi tel aviv" | CREATE TABLE table_name_82 (rank VARCHAR, games VARCHAR, team VARCHAR) | What is the Rank of the Maccabi Tel Aviv Player with 25 Games? |
SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25 | CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR) | How many Assists for the Player with a Rank greater than 3 in less than 25 Games? |
SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 2 | CREATE TABLE table_name_8 (games INTEGER, name VARCHAR, rank VARCHAR) | How many Games for Rank 2 Terrell McIntyre? |
SELECT venue FROM table_name_70 WHERE year > 2006 AND position = "7th" AND notes = "heptathlon" | CREATE TABLE table_name_70 (venue VARCHAR, notes VARCHAR, year VARCHAR, position VARCHAR) | What is the Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th? |
SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st" | CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR) | In what Year did Chernova come in 1st in Götzis, Austria? |
SELECT cover_model FROM table_name_8 WHERE date = "8-03" | CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR) | Which Cover Model was featured on 8-03? |
SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson" | CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR) | Who was the Centerfold model when O.J. Simpson was the Interview Subject? |
SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska" | CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR) | Who was the Cover model when the Centerfold Model was Marketa Janska? |
SELECT cover_model FROM table_name_96 WHERE date = "11-03" | CREATE TABLE table_name_96 (cover_model VARCHAR, date VARCHAR) | Who was the Cover model on 11-03? |
SELECT centerfold_model FROM table_name_79 WHERE date = "9-03" | CREATE TABLE table_name_79 (centerfold_model VARCHAR, date VARCHAR) | Who was the Centerfold Model on 9-03? |
SELECT SUM(round) FROM table_name_74 WHERE selection = 165 | CREATE TABLE table_name_74 (round INTEGER, selection VARCHAR) | How many rounds had a selection of 165? |
SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota" | CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR) | What is the average Height for the Position of d, with a Birthplace of new hope, minnesota? |
SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york" | CREATE TABLE table_name_23 (birthplace VARCHAR) | What is the 1990–1991 Team when the Birthplace shows as new york? |
SELECT position FROM table_name_32 WHERE birthplace = "toledo, ohio" | CREATE TABLE table_name_32 (position VARCHAR, birthplace VARCHAR) | What is the Position when the person's birthplace was toledo, ohio? |
SELECT 1990 AS _1991_team FROM table_name_41 WHERE name = "joel otto" | CREATE TABLE table_name_41 (name VARCHAR) | What is the 1990–1991 Team that had Joel Otto? |
SELECT tc FROM table_name_26 WHERE year > 2007 AND dc = "21st" | CREATE TABLE table_name_26 (tc VARCHAR, year VARCHAR, dc VARCHAR) | Which T.C. has a Year larger than 2007, and a D.C. of 21st? |
SELECT dc FROM table_name_65 WHERE races < 20 AND points > 0 AND drivers = "christian vietoris" AND wins = 1 | CREATE TABLE table_name_65 (dc VARCHAR, wins VARCHAR, drivers VARCHAR, races VARCHAR, points VARCHAR) | What kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1? |
SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th" | CREATE TABLE table_name_14 (races INTEGER, tc VARCHAR, dc VARCHAR) | Which Races has a T.C. of 3rd, and a D.C. of 7th? |
SELECT 2007 FROM table_name_16 WHERE 2008 = "grand slam tournaments" | CREATE TABLE table_name_16 (Id VARCHAR) | What is the 2007 of the Grand Slam Tournaments in 2008? |
SELECT tournament FROM table_name_63 WHERE 2011 = "3r" AND 2010 = "a" | CREATE TABLE table_name_63 (tournament VARCHAR) | What is the Tournament with a 3r 2011 and A 2010? |
SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a" | CREATE TABLE table_name_38 (Id VARCHAR) | What is the 2008 of the 2r 2011 and A 2010? |
SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments" | CREATE TABLE table_name_66 (Id VARCHAR) | What is the 2010 of the Grand Slam Tournaments in 2011? |
SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010" | CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR) | What is the total number of runners-up for a club with winning years of 2010? |
SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" | CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR) | Who were the runners-up for the FC Viktoria Plzeň club? |
SELECT con__gress FROM table_name_50 WHERE date = "2010" | CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR) | Which congress was held in 2010? |
SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22" | CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR) | What is the casting temperature for a hardness of 22? |
SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = "243" | CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR) | What is the hardness for the alloy that is liquid at 243 degrees C? |
SELECT sn_sb___percentage_ FROM table_name_4 WHERE liquid_at__°c_ = "258" | CREATE TABLE table_name_4 (sn_sb___percentage_ VARCHAR, liquid_at__°c_ VARCHAR) | What is the Sn/Sb percentage that is liquid at 258 degrees C? |
SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15" | CREATE TABLE table_name_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR) | What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? |
SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21" | CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR) | What is the casting temperature for the alloy with hardness 21? |
SELECT MAX(laps) FROM table_name_93 WHERE grid = 16 | CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR) | What's the most laps when grid is 16? |
SELECT COUNT(laps) FROM table_name_35 WHERE grid = 13 | CREATE TABLE table_name_35 (laps VARCHAR, grid VARCHAR) | How many laps were there for a grid of 13? |
SELECT COUNT(week) FROM table_name_12 WHERE attendance = "69,149" | CREATE TABLE table_name_12 (week VARCHAR, attendance VARCHAR) | How many weeks had an attendance at 69,149? |
SELECT date FROM table_name_40 WHERE week = 6 | CREATE TABLE table_name_40 (date VARCHAR, week VARCHAR) | On what date did week 6 occur? |
SELECT opponent FROM table_name_80 WHERE date = "december 18, 2005" | CREATE TABLE table_name_80 (opponent VARCHAR, date VARCHAR) | Who was the opponent on December 18, 2005? |
SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14 | CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) | What is the result/score for the match report recap on week 14? |
SELECT SUM(week) FROM table_name_34 WHERE result_score = "w 51-29" | CREATE TABLE table_name_34 (week INTEGER, result_score VARCHAR) | How many weeks have w 51-29 as the result/score? |
SELECT result_score FROM table_name_45 WHERE record = "6-5" | CREATE TABLE table_name_45 (result_score VARCHAR, record VARCHAR) | What is the result/score that has 6-5 as the record? |
SELECT match_report FROM table_name_98 WHERE result_score = "l 7-30" | CREATE TABLE table_name_98 (match_report VARCHAR, result_score VARCHAR) | Which match report has l 7-30 as the result/score? |
SELECT game_site FROM table_name_84 WHERE match_report = "recap" AND week = 7 | CREATE TABLE table_name_84 (game_site VARCHAR, match_report VARCHAR, week VARCHAR) | Which game site has a recap as the match report for week 7? |
SELECT shooter FROM table_name_56 WHERE time > 8.97 AND year < 2013 | CREATE TABLE table_name_56 (shooter VARCHAR, time VARCHAR, year VARCHAR) | Which shooter's time is more than 8.97 and has a year prior to 2013? |
SELECT country FROM table_name_53 WHERE date = "april 27" | CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR) | What country was the race in on April 27? |
SELECT team FROM table_name_6 WHERE date = "august 17" | CREATE TABLE table_name_6 (team VARCHAR, date VARCHAR) | What is the name of the team leading on August 17? |
SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11 | CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR) | What is the highest Ranking Round Rank for Russia with a Final Rank over 11? |
SELECT music FROM table_name_32 WHERE points_jury = "18 (5,5,4,4)" | CREATE TABLE table_name_32 (music VARCHAR, points_jury VARCHAR) | Which Music has a Points Jury of 18 (5,5,4,4)? |
SELECT music FROM table_name_75 WHERE dance = "jive" | CREATE TABLE table_name_75 (music VARCHAR, dance VARCHAR) | What is the Music if the Dance is Jive? |
SELECT music FROM table_name_35 WHERE team = "anna guzik & rafał kamiński" AND points_jury = "24 (7,5,6,6)" | CREATE TABLE table_name_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR) | What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)? |
SELECT music FROM table_name_79 WHERE dance = "modern" | CREATE TABLE table_name_79 (music VARCHAR, dance VARCHAR) | Which Music has a Dance of Modern? |
SELECT points_jury FROM table_name_39 WHERE dance = "pop" | CREATE TABLE table_name_39 (points_jury VARCHAR, dance VARCHAR) | What is the Points Jury for Dance pop? |
SELECT place FROM table_name_78 WHERE points_jury = "34 (7,8,9,10)" | CREATE TABLE table_name_78 (place VARCHAR, points_jury VARCHAR) | Which Place has a Points Jury of 34 (7,8,9,10)? |
SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt" | CREATE TABLE table_name_20 (country VARCHAR) | What is the 2013 press freedom index of the country Egypt? |
SELECT 2013 AS _index_of_economic_freedom FROM table_name_22 WHERE country = "slovenia" | CREATE TABLE table_name_22 (country VARCHAR) | What is the 2013 index of economic freedom of Slovenia? |
SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 15 | CREATE TABLE table_name_87 (league INTEGER, total VARCHAR) | Which League Cup that has a Total of 19 and a League smaller than 15? |
SELECT country FROM table_name_49 WHERE skip = "andy kapp" | CREATE TABLE table_name_49 (country VARCHAR, skip VARCHAR) | For what country is the skip Andy Kapp? |
SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham" | CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR) | Who is the second on the North America team for which Cathy Overton-Clapham the third? |
SELECT lead FROM table_name_81 WHERE home = "lockerbie" | CREATE TABLE table_name_81 (lead VARCHAR, home VARCHAR) | Who is the lead of the team from Lockerbie? |
SELECT team FROM table_name_70 WHERE home = "stirling" | CREATE TABLE table_name_70 (team VARCHAR, home VARCHAR) | What is the name of the team from Stirling? |
SELECT lead FROM table_name_18 WHERE team = "europe" AND skip = "liudmila privivkova" | CREATE TABLE table_name_18 (lead VARCHAR, team VARCHAR, skip VARCHAR) | Who is the lead on the Europe team that has a Liudmila Privivkova as the skip? |
SELECT second FROM table_name_58 WHERE team = "north america" AND country = "canada" AND home = "edmonton" | CREATE TABLE table_name_58 (second VARCHAR, home VARCHAR, team VARCHAR, country VARCHAR) | Who is the second of the North America team from Edmonton, Canada? |
Subsets and Splits