instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which Venue has a Result of 2–0? | SELECT Venue FROM table WHERE Result = 2–0 |
Translate the following into a SQL query | What is the Score of 2007 afc asian cup qualification with a Result of 8–0? | SELECT Score FROM table WHERE Competition = 2007 afc asian cup qualification AND Result = 8–0 |
Translate the following into a SQL query | Which Competition has a Result of 3–1? | SELECT Competition FROM table WHERE Result = 3–1 |
Translate the following into a SQL query | What was the Indians' record during the game that had 31,467 in attendance? | SELECT Record FROM table WHERE Attendance = 31,467 |
Translate the following into a SQL query | what year is 4:00 long | SELECT COUNT Year FROM table WHERE Length = 4:00 |
Translate the following into a SQL query | What round on average was a defensive tackle selected? | SELECT AVG Round FROM table WHERE Position = defensive tackle |
Translate the following into a SQL query | 11th of 26, and a 17th larger than 16 has what highest 30th? | SELECT MAX 30th FROM table WHERE 11th = 26 AND 17th > 16 |
Translate the following into a SQL query | What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze? | SELECT MIN Total FROM table WHERE Silver < 1 AND Rank > 5 AND Bronze > 1 |
Translate the following into a SQL query | Who ha the gold and 1 bronze, and more than 0 silver? | SELECT Gold FROM table WHERE Bronze = 1 AND Silver > 0 |
Translate the following into a SQL query | Who has a total of the Bronze less than 4, gold more than 0, and no silver? | SELECT SUM Bronze FROM table WHERE Total < 4 AND Gold > 0 AND Silver = 0 |
Translate the following into a SQL query | What's the Points average with a Lost of 21, and Position of 22? | SELECT AVG Points FROM table WHERE Lost = 21 AND Position = 22 |
Translate the following into a SQL query | What's the total Lost that has a Played that's larger than 42? | SELECT SUM Lost FROM table WHERE Played > 42 |
Translate the following into a SQL query | what's the relative value that contains a jyutping of daam3? | SELECT Relative value FROM table WHERE Jyutping = daam3 |
Translate the following into a SQL query | What metric value has a jyutping of lei4? | SELECT Metric value FROM table WHERE Jyutping = lei4 |
Translate the following into a SQL query | what's the imperial that contains a jyutping of cin4? | SELECT Imperial value FROM table WHERE Jyutping = cin4 |
Translate the following into a SQL query | What was the location that led to a record of 9-0-0? | SELECT Location FROM table WHERE Record = 9-0-0 |
Translate the following into a SQL query | What was the record after the bout against Nikki Eplion, which resulted in a win in round 3? | SELECT Record FROM table WHERE Result = win AND Rd, Time = 3 AND Opponent = nikki eplion |
Translate the following into a SQL query | What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? | SELECT MIN Bronze FROM table WHERE Silver < 2 AND Total > 1 AND Nation = uzbekistan |
Translate the following into a SQL query | What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414? | SELECT MAX Round FROM table WHERE Pick # = 11 AND Overall < 414 AND Position = offensive tackle |
Translate the following into a SQL query | What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | SELECT MAX Round FROM table WHERE Pick # = 9 AND Position = defensive back AND Overall < 468 |
Translate the following into a SQL query | What is the highest round with a guard position and an overall greater than 71? | SELECT MAX Round FROM table WHERE Position = guard AND Overall > 71 |
Translate the following into a SQL query | Who has an overall greater than 414 with a pick# bigger than 9? | SELECT Name FROM table WHERE Overall > 414 AND Pick # > 9 |
Translate the following into a SQL query | What is the Gaelic name for an area less than 127 in Kintyre? | SELECT Gaelic Name FROM table WHERE Area ( ha ) < 127 AND Location = kintyre |
Translate the following into a SQL query | What was the score on 7 february 2008? | SELECT Score FROM table WHERE Date = 7 february 2008 |
Translate the following into a SQL query | What was the outcome on 13 may 2007? | SELECT Outcome FROM table WHERE Date = 13 may 2007 |
Translate the following into a SQL query | What was the score on 3 may 2009? | SELECT Score FROM table WHERE Date = 3 may 2009 |
Translate the following into a SQL query | Name the score for venue of jalan besar, singapore | SELECT Score FROM table WHERE Venue = jalan besar, singapore |
Translate the following into a SQL query | Name the score for 2 june 2008 | SELECT Score FROM table WHERE Date = 2 june 2008 |
Translate the following into a SQL query | Which Opponent has a Game of 63? | SELECT Opponent FROM table WHERE Game = 63 |
Translate the following into a SQL query | which Record has a Score of 1–4? | SELECT Record FROM table WHERE Score = 1–4 |
Translate the following into a SQL query | Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8–7? | SELECT Record FROM table WHERE Points < 62 AND February > 16 AND Score = 8–7 |
Translate the following into a SQL query | What is the total number of Issues has a End month of oct-80? | SELECT COUNT Number of issues FROM table WHERE End month = oct-80 |
Translate the following into a SQL query | What is the Spine that has fantastic stories science fiction & fantasy with and end month in aug-72? | SELECT Spine FROM table WHERE Indicia = fantastic AND Cover = fantastic stories science fiction & fantasy AND End month = aug-72 |
Translate the following into a SQL query | Which Indicia has anEnd month in feb-75? | SELECT Indicia FROM table WHERE End month = feb-75 |
Translate the following into a SQL query | Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) | SELECT HAAT FROM table WHERE Channels TV / RF = 31 (psip) 44 (uhf) |
Translate the following into a SQL query | Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf ) | SELECT City of license FROM table WHERE Channels TV / RF = 67 ( psip ) 29 ( uhf ) |
Translate the following into a SQL query | Which Station has hagerstown? | SELECT Station FROM table WHERE City of license = hagerstown |
Translate the following into a SQL query | Which HAAT has 65944? | SELECT HAAT FROM table WHERE Facility ID = 65944 |
Translate the following into a SQL query | Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5 | SELECT City of license FROM table WHERE Channels TV / RF = 36 (psip) 36 (uhf) |
Translate the following into a SQL query | What format is dated October 29, 2004? | SELECT Format FROM table WHERE Date = october 29, 2004 |
Translate the following into a SQL query | What is the date with the catalogue number ptcd-1015-6? | SELECT Date FROM table WHERE Catalogue # = ptcd-1015-6 |
Translate the following into a SQL query | What is the label for December 2004? | SELECT Label FROM table WHERE Date = december 2004 |
Translate the following into a SQL query | What is the date for Hydra Head Records with a CD format? | SELECT Date FROM table WHERE Label = hydra head records AND Format = cd |
Translate the following into a SQL query | Which country has Hydra Head Records on February 2005? | SELECT Country FROM table WHERE Label = hydra head records AND Date = february 2005 |
Translate the following into a SQL query | Which country has Hydra Head Records with a 2lp format? | SELECT Country FROM table WHERE Format = 2lp AND Label = hydra head records |
Translate the following into a SQL query | Who rode mad rush? | SELECT Jockey FROM table WHERE Horse = mad rush |
Translate the following into a SQL query | What place was the horse with a barrier of 20 and weighing less than 54 kg | SELECT Placing FROM table WHERE Weight (kg) < 54 AND Barrier [b ] = 20 |
Translate the following into a SQL query | What place was the viewed horse? | SELECT Placing FROM table WHERE Horse = viewed |
Translate the following into a SQL query | What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts? | SELECT AVG Wins FROM table WHERE Top 10 < 5 AND Winnings = $39,190 AND Starts < 2 |
Translate the following into a SQL query | What is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102? | SELECT MAX Poles FROM table WHERE Starts > 18 AND Winnings = $125,102 AND Year < 1992 |
Translate the following into a SQL query | Author of stanisław wyspiański, and a Year of 1969 happened in what theatre? | SELECT Theatre FROM table WHERE Author = stanisław wyspiański AND Year = 1969 |
Translate the following into a SQL query | Which game did New Jersey Devils played in? | SELECT Game FROM table WHERE Opponent = new jersey devils |
Translate the following into a SQL query | What score has a record of 21-25-7-4? | SELECT Score FROM table WHERE Record = 21-25-7-4 |
Translate the following into a SQL query | What score has a record of 22-28-7-4? | SELECT Score FROM table WHERE Record = 22-28-7-4 |
Translate the following into a SQL query | What group has 1200 m as the distance? | SELECT Group FROM table WHERE Distance = 1200 m |
Translate the following into a SQL query | What venue has g1 as the group? | SELECT Venue FROM table WHERE Group = g1 |
Translate the following into a SQL query | What's the highest Points with the Team of Tacuary, and has Losses that's smaller than 4? | SELECT MAX Points FROM table WHERE Team = tacuary AND Losses < 4 |
Translate the following into a SQL query | What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9? | SELECT SUM Losses FROM table WHERE Scored > 15 AND Points > 16 AND Played > 9 |
Translate the following into a SQL query | What's the highest Played with a Scored of 15, and Draws that's less than 1? | SELECT MAX Played FROM table WHERE Scored = 15 AND Draws < 1 |
Translate the following into a SQL query | What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20? | SELECT SUM Wins FROM table WHERE Draws > 1 AND Losses < 4 AND Conceded = 20 |
Translate the following into a SQL query | What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3? | SELECT MIN Position FROM table WHERE Conceded > 16 AND Draws = 3 AND Losses > 3 |
Translate the following into a SQL query | Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model? | SELECT Processors Supported FROM table WHERE PCI-Express = x16: 1 slot x1: 4 slots AND Model = nforce 550 |
Translate the following into a SQL query | What are the processors supported by a ddr2 memory and the nforce 550 model? | SELECT Processors Supported FROM table WHERE Memory = ddr2 AND Model = nforce 550 |
Translate the following into a SQL query | What is the PCI-express with a ddr2 memory and a nforce 520 model? | SELECT PCI-Express FROM table WHERE Memory = ddr2 AND Model = nforce 520 |
Translate the following into a SQL query | What is the Russian word for wine glass that contains 4.16 fl. oz.? | SELECT Russian FROM table WHERE US Customary = 4.16 fl. oz. |
Translate the following into a SQL query | What are the imperial size for the unit that has a ratio of 1/20? | SELECT Imperial FROM table WHERE Ratio = 1/20 |
Translate the following into a SQL query | How big in metric terms is the unit that has a ratio of 1/20? | SELECT Metric value FROM table WHERE Ratio = 1/20 |
Translate the following into a SQL query | How large in US customary terms is the unit called butylka (vodochnaya)? | SELECT US Customary FROM table WHERE Unit = butylka (vodochnaya) |
Translate the following into a SQL query | What is the translation of chetvert? | SELECT Translation FROM table WHERE Unit = chetvert |
Translate the following into a SQL query | What Russian word translates to bucket? | SELECT Russian FROM table WHERE Translation = bucket |
Translate the following into a SQL query | Points larger than 6, and a Results of 522:443 had what lowest matches? | SELECT MIN Matches FROM table WHERE Points > 6 AND Results = 522:443 |
Translate the following into a SQL query | Loses of 2, and a Pos. smaller than 2 had how many highest matches? | SELECT MAX Matches FROM table WHERE Loses = 2 AND Pos. < 2 |
Translate the following into a SQL query | What was the outcome when the game was played on clay and on 2 May 2009? | SELECT Outcome FROM table WHERE Surface = clay AND Date = 2 may 2009 |
Translate the following into a SQL query | What person was played against when the playing surface was hard? | SELECT Opponent FROM table WHERE Surface = hard |
Translate the following into a SQL query | With the score of 6–3, 2–6, [10–8] and played on clay who was the opponent? | SELECT Opponent FROM table WHERE Surface = clay AND Score = 6–3, 2–6, [10–8] |
Translate the following into a SQL query | What is the lowest number of live births of Syria when the natural change was 9.4 and the crude death rate was greater than 29.3? | SELECT MIN Live births FROM table WHERE Natural change (per 1,000) = 9.4 AND Crude death rate (per 1,000) > 29.3 |
Translate the following into a SQL query | What is the natural change number of Syria when there were 67,000 deaths and an average population greater than 2,820? | SELECT SUM Natural change FROM table WHERE Deaths = 67,000 AND Average population (x 1,000) > 2,820 |
Translate the following into a SQL query | What is the rank of the park in pigeon forge, tennessee in the best food category? | SELECT COUNT Rank FROM table WHERE Location = pigeon forge, tennessee AND Category = best food |
Translate the following into a SQL query | What building is in Shenzhen, have less than 115 floors, and was completed before 2017? | SELECT Name FROM table WHERE City = shenzhen AND Completion < 2017 AND Floors < 115 |
Translate the following into a SQL query | What is the earliest year having a length of 11:25? | SELECT MIN Year FROM table WHERE Length = 11:25 |
Translate the following into a SQL query | What year had a version called Wolf Mix? | SELECT AVG Year FROM table WHERE Version = wolf mix |
Translate the following into a SQL query | In 1978 what is the NFL team? | SELECT NFL Team FROM table WHERE Draft Year = 1978 |
Translate the following into a SQL query | Who was the opponent with attendance at 64,002? | SELECT Opponent FROM table WHERE Attendance = 64,002 |
Translate the following into a SQL query | What was the highest week with 84,856 in attendance? | SELECT MAX Week FROM table WHERE Attendance = 84,856 |
Translate the following into a SQL query | What was the record in a week less than 13 on November 9, 2003? | SELECT Record FROM table WHERE Week < 13 AND Date = november 9, 2003 |
Translate the following into a SQL query | On what date was the result w 20-17? | SELECT Date FROM table WHERE Result = w 20-17 |
Translate the following into a SQL query | What was the attendance for record 2-0? | SELECT Attendance FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | On what date was the game at Lincoln Financial Field? | SELECT Date FROM table WHERE Game site = lincoln financial field |
Translate the following into a SQL query | Which player has a pick of 175? | SELECT Player FROM table WHERE Pick = 175 |
Translate the following into a SQL query | Zack Jordan has the lowest pick and a round of less than 28? | SELECT MIN Pick FROM table WHERE Player = zack jordan AND Round < 28 |
Translate the following into a SQL query | What is the sum of the pick for player roger zatkoff? | SELECT SUM Pick FROM table WHERE Player = roger zatkoff |
Translate the following into a SQL query | Which metal has a size that is 26mm (across scallops)? | SELECT Metal FROM table WHERE Size = 26mm (across scallops) |
Translate the following into a SQL query | What is the weight with the shape of scalloped, and that is a size of 20mm (across scallops)? | SELECT Weight FROM table WHERE Shape = scalloped AND Size = 20mm (across scallops) |
Translate the following into a SQL query | What is the weight with a denomination that is three paise? | SELECT Weight FROM table WHERE Denomination = three paise |
Translate the following into a SQL query | What is the weight with a denomination that is ten paise? | SELECT Weight FROM table WHERE Denomination = ten paise |
Translate the following into a SQL query | What is the highest number of games drawn, where the games played was less than 7? | SELECT MAX Drawn FROM table WHERE Games < 7 |
Translate the following into a SQL query | Which October is the lowest one that has an Opponent of washington capitals? | SELECT MIN October FROM table WHERE Opponent = washington capitals |
Translate the following into a SQL query | Which Score has a Game larger than 7, and Points smaller than 14? | SELECT Score FROM table WHERE Game > 7 AND Points < 14 |
Translate the following into a SQL query | How many Points have an Opponent of @ calgary flames? | SELECT SUM Points FROM table WHERE Opponent = @ calgary flames |
Translate the following into a SQL query | What is the mean number of events where the rank is 1 and there are more than 3 wins? | SELECT AVG Events FROM table WHERE Rank = 1 AND Wins > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.