instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
SELECT MAX Silver FROM table WHERE Rank = 19 AND Gold < 2
Translate the following into a SQL query
What nation finished with 11 silver medals?
SELECT Nation FROM table WHERE Silver = 11
Translate the following into a SQL query
What is Benito Cheng's Pick number?
SELECT Pick FROM table WHERE Player = benito cheng
Translate the following into a SQL query
What is the Country of origin of PIck 6?
SELECT Country of origin* FROM table WHERE Pick = 6
Translate the following into a SQL query
What is Richard Bachmann's PBA team?
SELECT PBA team FROM table WHERE Player = richard bachmann
Translate the following into a SQL query
What is Far Eastern College Johnny Abarrientos' Pick number?
SELECT Pick FROM table WHERE College = far eastern AND Player = johnny abarrientos
Translate the following into a SQL query
What home team has 10 as the tie no?
SELECT Home team FROM table WHERE Tie no = 10
Translate the following into a SQL query
What is the game score when the tie no is 7?
SELECT Score FROM table WHERE Tie no = 7
Translate the following into a SQL query
Who was the away team on 10 January 1979 who had a tie no of 17?
SELECT Away team FROM table WHERE Date = 10 january 1979 AND Tie no = 17
Translate the following into a SQL query
When was the game that has tie no 2?
SELECT Date FROM table WHERE Tie no = 2
Translate the following into a SQL query
What round did the match at the Golden Trophy 1999 event end?
SELECT SUM Round FROM table WHERE Event = golden trophy 1999
Translate the following into a SQL query
What event had a record of 8–5–1?
SELECT Event FROM table WHERE Record = 8–5–1
Translate the following into a SQL query
What's the HDR Output that has a name of name?
SELECT HDR output ( EXR , HDR, Logluv , etc.) FROM table WHERE Name = name
Translate the following into a SQL query
What's the exposure fusion of Panoramaplus x4?
SELECT Exposure fusion FROM table WHERE Name = panoramaplus x4
Translate the following into a SQL query
What's the HDR output of Photovista Panorama?
SELECT HDR output ( EXR , HDR, Logluv , etc.) FROM table WHERE Name = photovista panorama
Translate the following into a SQL query
Which location has 101,119 as the capacity?
SELECT Location FROM table WHERE Capacity = 101,119
Translate the following into a SQL query
What is the lowest rank that has university park, pa as the location?
SELECT MIN Rank FROM table WHERE Location = university park, pa
Translate the following into a SQL query
What home team has a rank greater than 6, and 94,392 as the capacity?
SELECT Home Team FROM table WHERE Rank > 6 AND Capacity = 94,392
Translate the following into a SQL query
Who was the builder for the USS cambridge?
SELECT Builder FROM table WHERE Name = uss cambridge
Translate the following into a SQL query
What year was the USS Cambridge laid down?
SELECT Laid down FROM table WHERE Name = uss cambridge
Translate the following into a SQL query
What was the number of the game when the record was 11-12?
SELECT Game FROM table WHERE Record = 11-12
Translate the following into a SQL query
What was the score of Game 16?
SELECT Score FROM table WHERE Game = 16
Translate the following into a SQL query
What was the location and attendance at the game when the record was 9-6?
SELECT Location/Attendance FROM table WHERE Record = 9-6
Translate the following into a SQL query
What date has 3 as the round (leg)?
SELECT Date FROM table WHERE Round (Leg) = 3
Translate the following into a SQL query
What was the year of Bridget Jones: The Edge of Reason that was nominated?
SELECT MIN Year FROM table WHERE Result = nominated AND Film = bridget jones: the edge of reason
Translate the following into a SQL query
Who was the loss to for the film Chicago?
SELECT Lost to FROM table WHERE Film = chicago
Translate the following into a SQL query
Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?
SELECT IHSAA Football Class FROM table WHERE IHSAA Class = aaa AND Location = nashville
Translate the following into a SQL query
Which Mascot has an Enrollment of 640?
SELECT Mascot FROM table WHERE Enrollment = 640
Translate the following into a SQL query
Which IHSAA Class has a Location of brazil?
SELECT IHSAA Class FROM table WHERE Location = brazil
Translate the following into a SQL query
Which School has a Enrollment of 908?
SELECT School FROM table WHERE Enrollment = 908
Translate the following into a SQL query
What type of currency has a code of SEK?
SELECT Currency FROM table WHERE Code = sek
Translate the following into a SQL query
What code is used to represent the currency of Croatian Kuna?
SELECT Code FROM table WHERE Currency = croatian kuna
Translate the following into a SQL query
What's the model that has chassis code W116.036?
SELECT Model FROM table WHERE Chassis code = w116.036
Translate the following into a SQL query
What's the years that has a chassis code of W116.025 and number built was more than 150,593?
SELECT Model Years FROM table WHERE No. built > 150,593 AND Chassis code = w116.025
Translate the following into a SQL query
What the score of the 1992 game?
SELECT Score FROM table WHERE Year = 1992
Translate the following into a SQL query
What is the score when TSV Siegen was the runner-up?
SELECT Score FROM table WHERE Runners-up = tsv siegen
Translate the following into a SQL query
What year was the game at Bad Neuenahr Eppelborn?
SELECT Year FROM table WHERE Venue = bad neuenahr eppelborn
Translate the following into a SQL query
What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *?
SELECT Venue FROM table WHERE Runners-up = tennis borussia berlin AND Score = 4 – 2 *
Translate the following into a SQL query
What team was runner-up at Bergisch Gladbach in 1983?
SELECT Runners-up FROM table WHERE Venue = bergisch gladbach AND Year = 1983
Translate the following into a SQL query
What was the time of the swimmer in lane 7?
SELECT Time FROM table WHERE Lane = 7
Translate the following into a SQL query
What was the rank of the swimmer with a time of 1:55.40?
SELECT Rank FROM table WHERE Time = 1:55.40
Translate the following into a SQL query
What was the date for game 13?
SELECT Date FROM table WHERE Game = 13
Translate the following into a SQL query
What is the record for the opponent St. Louis Cardinals?
SELECT Record FROM table WHERE Opponent = st. louis cardinals
Translate the following into a SQL query
What is the record for Game 8?
SELECT Record FROM table WHERE Game = 8
Translate the following into a SQL query
What percentage of users were using mobile browsers during the period in which 2.62% were using Opera?
SELECT Mobile FROM table WHERE Opera = 2.62%
Translate the following into a SQL query
What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?
SELECT Mobile FROM table WHERE Chrome = 9.00%
Translate the following into a SQL query
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
SELECT Safari FROM table WHERE Firefox = 30.82%
Translate the following into a SQL query
What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?
SELECT Internet Explorer FROM table WHERE Mobile = 2.1%
Translate the following into a SQL query
What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?
SELECT Other Mozilla FROM table WHERE Chrome = 9.00%
Translate the following into a SQL query
What date has w 14-10 as the result?
SELECT Date FROM table WHERE Result = w 14-10
Translate the following into a SQL query
What opponent has a week less than 12, with November 25, 1965 as the date?
SELECT Opponent FROM table WHERE Week < 12 AND Date = november 25, 1965
Translate the following into a SQL query
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
SELECT MIN Week FROM table WHERE Date = september 19, 1965 AND Attendance < 46,941
Translate the following into a SQL query
What is the lowest week that has 51,499 as the attendance?
SELECT MIN Week FROM table WHERE Attendance = 51,499
Translate the following into a SQL query
What is the result that has an attendance greater than 45,658, a week greater than 8, with baltimore colts as the opponent?
SELECT Result FROM table WHERE Attendance > 45,658 AND Week > 8 AND Opponent = baltimore colts
Translate the following into a SQL query
What is the frequency for the active rock format?
SELECT Frequency FROM table WHERE Format = active rock
Translate the following into a SQL query
What is the branding for fm 88.9?
SELECT Branding FROM table WHERE Frequency = fm 88.9
Translate the following into a SQL query
What is the name of the owner of rock 97.7?
SELECT Owner FROM table WHERE Branding = rock 97.7
Translate the following into a SQL query
What is the branding for cbxp-fm?
SELECT Branding FROM table WHERE Call sign = cbxp-fm
Translate the following into a SQL query
What is the call sign for country station fm 93.1?
SELECT Call sign FROM table WHERE Format = country AND Frequency = fm 93.1
Translate the following into a SQL query
What is the frequency for the country station owned by Jim Pattison Group?
SELECT Frequency FROM table WHERE Format = country AND Owner = jim pattison group
Translate the following into a SQL query
What game was located at the Los Angeles Memorial Sports Arena?
SELECT Game FROM table WHERE Location/Attendance = los angeles memorial sports arena
Translate the following into a SQL query
What is the location for the game with a score of w 106-81?
SELECT Location/Attendance FROM table WHERE Score = w 106-81
Translate the following into a SQL query
Where is the location of Game 4?
SELECT Location/Attendance FROM table WHERE Game = 4
Translate the following into a SQL query
What is the lane total when rank is 2?
SELECT SUM Lane FROM table WHERE Rank = 2
Translate the following into a SQL query
Gemma Spofforth has what time?
SELECT Time FROM table WHERE Name = gemma spofforth
Translate the following into a SQL query
Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4?
SELECT AVG Floors FROM table WHERE Pinnacle height ft (m) = 1,136 (346) AND Pinn. Rank > 4
Translate the following into a SQL query
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
SELECT SUM Std. Rank FROM table WHERE Name = 311 south wacker drive AND Year > 1990
Translate the following into a SQL query
Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?
SELECT MAX Floors FROM table WHERE Pinnacle height ft (m) = 995 (303) AND Std. Rank > 6
Translate the following into a SQL query
What is the average time with a rank lower than 2 for Andy Turner?
SELECT AVG Time FROM table WHERE Rank > 2 AND Name = andy turner
Translate the following into a SQL query
What was the date for morocco when the year was lerger than 1981?
SELECT Date FROM table WHERE Year > 1981 AND Location = morocco
Translate the following into a SQL query
What is the lowest year when the city is casablanca?
SELECT MIN Year FROM table WHERE City = casablanca
Translate the following into a SQL query
What year was the expansion in the city of San Juan?
SELECT COUNT Year FROM table WHERE City = san juan
Translate the following into a SQL query
What city was located in the Netherlands?
SELECT City FROM table WHERE Location = netherlands
Translate the following into a SQL query
What location had a year of 1971 and a city of Tokyo?
SELECT Location FROM table WHERE Year = 1971 AND City = tokyo
Translate the following into a SQL query
What award did they win before 2005?
SELECT Award FROM table WHERE Year < 2005
Translate the following into a SQL query
When was Southend United the home team?
SELECT Date FROM table WHERE Home team = southend united
Translate the following into a SQL query
For the game on 13 December 1975 with Halifax Town as the away team what was the score?
SELECT Score FROM table WHERE Date = 13 december 1975 AND Away team = halifax town
Translate the following into a SQL query
Who was the away team when 6 was the tie no?
SELECT Away team FROM table WHERE Tie no = 6
Translate the following into a SQL query
The game with 13 as the tie no had what as the score?
SELECT Score FROM table WHERE Tie no = 13
Translate the following into a SQL query
Which conference joined in 1954 with a beavers mascot?
SELECT Conference Joined FROM table WHERE Year Joined = 1954 AND Mascot = beavers
Translate the following into a SQL query
What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?
SELECT Romaji Title FROM table WHERE TV Station = tbs AND Japanese Title = around40〜注文の多いオンナたち〜
Translate the following into a SQL query
What station has average ratings of 14.7%?
SELECT TV Station FROM table WHERE Average Ratings = 14.7%
Translate the following into a SQL query
What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?
SELECT Japanese Title FROM table WHERE Episodes > 10 AND TV Station = tbs AND Average Ratings = 14.8%
Translate the following into a SQL query
What episode has average ratings of 7.4%?
SELECT AVG Episodes FROM table WHERE Average Ratings = 7.4%
Translate the following into a SQL query
What is the episode on Fuji TV titled Absolute Boyfriend?
SELECT MIN Episodes FROM table WHERE TV Station = fuji tv AND Romaji Title = absolute boyfriend
Translate the following into a SQL query
What is the episode on NHK with average ratings of 9.2%?
SELECT COUNT Episodes FROM table WHERE TV Station = nhk AND Average Ratings = 9.2%
Translate the following into a SQL query
Which School has a Year Joined larger than 1926, and a Mascot of vikings?
SELECT School FROM table WHERE Year Joined > 1926 AND Mascot = vikings
Translate the following into a SQL query
Which Mascot has a School of logansport community?
SELECT Mascot FROM table WHERE School = logansport community
Translate the following into a SQL query
Which #/ County has an Enrollment larger than 1,108, and a School of anderson?
SELECT # / County FROM table WHERE Enrollment > 1,108 AND School = anderson
Translate the following into a SQL query
Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926?
SELECT Previous Conference FROM table WHERE IHSAA Class / Football/Soccer = 4a/5a/2a AND Year Joined > 1926
Translate the following into a SQL query
Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?
SELECT # / County FROM table WHERE Year Joined > 1926 AND Previous Conference = olympic
Translate the following into a SQL query
What is the Score of the 1996 Asian Cup Qualification on June 29, 1996?
SELECT Score FROM table WHERE Competition = 1996 asian cup qualification AND Date = june 29, 1996
Translate the following into a SQL query
What was the Venue of the King's Cup 1998?
SELECT Venue FROM table WHERE Competition = king's cup 1998
Translate the following into a SQL query
What is the Venue of the Competition with a Score of 4-1?
SELECT Venue FROM table WHERE Score = 4-1
Translate the following into a SQL query
Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?
SELECT Enrollment FROM table WHERE Primary Conference = mid-hoosier AND County = 16 decatur AND IHSAA Class = aa
Translate the following into a SQL query
Where is Indian Creek school located?
SELECT Location FROM table WHERE School = indian creek
Translate the following into a SQL query
Which school is located in trafalgar?
SELECT School FROM table WHERE Location = trafalgar
Translate the following into a SQL query
Which IHSAA Class is located in charlottesville?
SELECT IHSAA Class FROM table WHERE Location = charlottesville
Translate the following into a SQL query
Which country had notes of sa/b and a rank of 2?
SELECT Country FROM table WHERE Notes = sa/b AND Rank = 2
Translate the following into a SQL query
What was the rank for Great Britain?
SELECT COUNT Rank FROM table WHERE Country = great britain