instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the name of the winner when the Score was 274 (β14) in tennessee? | SELECT Winner FROM table WHERE Score = 274 (β14) AND Location = tennessee |
Translate the following into a SQL query | What is the Score when the 1st prize was 63,000, and a Winner of keith fergus (1)? | SELECT Score FROM table WHERE 1st prize ( $ ) = 63,000 AND Winner = keith fergus (1) |
Translate the following into a SQL query | What is the winners name at the western open? | SELECT Winner FROM table WHERE Tournament = western open |
Translate the following into a SQL query | What is the score of the Tournament named danny thomas memphis classic? | SELECT Score FROM table WHERE Tournament = danny thomas memphis classic |
Translate the following into a SQL query | What is the name of the Winner in north carolina at the greater greensboro open? | SELECT Winner FROM table WHERE Location = north carolina AND Tournament = greater greensboro open |
Translate the following into a SQL query | What is the Location of the byron nelson golf classic? | SELECT Location FROM table WHERE Tournament = byron nelson golf classic |
Translate the following into a SQL query | What is the position of player Tiffany Garofano (2)? | SELECT Position FROM table WHERE Player = tiffany garofano (2) |
Translate the following into a SQL query | What is the week with a school that is ball state? | SELECT Week FROM table WHERE School = ball state |
Translate the following into a SQL query | What number last Runners-up where there when the Last win was 1999 and the Runners-up was bigger than 1? | SELECT COUNT Last Runners-up FROM table WHERE Last Win = 1999 AND Runners-up > 1 |
Translate the following into a SQL query | What is the number of Last Runners-up that has the club name of dempo sc? | SELECT SUM Last Runners-up FROM table WHERE Club = dempo sc |
Translate the following into a SQL query | Which Position has a Round larger than 6, and a Player of neil pilon? | SELECT Position FROM table WHERE Round > 6 AND Player = neil pilon |
Translate the following into a SQL query | Which Nationality has a Player of rudy poeschek? | SELECT Nationality FROM table WHERE Player = rudy poeschek |
Translate the following into a SQL query | Which Position has a Player of steve nemeth? | SELECT Position FROM table WHERE Player = steve nemeth |
Translate the following into a SQL query | Which Position has a Nationality of canada, and a Player of pat janostin? | SELECT Position FROM table WHERE Nationality = canada AND Player = pat janostin |
Translate the following into a SQL query | What was the score of the match on April 23, 2007? | SELECT Score FROM table WHERE Date = april 23, 2007 |
Translate the following into a SQL query | Which Date has a Game site of shea stadium, and a Week of 5? | SELECT Date FROM table WHERE Game site = shea stadium AND Week = 5 |
Translate the following into a SQL query | Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24β23? | SELECT MAX Attendance FROM table WHERE Week < 9 AND Result = l 24β23 |
Translate the following into a SQL query | Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137? | SELECT AVG Week FROM table WHERE Opponent = baltimore colts AND Attendance < 55,137 |
Translate the following into a SQL query | Which Game has Points of 53, and an Opponent of @ minnesota north stars, and a December larger than 30? | SELECT AVG Game FROM table WHERE Points = 53 AND Opponent = @ minnesota north stars AND December > 30 |
Translate the following into a SQL query | Which December has a Record of 21β6β5? | SELECT AVG December FROM table WHERE Record = 21β6β5 |
Translate the following into a SQL query | Which Points have an Opponent of @ pittsburgh penguins? | SELECT MAX Points FROM table WHERE Opponent = @ pittsburgh penguins |
Translate the following into a SQL query | What year was the startup for the Project Named of taq taq ph 2? | SELECT Year startup FROM table WHERE Project Name = taq taq ph 2 |
Translate the following into a SQL query | What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)? | SELECT Operator FROM table WHERE Peak = 90 AND Year startup = 2010 AND Project Name = aosp expansion 1 (jackpine ph 1a) |
Translate the following into a SQL query | What country has peak 20 and a project named jarn yabhour; ramhan? | SELECT Country FROM table WHERE Peak = 20 AND Project Name = jarn yabhour; ramhan |
Translate the following into a SQL query | How much Attendance has an Opponent of swindon wildcats? | SELECT COUNT Attendance FROM table WHERE Opponent = swindon wildcats |
Translate the following into a SQL query | Which Attendance is the lowest one that has a Venue of away, and a Date of 19? | SELECT MIN Attendance FROM table WHERE Venue = away AND Date = 19 |
Translate the following into a SQL query | Which Venue has a Result of won 5-4? | SELECT Venue FROM table WHERE Result = won 5-4 |
Translate the following into a SQL query | what country has dubai | SELECT Country FROM table WHERE Town = dubai |
Translate the following into a SQL query | what country is dubai in | SELECT Country FROM table WHERE Town = dubai |
Translate the following into a SQL query | What home team has june 22 as the date? | SELECT Home Team FROM table WHERE Date = june 22 |
Translate the following into a SQL query | What road team has 86-84 as the result? | SELECT Road Team FROM table WHERE Result = 86-84 |
Translate the following into a SQL query | What road team has 91-82 as the result? | SELECT Road Team FROM table WHERE Result = 91-82 |
Translate the following into a SQL query | Which game has houston as the road team, and june 15 as the date? | SELECT Game FROM table WHERE Road Team = houston AND Date = june 15 |
Translate the following into a SQL query | What is listed under occupation for someone from Santa Monica, California? | SELECT Occupation FROM table WHERE Hometown = santa monica, california |
Translate the following into a SQL query | For natives of St. Louis, Missouri, what was listed under education? | SELECT Education FROM table WHERE Hometown = st. louis, missouri |
Translate the following into a SQL query | When the occupation was utility worker on-air talent, what was the game status? | SELECT Game Status FROM table WHERE Occupation = utility worker on-air talent |
Translate the following into a SQL query | Which 2005 has a 2004 of 3β2? | SELECT 2005 FROM table WHERE 2004 = 3β2 |
Translate the following into a SQL query | Which 2011 has a 2009 of 15β2? | SELECT 2011 FROM table WHERE 2009 = 15β2 |
Translate the following into a SQL query | Which 2010 has a 2006 of w? | SELECT 2010 FROM table WHERE 2006 = w |
Translate the following into a SQL query | Which 2008 has a 2005 of 13β3? | SELECT 2008 FROM table WHERE 2005 = 13β3 |
Translate the following into a SQL query | What is the time of the Ghantoot Racing and Polo Club? | SELECT Time FROM table WHERE Ground = ghantoot racing and polo club |
Translate the following into a SQL query | What is the home team score of the game with Adelaide as the away team? | SELECT Home team score FROM table WHERE Away team = adelaide |
Translate the following into a SQL query | What is the time of the Essendon home team game? | SELECT Time FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What is the home team score of the Ghantoot Racing and Polo Club Ground? | SELECT Home team score FROM table WHERE Ground = ghantoot racing and polo club |
Translate the following into a SQL query | What shows for region when the date is february 2006? | SELECT Region FROM table WHERE Date = february 2006 |
Translate the following into a SQL query | What shows as the format for catalog 11 135? | SELECT Format FROM table WHERE Catalog = 11 135 |
Translate the following into a SQL query | What is the release Date of the 7" single in Catalog 87184? | SELECT Date FROM table WHERE Format = 7" single AND Catalog = 87184 |
Translate the following into a SQL query | In what Region is Catalog number 885 380-1? | SELECT Region FROM table WHERE Catalog = 885 380-1 |
Translate the following into a SQL query | What Label is dated April 1986 in 7" single Format in France? | SELECT Label FROM table WHERE Region = france AND Format = 7" single AND Date = april 1986 |
Translate the following into a SQL query | Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz? | SELECT Sampling Memory/Upgrade-able FROM table WHERE Sampling Rate = 16-bit 44.1khz |
Translate the following into a SQL query | Around what time frame release a Sampling Rate of 12-bit 40khz? | SELECT SUM Release Date FROM table WHERE Sampling Rate = 12-bit 40khz |
Translate the following into a SQL query | How much is a product with a Sampling Rate of 12-bit 40khz? | SELECT Price FROM table WHERE Sampling Rate = 12-bit 40khz |
Translate the following into a SQL query | what team scored on december 19 | SELECT Record FROM table WHERE Date = december 19 |
Translate the following into a SQL query | what team scored 5β5β1β1? | SELECT Home FROM table WHERE Record = 5β5β1β1 |
Translate the following into a SQL query | what team scored on november 7 | SELECT Record FROM table WHERE Date = november 7 |
Translate the following into a SQL query | Which player has rank 1? | SELECT Player FROM table WHERE Rank = 1 |
Translate the following into a SQL query | What's the mean number of wins with a rank that's more than 5? | SELECT AVG Wins FROM table WHERE Rank > 5 |
Translate the following into a SQL query | What amount of earnings does Tiger Woods have? | SELECT Earnings ( $ ) FROM table WHERE Player = tiger woods |
Translate the following into a SQL query | What is the position number of the club with more than 24 points and a w-l-d of 8-5-3? | SELECT COUNT Position FROM table WHERE Points > 24 AND W-L-D = 8-5-3 |
Translate the following into a SQL query | What is the goals for/against of the club with 17 points? | SELECT Goals For/Against FROM table WHERE Points = 17 |
Translate the following into a SQL query | What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against? | SELECT MAX Games Played FROM table WHERE Position < 4 AND Goals For/Against = 29-24 |
Translate the following into a SQL query | Which date's attendance was more than 35,540? | SELECT Date FROM table WHERE Attendance > 35,540 |
Translate the following into a SQL query | What is the smallest attendance number for December 3, 1944? | SELECT MIN Attendance FROM table WHERE Date = december 3, 1944 |
Translate the following into a SQL query | When was the Treaty of Cession for Karikal Colony? | SELECT Treaty of Cession FROM table WHERE Colony = karikal |
Translate the following into a SQL query | what day was the game in argentina | SELECT Date FROM table WHERE Opponent = argentina |
Translate the following into a SQL query | what city scored 0:0 | SELECT City FROM table WHERE ResultsΒΉ = 0:0 |
Translate the following into a SQL query | what game was played on june 14 | SELECT Type of game FROM table WHERE Date = june 14 |
Translate the following into a SQL query | What score has april 28 as the date? | SELECT Score FROM table WHERE Date = april 28 |
Translate the following into a SQL query | What score has tim duncan (27) as the leading scorer? | SELECT Score FROM table WHERE Leading scorer = tim duncan (27) |
Translate the following into a SQL query | What visitor has tim duncan (16) as the leading scorer? | SELECT Visitor FROM table WHERE Leading scorer = tim duncan (16) |
Translate the following into a SQL query | What were Will Rackley's total rounds? | SELECT COUNT Round FROM table WHERE Name = will rackley |
Translate the following into a SQL query | Which cornerback has the lowest overall and a pick number smaller than 16? | SELECT MIN Overall FROM table WHERE Position = cornerback AND Pick # < 16 |
Translate the following into a SQL query | Which cornerback has the highest round? | SELECT MAX Round FROM table WHERE Position = cornerback |
Translate the following into a SQL query | What was the outcome on 25 october 2004? | SELECT Outcome FROM table WHERE Date = 25 october 2004 |
Translate the following into a SQL query | Which opponent was a runner-up on 2 march 1998? | SELECT Opponent in the final FROM table WHERE Outcome = runner-up AND Date = 2 march 1998 |
Translate the following into a SQL query | Which championship had an oppenent of mario anΔiΔ in the final? | SELECT Championship FROM table WHERE Opponent in the final = mario anΔiΔ |
Translate the following into a SQL query | Name the change with share of 2.9% | SELECT Change FROM table WHERE Share = 2.9% |
Translate the following into a SQL query | Name the change for english democrats | SELECT Change FROM table WHERE Party = english democrats |
Translate the following into a SQL query | Name the average votes for one london | SELECT AVG Votes FROM table WHERE Party = one london |
Translate the following into a SQL query | Which Country has a Rank of 5? | SELECT Country FROM table WHERE Rank = 5 |
Translate the following into a SQL query | Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22? | SELECT MIN Earnings ( $ ) FROM table WHERE Rank = 1 AND Events < 22 |
Translate the following into a SQL query | How many earnings have Wins larger than 3? | SELECT SUM Earnings ( $ ) FROM table WHERE Wins > 3 |
Translate the following into a SQL query | Which Player has 4 Wins? | SELECT Player FROM table WHERE Wins = 4 |
Translate the following into a SQL query | How many Poles have a Bike of honda rc212v, and Podiums smaller than 0? | SELECT COUNT Poles FROM table WHERE Bike = honda rc212v AND Podiums < 0 |
Translate the following into a SQL query | Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2? | SELECT MAX Wins FROM table WHERE Pos. = 2nd AND Poles > 2 |
Translate the following into a SQL query | What is the average of points for 8th place with draw more than 8? | SELECT AVG Points FROM table WHERE Place = 8th AND Draw > 8 |
Translate the following into a SQL query | Which Points have a Game smaller than 8, and a Record of 1β0β0? | SELECT SUM Points FROM table WHERE Game < 8 AND Record = 1β0β0 |
Translate the following into a SQL query | Which Game has a Record of 5β3β1, and an October smaller than 29? | SELECT SUM Game FROM table WHERE Record = 5β3β1 AND October < 29 |
Translate the following into a SQL query | Which Game has a Score of 3β4? | SELECT MIN Game FROM table WHERE Score = 3β4 |
Translate the following into a SQL query | Which Game has a Record of 4β2β1, and Points larger than 9? | SELECT SUM Game FROM table WHERE Record = 4β2β1 AND Points > 9 |
Translate the following into a SQL query | Which Nationality has a Position of defense, and a Player of nikita korovkin? | SELECT Nationality FROM table WHERE Position = defense AND Player = nikita korovkin |
Translate the following into a SQL query | Which Nationality has a Position of left wing? | SELECT Nationality FROM table WHERE Position = left wing |
Translate the following into a SQL query | Which Player has a Position of forward? | SELECT Player FROM table WHERE Position = forward |
Translate the following into a SQL query | Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)? | SELECT Week 3 Sept 14 FROM table WHERE Week 6 Oct 5 = kansas (4-1) |
Translate the following into a SQL query | Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)? | SELECT Week 2 Sept 7 FROM table WHERE Week 6 Oct 5 = wake forest (3-1) |
Translate the following into a SQL query | Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)? | SELECT Week 1 Sept 2 FROM table WHERE Week 3 Sept 14 = south florida (3-0) |
Translate the following into a SQL query | Which Week 7 Oct 12 has a Week 6 Oct 5 of boise state (4-0)? | SELECT Week 7 Oct 12 FROM table WHERE Week 6 Oct 5 = boise state (4-0) |
Translate the following into a SQL query | Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)? | SELECT Week 2 Sept 7 FROM table WHERE Week 7 Oct 12 = ball state (7-0) |
Translate the following into a SQL query | Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)? | SELECT Week 6 Oct 5 FROM table WHERE Week 14 Nov 30 = texas (11-1) |
Translate the following into a SQL query | What is the highest round of Tommy Allman, who had a pick less than 40? | SELECT MAX Round FROM table WHERE Player = tommy allman AND Pick < 40 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.