instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Score of the game against the boston celtics? | SELECT Score FROM table WHERE Opponent = boston celtics |
Translate the following into a SQL query | What is the Game held on february 9? | SELECT Game FROM table WHERE Date = february 9 |
Translate the following into a SQL query | What is the Score of the game larger than 57 with a Record of 4–55? | SELECT Score FROM table WHERE Game > 57 AND Record = 4–55 |
Translate the following into a SQL query | Which Reigon has a Village of Chassagne-Montrachet? | SELECT Region FROM table WHERE Village = chassagne-montrachet |
Translate the following into a SQL query | Which Village has a Region of Côte De Nuits, Wine Styles of Red Wine, and a Grand Cru of Latricières-Chambertin? | SELECT Village FROM table WHERE Region = côte de nuits AND Wine style = red wine AND Grand Cru = latricières-chambertin |
Translate the following into a SQL query | What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin? | SELECT Vineyard surface (2010) FROM table WHERE Village = gevrey-chambertin AND Grand Cru = latricières-chambertin |
Translate the following into a SQL query | What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin? | SELECT Grand Cru FROM table WHERE Wine style = red wine AND Village = gevrey-chambertin |
Translate the following into a SQL query | What is the average pick number of Pennsylvania? | SELECT AVG Pick FROM table WHERE School/Club Team = pennsylvania |
Translate the following into a SQL query | What is the school/club team of the player with a pick larger than 83? | SELECT School/Club Team FROM table WHERE Pick > 83 |
Translate the following into a SQL query | What is the schoo/club team of the player in round 3? | SELECT School/Club Team FROM table WHERE Round = 3 |
Translate the following into a SQL query | What is the lowest round of the player from UCLA? | SELECT MIN Round FROM table WHERE School/Club Team = ucla |
Translate the following into a SQL query | When was –16 (62-71-71-68=272) the winning score? | SELECT Date FROM table WHERE Winning score = –16 (62-71-71-68=272) |
Translate the following into a SQL query | What was the name of the tournament played on Jun 17, 1973? | SELECT Tournament FROM table WHERE Date = jun 17, 1973 |
Translate the following into a SQL query | Howard Twitty was the runner-up of what tournament? | SELECT Tournament FROM table WHERE Runner(s)-up = howard twitty |
Translate the following into a SQL query | Can you tell me the College/Junior/Club Team that has the Position of defence, and the Nationality of czechoslovakia? | SELECT College/Junior/Club Team FROM table WHERE Position = defence AND Nationality = czechoslovakia |
Translate the following into a SQL query | Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)? | SELECT Position FROM table WHERE College/Junior/Club Team = hull olympiques (qmjhl) |
Translate the following into a SQL query | Can you tell me the Player that has the Round smaller than 6, and the College/Junior/Club Team of hull olympiques (qmjhl)? | SELECT Player FROM table WHERE Round < 6 AND College/Junior/Club Team = hull olympiques (qmjhl) |
Translate the following into a SQL query | What is the Name of the Center? | SELECT Name FROM table WHERE Position = center |
Translate the following into a SQL query | What Position has no College Hall of Fame? | SELECT Position FROM table WHERE College Hall of Fame = no |
Translate the following into a SQL query | What School has no no no Unanimously? | SELECT School FROM table WHERE Unanimous = no no no |
Translate the following into a SQL query | What is the School of the quarterback? | SELECT School FROM table WHERE Position = quarterback |
Translate the following into a SQL query | What School is the Center from? | SELECT School FROM table WHERE Position = center |
Translate the following into a SQL query | What is the Unanimous of the Minnesota Southern California School? | SELECT Unanimous FROM table WHERE School = minnesota southern california |
Translate the following into a SQL query | What is the Cache with a Capacity that is 600 gb? | SELECT Cache FROM table WHERE Capacity = 600 gb |
Translate the following into a SQL query | Which Position has a College/Junior/Club Team (League) of estevan bruins (wchl), and a Round of 3? | SELECT Position FROM table WHERE College/Junior/Club Team (League) = estevan bruins (wchl) AND Round = 3 |
Translate the following into a SQL query | Which Nationality has a Player of larry wright? | SELECT Nationality FROM table WHERE Player = larry wright |
Translate the following into a SQL query | What score has august 25 as the date? | SELECT Score FROM table WHERE Date = august 25 |
Translate the following into a SQL query | What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer? | SELECT COUNT Episode FROM table WHERE Performer 1 = jim sweeney AND Performer 2 = steve steen |
Translate the following into a SQL query | What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer? | SELECT SUM Episode FROM table WHERE Performer 4 = chip esten AND Performer 2 = christopher smith |
Translate the following into a SQL query | What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer? | SELECT SUM Episode FROM table WHERE Performer 4 = chip esten AND Performer 1 = jim meskimen |
Translate the following into a SQL query | Who was the 3rd performer when christopher smith was the 2nd performer? | SELECT Performer 3 FROM table WHERE Performer 2 = christopher smith |
Translate the following into a SQL query | Which Record has a Time of 4:50? | SELECT Record FROM table WHERE Time = 4:50 |
Translate the following into a SQL query | Which Event has a Resolution of loss, and a Record of 12–2? | SELECT Event FROM table WHERE Res. = loss AND Record = 12–2 |
Translate the following into a SQL query | Which Drawn has a Difference of 14? | SELECT AVG Drawn FROM table WHERE Difference = 14 |
Translate the following into a SQL query | Which Played has a Lost larger than 2, and a Team of américa? | SELECT Played FROM table WHERE Lost > 2 AND Team = américa |
Translate the following into a SQL query | What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing? | SELECT SUM Touchdowns FROM table WHERE Field goals = 0 AND Player = joe maddock AND Points < 5 |
Translate the following into a SQL query | what is the class of w269ax | SELECT Class FROM table WHERE Call sign = w269ax |
Translate the following into a SQL query | Which song is from Volume:Issue 64:11-12? | SELECT Song FROM table WHERE Volume:Issue = 64:11-12 |
Translate the following into a SQL query | Which Artist's song is listed as " missing "? | SELECT Artist(s) FROM table WHERE Song = " missing " |
Translate the following into a SQL query | Which song is from Volume:Issue 63:5? | SELECT Song FROM table WHERE Volume:Issue = 63:5 |
Translate the following into a SQL query | Which song is linked to Volume:Issue 64:14-18? | SELECT Song FROM table WHERE Volume:Issue = 64:14-18 |
Translate the following into a SQL query | What is the match report of the match on 20 August? | SELECT Match Report FROM table WHERE Date = 20 august |
Translate the following into a SQL query | What is the origin for the launch taking place in 2010? | SELECT Origin FROM table WHERE Launch = 2010 |
Translate the following into a SQL query | What is the origin for the item with an owner of Hunan Broadcasting System (HBS)? | SELECT Origin FROM table WHERE Owner = hunan broadcasting system (hbs) |
Translate the following into a SQL query | If the college is Trinity, what position is listed? | SELECT Position FROM table WHERE College = trinity |
Translate the following into a SQL query | How many picks did the College of USC wind up getting? | SELECT COUNT Pick # FROM table WHERE College = usc |
Translate the following into a SQL query | For Pick #323, which round is it? | SELECT Round FROM table WHERE Pick # = 323 |
Translate the following into a SQL query | What score has amblecote as the venue? | SELECT Score FROM table WHERE Venue = amblecote |
Translate the following into a SQL query | What city has riverside ground as the venue, with a year prior to 1998? | SELECT City FROM table WHERE Venue = riverside ground AND Year < 1998 |
Translate the following into a SQL query | What is the lowest year that has chester-le-street as the city, with 345 runs as the score? | SELECT MIN Year FROM table WHERE City = chester-le-street AND Score = 345 runs |
Translate the following into a SQL query | What year has 385 runs as the score? | SELECT Year FROM table WHERE Score = 385 runs |
Translate the following into a SQL query | What score has 1998 as the year? | SELECT Score FROM table WHERE Year = 1998 |
Translate the following into a SQL query | What is the 2nd (m) value for Gregor Schlierenzauer? | SELECT MIN 2nd (m) FROM table WHERE Name = gregor schlierenzauer |
Translate the following into a SQL query | What is the Date of the tournament with a score of 199 (–17)? | SELECT Date FROM table WHERE Score = 199 (–17) |
Translate the following into a SQL query | What was the amount of the 1st prize when paul azinger (9) was the winner? | SELECT AVG 1st prize ( $ ) FROM table WHERE Winner = paul azinger (9) |
Translate the following into a SQL query | What is the name of the winner of the tour championship tournament? | SELECT Winner FROM table WHERE Tournament = the tour championship |
Translate the following into a SQL query | What is the Date of the at&t pebble beach national pro-am Tournament? | SELECT Date FROM table WHERE Tournament = at&t pebble beach national pro-am |
Translate the following into a SQL query | Which Site has a Sport of w swimming? | SELECT Site FROM table WHERE Sport = w swimming |
Translate the following into a SQL query | Which Series are on september 15, 2007? | SELECT Series FROM table WHERE Date = september 15, 2007 |
Translate the following into a SQL query | What position did the 2010-11 USA ír player have? | SELECT Position FROM table WHERE Nationality = usa AND Team = ír AND Season = 2010-11 |
Translate the following into a SQL query | What position did the kr team player play? | SELECT Position FROM table WHERE Team = kr |
Translate the following into a SQL query | What team has Steinar Kaldal, a guard / forward? | SELECT Team FROM table WHERE Position = guard / forward AND Player = steinar kaldal |
Translate the following into a SQL query | What team did the 2003-04 winner play for? | SELECT Team FROM table WHERE Season = 2003-04 |
Translate the following into a SQL query | Which catalogue is on 12" vinyl? | SELECT Catalogue FROM table WHERE Format = 12" vinyl |
Translate the following into a SQL query | Which region has and eyeball label and catalogue 7200222? | SELECT Region FROM table WHERE Label = eyeball AND Catalogue = 7200222 |
Translate the following into a SQL query | Which catalogue is from Japan? | SELECT Catalogue FROM table WHERE Region = japan |
Translate the following into a SQL query | What is the format for the United States dated July 23, 2002? | SELECT Format FROM table WHERE Region = united states AND Date = july 23, 2002 |
Translate the following into a SQL query | What is the label for catalogue 7200222? | SELECT Label FROM table WHERE Catalogue = 7200222 |
Translate the following into a SQL query | What is Marc's Surname? | SELECT Surname FROM table WHERE First = marc |
Translate the following into a SQL query | What is the highest uni# of the person with the first name Todd? | SELECT MAX Uni# FROM table WHERE First = todd |
Translate the following into a SQL query | Which position does #14 play? | SELECT Position FROM table WHERE Uni# = 14 |
Translate the following into a SQL query | Which does the lhp player with the first name lachlan bat? | SELECT Bats FROM table WHERE Position = lhp AND First = lachlan |
Translate the following into a SQL query | How many were in Attendance on December 11, 1954? | SELECT COUNT Attendance FROM table WHERE Date = december 11, 1954 |
Translate the following into a SQL query | In what Week were there more than 23,875 in Attendance at Memorial Stadium with Detroit Lions as the Opponent? | SELECT AVG Week FROM table WHERE Attendance > 23,875 AND Game Site = memorial stadium AND Opponent = detroit lions |
Translate the following into a SQL query | What was the Result on Week 3? | SELECT Result FROM table WHERE Week = 3 |
Translate the following into a SQL query | On what Week was the Detroit Lions the Opponent? | SELECT Week FROM table WHERE Opponent = detroit lions |
Translate the following into a SQL query | What was the rangers' record on Game 14? | SELECT Record FROM table WHERE Game = 14 |
Translate the following into a SQL query | What is the highest game number when the rangers had a record of 11-11-1 and the date was after November 29? | SELECT MAX Game FROM table WHERE Record = 11-11-1 AND November > 29 |
Translate the following into a SQL query | What's Francis Harris' position? | SELECT Position FROM table WHERE Name = francis harris |
Translate the following into a SQL query | Which place has more area (km 2) than 34.42? | SELECT Place FROM table WHERE Area (km 2 ) > 34.42 |
Translate the following into a SQL query | What is the lowest 4 hoops, 2 clubs of the nation with a total of 38.25? | SELECT MIN 4 Hoops, 2 Clubs FROM table WHERE Total = 38.25 |
Translate the following into a SQL query | What is the total of Greece, which is placed below 8? | SELECT COUNT Total FROM table WHERE Nation = greece AND Place > 8 |
Translate the following into a SQL query | What is the palce number of Russia, which has 6 ropes of 19.425 and a total less than 38.925? | SELECT SUM Place FROM table WHERE 6 Ropes = 19.425 AND Nation = russia AND Total < 38.925 |
Translate the following into a SQL query | What is the place of the nation with a total greater than 37.85 and 4 hoops, 2 clubs of 19.15? | SELECT SUM Place FROM table WHERE Total > 37.85 AND 4 Hoops, 2 Clubs = 19.15 |
Translate the following into a SQL query | What is the highest 4 hoops, 2 clubs of Belarus, which has a total less than 38.25? | SELECT MAX 4 Hoops, 2 Clubs FROM table WHERE Nation = belarus AND Total < 38.25 |
Translate the following into a SQL query | What is the total of the nation with 19.025 4 hoops, 2 clubs? | SELECT Total FROM table WHERE 4 Hoops, 2 Clubs = 19.025 |
Translate the following into a SQL query | Which Nationality has a Name of janne happonen? | SELECT Nationality FROM table WHERE Name = janne happonen |
Translate the following into a SQL query | Which Nationality has a Rank larger than 3, and a Name of tom hilde? | SELECT Nationality FROM table WHERE Rank > 3 AND Name = tom hilde |
Translate the following into a SQL query | Which Name has a Nationality of nor, and Points of 136? | SELECT Name FROM table WHERE Nationality = nor AND Points = 136 |
Translate the following into a SQL query | Which Points have a 1st (m) smaller than 132.5, and a Nationality of aut, and a Rank larger than 2? | SELECT AVG Points FROM table WHERE 1st (m) < 132.5 AND Nationality = aut AND Rank > 2 |
Translate the following into a SQL query | Which Points have a Rank of 3, and a 1st (m) smaller than 132? | SELECT SUM Points FROM table WHERE Rank = 3 AND 1st (m) < 132 |
Translate the following into a SQL query | What was the average rank of Wolfgang Schwarz with greater than 13 places? | SELECT AVG Rank FROM table WHERE Name = wolfgang schwarz AND Places > 13 |
Translate the following into a SQL query | What nation had 1399.3 points? | SELECT Nation FROM table WHERE Points = 1399.3 |
Translate the following into a SQL query | What is the lowest round number for the fight that had a time of 1:09? | SELECT MIN Round FROM table WHERE Time = 1:09 |
Translate the following into a SQL query | How much Overall has a Pick # smaller than 20, and a Round smaller than 6? | SELECT SUM Overall FROM table WHERE Pick # < 20 AND Round < 6 |
Translate the following into a SQL query | Which average Round has a Pick # larger than 20, and a College of virginia, and an Overall larger than 127? | SELECT AVG Round FROM table WHERE Pick # > 20 AND College = virginia AND Overall > 127 |
Translate the following into a SQL query | How many picks does chad owens have? | SELECT COUNT Pick # FROM table WHERE Name = chad owens |
Translate the following into a SQL query | What is the lowest value in April with New York Rangers as opponent for a game less than 82? | SELECT MIN April FROM table WHERE Opponent = new york rangers AND Game < 82 |
Translate the following into a SQL query | What is the highest value in April with a record of 35–37–11 and more than 81 points? | SELECT MAX April FROM table WHERE Record = 35–37–11 AND Points > 81 |
Translate the following into a SQL query | What is the record of the game played at home by the Blues where the attendance was larger than 4,719? | SELECT Record FROM table WHERE Attendance > 4,719 AND Home = blues |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.