instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many weeks have an attendance of 64,116? | SELECT COUNT Week FROM table WHERE Attendance = 64,116 |
Translate the following into a SQL query | Which date has a week larger than 14? | SELECT Date FROM table WHERE Week > 14 |
Translate the following into a SQL query | Which venue has a week smaller than 2? | SELECT Venue FROM table WHERE Week < 2 |
Translate the following into a SQL query | When was the Metallica: Escape from the Studio show? | SELECT Date FROM table WHERE Event = metallica: escape from the studio |
Translate the following into a SQL query | When is the Monsters of Rock show with 12 bands? | SELECT Date FROM table WHERE Event = monsters of rock AND Acts = 12 bands |
Translate the following into a SQL query | Tell me the result for 15 july | SELECT Result FROM table WHERE Date = 15 july |
Translate the following into a SQL query | Tell me the number range for 1965-66 | SELECT No. range FROM table WHERE Year built (Converted*) = 1965-66 |
Translate the following into a SQL query | Tell me the year built for withdrawn of 1983 | SELECT Year built (Converted*) FROM table WHERE Withdrawn = 1983 |
Translate the following into a SQL query | Tell me the year built for number built of 10 | SELECT Year built (Converted*) FROM table WHERE No. built (Converted*) = 10 |
Translate the following into a SQL query | Tell me the result for 2008-12-23 | SELECT Result FROM table WHERE Date = 2008-12-23 |
Translate the following into a SQL query | Tell me the director nominated for best actor in a leading role | SELECT Director FROM table WHERE Nomination = best actor in a leading role |
Translate the following into a SQL query | Tell me the nomination for peresohla zemlia | SELECT Nomination FROM table WHERE Film Name = peresohla zemlia |
Translate the following into a SQL query | Tell me the nomination for russia and svetlana hodchenkova | SELECT Nomination FROM table WHERE Country = russia AND Actor's Name = svetlana hodchenkova |
Translate the following into a SQL query | Tell me the actor's name for nienasycenie (insatiability) | SELECT Actor's Name FROM table WHERE Film Name = nienasycenie (insatiability) |
Translate the following into a SQL query | Tell me the actor's name for escho raz o voyne | SELECT Actor's Name FROM table WHERE Film Name = escho raz o voyne |
Translate the following into a SQL query | What are the average laps driven in the GT class? | SELECT AVG Laps FROM table WHERE Class = gt |
Translate the following into a SQL query | What classes have driven greater than 133 laps, placed above 18th position and have a class position of 1st? | SELECT Class FROM table WHERE Laps > 133 AND Pos. = 18th AND Class Pos. = 1st |
Translate the following into a SQL query | I want the tsongas of may 22, 2007 | SELECT Tsongas (D) FROM table WHERE Date = may 22, 2007 |
Translate the following into a SQL query | Tell me the venue for winner of nevada and year more than 2004 | SELECT Venue FROM table WHERE Winner = nevada AND Year > 2004 |
Translate the following into a SQL query | What date is the 1:00 pm game at arrowhead stadium? | SELECT Date FROM table WHERE Time ( ET ) = 1:00 pm AND Game Site = arrowhead stadium |
Translate the following into a SQL query | Where will the game at (ET) of 7:00 pm be at? | SELECT Game Site FROM table WHERE Time ( ET ) = 7:00 pm |
Translate the following into a SQL query | Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? | SELECT Driver FROM table WHERE Laps < 498 AND Points < 58 AND Car # > 22 AND Winnings = $93,514 |
Translate the following into a SQL query | At what location was there a loss on 20 jan? | SELECT Location FROM table WHERE Result = loss AND Date = 20 jan |
Translate the following into a SQL query | Tell me the venue for record of 2-7 | SELECT Venue FROM table WHERE Record = 2-7 |
Translate the following into a SQL query | Tell me the result for green bay packers | SELECT Result FROM table WHERE Opponent = green bay packers |
Translate the following into a SQL query | Tell mem the opponent for result of w 31-21 | SELECT Opponent FROM table WHERE Result = w 31-21 |
Translate the following into a SQL query | What is the average speed of rider Peter Williams? | SELECT Speed FROM table WHERE Rider = peter williams |
Translate the following into a SQL query | What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? | SELECT Time FROM table WHERE Team = triumph AND Rank < 4 |
Translate the following into a SQL query | What was the score in 1969? | SELECT Score FROM table WHERE Year = 1969 |
Translate the following into a SQL query | In 1975, what was the final round? | SELECT Final round FROM table WHERE Year = 1975 |
Translate the following into a SQL query | Where did someone run a 61:32 | SELECT Event/Place FROM table WHERE Time = 61:32 |
Translate the following into a SQL query | What was Derek Graham's time? | SELECT Time FROM table WHERE Name = derek graham |
Translate the following into a SQL query | Where did someone run a 58:33? | SELECT Event/Place FROM table WHERE Time = 58:33 |
Translate the following into a SQL query | Tell me the player for pick number less than 29 and mls team of chicago fire | SELECT Player FROM table WHERE Pick # < 29 AND MLS team = chicago fire |
Translate the following into a SQL query | Tell me the opponents for partner of yvonne meusburger | SELECT Opponents FROM table WHERE Partner = yvonne meusburger |
Translate the following into a SQL query | Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova | SELECT Date FROM table WHERE Opponents = raffaella bindi biljana pawlowa-dimitrova |
Translate the following into a SQL query | Tell me the highest time for heat rank of 8 and lane more than 2 | SELECT MAX Time FROM table WHERE Heat Rank = 8 AND Lane > 2 |
Translate the following into a SQL query | Tell me the least time for apostolos tsagkarakis for lane less than 6 | SELECT MIN Time FROM table WHERE Swimmer = apostolos tsagkarakis AND Lane < 6 |
Translate the following into a SQL query | Tell me the method for pride 33 | SELECT Method FROM table WHERE Event = pride 33 |
Translate the following into a SQL query | Tell me the lowest round for total combat 15 | SELECT MIN Round FROM table WHERE Event = total combat 15 |
Translate the following into a SQL query | Tell me the week for pittsburgh steelers opponent | SELECT Week FROM table WHERE Opponent = pittsburgh steelers |
Translate the following into a SQL query | Tell me the week for record of 0-1 | SELECT Week FROM table WHERE Record = 0-1 |
Translate the following into a SQL query | Tell me the time for buffalo bills | SELECT Time FROM table WHERE Opponent = buffalo bills |
Translate the following into a SQL query | Tell me thee record for week of hf | SELECT Record FROM table WHERE Week = hf |
Translate the following into a SQL query | Tell me the game site for week of 1 | SELECT Game Site FROM table WHERE Week = 1 |
Translate the following into a SQL query | What was the result of the 1990 world cup qualifying competition? | SELECT Result FROM table WHERE Competition = 1990 world cup qualifying |
Translate the following into a SQL query | What was the Score of the match in Torrance, California? | SELECT Score FROM table WHERE Venue = torrance, california |
Translate the following into a SQL query | Tell me the score for international friendly 17 august 2013 | SELECT Score FROM table WHERE Type = international friendly AND Date = 17 august 2013 |
Translate the following into a SQL query | What position did the MLS team metrostars pick? | SELECT Position FROM table WHERE MLS Team = metrostars |
Translate the following into a SQL query | What MLS team is affiliated with yale university? | SELECT MLS Team FROM table WHERE Affiliation = yale university |
Translate the following into a SQL query | What affiliations have Pick #s under 32? | SELECT Affiliation FROM table WHERE Pick # < 32 |
Translate the following into a SQL query | What players have a position of F? | SELECT Player FROM table WHERE Position = f |
Translate the following into a SQL query | How many goals were scored when there were 73 caps? | SELECT Goals FROM table WHERE Caps = 73 |
Translate the following into a SQL query | Tell me the build year for total production of 150 | SELECT Build year FROM table WHERE Total production = 150 |
Translate the following into a SQL query | Tell me the power output for total production of 100 | SELECT Power output (kW) FROM table WHERE Total production = 100 |
Translate the following into a SQL query | Name the total production for model nd5 | SELECT Total production FROM table WHERE Model = nd5 |
Translate the following into a SQL query | What is the nationality of the player who played guard in 2006? | SELECT Nationality FROM table WHERE Position(s) = guard AND Season(s) = 2006 |
Translate the following into a SQL query | Tell me the sum of bp 2nd comp with bp azeo of 57.5 | SELECT SUM b.p. 2nd comp. (˚C) FROM table WHERE b.p. azeo. (˚C) = 57.5 |
Translate the following into a SQL query | Which rider went 18 laps ending +25.165 behind the leader? | SELECT Rider FROM table WHERE Laps = 18 AND Time = +25.165 |
Translate the following into a SQL query | Which nationality has a split in the 50m of 29.51? | SELECT Nationality FROM table WHERE 50m Split = 29.51 |
Translate the following into a SQL query | Which average 50m split had a 150m split of 1:40.00, with a placing of less than 2? | SELECT AVG 50m Split FROM table WHERE 150m Split = 1:40.00 AND Place < 2 |
Translate the following into a SQL query | What is the result for a year later than 2002? | SELECT Result FROM table WHERE Year > 2002 |
Translate the following into a SQL query | What is the result for the year 1999? | SELECT Result FROM table WHERE Year = 1999 |
Translate the following into a SQL query | Tell me the engine for dhg tom's racing | SELECT Engine FROM table WHERE Team = dhg tom's racing |
Translate the following into a SQL query | Name the team for toshihiro kaneishi | SELECT Team FROM table WHERE Driver = toshihiro kaneishi |
Translate the following into a SQL query | I want the average year of 敗犬女王 | SELECT AVG Year FROM table WHERE Chinese Title = 敗犬女王 |
Translate the following into a SQL query | Tell me the role for 2005 | SELECT Role FROM table WHERE Year = 2005 |
Translate the following into a SQL query | Tell me the average year for my queen | SELECT AVG Year FROM table WHERE English Title = my queen |
Translate the following into a SQL query | Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346 | SELECT Singles W–L FROM table WHERE Years played > 1 AND Highest singles ranking = 1346 |
Translate the following into a SQL query | When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? | SELECT Best finish FROM table WHERE Top 10s > 0 AND Scoring average = 73.04 |
Translate the following into a SQL query | What is the total of scoring averages with an earnings larger than $117,682 and a best finish of T24? | SELECT COUNT Scoring average FROM table WHERE Earnings ($) > 117,682 AND Best finish = t24 |
Translate the following into a SQL query | When the earnings are less than $507,292, the money list rank 183, and more than 3 tournaments are played, what is the sum of wins? | SELECT SUM Wins FROM table WHERE Earnings ($) < 507,292 AND Money list rank = 183 AND Tournaments played > 3 |
Translate the following into a SQL query | Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier | SELECT Result FROM table WHERE Venue = praterstadion, vienna AND Competition = euro 1980 qualifier |
Translate the following into a SQL query | I want the score for 28 march 1979 | SELECT Score FROM table WHERE Date = 28 march 1979 |
Translate the following into a SQL query | I want the score for 30 april 1977 | SELECT Score FROM table WHERE Date = 30 april 1977 |
Translate the following into a SQL query | What competition was the World Championships before 2011? | SELECT Event FROM table WHERE Competition = world championships AND Year < 2011 |
Translate the following into a SQL query | What event took place in Erfurt, Germany? | SELECT Event FROM table WHERE Venue = erfurt, germany |
Translate the following into a SQL query | Name the team nickname for enrollment more than 42,326 | SELECT Team Nickname FROM table WHERE Enrollment > 42,326 |
Translate the following into a SQL query | With the lost of 3, how many points? | SELECT Points against FROM table WHERE Lost = 3 |
Translate the following into a SQL query | How many against points for 16 matches? | SELECT Points against FROM table WHERE Matches = 16 |
Translate the following into a SQL query | The 51 points against, how many are for? | SELECT Points for FROM table WHERE Points against = 51 |
Translate the following into a SQL query | For the played in, what are the total points? | SELECT Points for FROM table WHERE Played in = total |
Translate the following into a SQL query | What country is the Eurasia Astana team from? | SELECT Country FROM table WHERE Team = eurasia astana |
Translate the following into a SQL query | Tell me the 2008 for 2012 of 4r and 2009 of a | SELECT 2008 FROM table WHERE 2012 = 4r AND 2009 = a |
Translate the following into a SQL query | Tell me the 2008 of 2001 olympic games | SELECT 2008 FROM table WHERE 2011 = olympic games |
Translate the following into a SQL query | Tell me the tournament of 2009 of atp masters series | SELECT Tournament FROM table WHERE 2009 = atp masters series |
Translate the following into a SQL query | Tell me the 2011 tournament of monte carlo masters | SELECT 2011 FROM table WHERE Tournament = monte carlo masters |
Translate the following into a SQL query | Tell me the 2011 with 2012 of 2r | SELECT 2011 FROM table WHERE 2012 = 2r AND 2010 = 2r AND 2009 = 2r |
Translate the following into a SQL query | What was the latest round with a running back from a California college? | SELECT MAX Round FROM table WHERE Position = running back AND College = california |
Translate the following into a SQL query | What were the results for november 25, 1973? | SELECT Result FROM table WHERE Date = november 25, 1973 |
Translate the following into a SQL query | Which Opponent had a week of 14? | SELECT Opponent FROM table WHERE Week = 14 |
Translate the following into a SQL query | Tell me the date for new orleans saints | SELECT Date FROM table WHERE Opponent = new orleans saints |
Translate the following into a SQL query | Tell me the result for week of 4 | SELECT Result FROM table WHERE Week = 4 |
Translate the following into a SQL query | Tell me the lowest week for w 10-3 | SELECT MIN Week FROM table WHERE Result = w 10-3 |
Translate the following into a SQL query | Tell me the average heat rank with a lane of 2 and time less than 27.66 | SELECT AVG Heat Rank FROM table WHERE Lane = 2 AND Time < 27.66 |
Translate the following into a SQL query | Tell me the highest overall rank for lane less than 8 and time less than 27.16 | SELECT MAX Overall Rank FROM table WHERE Lane < 8 AND Time < 27.16 |
Translate the following into a SQL query | Tell me the total number of time for luke hall overall rank being larger than 105 | SELECT COUNT Time FROM table WHERE Swimmer = luke hall AND Overall Rank > 105 |
Translate the following into a SQL query | Tell me the left team for josh vanlandingham | SELECT Left team FROM table WHERE Name = josh vanlandingham |
Translate the following into a SQL query | Who had less than 7 goals, was ranked under 7, and had more than 8 appearances? | SELECT Name FROM table WHERE Goals < 7 AND Rank < 7 AND Appearances > 8 |
Translate the following into a SQL query | What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7. | SELECT SUM Rank FROM table WHERE Name = fernando cavenaghi AND Appearances < 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.