instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?
SELECT Song FROM table WHERE Score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0
Translate the following into a SQL query
When the played number is less than 8 and against is 23, what is the least amount of points?
SELECT MIN Points FROM table WHERE Against = 23 AND Played < 8
Translate the following into a SQL query
When the corinthians have a position of less than 5, what is the average against?
SELECT AVG Against FROM table WHERE Position < 5 AND Team = corinthians
Translate the following into a SQL query
What position has less than 6 Points?
SELECT COUNT Position FROM table WHERE Points < 6
Translate the following into a SQL query
What is the number of against when the difference is 10 and played is greater than 8?
SELECT COUNT Against FROM table WHERE Difference = 10 AND Played > 8
Translate the following into a SQL query
What was the stake president when the organized date is April 18, 1965?
SELECT Stake President FROM table WHERE Organized = april 18, 1965
Translate the following into a SQL query
What is the organized section when the stake president was henry john platt?
SELECT Organized FROM table WHERE Stake President = henry john platt
Translate the following into a SQL query
What is the name of the award given for the category Mercury Prize?
SELECT Award FROM table WHERE Category = mercury prize
Translate the following into a SQL query
How many years has the Mercury Prize award been given?
SELECT COUNT Year FROM table WHERE Award = mercury prize
Translate the following into a SQL query
For how many years has the Mercury Prize been awarded?
SELECT COUNT Year FROM table WHERE Award = mercury prize
Translate the following into a SQL query
In what year, prior to 2009, was the Mercury Prize awarded?
SELECT Result FROM table WHERE Year < 2009 AND Award = mercury prize
Translate the following into a SQL query
What is the lowest Points when against is 50, and there are less than 20 played?
SELECT MIN Points FROM table WHERE Against = 50 AND Played < 20
Translate the following into a SQL query
What is the average Position with less than 57 against and the team is Juventus?
SELECT AVG Position FROM table WHERE Against < 57 AND Team = juventus
Translate the following into a SQL query
What is the highest Position when the against is less than 41, and lost is more than 7?
SELECT MAX Position FROM table WHERE Against < 41 AND Lost > 7
Translate the following into a SQL query
What is the average Lost when there are 57 against?
SELECT AVG Lost FROM table WHERE Against = 57
Translate the following into a SQL query
What is the lowest Lost for são paulo railway, Points more than 21?
SELECT MIN Lost FROM table WHERE Team = são paulo railway AND Points > 21
Translate the following into a SQL query
What unit is in Mongolia?
SELECT Unit FROM table WHERE Location = mongolia
Translate the following into a SQL query
What unit is in Argentina?
SELECT Unit FROM table WHERE Location = argentina
Translate the following into a SQL query
What name is located in China?
SELECT Name FROM table WHERE Location = china
Translate the following into a SQL query
What unit is located in China and has Zhou Zhang as an author?
SELECT Unit FROM table WHERE Location = china AND Authors = zhou zhang
Translate the following into a SQL query
What kind of Manufacturer has a Laps smaller than 20 and a Grid of 21
SELECT Manufacturer FROM table WHERE Laps < 20 AND Grid = 21
Translate the following into a SQL query
Which Airline has a Fleet size larger than 17, and a IATA of pr?
SELECT Airline FROM table WHERE Fleet size > 17 AND IATA = pr
Translate the following into a SQL query
Which ICAO has a Fleet size of 2?
SELECT ICAO FROM table WHERE Fleet size = 2
Translate the following into a SQL query
What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941?
SELECT SUM Fleet size FROM table WHERE IATA = pr AND Commenced operations < 1941
Translate the following into a SQL query
Which ICAO has a Commenced operations larger than 2011?
SELECT ICAO FROM table WHERE Commenced operations > 2011
Translate the following into a SQL query
What is the Status with an Author that is woodruff?
SELECT Status FROM table WHERE Authors = woodruff
Translate the following into a SQL query
What is the highest Pick # when the CFL Team is the Toronto Argonauts?
SELECT MAX Pick # FROM table WHERE CFL Team = toronto argonauts
Translate the following into a SQL query
What is the CFL Team with #48 as the pick number?
SELECT CFL Team FROM table WHERE Pick # = 48
Translate the following into a SQL query
What is the College with a Position of db, and the CFL Team was Winnipeg Blue Bombers?
SELECT College FROM table WHERE Position = db AND CFL Team = winnipeg blue bombers
Translate the following into a SQL query
What is the CFL Team with Will Grant?
SELECT CFL Team FROM table WHERE Player = will grant
Translate the following into a SQL query
What is the latest year of a gratitude type mission with 99 in the entourage?
SELECT MAX Year FROM table WHERE Number in entourage = 99 AND Mission type = gratitude
Translate the following into a SQL query
Who was the lead envoy of the mission with the Ryūkyūan King shō eki?
SELECT Lead Envoy FROM table WHERE Ryūkyūan King = shō eki
Translate the following into a SQL query
Who was the lead envoy of the congratulation mission in 1718 with the Ryūkyūan King shō kei?
SELECT Lead Envoy FROM table WHERE Ryūkyūan King = shō kei AND Mission type = congratulation AND Year = 1718
Translate the following into a SQL query
Who was the lead envoy with the Ryūkyūan King shō kō?
SELECT Lead Envoy FROM table WHERE Ryūkyūan King = shō kō
Translate the following into a SQL query
On 10/20/1979*, who was the Opponent?
SELECT Opponent FROM table WHERE Date = 10/20/1979*
Translate the following into a SQL query
What is the average Attendance at a game with a Result of w 30-23?
SELECT AVG Attendance FROM table WHERE Result = w 30-23
Translate the following into a SQL query
What is the lowest Attendance at a game with the Result of w 25-17?
SELECT MIN Attendance FROM table WHERE Result = w 25-17
Translate the following into a SQL query
What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
SELECT Score FROM table WHERE Leading scorer = tyrone hill , 20 points
Translate the following into a SQL query
What is Home, when Score is 103-93?
SELECT Home FROM table WHERE Score = 103-93
Translate the following into a SQL query
What is Attendance, when Home is Cleveland, and when Date is January 30?
SELECT Attendance FROM table WHERE Home = cleveland AND Date = january 30
Translate the following into a SQL query
What is Leading Scorer, when Attendance is Gund Arena 20,562, and when Record is 20-10?
SELECT Leading scorer FROM table WHERE Attendance = gund arena 20,562 AND Record = 20-10
Translate the following into a SQL query
What is Score, when Date is January 12?
SELECT Score FROM table WHERE Date = january 12
Translate the following into a SQL query
What is Score, when Attendance is Gund Arena 20,562, and when Date is January 27?
SELECT Score FROM table WHERE Attendance = gund arena 20,562 AND Date = january 27
Translate the following into a SQL query
What is the sum of Top-10(s), when Cuts made is less than 10, and when Top-5 is less than 0?
SELECT SUM Top-10 FROM table WHERE Cuts made < 10 AND Top-5 < 0
Translate the following into a SQL query
What is the lowest Top-25, when Events is 10, and when Wins is greater than 0?
SELECT MIN Top-25 FROM table WHERE Events = 10 AND Wins > 0
Translate the following into a SQL query
What is the lowest Top-5, when Top-25 is less than 4, and when Cuts made is less than 7?
SELECT MIN Top-5 FROM table WHERE Top-25 < 4 AND Cuts made < 7
Translate the following into a SQL query
What is the Height of Junior Meghan Austin?
SELECT Height FROM table WHERE Year = junior AND Name = meghan austin
Translate the following into a SQL query
What is Martina Wood's Position?
SELECT Position FROM table WHERE Name = martina wood
Translate the following into a SQL query
What is the Name of the Player from Charlotte, NC?
SELECT Name FROM table WHERE Home Town = charlotte, nc
Translate the following into a SQL query
What is 6-2 Martina Wood's Position?
SELECT Position FROM table WHERE Height = 6-2 AND Name = martina wood
Translate the following into a SQL query
What is the Position of the Player from Temple Hills, MD?
SELECT Position FROM table WHERE Home Town = temple hills, md
Translate the following into a SQL query
What is the Name of the Junior from Fayetteville, NC?
SELECT Name FROM table WHERE Year = junior AND Home Town = fayetteville, nc
Translate the following into a SQL query
What rank has jo angel (wa) as the player?
SELECT Rank FROM table WHERE Player = jo angel (wa)
Translate the following into a SQL query
What average has 1 as rhe rank?
SELECT Average FROM table WHERE Rank = 1
Translate the following into a SQL query
What rank has andy bichel (qld) as the player?
SELECT Rank FROM table WHERE Player = andy bichel (qld)
Translate the following into a SQL query
What is the average that has 2 for the rank?
SELECT Average FROM table WHERE Rank = 2
Translate the following into a SQL query
What playee has 24.21 as the average?
SELECT Player FROM table WHERE Average = 24.21
Translate the following into a SQL query
What is the average that has 441 as wicket?
SELECT Average FROM table WHERE s Wicket = 441
Translate the following into a SQL query
What was the year Elected of Republican Incumbent Dave Reichert?
SELECT Elected FROM table WHERE Party = republican AND Incumbent = dave reichert
Translate the following into a SQL query
What were the Results in the Washington 2 District?
SELECT Results FROM table WHERE District = washington 2
Translate the following into a SQL query
What is the 2008 Candidates Elected before 1994 with Incumbent Jim McDermott?
SELECT 2008 Candidates FROM table WHERE Elected < 1994 AND Incumbent = jim mcdermott
Translate the following into a SQL query
Who is the Incumbent with Results of 68% 32%?
SELECT Incumbent FROM table WHERE Results = 68% 32%
Translate the following into a SQL query
What District had Republican Incumbent Cathy McMorris?
SELECT District FROM table WHERE Party = republican AND Incumbent = cathy mcmorris
Translate the following into a SQL query
What was Italy's highest total when there were less than 4 bronze and 1 gold?
SELECT MAX Total FROM table WHERE Bronze < 4 AND Gold = 1 AND Nation = italy
Translate the following into a SQL query
How many totals had more than 4 bronze?
SELECT SUM Total FROM table WHERE Bronze > 4
Translate the following into a SQL query
What was Austria's lowest total when the gold was more than 3?
SELECT MIN Total FROM table WHERE Nation = austria AND Gold > 3
Translate the following into a SQL query
What are the years won when the to par is +5?
SELECT Year(s) won FROM table WHERE To par = +5
Translate the following into a SQL query
What is the average total for Tiger Woods?
SELECT AVG Total FROM table WHERE Player = tiger woods
Translate the following into a SQL query
Which country had a total of 295?
SELECT Country FROM table WHERE Total = 295
Translate the following into a SQL query
What is the finish when the to par is +18?
SELECT Finish FROM table WHERE To par = +18
Translate the following into a SQL query
How many total No Results occured when the team had less than 46 wins and more than 16 matches?
SELECT SUM No Result FROM table WHERE Matches > 16 AND Wins < 46
Translate the following into a SQL query
When the team had more than 46 wins, what were the average losses?
SELECT AVG Losses FROM table WHERE Wins > 46
Translate the following into a SQL query
How many total No Results are recorded for less than 6 wins?
SELECT COUNT No Result FROM table WHERE Wins < 6
Translate the following into a SQL query
What Interview subject was on a Date that is 11-92?
SELECT Interview subject FROM table WHERE Date = 11-92
Translate the following into a SQL query
What is the lowest game number with Aris Thessaloniki with points smaller than 120?
SELECT MIN Games FROM table WHERE Team = aris thessaloniki AND Points < 120
Translate the following into a SQL query
What is the game average that has a rank larger than 2 with team Olympiacos and points larger than 113?
SELECT AVG Games FROM table WHERE Rank > 2 AND Team = olympiacos AND Points > 113
Translate the following into a SQL query
Which result was there when the opponents were the Buffalo Bills?
SELECT Result FROM table WHERE Opponent = buffalo bills
Translate the following into a SQL query
What was the Purse ($) total for Iowa?
SELECT COUNT Purse( $ ) FROM table WHERE Location = iowa
Translate the following into a SQL query
When did the Score of 195 (-21) happen?
SELECT Date FROM table WHERE Score = 195 (-21)
Translate the following into a SQL query
When did Scott Hoch (2) win?
SELECT Date FROM table WHERE Winner = scott hoch (2)
Translate the following into a SQL query
What team placed second during the season where Western Australia placed fifth, South Australia placed sixth, and Tasmania placed fourth?
SELECT SECOND FROM table WHERE FIFTH = western australia AND SIXTH = south australia AND FOURTH = tasmania
Translate the following into a SQL query
What team placed sixth during the season where Western Australia placed fourth and Tasmania placed first?
SELECT SIXTH FROM table WHERE FOURTH = western australia AND FIRST = tasmania
Translate the following into a SQL query
What team placed sixth during the season where Tasmania placed second and Western Australia placed fourth?
SELECT SIXTH FROM table WHERE SECOND = tasmania AND FOURTH = western australia
Translate the following into a SQL query
What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth?
SELECT FIFTH FROM table WHERE SECOND = victoria AND FIRST = tasmania AND SIXTH = south australia
Translate the following into a SQL query
What is the smallest number of losses for a position greater than 2 with 4 points and more than 2 draws?
SELECT MIN Lost FROM table WHERE Position > 2 AND Points = 4 AND Drawn > 2
Translate the following into a SQL query
How many points occurred with a difference of 2 for position less than 4?
SELECT COUNT Points FROM table WHERE Difference = 2 AND Position < 4
Translate the following into a SQL query
What is the highest number of points for a position less than 3 and less than 1 loss?
SELECT MAX Points FROM table WHERE Position < 3 AND Lost < 1
Translate the following into a SQL query
Which date's attendance was more than 39,058 with an opponent of Motherwell?
SELECT Date FROM table WHERE Attendance > 39,058 AND Opponent = motherwell
Translate the following into a SQL query
In the round that had a 2nd leg score of 0-2, what did they score for the 1st leg?
SELECT 1st leg FROM table WHERE 2nd leg = 0-2
Translate the following into a SQL query
When Estudiantes was team #2, what was their agg. value?
SELECT Agg. FROM table WHERE Team #2 = estudiantes
Translate the following into a SQL query
Who played against TSV bayer 04 leverkusen when they were team #1?
SELECT 2nd leg FROM table WHERE Team #1 = tsv bayer 04 leverkusen
Translate the following into a SQL query
Who played against Hapoel tel aviv when they were team #1?
SELECT Team #2 FROM table WHERE Team #1 = hapoel tel aviv
Translate the following into a SQL query
what is the division in the western conference that finished 2nd in their division under rick adelman?
SELECT Div. FROM table WHERE Conf. = western AND Div. Finish = 2nd AND Head coach = rick adelman
Translate the following into a SQL query
What is the 2013 BAFA adult flag division in Aylesbury?
SELECT 2013 BAFA Adult flag division FROM table WHERE Location = aylesbury
Translate the following into a SQL query
What is the 2013 BAFA junior division with a 2013 BAFA adult division in national central in the Birkenhead location?
SELECT 2013 BAFA Junior division FROM table WHERE 2013 BAFA Adult division = national central AND Location = birkenhead
Translate the following into a SQL query
Records from Kontor Records from the catalog of Kontor446 was released in what format?
SELECT Format FROM table WHERE Label = kontor records AND Catalog = kontor446
Translate the following into a SQL query
What date was the release that was Wrongun as the label?
SELECT Date FROM table WHERE Label = wrongun
Translate the following into a SQL query
Catalog Nebdj068 was released when?
SELECT Date FROM table WHERE Catalog = nebdj068
Translate the following into a SQL query
In what format was the release from the Nebt068 catalog on April 11, 2005 in?
SELECT Format FROM table WHERE Date = april 11, 2005 AND Catalog = nebt068
Translate the following into a SQL query
What region has the date of 2005 and Playground Music Scandinavia as a label?
SELECT Region FROM table WHERE Date = 2005 AND Label = playground music scandinavia