answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT date FROM table_name_86 WHERE record = "70-74" | CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | What was the date of the game when the record was 70-74? |
SELECT name FROM table_name_78 WHERE moving_from = "manchester united" | CREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR) | What player was moving from manchester united? |
SELECT name FROM table_name_92 WHERE transfer_fee = "£210k" | CREATE TABLE table_name_92 (name VARCHAR, transfer_fee VARCHAR) | What player costs £210k to transfer? |
SELECT moving_from FROM table_name_28 WHERE transfer_window = "winter" AND country = "wal" | CREATE TABLE table_name_28 (moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR) | Who is moving during winter from wal? |
SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1" | CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR) | Which original artist has a Episode of workshop #1? |
SELECT theme FROM table_name_79 WHERE episode = "top 6" | CREATE TABLE table_name_79 (theme VARCHAR, episode VARCHAR) | Which theme has a Episode of top 6? |
SELECT theme FROM table_name_5 WHERE order__number = "9" | CREATE TABLE table_name_5 (theme VARCHAR, order__number VARCHAR) | Which Theme has a Order # of 9? |
SELECT score FROM table_name_65 WHERE date = "august 19" | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | What was the score on August 19? |
SELECT record FROM table_name_83 WHERE time = "2:46" | CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR) | Where the time is 2:46, what is the record? |
SELECT date FROM table_name_22 WHERE home = "ny rangers" | CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR) | What is the Date, when the home team is the NY Rangers? |
SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000" | CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR) | Power of 220kw (299hp) @ 4000 has what torque? |
SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000" | CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR) | What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002? |
SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000" | CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR) | Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine? |
SELECT week FROM table_name_5 WHERE original_artist = "the police" | CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR) | What week was the Original artist, the police ? |
SELECT song_choice FROM table_name_38 WHERE result = "advanced" AND week = "top 20" | CREATE TABLE table_name_38 (song_choice VARCHAR, result VARCHAR, week VARCHAR) | Which song garnered an advanced result during top 20 week ? |
SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament = "malaysia satellite" | CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR) | Which Malaysia Satellite tournaments were played after 1998? |
SELECT score FROM table_name_40 WHERE year < 2007 AND outcome = "runner-up" AND tournament = "bulgaria open" | CREATE TABLE table_name_40 (score VARCHAR, tournament VARCHAR, year VARCHAR, outcome VARCHAR) | Who was the runner-up for the Bulgaria Open, before 2007? |
SELECT score FROM table_name_47 WHERE tournament = "dutch open" AND opponent = "wong choong hann" | CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR, opponent VARCHAR) | What was the score of the player who played against Wong Choong Hann in the Dutch Open? |
SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open" | CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR) | What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open? |
SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets" | CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR) | What was the final score when the New York Jets were the Visiting Team? |
SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns" | CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR) | When were the Cleveland Browns the visiting team? |
SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets" | CREATE TABLE table_name_65 (stadium VARCHAR, visiting_team VARCHAR) | Where were the New York Jets visiting? |
SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial stadium" | CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) | What was the final score in Robert F. Kennedy Memorial Stadium? |
SELECT visiting_team FROM table_name_12 WHERE date = "november 12" | CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR) | What was the visiting team on November 12? |
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots" | CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR) | In what stadium were the New England Patriots the visiting team? |
SELECT MIN(goals_conceded) FROM table_name_72 WHERE played < 18 | CREATE TABLE table_name_72 (goals_conceded INTEGER, played INTEGER) | If the games played are smaller than 18, what are the lowest goals conceded? |
SELECT COUNT(goals_conceded) FROM table_name_54 WHERE place < 8 AND played > 18 | CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR) | If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded? |
SELECT SUM(place) FROM table_name_60 WHERE lost < 2 | CREATE TABLE table_name_60 (place INTEGER, lost INTEGER) | What is the sum of the place that has less than 2 losses? |
SELECT MIN(width) FROM table_name_18 WHERE frame_size = "5k" AND height < 2700 | CREATE TABLE table_name_18 (width INTEGER, frame_size VARCHAR, height VARCHAR) | What is the smallest width for a frame size of 5k and a height shorter than 2700? |
SELECT opponent FROM table_name_57 WHERE date = "august 29" | CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR) | What was the opponent on August 29? |
SELECT loss FROM table_name_61 WHERE attendance = "16,468" | CREATE TABLE table_name_61 (loss VARCHAR, attendance VARCHAR) | Which team had the attendance of 16,468 and lost? |
SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)" | CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR) | What opponent has a loss of Trachsel (10-11)? |
SELECT attendance FROM table_name_47 WHERE date = "august 8" | CREATE TABLE table_name_47 (attendance VARCHAR, date VARCHAR) | What was the attendance on August 8? |
SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji" | CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR) | Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji? |
SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34 | CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR) | What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34? |
SELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 0 | CREATE TABLE table_name_7 (league INTEGER, total VARCHAR) | What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0? |
SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" AND other > 3 | CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR) | What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3? |
SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1 | CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) | What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1? |
SELECT champion FROM table_name_52 WHERE runner_up = "christopher miles" | CREATE TABLE table_name_52 (champion VARCHAR, runner_up VARCHAR) | Name the champion for christopher miles runner-up |
SELECT champion FROM table_name_52 WHERE year = "2000" | CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR) | Name the champion for 2000 |
SELECT location FROM table_name_26 WHERE year = "1998" | CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR) | Name the location for 1998 |
SELECT gold FROM table_name_42 WHERE total > 4 | CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER) | How many gold medals correspond with a total over 4? |
SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4 | CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR) | What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? |
SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4 | CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR) | What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals? |
SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4 | CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER) | What is the smallest number of bronze medals with more than 4 gold medals? |
SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl" | CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR) | The candidate with Riding of st. john's south—mount pearl is what gender? |
SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35" | CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR) | Which number has a 0.35 percentage? |
SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian" | CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR) | What is the percentage for Russian? |
SELECT males FROM table_name_3 WHERE language = "russian" | CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR) | How many males speak Russian? |
SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd" | CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR) | Who is the writer for Red Rose Chain LTD? |
SELECT producer_s_ FROM table_name_50 WHERE director_s_ = "daniel cormack" | CREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR) | Which producer did Daniel Cormack direct? |
SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall" | CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR) | Who produced Laura Tunstall? |
SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness" | CREATE TABLE table_name_5 (writer_s_ VARCHAR, film VARCHAR) | Who wrote the film Jehovah's Witness? |
SELECT date FROM table_name_7 WHERE distance = "5,000m" | CREATE TABLE table_name_7 (date VARCHAR, distance VARCHAR) | When did Hein Vergeer have a distance of 5,000m? |
SELECT notes FROM table_name_57 WHERE distance = "men's speed skating" | CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR) | What were the notes during the distance of Men's Speed Skating? |
SELECT date FROM table_name_77 WHERE competition = "uefa euro 2012 qualifying" | CREATE TABLE table_name_77 (date VARCHAR, competition VARCHAR) | What date has the competition of uefa euro 2012 qualifying? |
SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m" | CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR) | What is the Grade that has Turf 1600m? |
SELECT priority_entry_rights_to_derby FROM table_name_51 WHERE NOT race_name = 4 | CREATE TABLE table_name_51 (priority_entry_rights_to_derby VARCHAR, race_name VARCHAR) | What is the Priority-entry-rights to Derby in rank 4? |
SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737 | CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR) | How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737? |
SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523 | CREATE TABLE table_name_37 (satu_mare INTEGER, baia_mare INTEGER) | What is the smallest Satu Mare value associated with Baia Mare over 523? |
SELECT word_wrap_support FROM table_name_65 WHERE format = "mobipocket" | CREATE TABLE table_name_65 (word_wrap_support VARCHAR, format VARCHAR) | Which Word wrap support has a Format of mobipocket? |
SELECT interactivity_support FROM table_name_75 WHERE format = "fictionbook" | CREATE TABLE table_name_75 (interactivity_support VARCHAR, format VARCHAR) | Which Interactivity support has a Format of fictionbook? |
SELECT filename_extension FROM table_name_64 WHERE interactivity_support = "no" AND open_standard = "yes" AND image_support = "no" | CREATE TABLE table_name_64 (filename_extension VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, open_standard VARCHAR) | Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no? |
SELECT filename_extension FROM table_name_26 WHERE word_wrap_support = "yes" AND open_standard = "no" AND interactivity_support = "yes" | CREATE TABLE table_name_26 (filename_extension VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR, open_standard VARCHAR) | Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes? |
SELECT format FROM table_name_22 WHERE interactivity_support = "no" AND word_wrap_support = "yes" AND image_support = "yes" AND open_standard = "yes" | CREATE TABLE table_name_22 (format VARCHAR, open_standard VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR) | Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes? |
SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__number > 9 | CREATE TABLE table_name_67 (round INTEGER, position VARCHAR, pick__number VARCHAR) | Position of guard, and a Pick # larger than 9 is what highest round? |
SELECT college FROM table_name_55 WHERE pick__number < 11 AND name = "von hutchins" | CREATE TABLE table_name_55 (college VARCHAR, pick__number VARCHAR, name VARCHAR) | Pick # smaller than 11, and a Name of von hutchins belongs to what college? |
SELECT AVG(round) FROM table_name_60 WHERE college = "idaho" AND overall < 141 | CREATE TABLE table_name_60 (round INTEGER, college VARCHAR, overall VARCHAR) | College of idaho, and an Overall smaller than 141 is what average round? |
SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229 | CREATE TABLE table_name_51 (round INTEGER, name VARCHAR, overall VARCHAR) | Name of David Kimball, and an Overall smaller than 229 is what highest round? |
SELECT COUNT(points) FROM table_name_70 WHERE engine = "brm v8" | CREATE TABLE table_name_70 (points VARCHAR, engine VARCHAR) | How many points did the car with the brm v8 engine have? |
SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0 | CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR) | Which chassis has more than 0 points and was before 1966? |
SELECT AVG(points) FROM table_name_10 WHERE year = 1964 | CREATE TABLE table_name_10 (points INTEGER, year VARCHAR) | How many points did he average in 1964? |
SELECT MIN(points) FROM table_name_22 WHERE engine = "climax v8" AND year < 1963 | CREATE TABLE table_name_22 (points INTEGER, engine VARCHAR, year VARCHAR) | Before the year 1963 what was the fewest points the climax v8 engine had? |
SELECT MIN(year) FROM table_name_85 WHERE points < 1 | CREATE TABLE table_name_85 (year INTEGER, points INTEGER) | What was the earliest year that had less than 1 point? |
SELECT MAX(attendance) FROM table_name_33 WHERE date = "october 27, 1963" | CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) | How many were in attendance on October 27, 1963? |
SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers" | CREATE TABLE table_name_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR) | which # / county is correct for year less than 1981 and chalmers as location? |
SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass" | CREATE TABLE table_name_65 (year_joined VARCHAR, _number___county VARCHAR) | what is the correct year for # / county of 09 cass? |
SELECT mascot FROM table_name_39 WHERE _number___county = "66 pulaski 2" | CREATE TABLE table_name_39 (mascot VARCHAR, _number___county VARCHAR) | what's the mascot for 66 pulaski 2? |
SELECT SUM(bronze) FROM table_name_85 WHERE silver = 2 AND gold < 0 | CREATE TABLE table_name_85 (bronze INTEGER, silver VARCHAR, gold VARCHAR) | What is the total bronze with a Silver of 2, and a Gold smaller than 0? |
SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0 | CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR) | What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0? |
SELECT SUM(gold) FROM table_name_48 WHERE bronze < 7 AND total = 1 AND nation = "cape verde" AND silver < 0 | CREATE TABLE table_name_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0? |
SELECT power FROM table_name_58 WHERE year < 1999 | CREATE TABLE table_name_58 (power VARCHAR, year INTEGER) | How powerful is the model before 1999? |
SELECT displacement FROM table_name_61 WHERE year = 1999 AND torque = "280n·m (207lb·ft) @ 1750" | CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR) | What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? |
SELECT MIN(year) FROM table_name_56 WHERE power = "90kw (121hp) @ 4000" | CREATE TABLE table_name_56 (year INTEGER, power VARCHAR) | When is the earliest year with a Power of 90kw (121hp) @ 4000? |
SELECT MIN(year) FROM table_name_55 WHERE torque = "330n·m (243lb·ft) @ 2000-2500" | CREATE TABLE table_name_55 (year INTEGER, torque VARCHAR) | When is the earliest year with a Torque of 330n·m (243lb·ft) @ 2000-2500? |
SELECT MIN(attendance) FROM table_name_75 WHERE week = 14 | CREATE TABLE table_name_75 (attendance INTEGER, week VARCHAR) | What week 14 has the lowest attendance? |
SELECT MAX(attendance) FROM table_name_84 WHERE date = "september 14, 1986" | CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR) | What is the highest attendance on September 14, 1986? |
SELECT type FROM table_name_29 WHERE course = "vicenza to marostica" | CREATE TABLE table_name_29 (type VARCHAR, course VARCHAR) | What type is the race with the vicenza to marostica course? |
SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r" | CREATE TABLE table_name_82 (Id VARCHAR) | Name the 2005 for 2003 of a and 2011 of 3r |
SELECT 2006 FROM table_name_1 WHERE 2003 = "a" AND 2012 = "a" | CREATE TABLE table_name_1 (Id VARCHAR) | Name the 2006 with 2003 of a and 2012 of a |
SELECT 2010 FROM table_name_9 WHERE 2006 = "2r" | CREATE TABLE table_name_9 (Id VARCHAR) | Name the 2010 for 2006 of 2r |
SELECT 2007 FROM table_name_17 WHERE 2005 = "a" AND 2003 = "a" AND 2009 = "sf" | CREATE TABLE table_name_17 (Id VARCHAR) | Name the 2007 for 2005 of a and 003 of a with 2009 of sf |
SELECT 2011 FROM table_name_97 WHERE 2006 = "2r" | CREATE TABLE table_name_97 (Id VARCHAR) | Name the 2011 with 2006 of 2r |
SELECT venue FROM table_name_11 WHERE date = "7 october 2011" | CREATE TABLE table_name_11 (venue VARCHAR, date VARCHAR) | what was the venue on 7 october 2011? |
SELECT MAX(number) FROM table_name_74 WHERE opponent = "julio césar vásquez" | CREATE TABLE table_name_74 (number INTEGER, opponent VARCHAR) | What is the highest number of the match with julio césar vásquez as the opponent? |
SELECT opponent FROM table_name_47 WHERE date = "2006-04-08" | CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR) | Who was the opponent of the match on 2006-04-08? |
SELECT result FROM table_name_42 WHERE opponent = "zab judah" | CREATE TABLE table_name_42 (result VARCHAR, opponent VARCHAR) | What is the result of the match with Zab Judah as the opponent? |
SELECT date FROM table_name_87 WHERE result = "ud 12/12" AND name = "pernell whitaker" AND opponent = "james mcgirt" | CREATE TABLE table_name_87 (date VARCHAR, opponent VARCHAR, result VARCHAR, name VARCHAR) | What is the date of the match with a result of ud 12/12 between Pernell Whitaker and James Mcgirt? |
SELECT score FROM table_name_50 WHERE date = "13 june 2004" | CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) | What score was on 13 June 2004? |
SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008 | CREATE TABLE table_name_50 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.