instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which date has a Clock of 0.8-1.6ghz? | SELECT Date FROM table WHERE Clock = 0.8-1.6ghz |
Translate the following into a SQL query | What was the record on May 21? | SELECT Record FROM table WHERE Date = may 21 |
Translate the following into a SQL query | On what date was the attendance 24,976? | SELECT Date FROM table WHERE Attendance = 24,976 |
Translate the following into a SQL query | On what date was the record 21-26? | SELECT Date FROM table WHERE Record = 21-26 |
Translate the following into a SQL query | How many were in attendance with a loss of Prokopec (2-7)? | SELECT Attendance FROM table WHERE Loss = prokopec (2-7) |
Translate the following into a SQL query | Who was the opponent on May 20? | SELECT Opponent FROM table WHERE Date = may 20 |
Translate the following into a SQL query | What is the tournament on Apr 6? | SELECT Tournament FROM table WHERE Date = apr 6 |
Translate the following into a SQL query | What is the 1st prize of the tournament in Scotland? | SELECT 1st prize ( $ ) FROM table WHERE Location = scotland |
Translate the following into a SQL query | What is the location of the Sea Pines Heritage Classic tournament? | SELECT Location FROM table WHERE Tournament = sea pines heritage classic |
Translate the following into a SQL query | What is the score of the Tournament Players Championship? | SELECT Score FROM table WHERE Tournament = tournament players championship |
Translate the following into a SQL query | What is the 1st prize at the U.S. Open? | SELECT 1st prize ( $ ) FROM table WHERE Tournament = u.s. open |
Translate the following into a SQL query | What is the average first prize of the tournament with a score of 279 (–9)? | SELECT AVG 1st prize ( $ ) FROM table WHERE Score = 279 (–9) |
Translate the following into a SQL query | What is the lowest first prize of the Mercedes Championships tournament in California? | SELECT MIN 1st prize ( $ ) FROM table WHERE Location = california AND Tournament = mercedes championships |
Translate the following into a SQL query | What is the average capacity for the venue where the team kommunalnik played? | SELECT AVG Capacity FROM table WHERE Team = kommunalnik |
Translate the following into a SQL query | What is the position of the team that played at the venue, Central, Gomel? | SELECT Position in 1999 FROM table WHERE Venue = central, gomel |
Translate the following into a SQL query | What is the position of the team that played at the venue with more than 6,500 capacity? | SELECT Position in 1999 FROM table WHERE Capacity > 6,500 |
Translate the following into a SQL query | What is the smallest number of assists with 70 Pims and less than 19 goals? | SELECT MIN Assists FROM table WHERE Pims = 70 AND Goals < 19 |
Translate the following into a SQL query | What is the smallest number of assists for Ben Duggan with less than 7 points? | SELECT MIN Assists FROM table WHERE Name = ben duggan AND Points < 7 |
Translate the following into a SQL query | In what Year was Rhode Island the National Champion? | SELECT Year FROM table WHERE National Champion = rhode island |
Translate the following into a SQL query | What was the Runner-up in the Monroe County Sports Commission? | SELECT Runner-Up FROM table WHERE Host = monroe county sports commission |
Translate the following into a SQL query | At what Location was the Runner-up TBD? | SELECT Location FROM table WHERE Runner-Up = tbd |
Translate the following into a SQL query | At what Location did Robert Morris University (Illinois) Host the Lindenwood National Chamption? | SELECT Location FROM table WHERE Host = robert morris university (illinois) AND National Champion = lindenwood |
Translate the following into a SQL query | What was the Runner-up with Ohio as the National Champion in Tucson, AZ? | SELECT Runner-Up FROM table WHERE National Champion = ohio AND Location = tucson, az |
Translate the following into a SQL query | Which graphics spec has a VRAM spec of 512MB? | SELECT Graphics FROM table WHERE VRAM = 512mb |
Translate the following into a SQL query | What is the MSRP for the laptop with storage of 128-512 GB SSD? | SELECT MSRP FROM table WHERE Storage = 128-512 gb ssd |
Translate the following into a SQL query | Name the opponent for game 5 | SELECT Opponent FROM table WHERE Game = 5 |
Translate the following into a SQL query | What status is shown for Cadeby? | SELECT Status FROM table WHERE Name = cadeby |
Translate the following into a SQL query | What is the Former local authority for Ecclesfield? | SELECT Former local authority FROM table WHERE Name = ecclesfield |
Translate the following into a SQL query | What is the Status of Mexborough? | SELECT Status FROM table WHERE Name = mexborough |
Translate the following into a SQL query | What is the Status for the District of doncaster, and a Former local authority of doncaster rural district, with a Population of 203? | SELECT Status FROM table WHERE District = doncaster AND Former local authority = doncaster rural district AND Population = 203 |
Translate the following into a SQL query | What is the score on December 1? | SELECT Score FROM table WHERE Date = december 1 |
Translate the following into a SQL query | Which skip has Oliver Dupont as a second? | SELECT Skip FROM table WHERE Second = oliver dupont |
Translate the following into a SQL query | Which second's third is Jean-Michel Arsenault? | SELECT Second FROM table WHERE Third = jean-michel arsenault |
Translate the following into a SQL query | Which skip's third is Steffen Walstad? | SELECT Skip FROM table WHERE Third = steffen walstad |
Translate the following into a SQL query | Which skip's second is Martin Hejhal? | SELECT Skip FROM table WHERE Second = martin hejhal |
Translate the following into a SQL query | Which skip's lead is Gordon McDougall? | SELECT Skip FROM table WHERE Lead = gordon mcdougall |
Translate the following into a SQL query | Which second's skip is Chris Plys? | SELECT Second FROM table WHERE Skip = chris plys |
Translate the following into a SQL query | How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3? | SELECT SUM Poles FROM table WHERE Class = 125cc AND Team = matteoni racing team AND Points > 3 |
Translate the following into a SQL query | How many Podiums have a Class of 250cc, and an F laps of 0? | SELECT SUM Podiums FROM table WHERE Class = 250cc AND F. laps = 0 |
Translate the following into a SQL query | Team of elgin city, and a Highest smaller than 537 had what total number of average? | SELECT COUNT Average FROM table WHERE Team = elgin city AND Highest < 537 |
Translate the following into a SQL query | Average larger than 450, and a Capacity smaller than 5,177, and a Stadium of ochilview park is what sum of the highest? | SELECT SUM Highest FROM table WHERE Average > 450 AND Capacity < 5,177 AND Stadium = ochilview park |
Translate the following into a SQL query | Capacity smaller than 3,292, and a Highest larger than 812, and a Stadium of strathclyde homes stadium has what sum of the average? | SELECT SUM Average FROM table WHERE Capacity < 3,292 AND Highest > 812 AND Stadium = strathclyde homes stadium |
Translate the following into a SQL query | Lowest larger than 288, and a Team of east stirlingshire has what lowest average? | SELECT MIN Average FROM table WHERE Lowest > 288 AND Team = east stirlingshire |
Translate the following into a SQL query | what is the owner of the c501 | SELECT Owner FROM table WHERE Locomotive = c501 |
Translate the following into a SQL query | Which Record has a Game larger than 32, and a December smaller than 21? | SELECT Record FROM table WHERE Game > 32 AND December < 21 |
Translate the following into a SQL query | Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21? | SELECT Score FROM table WHERE Points > 46 AND Game < 35 AND December = 21 |
Translate the following into a SQL query | Which December is the lowest one that has Points of 52? | SELECT MIN December FROM table WHERE Points = 52 |
Translate the following into a SQL query | Which December has Points of 48, and a Game larger than 33? | SELECT SUM December FROM table WHERE Points = 48 AND Game > 33 |
Translate the following into a SQL query | WHich Regular Season Champions has a Year of 1943–44? | SELECT Regular Season Champion(s) FROM table WHERE Year = 1943–44 |
Translate the following into a SQL query | WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1? | SELECT Tournament venue FROM table WHERE Tournament Champion = duke AND Record = 15–1 |
Translate the following into a SQL query | When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia tech? | SELECT Year FROM table WHERE Tournament venue = richmond arena AND Record = 12–1 AND Regular Season Champion(s) = virginia tech |
Translate the following into a SQL query | When has a Record of 9–1, and a Tournament Champion of duke? | SELECT Year FROM table WHERE Record = 9–1 AND Tournament Champion = duke |
Translate the following into a SQL query | Which Regular Season Champion(s) has a Tournament Champion of west virginia in 1955–56? | SELECT Regular Season Champion(s) FROM table WHERE Tournament Champion = west virginia AND Year = 1955–56 |
Translate the following into a SQL query | Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina? | SELECT Regular Season Champion(s) FROM table WHERE Record = 9–0 AND Tournament Champion = north carolina |
Translate the following into a SQL query | What is the lowest round for a player selected from a college of New Hampshire? | SELECT MIN Round FROM table WHERE College/junior/club team (League) = new hampshire |
Translate the following into a SQL query | What nationality is Rod Langway? | SELECT Nationality FROM table WHERE Player = rod langway |
Translate the following into a SQL query | What position is the player selected that has a round value over 3? | SELECT Position FROM table WHERE Round > 3 |
Translate the following into a SQL query | What college did the player selected in rounds over 3 play for? | SELECT College/junior/club team (League) FROM table WHERE Round > 3 |
Translate the following into a SQL query | What is the highest round that has a player selected from Clarkson University? | SELECT MAX Round FROM table WHERE College/junior/club team (League) = clarkson university |
Translate the following into a SQL query | What is the lowest rank of Deutsche Telekom with a market value over 209,628? | SELECT MIN Rank FROM table WHERE Name = deutsche telekom AND Market value ( USD million) > 209,628 |
Translate the following into a SQL query | What is the total market value of all corporations headquartered in Germany? | SELECT COUNT Market value ( USD million) FROM table WHERE Headquarters = germany |
Translate the following into a SQL query | What is the lowest earnings of Vijay Singh who had more than 24 wins? | SELECT MIN Earnings ( $ ) FROM table WHERE Player = vijay singh AND Wins > 24 |
Translate the following into a SQL query | Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? | SELECT MAX Rank FROM table WHERE Change < 44 AND Centre = buenos aires AND Rating > 628 |
Translate the following into a SQL query | Which Centre has a Rank of 42? | SELECT Centre FROM table WHERE Rank = 42 |
Translate the following into a SQL query | Which Rating has a Centre of helsinki? | SELECT SUM Rating FROM table WHERE Centre = helsinki |
Translate the following into a SQL query | Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46? | SELECT AVG Change FROM table WHERE Centre = buenos aires AND Rank < 46 |
Translate the following into a SQL query | Binomial of θ(log n), and a Strict Fibonacci Heap of o(log n) is what operation? | SELECT Operation FROM table WHERE Binomial = θ(log n) AND Strict Fibonacci Heap = o(log n) |
Translate the following into a SQL query | Operation of find-min has what Fibonacci? | SELECT Fibonacci FROM table WHERE Operation = find-min |
Translate the following into a SQL query | Binomial of θ(1) has what pairing? | SELECT Pairing FROM table WHERE Binomial = θ(1) |
Translate the following into a SQL query | Pairing of θ(1), and a Binomial of θ(1) is what binary? | SELECT Binary FROM table WHERE Pairing = θ(1) AND Binomial = θ(1) |
Translate the following into a SQL query | Operation of find-min has what binary? | SELECT Binary FROM table WHERE Operation = find-min |
Translate the following into a SQL query | Binary of θ(log n), and a Fibonacci of θ(1) has what binomial? | SELECT Binomial FROM table WHERE Binary = θ(log n) AND Fibonacci = θ(1) |
Translate the following into a SQL query | Which of the titles have a duration time of 4:57? | SELECT Title FROM table WHERE Duration = 4:57 |
Translate the following into a SQL query | What composer has a duration time of 3:31? | SELECT Composer FROM table WHERE Duration = 3:31 |
Translate the following into a SQL query | Which one of the duration has a translation of 1000 lies? | SELECT Duration FROM table WHERE Translation = 1000 lies |
Translate the following into a SQL query | Which title has a translation of I know in it? | SELECT Title FROM table WHERE Translation = i know |
Translate the following into a SQL query | Which title has a translation in it of 1000 lies? | SELECT Title FROM table WHERE Translation = 1000 lies |
Translate the following into a SQL query | Who won the gold when Bertil Ahlin Sweden won the silver? | SELECT Gold FROM table WHERE Silver = bertil ahlin sweden |
Translate the following into a SQL query | Who won the gold when Jules van Dyk Belgium won bronze? | SELECT Gold FROM table WHERE Bronze = jules van dyk belgium |
Translate the following into a SQL query | Who is the second for the curling team which has alternate Margarita Fomina? | SELECT Second FROM table WHERE Alternate = margarita fomina |
Translate the following into a SQL query | Who is the second for the team with alternate Margarita Fomina? | SELECT Second FROM table WHERE Alternate = margarita fomina |
Translate the following into a SQL query | Who is the alternate for the team for which Monika Wagner is the third? | SELECT Alternate FROM table WHERE Third = monika wagner |
Translate the following into a SQL query | Who is the lead for the team with Nkeiruka Ezekh as second? | SELECT Lead FROM table WHERE Second = nkeiruka ezekh |
Translate the following into a SQL query | Who is the lead for the team with Christina Haller as alternate? | SELECT Lead FROM table WHERE Alternate = christina haller |
Translate the following into a SQL query | What County was built after 1920 with a Latitude of 37°40′30"n? | SELECT County FROM table WHERE Year built > 1920 AND Latitude = 37°40′30"n |
Translate the following into a SQL query | What is the Latitude of the monument built in 1901? | SELECT Latitude FROM table WHERE Year built = 1901 |
Translate the following into a SQL query | What is the City or Town of the monument with a Longitude of 89°11′w? | SELECT City or Town FROM table WHERE Longitude = 89°11′w |
Translate the following into a SQL query | What Monument was built after 1887 in Warren County? | SELECT Monument name FROM table WHERE Year built > 1887 AND County = warren |
Translate the following into a SQL query | What County has a Longitude of 85°45′43″w? | SELECT County FROM table WHERE Longitude = 85°45′43″w |
Translate the following into a SQL query | What is the Opponent from the final with a Partner named jorgelina cravero? | SELECT Opponent in the final FROM table WHERE Partner = jorgelina cravero |
Translate the following into a SQL query | What was the outcome for the match at the leipzig tournament with a score w/o? | SELECT Outcome FROM table WHERE Tournament = leipzig AND Score = w/o |
Translate the following into a SQL query | Who was the opponent that anke huber played against in the leipzig tournament? | SELECT Opponent FROM table WHERE Tournament = leipzig |
Translate the following into a SQL query | What was the outcome of the match against Magdalena Maleeva? | SELECT Outcome FROM table WHERE Opponent = magdalena maleeva |
Translate the following into a SQL query | What is the name of the player that was Pick 15? | SELECT Player FROM table WHERE Pick # = 15 |
Translate the following into a SQL query | To which college/junior/club team did the player that was Pick 12 belong? | SELECT College/junior/club team FROM table WHERE Pick # = 12 |
Translate the following into a SQL query | What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)? | SELECT NHL team FROM table WHERE Position = left wing AND College/junior/club team = toronto marlboros (omjhl) |
Translate the following into a SQL query | To which college/junior/club team did the player that was Pick 16 belong? | SELECT College/junior/club team FROM table WHERE Pick # = 16 |
Translate the following into a SQL query | What company does Simon Stone direct earlier than 2011? | SELECT Company FROM table WHERE Director = simon stone AND Year < 2011 |
Translate the following into a SQL query | Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954? | SELECT Result FROM table WHERE Competition = world cup qualifying AND Date = march 21, 1954 |
Translate the following into a SQL query | Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954? | SELECT Competition FROM table WHERE Result = w AND Score = 2-0 AND Date = may 9, 1954 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.