instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which rank has a s wicket at 40 and 28.42 is the average? | SELECT Rank FROM table WHERE s Wicket = 40 AND Average = 28.42 |
Translate the following into a SQL query | Which value for s wicket is associated with Shaun Young? | SELECT s Wicket FROM table WHERE Player = shaun young |
Translate the following into a SQL query | Which player has a s wicket at 48? | SELECT Player FROM table WHERE s Wicket = 48 |
Translate the following into a SQL query | What is the s wicket value associated with Shaun Young? | SELECT s Wicket FROM table WHERE Player = shaun young |
Translate the following into a SQL query | What is the date of the game where the NY Islanders are the home team? | SELECT Date FROM table WHERE Home = ny islanders |
Translate the following into a SQL query | What is the score of the game where the NY Islanders are the home team? | SELECT Score FROM table WHERE Home = ny islanders |
Translate the following into a SQL query | Who was the home team on February 3? | SELECT Home FROM table WHERE Date = february 3 |
Translate the following into a SQL query | What is the sum of Overall, when Round is less than 24, and when College is North Carolina State? | SELECT SUM Overall FROM table WHERE Round < 24 AND College = north carolina state |
Translate the following into a SQL query | What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi? | SELECT COUNT Pick FROM table WHERE Position = ot AND Overall > 91 AND Round > 21 AND College = mississippi |
Translate the following into a SQL query | What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26? | SELECT MIN Overall FROM table WHERE College = hardin-simmons AND Round > 26 |
Translate the following into a SQL query | What is the score of the tournament with younes el aynaoui as the opponent? | SELECT Score FROM table WHERE Opponent = younes el aynaoui |
Translate the following into a SQL query | What is the date of the tournament with carlos moyΓ as the opponent? | SELECT Date FROM table WHERE Opponent = carlos moyΓ |
Translate the following into a SQL query | What is the tournament with greg rusedski as the opponent? | SELECT Tournament FROM table WHERE Opponent = greg rusedski |
Translate the following into a SQL query | What is the surface on 26 May 1996? | SELECT Surface FROM table WHERE Date = 26 may 1996 |
Translate the following into a SQL query | What club did united states player ty harden play for? | SELECT Club FROM table WHERE Nationality = united states AND Player = ty harden |
Translate the following into a SQL query | Which seaosn had a player of rohan ricketts? | SELECT COUNT Season FROM table WHERE Player = rohan ricketts |
Translate the following into a SQL query | What is Tries Against, when Points Against is 213? | SELECT Tries against FROM table WHERE Points against = 213 |
Translate the following into a SQL query | What is Tries Against, when Tries For is 21? | SELECT Tries against FROM table WHERE Tries for = 21 |
Translate the following into a SQL query | What is Try Diff, when Points Diff is +71? | SELECT Try diff FROM table WHERE Points diff = +71 |
Translate the following into a SQL query | What is Try Diff, when Points Against is 213? | SELECT Try diff FROM table WHERE Points against = 213 |
Translate the following into a SQL query | What is Tries Against, when Try Diff is +15? | SELECT Tries against FROM table WHERE Try diff = +15 |
Translate the following into a SQL query | Which archbishop vacated the throne on May 17, 1907? | SELECT Archbishop FROM table WHERE Vacated throne = may 17, 1907 |
Translate the following into a SQL query | When did the archbishop that was ordained a bishop on July 25, 1902 die? | SELECT Died FROM table WHERE Ordained Bishop = july 25, 1902 |
Translate the following into a SQL query | When was the archbishop that was born on February 10, 1858 ordained a bishop? | SELECT Ordained Bishop FROM table WHERE Born = february 10, 1858 |
Translate the following into a SQL query | When did Archbishop Albert Daeger vacate the throne? | SELECT Vacated throne FROM table WHERE Archbishop = albert daeger |
Translate the following into a SQL query | When was the archbishop that was ordained as a bishop on November 30, 1925 born? | SELECT Born FROM table WHERE Ordained Bishop = november 30, 1925 |
Translate the following into a SQL query | When was the archbishop that was born on February 22, 1825 ordained as a bishop? | SELECT Ordained Bishop FROM table WHERE Born = february 22, 1825 |
Translate the following into a SQL query | Which event was against Pat Barry? | SELECT Event FROM table WHERE Opponent = pat barry |
Translate the following into a SQL query | What event is 200m larger than 922? | SELECT Event FROM table WHERE 200 m > 922 |
Translate the following into a SQL query | What Player has a Score of 71-71=142? | SELECT Player FROM table WHERE Score = 71-71=142 |
Translate the following into a SQL query | What is the To par of T9 Place Player Ernie Els? | SELECT To par FROM table WHERE Place = t9 AND Player = ernie els |
Translate the following into a SQL query | What is the Score of the Player from South Africa? | SELECT Score FROM table WHERE Country = south africa |
Translate the following into a SQL query | What is the Place of the Player with a Score of 70-71=141? | SELECT Place FROM table WHERE Score = 70-71=141 |
Translate the following into a SQL query | Which Date has a Set 1 of 25β20? | SELECT Date FROM table WHERE Set 1 = 25β20 |
Translate the following into a SQL query | Which Score has a Total of 80β72? | SELECT Score FROM table WHERE Total = 80β72 |
Translate the following into a SQL query | Which Date has a Set 1 of 21β25? | SELECT Date FROM table WHERE Set 1 = 21β25 |
Translate the following into a SQL query | Which Set 2 has a Set 3 of 25β20, and a Time of 13:45? | SELECT Set 2 FROM table WHERE Set 3 = 25β20 AND Time = 13:45 |
Translate the following into a SQL query | Which Score has a Set 1 of 25β16? | SELECT Score FROM table WHERE Set 1 = 25β16 |
Translate the following into a SQL query | Which Date has a Score of 2β3, a Time of 20:30, and a Set 3 of 16β25? | SELECT Date FROM table WHERE Score = 2β3 AND Time = 20:30 AND Set 3 = 16β25 |
Translate the following into a SQL query | Which Back has a Supplier of Kooga and a Year of 2006-2008? | SELECT Back FROM table WHERE Supplier = kooga AND Year = 2006-2008 |
Translate the following into a SQL query | Which Supplier has a Year of 2006-2008? | SELECT Supplier FROM table WHERE Year = 2006-2008 |
Translate the following into a SQL query | Which Sleeves have a Back of Unknown? | SELECT Sleeves FROM table WHERE Back = unknown |
Translate the following into a SQL query | What is the Year for Supplier Kooga? | SELECT Year FROM table WHERE Supplier = kooga |
Translate the following into a SQL query | Which Sleeves have a Year of 2006-2008? | SELECT Sleeves FROM table WHERE Year = 2006-2008 |
Translate the following into a SQL query | Which Chest is Supplied by Gilbert? | SELECT Chest FROM table WHERE Supplier = gilbert |
Translate the following into a SQL query | Which website was started in 2008? | SELECT Website FROM table WHERE Year started = 2008 |
Translate the following into a SQL query | Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1? | SELECT MAX Year started FROM table WHERE Current car = arctic sun AND Number of cars < 1 |
Translate the following into a SQL query | Which Current car has a Number of cars of 1, and a Year started of 1999? | SELECT Current car FROM table WHERE Number of cars = 1 AND Year started = 1999 |
Translate the following into a SQL query | Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100? | SELECT MIN Year started FROM table WHERE Number of cars > 7 AND Car # = 100 |
Translate the following into a SQL query | What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"? | SELECT COUNT Round FROM table WHERE Position = d AND Player = andrew campbell |
Translate the following into a SQL query | What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"? | SELECT Nationality FROM table WHERE College/Junior/Club Team (League) = guelph storm ( ohl ) |
Translate the following into a SQL query | What is Nationality, when Player is "Andrew Campbell"? | SELECT Nationality FROM table WHERE Player = andrew campbell |
Translate the following into a SQL query | Which Power has a Name of 9 nc? | SELECT Power FROM table WHERE Name = 9 nc |
Translate the following into a SQL query | Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc? | SELECT Weight FROM table WHERE Power = kw (hp) at 1,800rpm AND Name = 9 nc |
Translate the following into a SQL query | Which Bore has a Name of 9 adr? | SELECT Bore FROM table WHERE Name = 9 adr |
Translate the following into a SQL query | Which Power has a Name of 9 ad? | SELECT Power FROM table WHERE Name = 9 ad |
Translate the following into a SQL query | When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found? | SELECT MAX Overall FROM table WHERE Name = chris horton AND Pick < 42 |
Translate the following into a SQL query | When Kansas State had a pick of over 35, what's the highest Overall pick found? | SELECT MAX Overall FROM table WHERE College = kansas state AND Pick > 35 |
Translate the following into a SQL query | Total points with 114 played and average of 0.982? | SELECT SUM Points FROM table WHERE Played = 114 AND Average = 0.982 |
Translate the following into a SQL query | Team with average of 1.035? | SELECT Team FROM table WHERE Average = 1.035 |
Translate the following into a SQL query | Total average with less than 105 points, 1993-1994 less than 30, and the team of gimnasia y tiro? | SELECT SUM Average FROM table WHERE Points < 105 AND Team = gimnasia y tiro AND 1993-94 < 30 |
Translate the following into a SQL query | What was Chris Hanburger's position? | SELECT Position FROM table WHERE Name = chris hanburger |
Translate the following into a SQL query | What was John Strohmeyer's average pick before round 12? | SELECT AVG Pick FROM table WHERE Name = john strohmeyer AND Round < 12 |
Translate the following into a SQL query | what is the average points when position is more than 5 and played is less than 10? | SELECT AVG Points FROM table WHERE Position > 5 AND Played < 10 |
Translate the following into a SQL query | what is the average points when drawn is 0, lost is 5 and played is more than 10? | SELECT AVG Points FROM table WHERE Drawn = 0 AND Lost = 5 AND Played > 10 |
Translate the following into a SQL query | what is the average number lost when points is 14 and position is more than 1? | SELECT AVG Lost FROM table WHERE Points = 14 AND Position > 1 |
Translate the following into a SQL query | what is the average points when played is 9, name is ev pegnitz and position is larger than 1? | SELECT AVG Points FROM table WHERE Played = 9 AND Name = ev pegnitz AND Position > 1 |
Translate the following into a SQL query | What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron? | SELECT Place FROM table WHERE Score = 72-72=144 AND Country = united states AND Player = scott mccarron |
Translate the following into a SQL query | What is Country, when Score is 70-73=143? | SELECT Country FROM table WHERE Score = 70-73=143 |
Translate the following into a SQL query | What is Player, when Place is 2? | SELECT Player FROM table WHERE Place = 2 |
Translate the following into a SQL query | What is Country, when Player is Billy Mayfair? | SELECT Country FROM table WHERE Player = billy mayfair |
Translate the following into a SQL query | What is To Par, when Player is K. J. Choi? | SELECT To par FROM table WHERE Player = k. j. choi |
Translate the following into a SQL query | What is Score, when Player is Billy Mayfair? | SELECT Score FROM table WHERE Player = billy mayfair |
Translate the following into a SQL query | What place did Don Whitt finish? | SELECT Place FROM table WHERE Player = don whitt |
Translate the following into a SQL query | What did Phil Rodgers score? | SELECT Score FROM table WHERE Player = phil rodgers |
Translate the following into a SQL query | What place was Gary Player after two rounds? | SELECT Place FROM table WHERE Player = gary player |
Translate the following into a SQL query | What is 1993, when Tournament is "Cincinnati"? | SELECT 1993 FROM table WHERE Tournament = cincinnati |
Translate the following into a SQL query | What is 1994, when 1996 is "Grand Slams"? | SELECT 1994 FROM table WHERE 1996 = grand slams |
Translate the following into a SQL query | What is Tournament, when 1996 is "1R", and when 1990 is "SF"? | SELECT Tournament FROM table WHERE 1996 = 1r AND 1990 = sf |
Translate the following into a SQL query | What is 1993, when 1992 is "SF", and when Tournament is "Paris"? | SELECT 1993 FROM table WHERE 1992 = sf AND Tournament = paris |
Translate the following into a SQL query | What country has a 70-73-70=213 score? | SELECT Country FROM table WHERE Score = 70-73-70=213 |
Translate the following into a SQL query | What place is player johnny miller, who has a to par of +2? | SELECT Place FROM table WHERE To par = +2 AND Player = johnny miller |
Translate the following into a SQL query | What country is player mike sullivan from? | SELECT Country FROM table WHERE Player = mike sullivan |
Translate the following into a SQL query | What is the place with a 71-72-70=213 score? | SELECT Place FROM table WHERE Score = 71-72-70=213 |
Translate the following into a SQL query | What was the record after the game on May 1, 2004? | SELECT Record FROM table WHERE Date = may 1, 2004 |
Translate the following into a SQL query | What was the record after the game with the Manchester Wolves on July 30, 2004? | SELECT Record FROM table WHERE Opponent = manchester wolves AND Date = july 30, 2004 |
Translate the following into a SQL query | Which game site hosted a match on April 10, 2004? | SELECT Game site FROM table WHERE Date = april 10, 2004 |
Translate the following into a SQL query | Does Green Bay have a golf team? | SELECT Golf FROM table WHERE School = green bay |
Translate the following into a SQL query | Does Detroit have a soccer team? | SELECT Soccer FROM table WHERE School = detroit |
Translate the following into a SQL query | What is Poll Source, when Democrat: Carl Levin is 61%? | SELECT Poll Source FROM table WHERE Democrat: Carl Levin = 61% |
Translate the following into a SQL query | What is Democrat: Carl Levin, when Lead Margin is 22? | SELECT Democrat: Carl Levin FROM table WHERE Lead Margin = 22 |
Translate the following into a SQL query | What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%? | SELECT Dates administered FROM table WHERE Poll Source = rasmussen reports AND Lead Margin > 18 AND Republican: Jack Hoogendyk = 36% AND Democrat: Carl Levin = 59% |
Translate the following into a SQL query | What is Dates Administered, when Democrat: Carl Levin is 61%? | SELECT Dates administered FROM table WHERE Democrat: Carl Levin = 61% |
Translate the following into a SQL query | What is Win %, when Conference Titles is 0, and when Win-Loss is 20-10? | SELECT Win % FROM table WHERE Conference Titles = 0 AND Win-Loss = 20-10 |
Translate the following into a SQL query | What is Conference Titles, when Win % is .667? | SELECT Conference Titles FROM table WHERE Win % = .667 |
Translate the following into a SQL query | What is Coach, when Win % is .352? | SELECT Coach FROM table WHERE Win % = .352 |
Translate the following into a SQL query | What is Win-Loss, when Win % is .456? | SELECT Win-Loss FROM table WHERE Win % = .456 |
Translate the following into a SQL query | What is Years, when Win-Loss is 11-60? | SELECT Years FROM table WHERE Win-Loss = 11-60 |
Translate the following into a SQL query | What is the Date that has a Record of 33.952? | SELECT Date FROM table WHERE Record = 33.952 |
Translate the following into a SQL query | What is the Place that has a Date of 4 august 2012? | SELECT Place FROM table WHERE Date = 4 august 2012 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.