instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What's the total percent of the $40-50K ones that have n/a?
|
SELECT Percent of total FROM table WHERE $40,000 to $50,000 = n/a
|
Translate the following into a SQL query
|
Which Label has a Country of canada, and a Format of cd/digital download?
|
SELECT Label FROM table WHERE Country = canada AND Format = cd/digital download
|
Translate the following into a SQL query
|
Which Format has a Date of 14 october 2008, and a Label of eagle eye media?
|
SELECT Format FROM table WHERE Date = 14 october 2008 AND Label = eagle eye media
|
Translate the following into a SQL query
|
Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711?
|
SELECT Label FROM table WHERE Country = united kingdom AND Date = 22 september 2008 AND Catalogue number(s) = eredv711
|
Translate the following into a SQL query
|
Which Country has a Catalogue number(s) of eredv711?
|
SELECT Country FROM table WHERE Catalogue number(s) = eredv711
|
Translate the following into a SQL query
|
Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states?
|
SELECT Format FROM table WHERE Label = eagle eye media AND Catalogue number(s) = — AND Country = united states
|
Translate the following into a SQL query
|
Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?
|
SELECT Format FROM table WHERE Label = eagle records AND Catalogue number(s) = edgcd391
|
Translate the following into a SQL query
|
What is the Height of the Player with a Date of Birth of 1978-02-16?
|
SELECT Height FROM table WHERE Date of Birth = 1978-02-16
|
Translate the following into a SQL query
|
What is the Name of the D Player born on 1983-07-19?
|
SELECT Name FROM table WHERE Pos. = d AND Date of Birth = 1983-07-19
|
Translate the following into a SQL query
|
What is Eftychia Karagianni Pos.?
|
SELECT Pos. FROM table WHERE Name = eftychia karagianni
|
Translate the following into a SQL query
|
What is the track that from lcd soundsystem?
|
SELECT Track FROM table WHERE Artist = lcd soundsystem
|
Translate the following into a SQL query
|
What is the total number of UEFA Cup(s), when Total is greater than 3?
|
SELECT COUNT UEFA Cup FROM table WHERE Total > 3
|
Translate the following into a SQL query
|
What is the lowest Polish Cup, when Position is "Midfielder", when Player is "Miroslav Radović", and when Ekstraklasa is less than 1?
|
SELECT MIN Polish Cup FROM table WHERE Position = midfielder AND Player = miroslav radović AND Ekstraklasa < 1
|
Translate the following into a SQL query
|
What is the sum of Polish Cup, when Player is "Maciej Iwański", and when Ekstraklasa is less than 1?
|
SELECT SUM Polish Cup FROM table WHERE Player = maciej iwański AND Ekstraklasa < 1
|
Translate the following into a SQL query
|
What Election has a 2nd Member of frederick knight, and a 1st Member of sir edmund lechmere, bt?
|
SELECT Election FROM table WHERE 2nd Member = frederick knight AND 1st Member = sir edmund lechmere, bt
|
Translate the following into a SQL query
|
What 2nd Member has a 1st Party of conservative, and a 1st Member of william edward dowdeswell?
|
SELECT 2nd Member FROM table WHERE 1st Party = conservative AND 1st Member = william edward dowdeswell
|
Translate the following into a SQL query
|
What 2nd Party has an Election of 1885?
|
SELECT 2nd Party FROM table WHERE Election = 1885
|
Translate the following into a SQL query
|
What 2nd Party has an Election of 1834?
|
SELECT 2nd Party FROM table WHERE Election = 1834
|
Translate the following into a SQL query
|
What 2nd Member has a 2nd Party of conservative, and an Election of 1853 by-election?
|
SELECT 2nd Member FROM table WHERE 2nd Party = conservative AND Election = 1853 by-election
|
Translate the following into a SQL query
|
What 2nd Member has an Election of 1833 by-election?
|
SELECT 2nd Member FROM table WHERE Election = 1833 by-election
|
Translate the following into a SQL query
|
Golfer Steve Pate has what To par?
|
SELECT To par FROM table WHERE Player = steve pate
|
Translate the following into a SQL query
|
What was the score when they played the Boston Patriots?
|
SELECT Result FROM table WHERE Opponent = boston patriots
|
Translate the following into a SQL query
|
How many apps for the rank of 8 in the 2012/13 season?
|
SELECT MAX Apps FROM table WHERE Rank = 8 AND Season = 2012/13
|
Translate the following into a SQL query
|
How many goals per match when the player has more than 33 goals and more than 38 apps?
|
SELECT COUNT Goals per Match FROM table WHERE Goals > 33 AND Apps > 38
|
Translate the following into a SQL query
|
What was the score when Nacional was the champion, River Plate was the runner-up, and the venue was Centenario?
|
SELECT Score FROM table WHERE Champion = nacional AND Venue = centenario AND Runner-up = river plate
|
Translate the following into a SQL query
|
Who was the champion when atlético wanderers was the runner-up?
|
SELECT Champion FROM table WHERE Runner-up = atlético wanderers
|
Translate the following into a SQL query
|
In which city is the San Lorenzo Centenario venue located?
|
SELECT City FROM table WHERE Venue = san lorenzo centenario
|
Translate the following into a SQL query
|
The game played 31 May 2010 was played on what surface?
|
SELECT Surface FROM table WHERE Date = 31 may 2010
|
Translate the following into a SQL query
|
What tournament was played 16 September 2012?
|
SELECT Tournament FROM table WHERE Date = 16 september 2012
|
Translate the following into a SQL query
|
What is the score of the game played 26 July 2010?
|
SELECT Score FROM table WHERE Date = 26 july 2010
|
Translate the following into a SQL query
|
The match against Paul-Henri Mathieu had what outcome?
|
SELECT Outcome FROM table WHERE Opponent = paul-henri mathieu
|
Translate the following into a SQL query
|
What is South Africa's to par?
|
SELECT To par FROM table WHERE Country = south africa
|
Translate the following into a SQL query
|
Who had a finish of t20?
|
SELECT Player FROM table WHERE Finish = t20
|
Translate the following into a SQL query
|
What is the average pjehun measured by female enrollment?
|
SELECT AVG Pujehun FROM table WHERE Measure = female enrollment
|
Translate the following into a SQL query
|
What is the highest pjuehun with a kenema greater than 559, a kambia of 45,653, and a tonkolili greater than 113,926?
|
SELECT MAX Pujehun FROM table WHERE Kenema > 559 AND Kambia = 45,653 AND Tonkolili > 113,926
|
Translate the following into a SQL query
|
What is the sum of the kono with a bonthe greater than 21,238?
|
SELECT SUM Kono FROM table WHERE Bonthe > 21,238
|
Translate the following into a SQL query
|
What party is the person who was first elected in 2000 and was re-elected?
|
SELECT Party FROM table WHERE Results = re-elected AND First elected = 2000
|
Translate the following into a SQL query
|
Which report has a Set 3 value of 21–25?
|
SELECT Report FROM table WHERE Set 3 = 21–25
|
Translate the following into a SQL query
|
What was the Time when Set 3 was 25–14?
|
SELECT Time FROM table WHERE Set 3 = 25–14
|
Translate the following into a SQL query
|
When was there a Time of 18:00, and a Set 1 of 22–25?
|
SELECT Date FROM table WHERE Time = 18:00 AND Set 1 = 22–25
|
Translate the following into a SQL query
|
How many Totals have a CONCACAF of 0, and an MLS Cup smaller than 6?
|
SELECT COUNT Total FROM table WHERE CONCACAF = 0 AND MLS Cup < 6
|
Translate the following into a SQL query
|
Which MLS Cup has another larger than 9, and a Total smaller than 72?
|
SELECT AVG MLS Cup FROM table WHERE Other > 9 AND Total < 72
|
Translate the following into a SQL query
|
What year has a not nominated result and a nomination title of "the color of fame"?
|
SELECT Year (Ceremony) FROM table WHERE Result = not nominated AND Film title used in nomination = the color of fame
|
Translate the following into a SQL query
|
What's the original title of the nomination title, "brecha en el silencio"?
|
SELECT Original title FROM table WHERE Film title used in nomination = brecha en el silencio
|
Translate the following into a SQL query
|
What year has a nomination title of "sangrador"?
|
SELECT Year (Ceremony) FROM table WHERE Film title used in nomination = sangrador
|
Translate the following into a SQL query
|
What year has a original title of "el tinte de la fama"?
|
SELECT Year (Ceremony) FROM table WHERE Original title = el tinte de la fama
|
Translate the following into a SQL query
|
What's the result for director elia schneider's punto y raya?
|
SELECT Result FROM table WHERE Director = elia schneider AND Film title used in nomination = punto y raya
|
Translate the following into a SQL query
|
What is the score points when the total is 20?
|
SELECT Score points FROM table WHERE Total = 20
|
Translate the following into a SQL query
|
What is the score points in WC Kerrville, when rank was points of 8?
|
SELECT Score points FROM table WHERE Event = wc kerrville AND Rank points = 8
|
Translate the following into a SQL query
|
What is the score points when the total is 16?
|
SELECT Score points FROM table WHERE Total = 16
|
Translate the following into a SQL query
|
What is the score points when the rank points is 3?
|
SELECT Score points FROM table WHERE Rank points = 3
|
Translate the following into a SQL query
|
What is the total when the score points show Olympic bronze medalist?
|
SELECT Total FROM table WHERE Score points = olympic bronze medalist
|
Translate the following into a SQL query
|
What Winning constructor has a Circuit of lasarte?
|
SELECT Winning constructor FROM table WHERE Circuit = lasarte
|
Translate the following into a SQL query
|
What Date has a Winning driver of ugo sivocci?
|
SELECT Date FROM table WHERE Winning driver = ugo sivocci
|
Translate the following into a SQL query
|
What Report has a Winning driver of mario razzauti?
|
SELECT Report FROM table WHERE Winning driver = mario razzauti
|
Translate the following into a SQL query
|
What Date has a Circuit of cremona?
|
SELECT Date FROM table WHERE Circuit = cremona
|
Translate the following into a SQL query
|
What Name has a Winning constructor of ansaldo?
|
SELECT Name FROM table WHERE Winning constructor = ansaldo
|
Translate the following into a SQL query
|
What Winning driver has a Winning constructor of sunbeam?
|
SELECT Winning driver FROM table WHERE Winning constructor = sunbeam
|
Translate the following into a SQL query
|
What is the average total for 0 bronze?
|
SELECT AVG Total FROM table WHERE Bronze < 0
|
Translate the following into a SQL query
|
What is the time entry for the track composed by ROZ, with the title "잘해봐 (good luck!!)"?
|
SELECT Time FROM table WHERE Composer(s) = roz AND Title = "잘해봐 (good luck!!)"
|
Translate the following into a SQL query
|
How long is the track "잘해봐 (good luck!!)"?
|
SELECT Time FROM table WHERE Title = "잘해봐 (good luck!!)"
|
Translate the following into a SQL query
|
What is the title of the track with lyricist ROZ and arranger Yongmin Lee?
|
SELECT Title FROM table WHERE Lyricist(s) = roz AND Arranger(s) = yongmin lee
|
Translate the following into a SQL query
|
Who was the lyricist for composer ROZ on title "요리왕 (cooking? cooking!)"?
|
SELECT Lyricist(s) FROM table WHERE Composer(s) = roz AND Title = "요리왕 (cooking? cooking!)"
|
Translate the following into a SQL query
|
Who was the lyricist for composer Haewon Park?
|
SELECT Lyricist(s) FROM table WHERE Composer(s) = haewon park
|
Translate the following into a SQL query
|
What are the lengths of the tracks arranged by ROZ?
|
SELECT Time FROM table WHERE Arranger(s) = roz
|
Translate the following into a SQL query
|
What host city had a 2nd runner up of woon yeow?
|
SELECT Host city FROM table WHERE 2nd runner up = woon yeow
|
Translate the following into a SQL query
|
How many years did caroline lubrez win?
|
SELECT SUM Year FROM table WHERE Winner = caroline lubrez
|
Translate the following into a SQL query
|
Who won after 2007 when deyra cimen was the 1st runner up?
|
SELECT Winner FROM table WHERE Year > 2007 AND 1st runner up = deyra cimen
|
Translate the following into a SQL query
|
How many years was assel isabaeva the 2nd runner up?
|
SELECT COUNT Year FROM table WHERE 2nd runner up = assel isabaeva
|
Translate the following into a SQL query
|
Who was the 2nd runner up in istanbul after 1994 when veronica laskaeva was the 1st runner up?
|
SELECT 2nd runner up FROM table WHERE Year > 1994 AND Host city = istanbul AND 1st runner up = veronica laskaeva
|
Translate the following into a SQL query
|
Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
|
SELECT MAX Area km 2 FROM table WHERE Official Name = stanley AND Population > 1,817
|
Translate the following into a SQL query
|
How much Area km 2 have a Population of 1,215?
|
SELECT COUNT Area km 2 FROM table WHERE Population = 1,215
|
Translate the following into a SQL query
|
Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?
|
SELECT Census Ranking FROM table WHERE Population < 879 AND Area km 2 > 537.62
|
Translate the following into a SQL query
|
Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley?
|
SELECT Census Ranking FROM table WHERE Area km 2 > 753.06 AND Official Name = stanley
|
Translate the following into a SQL query
|
Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601?
|
SELECT MIN Area km 2 FROM table WHERE Official Name = southampton AND Population > 1,601
|
Translate the following into a SQL query
|
What is Kirkby Town's lowest lost with more than 83 goals?
|
SELECT MIN Lost FROM table WHERE Team = kirkby town AND Goals For > 83
|
Translate the following into a SQL query
|
What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?
|
SELECT MIN Position FROM table WHERE Points 1 = 27 2 AND Drawn < 9
|
Translate the following into a SQL query
|
What is the goal difference number with a position of 15?
|
SELECT Goal Difference FROM table WHERE Position = 15
|
Translate the following into a SQL query
|
What is Original Album, when English Translation is "With You"?
|
SELECT Original album FROM table WHERE English translation = "with you"
|
Translate the following into a SQL query
|
What is the Original Album, when English Translation is "What Else Will I Hear"?
|
SELECT Original album FROM table WHERE English translation = "what else will i hear"
|
Translate the following into a SQL query
|
What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"
|
SELECT English translation FROM table WHERE Lyricist(s) = giorgos moukidis AND Original album = ena (new edition)
|
Translate the following into a SQL query
|
What is Original Album, when Time is "3:39"?
|
SELECT Original album FROM table WHERE Time = 3:39
|
Translate the following into a SQL query
|
What is Time, when Lyricist(s) is Giorgos Moukidis, and when English Translation is "Nowhere"?
|
SELECT Time FROM table WHERE Lyricist(s) = giorgos moukidis AND English translation = "nowhere"
|
Translate the following into a SQL query
|
What is Time, when Composer(s) is "Kyriakos Papadopoulos"?
|
SELECT Time FROM table WHERE Composer(s) = kyriakos papadopoulos
|
Translate the following into a SQL query
|
Who was the visitor on March 27?
|
SELECT Visitor FROM table WHERE Date = march 27
|
Translate the following into a SQL query
|
What was the score of the game on February 8?
|
SELECT Score FROM table WHERE Date = february 8
|
Translate the following into a SQL query
|
What was their record on December 4?
|
SELECT Record FROM table WHERE Date = december 4
|
Translate the following into a SQL query
|
What was the score on February 21 when the home team was the Pittsburgh Penguins?
|
SELECT Score FROM table WHERE Home = pittsburgh penguins AND Date = february 21
|
Translate the following into a SQL query
|
WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?
|
SELECT MIN Money ( $ ) FROM table WHERE To par > 26
|
Translate the following into a SQL query
|
WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY?
|
SELECT Score FROM table WHERE Money ( $ ) = 85 AND Player = clarence hackney
|
Translate the following into a SQL query
|
WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?
|
SELECT MIN Money ( $ ) FROM table WHERE Score = 74-74-76-74=298
|
Translate the following into a SQL query
|
What is the week number for the date of September 14, 1980?
|
SELECT MAX Week FROM table WHERE Date = september 14, 1980
|
Translate the following into a SQL query
|
What week was the result l 14–9?
|
SELECT Week FROM table WHERE Result = l 14–9
|
Translate the following into a SQL query
|
What is the week number with attendance of 44,132?
|
SELECT COUNT Week FROM table WHERE Attendance = 44,132
|
Translate the following into a SQL query
|
Who was the winner for the circuit Eastern Creek Raceway?
|
SELECT Winner FROM table WHERE Circuit = eastern creek raceway
|
Translate the following into a SQL query
|
What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?
|
SELECT City / State FROM table WHERE Winner = darren hossack AND Circuit = phillip island grand prix circuit
|
Translate the following into a SQL query
|
What city was the circuit of mallala motor sport park?
|
SELECT City / State FROM table WHERE Circuit = mallala motor sport park
|
Translate the following into a SQL query
|
Which To par has a Place of t1, and a Country of india?
|
SELECT To par FROM table WHERE Place = t1 AND Country = india
|
Translate the following into a SQL query
|
What is Brian Gay's place?
|
SELECT Place FROM table WHERE Player = brian gay
|
Translate the following into a SQL query
|
Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?
|
SELECT Country FROM table WHERE Score < 70 AND Place = t3 AND Player = andrés romero
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.