instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What language is the film Karnal in? | SELECT Language FROM table WHERE Original title = karnal |
Translate the following into a SQL query | What was the film title nominated from the Netherlands? | SELECT Film title used in nomination FROM table WHERE Country = netherlands |
Translate the following into a SQL query | What was the film title nominated from the Sweden? | SELECT Film title used in nomination FROM table WHERE Country = sweden |
Translate the following into a SQL query | On the Date of 15 June 1992 what is the Score that is listed? | SELECT Score FROM table WHERE Date = 15 june 1992 |
Translate the following into a SQL query | How many Persian Wars have a School of rashtriya indian military college, and an 1860-1878 smaller than 0? | SELECT COUNT Persian War FROM table WHERE School = rashtriya indian military college AND 1860-1878 < 0 |
Translate the following into a SQL query | What is the largest Persian War with a Crimean War of 0, an 1860-1878 larger than 0, a Location of united kingdom, and a Zulu War smaller than 1? | SELECT MAX Persian War FROM table WHERE Crimean War = 0 AND 1860-1878 > 0 AND Location = united kingdom AND Zulu War < 1 |
Translate the following into a SQL query | What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork? | SELECT AVG Crimean War FROM table WHERE Second Afghan War = 1 AND School = hamblin and porter's school, cork |
Translate the following into a SQL query | Which Crimean War has a 1860-1878 of 0, a Total of 1, and an Indian Mutiny larger than 0? | SELECT Crimean War FROM table WHERE 1860-1878 = 0 AND Total = 1 AND Indian Mutiny > 0 |
Translate the following into a SQL query | Which school has an 1860-1878 larger than 0, and a Second Afghan War of 0? | SELECT School FROM table WHERE 1860-1878 > 0 AND Second Afghan War = 0 |
Translate the following into a SQL query | What Venue has Basketball as a Sport? | SELECT Venue FROM table WHERE Sport = basketball |
Translate the following into a SQL query | What Venue has Spartak St. Petersburg Club? | SELECT Venue FROM table WHERE Club = spartak st. petersburg |
Translate the following into a SQL query | What League of VSL Sport was Established in 1935? | SELECT Sport FROM table WHERE Established = 1935 AND League = vsl |
Translate the following into a SQL query | What Club Established in 2010 has a League of MHL? | SELECT Club FROM table WHERE League = mhl AND Established = 2010 |
Translate the following into a SQL query | What was the highest attendance week 12? | SELECT MAX Attendance FROM table WHERE Week = 12 |
Translate the following into a SQL query | What is the record for the result w 33-3? | SELECT Record FROM table WHERE Result = w 33-3 |
Translate the following into a SQL query | What Committee has the First Elected of 1993? | SELECT Committee FROM table WHERE First Elected = 1993 |
Translate the following into a SQL query | What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee? | SELECT COUNT First Elected FROM table WHERE Counties Represented = anne arundel AND District = 30 AND Committee = ways and means |
Translate the following into a SQL query | What counties represented have a First Elected of 2006 and a Ways and Means Committee? | SELECT Counties Represented FROM table WHERE First Elected = 2006 AND Committee = ways and means |
Translate the following into a SQL query | For Central Bank of Uruguay, what's the 1USD=? | SELECT 1 USD = FROM table WHERE Central bank = central bank of uruguay |
Translate the following into a SQL query | What is the 1USD= that has the Uruguayan Peso (uyu) and 1 Euro is greater than 25.3797? | SELECT SUM 1 USD = FROM table WHERE Currency = uruguayan peso (uyu) AND 1 Euro = > 25.3797 |
Translate the following into a SQL query | What is the 1USD= in Chile and has 1 Euro greater than 635.134? | SELECT COUNT 1 USD = FROM table WHERE Country = chile AND 1 Euro = > 635.134 |
Translate the following into a SQL query | If the 1USD= 5,916.27, what is the lowest 1 Euro amount? | SELECT MIN 1 Euro = FROM table WHERE 1 USD = = 5,916.27 |
Translate the following into a SQL query | What is the venue when the year is after 2001 for the summer olympics? | SELECT Venue FROM table WHERE Year > 2001 AND Competition = summer olympics |
Translate the following into a SQL query | What is the total attendance for the August 8 game? | SELECT SUM Attendance FROM table WHERE Date = august 8 |
Translate the following into a SQL query | Which opponent led to a 56-59 record? | SELECT Opponent FROM table WHERE Record = 56-59 |
Translate the following into a SQL query | Where did they play that the score was 22-12? | SELECT Venue FROM table WHERE Result = 22-12 |
Translate the following into a SQL query | What language is spoken after 2007 for the role of urvashi mathur? | SELECT Language FROM table WHERE Year > 2007 AND Role = urvashi mathur |
Translate the following into a SQL query | What role is spoken in hindi in 2011? | SELECT Role FROM table WHERE Language = hindi AND Year = 2011 |
Translate the following into a SQL query | What is the note section for the role with a language of hindi and a title of miley naa miley hum? | SELECT Notes FROM table WHERE Language = hindi AND Title = miley naa miley hum |
Translate the following into a SQL query | What is the title of the song that has a translation of Without Me? | SELECT Title FROM table WHERE English translation = without me |
Translate the following into a SQL query | what is the molecules when the percent mass is 1.0? | SELECT Molecules FROM table WHERE Percent of Mass = 1.0 |
Translate the following into a SQL query | What is the percent of molecules when the mol.weight (daltons) is n/a and the molecule is other s inorganic? | SELECT Percent of Molecules FROM table WHERE Mol.Weight (daltons) = n/a AND Molecule = other s inorganic |
Translate the following into a SQL query | what is the mol.weight (daltons) when the percent of mass is 1.5? | SELECT Mol.Weight (daltons) FROM table WHERE Percent of Mass = 1.5 |
Translate the following into a SQL query | what is the perfect of mass when the molecules is 1.74e14*? | SELECT Percent of Mass FROM table WHERE Molecules = 1.74e14* |
Translate the following into a SQL query | what is the percent of mass when the mol.weight (daltons) is 1e11? | SELECT Percent of Mass FROM table WHERE Mol.Weight (daltons) = 1e11 |
Translate the following into a SQL query | How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia? | SELECT Attendance FROM table WHERE Away team = dynamo kyiv AND Home team = torpedo zaporizhia |
Translate the following into a SQL query | What was the round when the home team was chornomorets odessa? | SELECT Round FROM table WHERE Home team = chornomorets odessa |
Translate the following into a SQL query | What is the rank when the game was at dnipro stadium , kremenchuk? | SELECT Rank FROM table WHERE Location = dnipro stadium , kremenchuk |
Translate the following into a SQL query | What are the lowest points for the engines of the Lamborghini v12 and the Chassis on Minardi m191b? | SELECT MIN Points FROM table WHERE Engine = lamborghini v12 AND Chassis = minardi m191b |
Translate the following into a SQL query | What is the Chassis from before 1997 with a Lamborghini v12 engine? | SELECT Chassis FROM table WHERE Year < 1997 AND Engine = lamborghini v12 |
Translate the following into a SQL query | What is the total of the year with a point larger than 0 or the Chassis of Minardi m190? | SELECT SUM Year FROM table WHERE Chassis = minardi m190 AND Points > 0 |
Translate the following into a SQL query | What are the lowest points from 1992 with a Chassis of Minardi m192? | SELECT MIN Points FROM table WHERE Year = 1992 AND Chassis = minardi m192 |
Translate the following into a SQL query | What Entrant has 0 points and from 1997? | SELECT Entrant FROM table WHERE Points = 0 AND Year = 1997 |
Translate the following into a SQL query | What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area? | SELECT COUNT Roll FROM table WHERE Decile = 7 AND Authority = state AND Area = macraes flat |
Translate the following into a SQL query | What year has a decile more than 6, in the Waikouaiti area? | SELECT Years FROM table WHERE Decile > 6 AND Area = waikouaiti |
Translate the following into a SQL query | What place did the Nashville Metros place in the 1994/95 Season? | SELECT Regular Season FROM table WHERE Year = 1994/95 |
Translate the following into a SQL query | What years did the Nashville Metros have Usisl Indoor League? | SELECT Year FROM table WHERE League = usisl indoor |
Translate the following into a SQL query | Which Round has kim eun-ha as an Opponent? | SELECT Round FROM table WHERE Opponent = kim eun-ha |
Translate the following into a SQL query | Which kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent? | SELECT Edition FROM table WHERE Surface = clay AND Opponent = park sung-hee |
Translate the following into a SQL query | What is the highest gold number count where a county had over 9 golds and 10 silvers? | SELECT MAX Gold FROM table WHERE Total > 9 AND Silver > 10 |
Translate the following into a SQL query | How many bronze medals did the country with 7 medals and over 5 silver medals receive? | SELECT SUM Bronze FROM table WHERE Total = 7 AND Silver > 5 |
Translate the following into a SQL query | Name the date for venue of lord's | SELECT Date FROM table WHERE Venue = lord's |
Translate the following into a SQL query | Name the result for venue of lord's | SELECT Result FROM table WHERE Venue = lord's |
Translate the following into a SQL query | Name the date for result of eng by 23 runs | SELECT Date FROM table WHERE Result = eng by 23 runs |
Translate the following into a SQL query | Name the date for result of draw, and venue of edgbaston | SELECT Date FROM table WHERE Result = draw AND Venue = edgbaston |
Translate the following into a SQL query | What is the total number of weeks that the Seahawks had a record of 5-5? | SELECT COUNT Week FROM table WHERE Record = 5-5 |
Translate the following into a SQL query | Who has 1 win, 1 loss, and has played 2 matches? | SELECT Name FROM table WHERE Wins = 1 AND Losses = 1 AND Matches = 2 |
Translate the following into a SQL query | Who has 5 losses and has played 11 matches? | SELECT Name FROM table WHERE Losses = 5 AND Matches = 11 |
Translate the following into a SQL query | How many matches has Mohammad Al-Shamlan played when there is 1 win? | SELECT Matches FROM table WHERE Wins = 1 AND Name = mohammad al-shamlan |
Translate the following into a SQL query | How many matches were played when there was 1 draw and 1 win? | SELECT Matches FROM table WHERE Draws = 1 AND Wins = 1 |
Translate the following into a SQL query | Name the played with lost of 5 | SELECT Played FROM table WHERE Lost = 5 |
Translate the following into a SQL query | Name the played with points against of points against | SELECT Played FROM table WHERE Points against = points against |
Translate the following into a SQL query | Name the tries with tries against of 38 | SELECT Tries for FROM table WHERE Tries against = 38 |
Translate the following into a SQL query | Name the points against when tries against is 51 and points is 52 with played of 22 | SELECT Points against FROM table WHERE Played = 22 AND Points = 52 AND Tries against = 51 |
Translate the following into a SQL query | Name the points against for cwmllynfell rfc | SELECT Points against FROM table WHERE Club = cwmllynfell rfc |
Translate the following into a SQL query | What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? | SELECT Lead FROM table WHERE Polling Firm = election results AND PSOE = 39.6% 175 |
Translate the following into a SQL query | What is the PSOE for the Local Elections polling firm? | SELECT PSOE FROM table WHERE Polling Firm = local elections |
Translate the following into a SQL query | Which date has a PSOE of 36.1%? | SELECT Date FROM table WHERE PSOE = 36.1% |
Translate the following into a SQL query | Name the height with 9 floors | SELECT Height ft / m FROM table WHERE Floors = 9 |
Translate the following into a SQL query | Name the years as tallest when floors are larger than 18 | SELECT Years as tallest FROM table WHERE Floors > 18 |
Translate the following into a SQL query | Tell me the name that has 17 floors | SELECT Name FROM table WHERE Floors = 17 |
Translate the following into a SQL query | Which was the position for overall less than 254, round less than 5 and pick number less than 13? | SELECT Position FROM table WHERE Overall < 254 AND Round < 5 AND Pick # < 13 |
Translate the following into a SQL query | Name the round having an overall of 6 | SELECT Round FROM table WHERE Overall = 6 |
Translate the following into a SQL query | Name the position of the player from college of virginia | SELECT Position FROM table WHERE College = virginia |
Translate the following into a SQL query | What was the date of the game that had a goal of 3? | SELECT Date FROM table WHERE Goal = 3 |
Translate the following into a SQL query | What was the date of the game that had a goal of 4? | SELECT Date FROM table WHERE Goal = 4 |
Translate the following into a SQL query | If the points are over 1,613 and a To par under -14, what is the overall score? | SELECT Score FROM table WHERE Points > 1,613 AND To par < -14 |
Translate the following into a SQL query | What is the highest rank of a swimmer in lane 5? | SELECT MAX Rank FROM table WHERE Lane = 5 |
Translate the following into a SQL query | What is the lowest rank of Jens Kruppa in a lane larger than 2? | SELECT MIN Rank FROM table WHERE Name = jens kruppa AND Lane > 2 |
Translate the following into a SQL query | Which nationality has a lane of 6 and a rank smaller than 6? | SELECT Nationality FROM table WHERE Rank < 6 AND Lane = 6 |
Translate the following into a SQL query | What is Tony Jacklin's total? | SELECT Total FROM table WHERE Player = tony jacklin |
Translate the following into a SQL query | What was Todd Hamilton's to par? | SELECT To par FROM table WHERE Player = todd hamilton |
Translate the following into a SQL query | When was a game won with more than 11 to par? | SELECT Year(s) Won FROM table WHERE To par > 11 |
Translate the following into a SQL query | Where is the place that has a Callsign of DWRJ-FM? | SELECT Location FROM table WHERE Callsign = dwrj-fm |
Translate the following into a SQL query | Which Power has Location in metro manila | SELECT Power (kW) FROM table WHERE Location = metro manila |
Translate the following into a SQL query | Which tier of the tournament has Mont de Marson in it? | SELECT Tier FROM table WHERE Tournament = mont de marson |
Translate the following into a SQL query | Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final? | SELECT Date FROM table WHERE Opponents in the final = akgul amanmuradova nina bratchikova |
Translate the following into a SQL query | Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final? | SELECT Date FROM table WHERE Opponents in the final = claire de gubernatis alexandra dulgheru |
Translate the following into a SQL query | What is the score in the touranament of Antalya-Belek? | SELECT Score FROM table WHERE Tournament = antalya-belek |
Translate the following into a SQL query | Which date has the tier of Itf $10k? | SELECT Date FROM table WHERE Tier = itf $10k |
Translate the following into a SQL query | What is the value vs. Zerg with a September 1, 2012 best streak? | SELECT vs. Zerg FROM table WHERE As of September 1, 2012 = best streak |
Translate the following into a SQL query | What is the score vs. all when the score vs. Terran is 159? | SELECT vs. all FROM table WHERE vs. Terran = 159 |
Translate the following into a SQL query | What is the score vs. Protoss when the score vs. Terran is 10 wins? | SELECT vs. Protoss FROM table WHERE vs. Terran = 10 wins |
Translate the following into a SQL query | What is the score vs. Zerg with wins as of September 1,2012? | SELECT vs. Zerg FROM table WHERE As of September 1, 2012 = wins |
Translate the following into a SQL query | What is the score vs. Terran when the score vs. Zerg is 69? | SELECT vs. Terran FROM table WHERE vs. Zerg = 69 |
Translate the following into a SQL query | What occurrs as of September 1, 2012 when the value for vs. all is 65.47%? | SELECT As of September 1, 2012 FROM table WHERE vs. all = 65.47% |
Translate the following into a SQL query | What is the record of the opponent that has a bye? | SELECT Record FROM table WHERE Opponent = bye |
Translate the following into a SQL query | What was the average total medals received by Roland Hayes School when there were 0 gold medals? | SELECT AVG Total Medals FROM table WHERE Gold Medals = 0 AND Ensemble = roland hayes school |
Translate the following into a SQL query | What was the total number of medals received by James Logan High School when it received less than 1 silver medal? | SELECT COUNT Total Medals FROM table WHERE Ensemble = james logan high school AND Silver Medals < 1 |
Translate the following into a SQL query | What is the highest number of bronze medals received by an ensemble who received fewer than 0 gold medals? | SELECT MAX Bronze Medals FROM table WHERE Gold Medals < 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.