instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the score 1 for the major league soccer all-star game?
SELECT Score1 FROM table WHERE Competition or tour = major league soccer all-star game
Translate the following into a SQL query
What is the score 1 with a h ground?
SELECT Score1 FROM table WHERE Ground = h
Translate the following into a SQL query
Who are the scorers on 1 August 2008, where the ground was A?
SELECT Scorers FROM table WHERE Ground = a AND Date = 1 august 2008
Translate the following into a SQL query
What ground had Portsmouth reserves as an opponent?
SELECT Ground FROM table WHERE Opponent = portsmouth reserves
Translate the following into a SQL query
What ground had a match smaller than 6 and Chelsea Reserves as the opponent?
SELECT Ground FROM table WHERE Match < 6 AND Opponent = chelsea reserves
Translate the following into a SQL query
Which Team has Losses larger than 5, and a Position of 12?
SELECT Team FROM table WHERE Losses > 5 AND Position = 12
Translate the following into a SQL query
How many Points have a Position larger than 4, and Losses larger than 5, and a Conceded of 15, and a Scored larger than 11?
SELECT COUNT Points FROM table WHERE Position > 4 AND Losses > 5 AND Conceded = 15 AND Scored > 11
Translate the following into a SQL query
How many positions have Played smaller than 12?
SELECT SUM Position FROM table WHERE Played < 12
Translate the following into a SQL query
Who was the Prato Elector with a faction of Italian?
SELECT Elector FROM table WHERE Faction = italian AND Nationality = prato
Translate the following into a SQL query
What's the elevator of Jacques D'euse?
SELECT Elevator FROM table WHERE Elector = jacques d'euse
Translate the following into a SQL query
What's the nationality for Nicholas III?
SELECT Nationality FROM table WHERE Elevator = nicholas iii
Translate the following into a SQL query
What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2002?
SELECT MIN Mintage FROM table WHERE Artist = dora de pédery-hunt AND Year < 2002
Translate the following into a SQL query
What is the most mintage with common eider as the theme, and the year less than 2008?
SELECT MAX Mintage FROM table WHERE Theme = common eider AND Year < 2008
Translate the following into a SQL query
What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000?
SELECT MIN Year FROM table WHERE Theme = 25th anniversary loonie AND Mintage < 35,000
Translate the following into a SQL query
Who was the artist that had $49.95 as the issue price for the 2010 year?
SELECT Artist FROM table WHERE Issue price = $49.95 AND Year = 2010
Translate the following into a SQL query
What is the score for the southern home team?
SELECT Score FROM table WHERE Home team = southern
Translate the following into a SQL query
What time is it for the southern home team?
SELECT Time FROM table WHERE Home team = southern
Translate the following into a SQL query
What is the Result of the game on November 24, 1946?
SELECT Result FROM table WHERE Date = november 24, 1946
Translate the following into a SQL query
What is the Week number on September 6, 1946?
SELECT SUM Week FROM table WHERE Date = september 6, 1946
Translate the following into a SQL query
What is the Date of the game with a Record of 5-3?
SELECT Date FROM table WHERE Record = 5-3
Translate the following into a SQL query
What was the lowest ranking rower from Great Britain?
SELECT MIN Rank FROM table WHERE Country = great britain
Translate the following into a SQL query
What are the notes for the rower in ranks over 2 and having a time of 7:00:46?
SELECT Notes FROM table WHERE Rank > 2 AND Time = 7:00:46
Translate the following into a SQL query
Which Programming has a Video of audio only?
SELECT Programming FROM table WHERE Video = audio only
Translate the following into a SQL query
Which Video has a Channel of 25.3?
SELECT Video FROM table WHERE Channel = 25.3
Translate the following into a SQL query
Which Video has an Aspect of 16:9?
SELECT Video FROM table WHERE Aspect = 16:9
Translate the following into a SQL query
What is the Original Air date of the episode "Touch and Go"?
SELECT Original air date FROM table WHERE Title = "touch and go"
Translate the following into a SQL query
On which date did Michael Signer earn 4%?
SELECT Date FROM table WHERE Michael Signer = 4%
Translate the following into a SQL query
Which polling source gave Michael Signer 5%?
SELECT Source FROM table WHERE Michael Signer = 5%
Translate the following into a SQL query
Which date had the undecided percentage at 42%?
SELECT Date FROM table WHERE Undecided = 42%
Translate the following into a SQL query
What is the Rich Savage percentage in the poll with Jody Wagner at 30%?
SELECT Rich Savage FROM table WHERE Jody Wagner = 30%
Translate the following into a SQL query
What is the Rich Savage percentage in the poll that had undecideds at 68%?
SELECT Rich Savage FROM table WHERE Undecided = 68%
Translate the following into a SQL query
Who was the opponent when the record was 31-24?
SELECT Opponent FROM table WHERE Record = 31-24
Translate the following into a SQL query
What was the score of Game 48?
SELECT Score FROM table WHERE Game = 48
Translate the following into a SQL query
Who was the opponent at the game at Madison Square Garden?
SELECT Opponent FROM table WHERE Location/Attendance = madison square garden
Translate the following into a SQL query
What was the score of the game at Great Western Forum?
SELECT Score FROM table WHERE Location/Attendance = great western forum
Translate the following into a SQL query
Which Romaji Title has a Japanese Title of 花より男子2(リターンズ)?
SELECT Romaji Title FROM table WHERE Japanese Title = 花より男子2(リターンズ)
Translate the following into a SQL query
Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?
SELECT Romaji Title FROM table WHERE TV Station = fuji tv AND Average Ratings = 12.41%
Translate the following into a SQL query
Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama?
SELECT Japanese Title FROM table WHERE Episodes > 9 AND Romaji Title = haikei, chichiue-sama
Translate the following into a SQL query
Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%?
SELECT Romaji Title FROM table WHERE Episodes = 11 AND TV Station = fuji tv AND Average Ratings = 14.9%
Translate the following into a SQL query
What was the result of nomination for Season 6 after 1995?
SELECT Result FROM table WHERE Year > 1995 AND Episode = season 6
Translate the following into a SQL query
What was the category of the award that John Frank Levey was nominated for after 1995?
SELECT Category FROM table WHERE Nominee(s) = john frank levey AND Year > 1995
Translate the following into a SQL query
What is the English Translation for the French song by the Artist Rachel?
SELECT English translation FROM table WHERE Language = french AND Artist = rachel
Translate the following into a SQL query
What is the Song by Artist Robert Cogoi?
SELECT Song FROM table WHERE Artist = robert cogoi
Translate the following into a SQL query
How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?
SELECT Points FROM table WHERE Draw > 7 AND Artist = sabahudin kurt
Translate the following into a SQL query
How much Converted has a Number of 35, and a Withdrawn smaller than 1952?
SELECT COUNT Converted FROM table WHERE Number = 35 AND Withdrawn < 1952
Translate the following into a SQL query
How much Withdrawn has a Number of 42, and a Previous Number(s) larger than 68178?
SELECT SUM Withdrawn FROM table WHERE Number = 42 AND Previous Number(s) > 68178
Translate the following into a SQL query
Which Withdrawn has a Previous Class of j69, and a Previous Number(s) smaller than 68532, and a Converted larger than 1959?
SELECT MAX Withdrawn FROM table WHERE Previous Class = j69 AND Previous Number(s) < 68532 AND Converted > 1959
Translate the following into a SQL query
What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95?
SELECT AVG Latitude FROM table WHERE Water (sqmi) < 2.106 AND County = dickey AND Pop. (2010) < 95
Translate the following into a SQL query
What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water?
SELECT MAX GEO ID FROM table WHERE Land ( sqmi ) > 38.117 AND Water (sqmi) > 2.065
Translate the following into a SQL query
What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?
SELECT COUNT GEO ID FROM table WHERE Water (sqmi) > 0.587 AND Township = riggin AND ANSI code > 1759257
Translate the following into a SQL query
What's the class when the identifier is cbf-fm-14?
SELECT Class FROM table WHERE Identifier = cbf-fm-14
Translate the following into a SQL query
What's the frequency when the identifier is cbf-fm-9?
SELECT Frequency FROM table WHERE Identifier = cbf-fm-9
Translate the following into a SQL query
What's the RECNet when the identifier is cbf-fm-20?
SELECT RECNet FROM table WHERE Identifier = cbf-fm-20
Translate the following into a SQL query
What's the RECNet when the power is 199 watts?
SELECT RECNet FROM table WHERE Power = 199 watts
Translate the following into a SQL query
What's the frequency when the identifier is cbf-fm-14 having a class of A?
SELECT Frequency FROM table WHERE Class = a AND Identifier = cbf-fm-14
Translate the following into a SQL query
What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham?
SELECT A.G. FROM table WHERE D3&4 = 46 AND Transmitter = seaham
Translate the following into a SQL query
What is the AG value associated with a D3&4 of 41?
SELECT A.G. FROM table WHERE D3&4 = 41
Translate the following into a SQL query
What was the billboard hot 100 with an album bust a nut, and the title of "need your lovin' (re-release)"?
SELECT Billboard Hot 100 FROM table WHERE Album = bust a nut AND Title = "need your lovin' (re-release)"
Translate the following into a SQL query
What is the UK singles chart for the album psychotic supper, in the year 1992, with a title of "song & emotion"?
SELECT UK Singles Chart FROM table WHERE Album = psychotic supper AND Year = 1992 AND Title = "song & emotion"
Translate the following into a SQL query
which Label is in 15 december 1992?
SELECT Label FROM table WHERE Date = 15 december 1992
Translate the following into a SQL query
Which Album has an Artist of various artists (compilation), and a Label of laface?
SELECT Album FROM table WHERE Artist = various artists (compilation) AND Label = laface
Translate the following into a SQL query
When has an Album of l'un n'empêche pas l'autre?
SELECT Date FROM table WHERE Album = l'un n'empêche pas l'autre
Translate the following into a SQL query
Which Track(s) is on 18 november 1985?
SELECT Track(s) FROM table WHERE Date = 18 november 1985
Translate the following into a SQL query
Which Artist has a Track(s) of " evilmainya "?
SELECT Artist FROM table WHERE Track(s) = " evilmainya "
Translate the following into a SQL query
Which Label that has an Album of so red the rose?
SELECT Label FROM table WHERE Album = so red the rose
Translate the following into a SQL query
What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1?
SELECT MIN Lane FROM table WHERE Name = natalie coughlin AND Rank > 1
Translate the following into a SQL query
Who is the Athlete with a rowing Time of 6:36.05?
SELECT Athlete FROM table WHERE Time = 6:36.05
Translate the following into a SQL query
What song was made by the sex pistols?
SELECT Song FROM table WHERE Artist = sex pistols
Translate the following into a SQL query
What song has the band tour vnue of 6. tool (usa) encore?
SELECT Song FROM table WHERE Band Tour Venue = 6. tool (usa) encore
Translate the following into a SQL query
What is the total when the A score was less than 6.6, and the B score was 8.925?
SELECT Total FROM table WHERE A score < 6.6 AND B score = 8.925
Translate the following into a SQL query
What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6?
SELECT AVG Total FROM table WHERE Position < 4 AND B score > 9.125 AND A score < 6.6
Translate the following into a SQL query
What is the score when watford was the away team?
SELECT Score FROM table WHERE Away team = watford
Translate the following into a SQL query
What is the score when york city was the home team?
SELECT Score FROM table WHERE Home team = york city
Translate the following into a SQL query
What score has a game greater than 29, with 24-6 as the record?
SELECT Score FROM table WHERE Game > 29 AND Record = 24-6
Translate the following into a SQL query
What record has @ detroit as the opponent?
SELECT Record FROM table WHERE Opponent = @ detroit
Translate the following into a SQL query
What high assists have McWilliams-franklin (22) as the high points?
SELECT High assists FROM table WHERE High points = mcwilliams-franklin (22)
Translate the following into a SQL query
What high assists have uic pavilion 3,520 as the location/attendance?
SELECT High assists FROM table WHERE Location/Attendance = uic pavilion 3,520
Translate the following into a SQL query
What game has jones (10) as the high rebounds?
SELECT Game FROM table WHERE High rebounds = jones (10)
Translate the following into a SQL query
How many cores does the processor with a release price of $426 have?
SELECT Cores FROM table WHERE Release price ( USD ) = $426
Translate the following into a SQL query
What was the frequency of the Core i7-3610QE?
SELECT Frequency FROM table WHERE Model number = core i7-3610qe
Translate the following into a SQL query
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
SELECT Cores FROM table WHERE Release date = april 2012 AND Release price ( USD ) = $393 AND Part number(s) = av8063801117503
Translate the following into a SQL query
What is Japan's Area km²?
SELECT Area km² FROM table WHERE Country = japan
Translate the following into a SQL query
Which island has a density (per km²) of 1,368?
SELECT Island FROM table WHERE Density (per km²) = 1,368
Translate the following into a SQL query
Which country has a density (per km²) of 6,814?
SELECT Country FROM table WHERE Density (per km²) = 6,814
Translate the following into a SQL query
Which island has a population of 9,520 (2000)?
SELECT Island FROM table WHERE Population = 9,520 (2000)
Translate the following into a SQL query
What is the area km² for a population of 99,685 (2008)?
SELECT Area km² FROM table WHERE Population = 99,685 (2008)
Translate the following into a SQL query
Which island is in the United Kingdom?
SELECT Island FROM table WHERE Country = united kingdom
Translate the following into a SQL query
Who is the pitcher from the 1983 season in location Kingdome?
SELECT Pitcher FROM table WHERE Location = kingdome AND Season = 1983
Translate the following into a SQL query
Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?
SELECT Pitcher FROM table WHERE Opponent = cleveland indians AND Season = 1994
Translate the following into a SQL query
Who is the opponent for the 2011 season with a decision of W?
SELECT Opponent FROM table WHERE Decision = w AND Season = 2011
Translate the following into a SQL query
What season was played at Safeco Field, against the Boston Red Sox, with a decision of L?
SELECT Season FROM table WHERE Location = safeco field AND Decision = l AND Opponent = boston red sox
Translate the following into a SQL query
What was the decision for the 1983 season for the game played against the New York Yankees?
SELECT Decision FROM table WHERE Opponent = new york yankees AND Season = 1983
Translate the following into a SQL query
what is the encoding when the tracks/side is 80 and sectors/track is 11?
SELECT Encoding FROM table WHERE Tracks/ side = 80 AND Sectors/ track = 11
Translate the following into a SQL query
What is the highest bronze for less than 2 total trophies?
SELECT MAX Bronze FROM table WHERE Total < 2
Translate the following into a SQL query
Which Total has a Finish of t64, and a Year won larger than 2006?
SELECT MAX Total FROM table WHERE Finish = t64 AND Year won > 2006
Translate the following into a SQL query
Which year won has a Finish of t24, and a Country of england?
SELECT AVG Year won FROM table WHERE Finish = t24 AND Country = england
Translate the following into a SQL query
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
SELECT MIN Bronze FROM table WHERE Total > 2 AND Silver < 1 AND Rank > 10 AND Gold < 0
Translate the following into a SQL query
Which school has an enrollment of A and had lost river as their previous conference?
SELECT School FROM table WHERE Previous Conference = lost river AND Enrollment = a
Translate the following into a SQL query
What is the average year joined of the 277 county?
SELECT AVG Year Joined FROM table WHERE County = 277
Translate the following into a SQL query
What is the IHSAA class of the county that is less than 228?
SELECT IHSAA Class FROM table WHERE County < 228