instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Which event was the opponent jose carlos oliveira?
|
SELECT Event FROM table WHERE Opponent = jose carlos oliveira
|
Translate the following into a SQL query
|
How many rounds was the bout against bobby rehman?
|
SELECT Round FROM table WHERE Opponent = bobby rehman
|
Translate the following into a SQL query
|
Where was the location when the record was 12-5?
|
SELECT Location FROM table WHERE Record = 12-5
|
Translate the following into a SQL query
|
Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs?
|
SELECT DVD Title FROM table WHERE Region 1 = n/a AND No. of Discs > 3
|
Translate the following into a SQL query
|
Which region 1 has 12 Episodes and a Region 2 of 18 August 2008?
|
SELECT Region 1 FROM table WHERE No. of Episodes = 12 AND Region 2 = 18 august 2008
|
Translate the following into a SQL query
|
WHAT TRIES HAVE TRIES AGAINST AT 140?
|
SELECT Tries for FROM table WHERE Tries against = 140
|
Translate the following into a SQL query
|
WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784?
|
SELECT Tries against FROM table WHERE Played = 22 AND Points against = 784
|
Translate the following into a SQL query
|
WHAT IS THE TRIES WITH POINTS 190?
|
SELECT Tries for FROM table WHERE Points for = 190
|
Translate the following into a SQL query
|
WHAT IS THE POINTS WITH 55 TRIES?
|
SELECT Points FROM table WHERE Tries for = 55
|
Translate the following into a SQL query
|
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?
|
SELECT Lost FROM table WHERE Losing bonus = 1 AND Points for = 148
|
Translate the following into a SQL query
|
WHAT IS THE LOSING BONUS WITH 190 POINTS?
|
SELECT Losing bonus FROM table WHERE Points for = 190
|
Translate the following into a SQL query
|
What is the sum of the pick of the guard position player?
|
SELECT SUM Pick FROM table WHERE Position = guard
|
Translate the following into a SQL query
|
What is the NFL club with pick # 153?
|
SELECT NFL Club FROM table WHERE Pick = 153
|
Translate the following into a SQL query
|
Who is the player from a round less than 13 and has a pick of 74?
|
SELECT Player FROM table WHERE Round < 13 AND Pick = 74
|
Translate the following into a SQL query
|
Who is the player from round 13 that plays center?
|
SELECT Player FROM table WHERE Round = 13 AND Position = center
|
Translate the following into a SQL query
|
What is the NFL club with a pick less than 74 and a round greater than 2?
|
SELECT NFL Club FROM table WHERE Pick < 74 AND Round > 2
|
Translate the following into a SQL query
|
Which Conference Semifinals has a Record of 55–27?
|
SELECT Conference Semifinals FROM table WHERE Record = 55–27
|
Translate the following into a SQL query
|
Which Conference Semifinals has a Conference Finals of † denotes division championship?
|
SELECT Conference Semifinals FROM table WHERE Conference Finals = † denotes division championship
|
Translate the following into a SQL query
|
Which Conference Finals has a Seed of † denotes division championship?
|
SELECT Conference Finals FROM table WHERE Seed = † denotes division championship
|
Translate the following into a SQL query
|
What rank is the publication the observer music monthly?
|
SELECT Rank FROM table WHERE Publication = the observer music monthly
|
Translate the following into a SQL query
|
What is the publication the observer music monthly highest year?
|
SELECT MAX Year FROM table WHERE Publication = the observer music monthly
|
Translate the following into a SQL query
|
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"?
|
SELECT AVG Attendance FROM table WHERE Venue = candlestick park AND Date = december 27
|
Translate the following into a SQL query
|
What is Result, when Date is "November 22"?
|
SELECT Result FROM table WHERE Date = november 22
|
Translate the following into a SQL query
|
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"?
|
SELECT AVG Attendance FROM table WHERE Venue = candlestick park AND Date = november 25
|
Translate the following into a SQL query
|
What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?
|
SELECT Bronze FROM table WHERE Silver = tatiana ryabkina AND Gold = anne margrethe hausken
|
Translate the following into a SQL query
|
What label is in CD format in Australia?
|
SELECT Label FROM table WHERE Format = cd AND Region = australia
|
Translate the following into a SQL query
|
What is the label for catalog number CRG3P-90054?
|
SELECT Label FROM table WHERE Catalog = crg3p-90054
|
Translate the following into a SQL query
|
What is the format for the MCA label?
|
SELECT Format FROM table WHERE Label = mca
|
Translate the following into a SQL query
|
What is the catalog number for the Grilled Cheese label?
|
SELECT Catalog FROM table WHERE Label = grilled cheese
|
Translate the following into a SQL query
|
Which region has the format CD and label MCA?
|
SELECT Region FROM table WHERE Format = cd AND Label = mca
|
Translate the following into a SQL query
|
What is the format for the label Mightier than Sword on January 12, 2010 in the United States?
|
SELECT Format FROM table WHERE Region = united states AND Date = january 12, 2010 AND Label = mightier than sword
|
Translate the following into a SQL query
|
Which station that sat 54m above seal level is now Closed?
|
SELECT Station FROM table WHERE Height above sea level (m) = 54m AND Closed = closed
|
Translate the following into a SQL query
|
Opened prior to 1877 only 2.44km from Wellington, when did this station close?
|
SELECT Closed FROM table WHERE Opened < 1877 AND Distance from Wellington = 2.44km
|
Translate the following into a SQL query
|
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?
|
SELECT Height above sea level (m) FROM table WHERE Opened < 1887 AND Distance from Wellington = 175.67km
|
Translate the following into a SQL query
|
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?
|
SELECT Height above sea level (m) FROM table WHERE Opened > 1876 AND Distance from Wellington = 604.53km
|
Translate the following into a SQL query
|
Who was the opponent at the game attended by 70,012?
|
SELECT Opponent FROM table WHERE Attendance = 70,012
|
Translate the following into a SQL query
|
What is the date of the post-week 2 game with a result of l 16–10?
|
SELECT Date FROM table WHERE Week > 2 AND Result = l 16–10
|
Translate the following into a SQL query
|
What is the highest to par number for Justin Leonard when the total is less than 297?
|
SELECT MAX To par FROM table WHERE Player = justin leonard AND Total < 297
|
Translate the following into a SQL query
|
What is the total when the finish was t44?
|
SELECT Total FROM table WHERE Finish = t44
|
Translate the following into a SQL query
|
What country has a total larger than 293, and a to par less than 17?
|
SELECT Country FROM table WHERE Total > 293 AND To par < 17
|
Translate the following into a SQL query
|
When Karaorman is Team 1, what is the Agg.?
|
SELECT Agg. FROM table WHERE Team 1 = karaorman
|
Translate the following into a SQL query
|
What is week 3 when week 6 is 26.05?
|
SELECT Week 3 FROM table WHERE Week 6 = 26.05
|
Translate the following into a SQL query
|
What is week 5 when week 2 is 36.80, and week 4 is 39.75?
|
SELECT Week 5 FROM table WHERE Week 2 = 36.80 AND Week 4 = 39.75
|
Translate the following into a SQL query
|
What is week 4 if week 3 is 35.40?
|
SELECT Week 4 FROM table WHERE Week 3 = 35.40
|
Translate the following into a SQL query
|
What is week 7 when week 3 is 35.90?
|
SELECT Week 7 FROM table WHERE Week 3 = 35.90
|
Translate the following into a SQL query
|
What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?
|
SELECT Week 6 FROM table WHERE Week 7 = evicted AND Week 4 = evicted AND Week 3 = evicted AND Week 2 = 29.35
|
Translate the following into a SQL query
|
What is week 5 when week 6 is evicted, and week 2 is 34.55?
|
SELECT Week 5 FROM table WHERE Week 6 = evicted AND Week 2 = 34.55
|
Translate the following into a SQL query
|
What is the lowest Winner's share (¥) in 2011?
|
SELECT MIN Winner's share (¥) FROM table WHERE Year = 2011
|
Translate the following into a SQL query
|
How much is the purse worth (¥) after 2012?
|
SELECT SUM Purse (¥) FROM table WHERE Year > 2012
|
Translate the following into a SQL query
|
What place had a score of 67-67=134?
|
SELECT Place FROM table WHERE Score = 67-67=134
|
Translate the following into a SQL query
|
What country placed t3 with a score of 70-65=135?
|
SELECT Country FROM table WHERE Place = t3 AND Score = 70-65=135
|
Translate the following into a SQL query
|
What player placed t6 for the United States with a score of 67-69=136?
|
SELECT Player FROM table WHERE Country = united states AND Place = t6 AND Score = 67-69=136
|
Translate the following into a SQL query
|
What is Competition, when Round is "Group A - Match 1"?
|
SELECT Competition FROM table WHERE Round = group a - match 1
|
Translate the following into a SQL query
|
What is Date and Time, when Competition is "Serie A", and when Result is "0-3"?
|
SELECT Date and time FROM table WHERE Competition = serie a AND Result = 0-3
|
Translate the following into a SQL query
|
What is Competition, when Round is "8 A"?
|
SELECT Competition FROM table WHERE Round = 8 a
|
Translate the following into a SQL query
|
What is City of License, when Frequency is greater than 1380?
|
SELECT City of License FROM table WHERE Frequency > 1380
|
Translate the following into a SQL query
|
What is Brand, when Frequency is "640"?
|
SELECT Brand FROM table WHERE Frequency = 640
|
Translate the following into a SQL query
|
What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"?
|
SELECT AVG Frequency FROM table WHERE Type = norteño AND Brand = la cotorra
|
Translate the following into a SQL query
|
What is Type, when Frequency is "1480"?
|
SELECT Type FROM table WHERE Frequency = 1480
|
Translate the following into a SQL query
|
What is the sum of Frequency, when Type is "Christian Pop"?
|
SELECT SUM Frequency FROM table WHERE Type = christian pop
|
Translate the following into a SQL query
|
What is the Type, when Callsign is "Xetam"?
|
SELECT Type FROM table WHERE Callsign = xetam
|
Translate the following into a SQL query
|
Which Chief Judge has Appointed by of reagan category:articles with hcards?
|
SELECT Chief Judge FROM table WHERE Appointed by = reagan category:articles with hcards
|
Translate the following into a SQL query
|
Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?
|
SELECT Senior status FROM table WHERE Chief Judge = — AND Reason for termination = death AND Active service = 1967–1983
|
Translate the following into a SQL query
|
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?
|
SELECT Senior status FROM table WHERE Appointed by = l. johnson category:articles with hcards AND Born/Died = 1918–2009
|
Translate the following into a SQL query
|
Which Chief Judge has Active service of 1873–1875?
|
SELECT Chief Judge FROM table WHERE Active service = 1873–1875
|
Translate the following into a SQL query
|
Which Reason for termination has Appointed by of eisenhower category:articles with hcards?
|
SELECT Reason for termination FROM table WHERE Appointed by = eisenhower category:articles with hcards
|
Translate the following into a SQL query
|
Which Senior status has a Chief Judge of 1991–1995?
|
SELECT Senior status FROM table WHERE Chief Judge = 1991–1995
|
Translate the following into a SQL query
|
When did the Wolverhampton Wanderers play at home?
|
SELECT Date FROM table WHERE Home team = wolverhampton wanderers
|
Translate the following into a SQL query
|
What are 2004's notes?
|
SELECT Notes FROM table WHERE Year = 2004
|
Translate the following into a SQL query
|
What year did Yuri Omeltchenko win Silver?
|
SELECT Year FROM table WHERE Silver = yuri omeltchenko
|
Translate the following into a SQL query
|
Who won Silver in 2000?
|
SELECT Silver FROM table WHERE Year = 2000
|
Translate the following into a SQL query
|
What is the score on April 12?
|
SELECT Score FROM table WHERE Date = april 12
|
Translate the following into a SQL query
|
What is the score on April 5?
|
SELECT Score FROM table WHERE Date = april 5
|
Translate the following into a SQL query
|
What was the result when there were 6 matches?
|
SELECT Result FROM table WHERE Matches = 6
|
Translate the following into a SQL query
|
What year was the result did not qualify?
|
SELECT Year FROM table WHERE Result = did not qualify
|
Translate the following into a SQL query
|
What was the result in 2008?
|
SELECT Result FROM table WHERE Year = 2008
|
Translate the following into a SQL query
|
What was the to par score for Tim Herron, who had a score of 69-72=141?
|
SELECT To par FROM table WHERE Score = 69-72=141 AND Player = tim herron
|
Translate the following into a SQL query
|
Which golfer finished with a score of 70-71=141?
|
SELECT Player FROM table WHERE Score = 70-71=141
|
Translate the following into a SQL query
|
In what place did Adam Scott, who had a to par score of +1, finish?
|
SELECT Place FROM table WHERE To par = +1 AND Player = adam scott
|
Translate the following into a SQL query
|
In what place did the golfer that scored 66-74=140 finish?
|
SELECT Place FROM table WHERE Score = 66-74=140
|
Translate the following into a SQL query
|
Which player has a place of t2?
|
SELECT Player FROM table WHERE Place = t2
|
Translate the following into a SQL query
|
What is the score for Nick Faldo?
|
SELECT Score FROM table WHERE Player = nick faldo
|
Translate the following into a SQL query
|
What's the average against of Leopold with more than 11 wins?
|
SELECT AVG Against FROM table WHERE Geelong FL = leopold AND Wins > 11
|
Translate the following into a SQL query
|
How many total wins for Leopold that had fewer than 1706 against?
|
SELECT SUM Wins FROM table WHERE Against < 1706 AND Geelong FL = leopold
|
Translate the following into a SQL query
|
What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?
|
SELECT MAX Draws FROM table WHERE Losses > 6 AND Geelong FL = st josephs AND Against < 1250
|
Translate the following into a SQL query
|
What is the total number of against when they had 14 losses and more than 0 byes?
|
SELECT SUM Against FROM table WHERE Losses = 14 AND Byes > 0
|
Translate the following into a SQL query
|
What is Classification, when Dennis Kucinich is "3%", and when % of All is "53%"?
|
SELECT Classification FROM table WHERE Dennis Kucinich = 3% AND % of all = 53%
|
Translate the following into a SQL query
|
What is Dennis Kucinich, when % of All is "53%"?
|
SELECT Dennis Kucinich FROM table WHERE % of all = 53%
|
Translate the following into a SQL query
|
What is John Edwards, when John Kerry is "70%"?
|
SELECT John Edwards FROM table WHERE John Kerry = 70%
|
Translate the following into a SQL query
|
What is Dennis Kucinich, when Classification is "Democrat"?
|
SELECT Dennis Kucinich FROM table WHERE Classification = democrat
|
Translate the following into a SQL query
|
What is John Kerry, when John Edwards is "20%"?
|
SELECT John Kerry FROM table WHERE John Edwards = 20%
|
Translate the following into a SQL query
|
What is % of All, when Dennis Kucinich is "5%"?
|
SELECT % of all FROM table WHERE Dennis Kucinich = 5%
|
Translate the following into a SQL query
|
What is Robert Emmiyan's Wind number?
|
SELECT Wind* FROM table WHERE Athlete = robert emmiyan
|
Translate the following into a SQL query
|
What athlete has a wind number of 1.4?
|
SELECT Athlete FROM table WHERE Wind* = 1.4
|
Translate the following into a SQL query
|
What is the mark from April 2, 1994 with a wind number of 2.0?
|
SELECT Mark FROM table WHERE Wind* = 2.0 AND Date = april 2, 1994
|
Translate the following into a SQL query
|
What is the date of the second round?
|
SELECT Date FROM table WHERE Round = second round
|
Translate the following into a SQL query
|
What is the round on 26 August 1995?
|
SELECT Round FROM table WHERE Date = 26 august 1995
|
Translate the following into a SQL query
|
What is the round played on 13 October 1984?
|
SELECT Round FROM table WHERE Date = 13 october 1984
|
Translate the following into a SQL query
|
What is the result for SSV ULM 1846?
|
SELECT Result FROM table WHERE Home = ssv ulm 1846
|
Translate the following into a SQL query
|
What is the transfer window when moving to alianza atlético by the name of v. zapata?
|
SELECT Transfer window FROM table WHERE Moving to = alianza atlético AND Name = v. zapata
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.