instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg?
SELECT Competition FROM table WHERE Season = 2002–03 AND Opponent = zenit st. petersburg
Translate the following into a SQL query
What is the Round when the series shows 5th place, and a Season of 2006–07?
SELECT Round FROM table WHERE Series = 5th place AND Season = 2006–07
Translate the following into a SQL query
What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az?
SELECT Series FROM table WHERE Competition = uefa cup AND Season = 2006–07 AND Round = group AND Opponent = az
Translate the following into a SQL query
Which Flag did the Ship Aidavita have?
SELECT Flag FROM table WHERE Ship = aidavita
Translate the following into a SQL query
What shows for Set 5 when the Total was 77 - 65?
SELECT Set 5 FROM table WHERE Total = 77 - 65
Translate the following into a SQL query
What is the Set 3 when the Total was 98 - 92?
SELECT Set 3 FROM table WHERE Total = 98 - 92
Translate the following into a SQL query
What is the Total when the Set 3 was 25-15?
SELECT Total FROM table WHERE Set 3 = 25-15
Translate the following into a SQL query
What is the Set 3 when the Total was 62 - 75?
SELECT Set 3 FROM table WHERE Total = 62 - 75
Translate the following into a SQL query
What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
SELECT Score FROM table WHERE Set 2 = 25-20 AND Total = 75 - 49
Translate the following into a SQL query
What is the ethernet ports of the m1500 appliance?
SELECT Ethernet Ports FROM table WHERE Name = m1500
Translate the following into a SQL query
What is the ethernet ports of the u150 appliance?
SELECT Ethernet Ports FROM table WHERE Name = u150
Translate the following into a SQL query
What is the dimensions of the u50 appliance?
SELECT Dimensions FROM table WHERE Name = u50
Translate the following into a SQL query
What is the ethernet ports of the u10 appliance?
SELECT Ethernet Ports FROM table WHERE Name = u10
Translate the following into a SQL query
What is the total number of Silver medals for the Nation with less than 1 Bronze?
SELECT COUNT Silver FROM table WHERE Bronze < 1
Translate the following into a SQL query
What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals?
SELECT COUNT Gold FROM table WHERE Bronze > 1 AND Total > 4
Translate the following into a SQL query
What is the total number of Gold medals for the Nation with more than 3 Bronze?
SELECT COUNT Gold FROM table WHERE Bronze > 3
Translate the following into a SQL query
How many Gold medals did Great Britain with a Total of more than 2 medals receive?
SELECT MIN Gold FROM table WHERE Nation = great britain AND Total > 2
Translate the following into a SQL query
How many Silver medals did the Nation with a Rank of less than 1 receive?
SELECT AVG Silver FROM table WHERE Rank < 1
Translate the following into a SQL query
What is the average total with 1 FA cup and more than 0 FA trophies?
SELECT AVG Total FROM table WHERE FA Cup = 1 AND FA Trophy > 0
Translate the following into a SQL query
Which club had more than 2 FA trophies and more than 2 FA cups?
SELECT Club FROM table WHERE FA Trophy > 2 AND FA Cup > 2
Translate the following into a SQL query
Who was the opponent when the Maroons record was 11–4–1?
SELECT Opponent FROM table WHERE Record = 11–4–1
Translate the following into a SQL query
What was the result of the game on January 5, 1926?
SELECT Result FROM table WHERE Date = january 5, 1926
Translate the following into a SQL query
What date had a margin victory of 2 strokes?
SELECT Date FROM table WHERE Margin of victory = 2 strokes
Translate the following into a SQL query
What is the margin of victory in a semgroup championship?
SELECT Margin of victory FROM table WHERE Tournament = semgroup championship
Translate the following into a SQL query
What was the winning score with a margin victory of 2 strokes?
SELECT Winning score FROM table WHERE Margin of victory = 2 strokes
Translate the following into a SQL query
What is the highest Pct %, when Goals Against is less than 229?
SELECT MAX Pct % FROM table WHERE Goals against < 229
Translate the following into a SQL query
What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?
SELECT AVG Goals for FROM table WHERE Playoffs = lost in round 2 AND Games < 81
Translate the following into a SQL query
What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?
SELECT SUM Goals against FROM table WHERE Lost = 45 AND Points > 68
Translate the following into a SQL query
What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506?
SELECT AVG Lost FROM table WHERE Games < 82 AND Points < 95 AND Pct % < 0.506
Translate the following into a SQL query
What is the Class when Wessex Trains Pink is the Livery?
SELECT Class FROM table WHERE Livery = wessex trains pink
Translate the following into a SQL query
What is the Livery when the Number is 31468?
SELECT Livery FROM table WHERE Number = 31468
Translate the following into a SQL query
What was the Skip for Germany?
SELECT Skip FROM table WHERE Nation = germany
Translate the following into a SQL query
What was the club for Great Britain?
SELECT Club FROM table WHERE Nation = great britain
Translate the following into a SQL query
Who is the alternate for Magnus Swartling as Second?
SELECT Alternate FROM table WHERE Second = magnus swartling
Translate the following into a SQL query
Which club has Jamie Korab as Lead?
SELECT Club FROM table WHERE Lead = jamie korab
Translate the following into a SQL query
Which Lead has Hans Frauenlob as a Third?
SELECT Lead FROM table WHERE Third = hans frauenlob
Translate the following into a SQL query
Who was the Home captain when the Result was Aus by 218 runs?
SELECT Home captain FROM table WHERE Result = aus by 218 runs
Translate the following into a SQL query
What is the Film title used in nomination of the Film with a Serbian title of бело одело?
SELECT Film title used in nomination FROM table WHERE Serbian title = бело одело
Translate the following into a SQL query
In what Year was Labyrinth nominated?
SELECT Year (Ceremony) FROM table WHERE Film title used in nomination = labyrinth
Translate the following into a SQL query
What is the High assists for march 25?
SELECT High assists FROM table WHERE Date = march 25
Translate the following into a SQL query
What is the Score when Donyell Marshall (26) had the high points?
SELECT Score FROM table WHERE High points = donyell marshall (26)
Translate the following into a SQL query
What is the highest Game when Morris Peterson (8) had the high assists?
SELECT MAX Game FROM table WHERE High assists = morris peterson (8)
Translate the following into a SQL query
What is the High assists when jalen rose (22) had the high points?
SELECT High assists FROM table WHERE High points = jalen rose (22)
Translate the following into a SQL query
What is the High assists when the record was 28–40?
SELECT High assists FROM table WHERE Record = 28–40
Translate the following into a SQL query
Who were the Brazil scorers who scored 3-3?
SELECT Brazil scorers FROM table WHERE Score = 3-3
Translate the following into a SQL query
Who is the Brazil scorer who scored 6-0?
SELECT Brazil scorers FROM table WHERE Score = 6-0
Translate the following into a SQL query
With a score of 2-2, what was the Result?
SELECT Result FROM table WHERE Score = 2-2
Translate the following into a SQL query
Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?
SELECT Original Team FROM table WHERE Hometown = brooklyn, new york AND Background = comedienne
Translate the following into a SQL query
What is the Background of the contestant with a Hometown listed as Los Angeles, California?
SELECT Background FROM table WHERE Hometown = los angeles, california
Translate the following into a SQL query
What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?
SELECT Background FROM table WHERE Result = 07 fired in task 6 (2009-04-05)
Translate the following into a SQL query
What is the Original Team of the contestant from Wrightsville, Georgia ?
SELECT Original Team FROM table WHERE Hometown = wrightsville, georgia
Translate the following into a SQL query
Which Attendance has an Opponent of carolina panthers?
SELECT Attendance FROM table WHERE Opponent = carolina panthers
Translate the following into a SQL query
Which Date has a Week smaller than 11, and a Attendance of 54,094?
SELECT Date FROM table WHERE Week < 11 AND Attendance = 54,094
Translate the following into a SQL query
What is the number of the episode titled 'Sugar Daddy'?
SELECT AVG Episode number FROM table WHERE Title = sugar daddy
Translate the following into a SQL query
Which nations have more than 1 gold medal and 4 silver medals?
SELECT Nation FROM table WHERE Gold > 1 AND Silver = 4
Translate the following into a SQL query
In Week 7, what is the highest attendance number?
SELECT MAX Attendance FROM table WHERE Week = 7
Translate the following into a SQL query
In Week 13, who was the opponent?
SELECT Opponent FROM table WHERE Week = 13
Translate the following into a SQL query
What date did Week 9 begin?
SELECT Date FROM table WHERE Week = 9
Translate the following into a SQL query
Which award was given in 2012?
SELECT Award FROM table WHERE Year = 2012
Translate the following into a SQL query
Which award was given for the role of Elphaba in 2009?
SELECT Award FROM table WHERE Role = elphaba AND Year = 2009
Translate the following into a SQL query
What was the result for the role of Ellie Greenwich in 2005?
SELECT Result FROM table WHERE Role = ellie greenwich AND Year = 2005
Translate the following into a SQL query
Which award was An Officer and a Gentleman nominated for?
SELECT Award FROM table WHERE Result = nominated AND Production = an officer and a gentleman
Translate the following into a SQL query
During what year was Wicked associated with the Green Room Awards?
SELECT Year FROM table WHERE Production = wicked AND Award = green room awards
Translate the following into a SQL query
What manufacturer makes locomotive number CTN 46?
SELECT Manufacturer FROM table WHERE Locomotive number = ctn 46
Translate the following into a SQL query
What type is locomotive number CTN 46?
SELECT Type FROM table WHERE Locomotive number = ctn 46
Translate the following into a SQL query
What type is locomotive CTN 1364?
SELECT Type FROM table WHERE Locomotive number = ctn 1364
Translate the following into a SQL query
What cuts made has a wins less than 3 and 23 for the events?
SELECT Cuts made FROM table WHERE Wins < 3 AND Events = 23
Translate the following into a SQL query
What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?
SELECT MIN Events FROM table WHERE Cuts made = 17 AND Top-25 < 8
Translate the following into a SQL query
What are the lowest cuts made that have events less than 4?
SELECT MIN Cuts made FROM table WHERE Events < 4
Translate the following into a SQL query
What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?
SELECT MAX Top-10 FROM table WHERE Tournament = u.s. open AND Top-25 > 12
Translate the following into a SQL query
How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?
SELECT COUNT Points FROM table WHERE Loses > 16 AND Goals scored > 44 AND Position < 13
Translate the following into a SQL query
What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5?
SELECT SUM Points FROM table WHERE Goals conceded < 51 AND Position > 1 AND Draws = 7 AND Loses > 5
Translate the following into a SQL query
Which has a Score of 6–1, 3–0 ret.?
SELECT Surface FROM table WHERE Score = 6–1, 3–0 ret.
Translate the following into a SQL query
Which Surface is on 23 january 2011?
SELECT Surface FROM table WHERE Date = 23 january 2011
Translate the following into a SQL query
When has a Surface of hard, a Tournament of wrexham , great britain?
SELECT Date FROM table WHERE Surface = hard AND Tournament = wrexham , great britain
Translate the following into a SQL query
Which Surface has an Opponent in the final of stéphane robert?
SELECT Surface FROM table WHERE Opponent in the final = stéphane robert
Translate the following into a SQL query
What kind of Surface has a Score of 6–4, 0–6, 6–2?
SELECT Surface FROM table WHERE Score = 6–4, 0–6, 6–2
Translate the following into a SQL query
Which Call sign has a Branding of cbc radio one?
SELECT Call sign FROM table WHERE Branding = cbc radio one
Translate the following into a SQL query
WHich Frequency has a Format of country / news / sports?
SELECT Frequency FROM table WHERE Format = country / news / sports
Translate the following into a SQL query
Which Format has a Frequency of 100.5 fm?
SELECT Format FROM table WHERE Frequency = 100.5 fm
Translate the following into a SQL query
Which Frequency has a Branding of country 600?
SELECT Frequency FROM table WHERE Branding = country 600
Translate the following into a SQL query
WHich format has a Frequency of 99.3 fm?
SELECT Format FROM table WHERE Frequency = 99.3 fm
Translate the following into a SQL query
What is the Class AA where Class AA is Hale Center and Class AAAAA is Del Rio?
SELECT Class AAA FROM table WHERE Class AA = hale center AND Class AAAAA = del rio
Translate the following into a SQL query
What School Year has a Class AAAA of Dickinson?
SELECT School Year FROM table WHERE Class AAAA = dickinson
Translate the following into a SQL query
If the Class A is Anton and Class AAA is Burnet, what is Class AA?
SELECT Class AA FROM table WHERE Class A = anton AND Class AAA = burnet
Translate the following into a SQL query
If Class AAAA is Schertz Clemens and SChool Year is 1987-88, what is Class AA?
SELECT Class AA FROM table WHERE Class AAAA = schertz clemens AND School Year = 1987-88
Translate the following into a SQL query
Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA?
SELECT Class AAAAA FROM table WHERE Class AAA = atlanta AND Class AA = weimar
Translate the following into a SQL query
What was the result of the game on week 11?
SELECT Result FROM table WHERE Week = 11
Translate the following into a SQL query
After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins?
SELECT COUNT Attendance FROM table WHERE Game Site = rich stadium AND Opponent = miami dolphins AND Week > 2
Translate the following into a SQL query
What is the attendance when the opponent is the San Francisco 49ers?
SELECT Attendance FROM table WHERE Opponent = san francisco 49ers
Translate the following into a SQL query
What is the result when the week is greater than 6 and the Buffalo Bills are the opponent?
SELECT Result FROM table WHERE Week > 6 AND Opponent = buffalo bills
Translate the following into a SQL query
What is the result when the attendance is 54,814?
SELECT Result FROM table WHERE Attendance = 54,814
Translate the following into a SQL query
What is the total number of weeks when the New York Jets are the opponent?
SELECT COUNT Week FROM table WHERE Opponent = new york jets
Translate the following into a SQL query
What is the result of the game when the attendance is 56,906?
SELECT Result FROM table WHERE Attendance = 56,906
Translate the following into a SQL query
What Song has a Group Song of Ring Ring Ring and a Score of 6.0 + 6.5 + 5.0 + 6.5 = 24.0?
SELECT Song FROM table WHERE Group Song = ring ring ring AND Score = 6.0 + 6.5 + 5.0 + 6.5 = 24.0
Translate the following into a SQL query
What is Song's 会呼吸的痛 Index?
SELECT Index FROM table WHERE Song = 会呼吸的痛
Translate the following into a SQL query
What Song's Index is F6?
SELECT Song FROM table WHERE Index = f6
Translate the following into a SQL query
What Group Song of Shine 王幸儿?
SELECT Group Song FROM table WHERE Name = shine 王幸儿
Translate the following into a SQL query
What is the Score of 我等的人会是谁?
SELECT Score FROM table WHERE Song = 我等的人会是谁
Translate the following into a SQL query
What is the Name of Index F3?
SELECT Name FROM table WHERE Index = f3