answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" | CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR) | The To par of +14 was won in what year(s)? |
SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" | CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR) | What is the result when the competition is 1982 president's cup? |
SELECT score FROM table_name_98 WHERE date = "december 14, 1985" | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | What is the score when the date is December 14, 1985? |
SELECT venue FROM table_name_32 WHERE date = "september 24, 1980" | CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | What is the venue when the date is September 24, 1980? |
SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" | CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? |
SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980" | CREATE TABLE table_name_94 (venue VARCHAR, score VARCHAR, date VARCHAR) | What is the venue when the score is 1 goal, and the date is August 27, 1980? |
SELECT result FROM table_name_11 WHERE date = "august 27, 1980" | CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR) | What is the result when the date is August 27, 1980? |
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" | CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR) | What year shows the Entrant of bmw motorsport? |
SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering" | CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) | Which Entrant of stp march engineering scored the lowest points? |
SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 | CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) | What year had the Chassis of march 762 and more than 0 points? |
SELECT MIN(points) FROM table_name_85 WHERE engine = "bmw" AND chassis = "march 792" AND year > 1979 | CREATE TABLE table_name_85 (points INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR) | Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979? |
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" | CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR) | Which Conference has a City of boca raton, and a School of florida atlantic university? |
SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando" | CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR) | Which School has a National Championships of 2, and a City of orlando? |
SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions" | CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR) | Which school has National Championships smaller than 2, and a Nickname of lions? |
SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris" | CREATE TABLE table_name_95 (win__percentage VARCHAR, tournament VARCHAR) | What is the win percentage when 2011 shows 1r in the Paris tournament? |
SELECT 2009 FROM table_name_32 WHERE 2011 = "25" | CREATE TABLE table_name_32 (Id VARCHAR) | What shows for 2009 when 25 shows for 2011? |
SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open" | CREATE TABLE table_name_35 (tournament VARCHAR) | What shows for 2010 when 2011 is 1r at the US Open tournament? |
SELECT win__percentage FROM table_name_74 WHERE 2010 = "98" | CREATE TABLE table_name_74 (win__percentage VARCHAR) | What is the win percentage when 2010 was 98? |
SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai" | CREATE TABLE table_name_22 (tournament VARCHAR) | What shows for 2008 at the Shanghai tournament? |
SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" | CREATE TABLE table_name_19 (win__percentage VARCHAR) | What is the win percentage for the 2012 of olympic games? |
SELECT opponent FROM table_name_25 WHERE time = "1:22" | CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR) | Who was the opponent in the match that lasted 1:22? |
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes" | CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR) | Which round did the bout against Jonatas Novaes end in? |
SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves" | CREATE TABLE table_name_53 (established INTEGER, championships VARCHAR, club VARCHAR) | Name the average established for championships less than 1 and club of erie seawolves |
SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves" | CREATE TABLE table_name_76 (championships INTEGER, club VARCHAR) | Name the most championships for club of erie seawolves |
SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks" | CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR) | Name the sport with championships less than 1 and club of erie bayhawks |
SELECT date FROM table_name_71 WHERE game = 3 | CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) | what is the date for game 3? |
SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2" | CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR) | What is the English title of 餓狼伝説バトルアーカイブズ2? |
SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-1)" | CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) | Who was the opponent when there was a loss of Francisco (1-1)? |
SELECT date FROM table_name_36 WHERE attendance = "17,136" | CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR) | On what date was the attendance 17,136? |
SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)" | CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR) | Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? |
SELECT score FROM table_name_19 WHERE attendance = "41,087" | CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) | What was the score for the game that had an attendance of 41,087? |
SELECT attendance FROM table_name_12 WHERE loss = "koch (0-1)" | CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) | When the game had a loss of Koch (0-1) what was the attendance? |
SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700 | CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR) | What is the inegi code for mexicali with 13,700 km area? |
SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th" | CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR) | What is the date of the away game when the team has a league position of 9th? |
SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17" | CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) | On May 17, what is the highest Attendance? |
SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991 | CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR, year VARCHAR) | What is the highest number of points for the Modena Team Spa after 1991? |
SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" | CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR) | What was the earliest year for the Ligier Gitanes? |
SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" | CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR) | In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? |
SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" | CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) | How much money did reestore request ? |
SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts" | CREATE TABLE table_name_6 (money_requested__ VARCHAR, company_or_product_name VARCHAR) | How much money did gaming alerts ask for? |
SELECT winner FROM table_name_96 WHERE prize = "€93,000" | CREATE TABLE table_name_96 (winner VARCHAR, prize VARCHAR) | Who is the winner of the prize of €93,000? |
SELECT winner FROM table_name_50 WHERE prize = "£200,000" | CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR) | Who is the winner of the prize of £200,000 as listed? |
SELECT date FROM table_name_91 WHERE winner = "ram vaswani" | CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR) | Ram Vaswani was a winner on what date? |
SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" | CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR) | Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? |
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995" | CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR) | What is the place result of the downhill race before the 1996 season on 11-Mar-1995? |
SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada" | CREATE TABLE table_name_73 (place VARCHAR, season VARCHAR, location VARCHAR) | What place result was the 1996 season at Lake Louise, Canada? |
SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29" | CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR) | What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? |
SELECT visitor FROM table_name_82 WHERE record = "10–11–5" | CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR) | Whose Visitor has a Record of 10–11–5? |
SELECT AVG(average) FROM table_name_90 WHERE matches < 2 | CREATE TABLE table_name_90 (average INTEGER, matches INTEGER) | What is the typical match smaller than 2? |
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 | CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR) | What are the total number of matches smaller than 2 with a tally of 1-19? |
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1 | CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR) | What is the average total in the county of tipperary with a rank less than 1? |
SELECT qual FROM table_name_3 WHERE laps < 68 | CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER) | What is the Qual with less than 68 laps? |
SELECT year FROM table_name_15 WHERE qual = "147.481" | CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR) | The 147.481 Qual, happened in what year? |
SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" | CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR) | Name the being for having things of language, religions, work, customs, values, norms? |
SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness" | CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR) | Name the having things for privacy, intimate spaces of togetherness |
SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection" | CREATE TABLE table_name_87 (interacting__settings_ VARCHAR, need VARCHAR) | Name the interacting for need of protection |
SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help" | CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR) | Name the interacting settings for co-operate, plan, take care of, help |
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" | CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR) | Name the being qualities for having things of language, religions, work, customs, values, norms |
SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature" | CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR) | Name the being qualities for having things of friendships, family, relationships with nature |
SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42" | CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR) | What was the attendance for the game that went 2:42? |
SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 | CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR) | How many laps for sébastien bourdais, and a Grid smaller than 1? |
SELECT score FROM table_name_49 WHERE opponent = "kim tiilikainen" | CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR) | What was the score in the match against Kim Tiilikainen? |
SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" | CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | What was the date of the match against Jean-Julien Rojer, on a clay surface? |
SELECT tournament FROM table_name_22 WHERE surface = "hard" | CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR) | Which tournament had a hard surface? |
SELECT surface FROM table_name_42 WHERE outcome = "runner-up" AND score = "julia görges polona hercog" | CREATE TABLE table_name_42 (surface VARCHAR, outcome VARCHAR, score VARCHAR) | What is the surface of the match when the outcome was runner-up, and a Score of julia görges polona hercog? |
SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" | CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR) | What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? |
SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" | CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | What date was the surface hard and Eva Hrdinová was the opponent? |
SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands" | CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR) | What was the surface of the match against bethanie mattek-sands? |
SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards" | CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR) | What series 1 has a Doug Richards in Series 2? |
SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" | CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) | Who in series 1 corresponds with Peter Jones in series 5? |
SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" | CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR) | Who in series 5 corresponds to Deborah Meaden in series 3? |
SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones" | CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR) | Who in series 11 corresponds to Peter Jones in series 1? |
SELECT series_9 FROM table_name_55 WHERE series_2 = "peter jones" | CREATE TABLE table_name_55 (series_9 VARCHAR, series_2 VARCHAR) | Who in series 9 corresponds to Peter Jones in series 2? |
SELECT score FROM table_name_86 WHERE record = "55-39" | CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) | What was the score of the game when the Blue Jays were 55-39? |
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" | CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) | Who was the individual in the event of 1998 Pokljuka? |
SELECT class FROM table_name_26 WHERE quantity_made = 5 | CREATE TABLE table_name_26 (class VARCHAR, quantity_made VARCHAR) | Which locomotive class had 5 items made? |
SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" | CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR) | Which manufacturer made a locomotive with a type of 4-6-4t? |
SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 | CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR) | What is the event year radek štěpánek was the round and there were less than 3 aces? |
SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 | CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR) | How many players were in the event after 2011 with less than 9 aces? |
SELECT opponent FROM table_name_72 WHERE player < 113 AND event = 2011 | CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR, event VARCHAR) | Who was the opponent in the 2011 event with less than 113 players? |
SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 | CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) | What is the highest number of players during 1r year with a clay set and more than 4 aces? |
SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa" | CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR) | Who played as Team 2 against Team 1 SC Gagnoa? |
SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers" | CREATE TABLE table_name_6 (team_2 VARCHAR) | What was the 1st leg score when Mufulira Wanderers played as Team 2? |
SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation" | CREATE TABLE table_name_8 (team_1 VARCHAR) | What's the score of the 1st leg when Water Corporation was Team 1? |
SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia" | CREATE TABLE table_name_1 (team_1 VARCHAR) | What's the 1st leg score when Team 1 was Gor Mahia? |
SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" | CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) | Who played as Team 1 against Lomé i? |
SELECT entrant FROM table_name_39 WHERE year = 1952 | CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) | Name the entrant for year of 1952 |
SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 | CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) | Name the total number of points for 1952 |
SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3 | CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) | Name the total number of years for talbot-lago t26c and points less than 3 |
SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest" | CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR) | What episode featured entrepreneur Richard Ernest? |
SELECT investing_dragon_s_ FROM table_name_87 WHERE money_requested__£_ = "100,000" | CREATE TABLE table_name_87 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR) | What Investing Dragons had a request of £100,000? |
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" | CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) | What Entrepreneurs requested £60,000? |
SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 2" | CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) | How much was requested from Investing Dragon Peter Jones request in episode 2? |
SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz" | CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) | Name the investing dragon for razzamataz |
SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000 | CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) | Name the first aired with money requested more than 85,000 |
SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1" | CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR) | What is the competition type of the event with a result of 3-2 and a score of 2-1? |
SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1" | CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR) | Which date has a competition type of friendly and a score of 2-1? |
SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5" | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) | What is the score of the event with a competition type of friendly and a result of 4-5? |
SELECT date FROM table_name_6 WHERE score = "2-1" | CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) | Which date has a score of 2-1? |
SELECT date FROM table_name_81 WHERE competition = "british home championship" | CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) | Which date has a competition type of British home championship? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.