instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Home team with Away team score of 15.9 (99)?
SELECT Home team score FROM table WHERE Away team score = 15.9 (99)
Translate the following into a SQL query
What is the name of the home team that played an away team who scored 13.11 (89)?
SELECT Home team FROM table WHERE Away team score = 13.11 (89)
Translate the following into a SQL query
How much did the away team Carlton score when the crowd was larger than 19,000?
SELECT Away team score FROM table WHERE Crowd > 19,000 AND Away team = carlton
Translate the following into a SQL query
What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?
SELECT AVG Pl GP FROM table WHERE Reg GP = 97 AND Pick # < 70
Translate the following into a SQL query
Name the gloss for [χdəm]
SELECT Gloss FROM table WHERE Pronunciation = [χdəm]
Translate the following into a SQL query
Name the realization for 'to be, to do'
SELECT Realization FROM table WHERE Gloss = 'to be, to do'
Translate the following into a SQL query
What is the Crowd number for the Away team whose score is 14.18 (102)?
SELECT SUM Crowd FROM table WHERE Away team score = 14.18 (102)
Translate the following into a SQL query
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?
SELECT MIN Places FROM table WHERE Name = sherri baier / robin cowan AND Rank < 1
Translate the following into a SQL query
What platform is nds4droid on for the nintendo ds?
SELECT Platform FROM table WHERE System = nintendo ds AND Name = nds4droid
Translate the following into a SQL query
Who has a license of proprietary (available on inquiry)?
SELECT Name FROM table WHERE License = proprietary (available on inquiry)
Translate the following into a SQL query
What platform is nds4droid on for the nintendo ds with a license of gpl v2?
SELECT Platform FROM table WHERE System = nintendo ds AND License = gpl v2 AND Name = nds4droid
Translate the following into a SQL query
What system has a current version of 1.4e?
SELECT System FROM table WHERE Current version = 1.4e
Translate the following into a SQL query
Who has a licence of gpl v2 and a current version of 0.9.9?
SELECT Name FROM table WHERE License = gpl v2 AND Current version = 0.9.9
Translate the following into a SQL query
What was the performance length of the 1999 season in bydgoszcz, poland?
SELECT Performance FROM table WHERE Season = 1999 AND Place = bydgoszcz, poland
Translate the following into a SQL query
What were the performance lengths in the 3000 m events in and after 2003?
SELECT Performance FROM table WHERE Season > 2003 AND Discipline = 3000 m
Translate the following into a SQL query
How many seasons took place in santiago de chile, chile?
SELECT COUNT Season FROM table WHERE Place = santiago de chile, chile
Translate the following into a SQL query
During which Season did the may 11, 2002 event take place?
SELECT Season FROM table WHERE Date = may 11, 2002
Translate the following into a SQL query
What is the average round for players from california?
SELECT AVG Round FROM table WHERE College = california
Translate the following into a SQL query
What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?
SELECT Nationality FROM table WHERE NHL Team = vancouver canucks AND College/Junior/Club Team (League) = swift current broncos (whl) AND Round = 8
Translate the following into a SQL query
If the Away team score was 14.10 (94), which Date was that?
SELECT Date FROM table WHERE Away team score = 14.10 (94)
Translate the following into a SQL query
When the Home team score was 20.16 (136), which Away team were they playing?
SELECT Away team FROM table WHERE Home team score = 20.16 (136)
Translate the following into a SQL query
If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing?
SELECT Home team FROM table WHERE Date = 8 june 1981 AND Home team score = 12.10 (82)
Translate the following into a SQL query
When the Away team of essendon was playing, what was the Home team's score?
SELECT Home team score FROM table WHERE Away team = essendon
Translate the following into a SQL query
For the Venue of western oval, what's the Away team playing?
SELECT Away team FROM table WHERE Venue = western oval
Translate the following into a SQL query
Which venue has a Home team score of 9.12 (66)?
SELECT Venue FROM table WHERE Home team score = 9.12 (66)
Translate the following into a SQL query
How large is the crowd with an Away team score of 7.13 (55)?
SELECT COUNT Crowd FROM table WHERE Away team score = 7.13 (55)
Translate the following into a SQL query
Which venue has an Away team score of 12.11 (83)?
SELECT Venue FROM table WHERE Away team score = 12.11 (83)
Translate the following into a SQL query
Who was the opponent on week 7?
SELECT Opponent FROM table WHERE Week = 7
Translate the following into a SQL query
Who was the opponent on week 5?
SELECT Opponent FROM table WHERE Week = 5
Translate the following into a SQL query
Who was the leading scorer of the game that had a score of 107–97?
SELECT Leading scorer FROM table WHERE Score = 107–97
Translate the following into a SQL query
Who was the visiting team when the Suns were the home team?
SELECT Visitor FROM table WHERE Home = suns
Translate the following into a SQL query
What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800?
SELECT AVG Ties FROM table WHERE Losses < 3 AND Wins < 5 AND Win Pct. = 0.800 AND Team = detroit lions
Translate the following into a SQL query
What is the most recent year in which the score was 4–6, 6–3, 7–5?
SELECT MAX Year FROM table WHERE Score = 4–6, 6–3, 7–5
Translate the following into a SQL query
Which player has a height of 6-7?
SELECT Player FROM table WHERE Height = 6-7
Translate the following into a SQL query
What is the NBA draft result of the player from Washington, DC?
SELECT NBA Draft FROM table WHERE Hometown = washington, dc
Translate the following into a SQL query
What is the NBA draft result of the player from the College of Kansas?
SELECT NBA Draft FROM table WHERE College = kansas
Translate the following into a SQL query
Who is the player from La Costa Canyon High School?
SELECT Player FROM table WHERE School = la costa canyon high school
Translate the following into a SQL query
How tall is the player from Nacogdoches High School?
SELECT Height FROM table WHERE School = nacogdoches high school
Translate the following into a SQL query
What is the school of the player from Dallas, TX?
SELECT School FROM table WHERE Hometown = dallas, tx
Translate the following into a SQL query
What is the result for world group, consolation round?
SELECT Result FROM table WHERE Competition = world group, consolation round
Translate the following into a SQL query
What was the long of Trandon Harvey who had an greater than 8 average, more than 3 rec., and more than 28 TD's?
SELECT SUM Long FROM table WHERE Avg. > 8 AND Rec. > 3 AND Player = trandon harvey AND TD's > 28
Translate the following into a SQL query
How many attended tie number 1?
SELECT SUM Attendance FROM table WHERE Tie no = 1
Translate the following into a SQL query
How many attended tie number 3?
SELECT MAX Attendance FROM table WHERE Tie no = 3
Translate the following into a SQL query
What is the hometown for tre madden?
SELECT Hometown FROM table WHERE Player = tre madden
Translate the following into a SQL query
What is the hometown for the player that is defensive back and went to alabama?
SELECT Hometown FROM table WHERE Position = defensive back AND College = alabama
Translate the following into a SQL query
What is the college for the player that went to ridge community high school and is defensive back?
SELECT College FROM table WHERE Position = defensive back AND School = ridge community high school
Translate the following into a SQL query
What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may?
SELECT SUM Year FROM table WHERE Type = informal AND Location = justus lipsius building, brussels AND Date = 23 may
Translate the following into a SQL query
What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?
SELECT Type FROM table WHERE Location = justus lipsius building, brussels AND Year = 2012 AND President = herman van rompuy (1st term) AND Date = 23 may
Translate the following into a SQL query
What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october?
SELECT President FROM table WHERE Location = justus lipsius building, brussels AND Type = scheduled AND Year > 2011 AND Date = 18–19 october
Translate the following into a SQL query
What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?
SELECT Location FROM table WHERE Year > 2011 AND President = herman van rompuy (2nd term) AND Date = 28–29 june AND Type = scheduled
Translate the following into a SQL query
What is the President with a Year larger than 2011, and a Date with 23 may?
SELECT President FROM table WHERE Year > 2011 AND Date = 23 may
Translate the following into a SQL query
What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?
SELECT Type FROM table WHERE Year > 2010 AND Location = justus lipsius building, brussels AND President = herman van rompuy (2nd term) AND Date = 28–29 june
Translate the following into a SQL query
What competition has a goal number of 13?
SELECT Competition FROM table WHERE Goal = 13
Translate the following into a SQL query
What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0?
SELECT SUM Yards FROM table WHERE Asst. = 19 AND TotalTK = 60 AND Sack > 0
Translate the following into a SQL query
what is the total sack for mike green when fumr is less than 0?
SELECT SUM Sack FROM table WHERE Player = mike green AND FumR < 0
Translate the following into a SQL query
what is the total sack when totaltk is 1 and asst. is more than 0?
SELECT SUM Sack FROM table WHERE TotalTK = 1 AND Asst. > 0
Translate the following into a SQL query
what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0?
SELECT COUNT Tackles FROM table WHERE FumR = 0 AND TotalTK = 54 AND Yards < 0
Translate the following into a SQL query
what is the sum of totaltk when yards is less than 0?
SELECT SUM TotalTK FROM table WHERE Yards < 0
Translate the following into a SQL query
What class is after 1973 with 41 points?
SELECT Class FROM table WHERE Year > 1973 AND Points = 41
Translate the following into a SQL query
How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?
SELECT COUNT Wins FROM table WHERE Points < 54 AND Team = yamaha AND Class = 250cc AND Year < 1977
Translate the following into a SQL query
What distance did giovanni lombardi win after stage 5?
SELECT Distance FROM table WHERE Stage > 5 AND Winner = giovanni lombardi
Translate the following into a SQL query
Who is the GC leader at ávila - segovia?
SELECT GC Leader FROM table WHERE Course = ávila - segovia
Translate the following into a SQL query
How many grids have less than 41 laps and a Driver of pedro de la rosa?
SELECT COUNT Grid FROM table WHERE Laps < 41 AND Driver = pedro de la rosa
Translate the following into a SQL query
Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen?
SELECT Time/Retired FROM table WHERE Grid < 3 AND Driver = mika häkkinen
Translate the following into a SQL query
What are toranosuke takagi's average laps?
SELECT AVG Laps FROM table WHERE Driver = toranosuke takagi
Translate the following into a SQL query
Which grid has a Time/Retired of +5.004?
SELECT MIN Grid FROM table WHERE Time/Retired = +5.004
Translate the following into a SQL query
What was the score of the game on November 9 when Atlanta was the visiting team?
SELECT Score FROM table WHERE Visitor = atlanta AND Date = november 9
Translate the following into a SQL query
What was the score of the home game at Tampa Bay?
SELECT Score FROM table WHERE Home = tampa bay
Translate the following into a SQL query
What was the date of the game where Ottawa was the home team and Atlanta is the visiting team?
SELECT Date FROM table WHERE Visitor = atlanta AND Home = ottawa
Translate the following into a SQL query
I want the result for team of giants
SELECT Result FROM table WHERE Team = giants
Translate the following into a SQL query
Tell me the pitcher on september 6, 2006
SELECT Pitcher FROM table WHERE Date = september 6, 2006
Translate the following into a SQL query
I want the date for rockies
SELECT Date FROM table WHERE Team = rockies
Translate the following into a SQL query
I want the date for aníbal sánchez
SELECT Date FROM table WHERE Pitcher = aníbal sánchez
Translate the following into a SQL query
I want the result for team of giants
SELECT Result FROM table WHERE Team = giants
Translate the following into a SQL query
I want the site for september 29, 2013
SELECT Site FROM table WHERE Date = september 29, 2013
Translate the following into a SQL query
When the apparent magnitude is 10.5, what is the right ascension?
SELECT Right ascension ( J2000 ) FROM table WHERE Apparent magnitude = 10.5
Translate the following into a SQL query
Which livery is from 1919?
SELECT Livery FROM table WHERE Date = 1919
Translate the following into a SQL query
Of the games with a record of 80-81, what was the highest attendance?
SELECT MAX Attendance FROM table WHERE Record = 80-81
Translate the following into a SQL query
How many entries have a HK viewers of 2.23 million, and a Rank below 2?
SELECT COUNT Peak FROM table WHERE HK viewers = 2.23 million AND Rank > 2
Translate the following into a SQL query
What premiere has a finale of less than 41, peak less than 40, average above 31, and a Chinese title of 學警雄心?
SELECT Premiere FROM table WHERE Finale < 41 AND Peak < 40 AND Average > 31 AND Chinese title = 學警雄心
Translate the following into a SQL query
What is the high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak larger than 40?
SELECT MAX Average FROM table WHERE Finale > 35 AND HK viewers = 2.12 million AND Peak > 40
Translate the following into a SQL query
What is the score for the home team when the venue is Junction Oval?
SELECT Home team score FROM table WHERE Venue = junction oval
Translate the following into a SQL query
What is the location when the home team score is 11.16 (82) and the away team score is 18.13 (121)?
SELECT Venue FROM table WHERE Home team score = 11.16 (82) AND Away team score = 18.13 (121)
Translate the following into a SQL query
What is the lowest crowd number at the venue MCG?
SELECT MIN Crowd FROM table WHERE Venue = mcg
Translate the following into a SQL query
How many total viewers for "the summer house"?
SELECT SUM Viewers (millions) FROM table WHERE Episode = "the summer house"
Translate the following into a SQL query
Name the average round for jacksonville
SELECT AVG Round FROM table WHERE Place = jacksonville
Translate the following into a SQL query
I want the standing for january 29 and finished of 3rd and total points less than 248
SELECT Standing FROM table WHERE Total Points < 248 AND Finished = 3rd AND Date = january 29
Translate the following into a SQL query
What was the result and score of the game on February 22?
SELECT Result FROM table WHERE Date = february 22
Translate the following into a SQL query
What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?
SELECT MAX Rd # FROM table WHERE Pl GP > 0 AND Reg GP < 62
Translate the following into a SQL query
Which team has a Reg GP over 62?
SELECT Team (League) FROM table WHERE Reg GP > 62
Translate the following into a SQL query
What is the total year with a Position of 12th?
SELECT SUM Year FROM table WHERE Position = 12th
Translate the following into a SQL query
When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
SELECT MIN Grid FROM table WHERE Time/Retired = accident AND Laps < 18
Translate the following into a SQL query
What is the time/retired for a grid over 17 with 74 laps?
SELECT Time/Retired FROM table WHERE Grid > 17 AND Laps = 74
Translate the following into a SQL query
What is the grid total for david coulthard?
SELECT SUM Grid FROM table WHERE Driver = david coulthard
Translate the following into a SQL query
What day did Chris Maddocks compete in the 35000 m?
SELECT Date FROM table WHERE Athlete = chris maddocks AND Event = 35000 m
Translate the following into a SQL query
Who has a walking data of 214.061km?
SELECT Athlete FROM table WHERE Data = 214.061km
Translate the following into a SQL query
Who has a walking data of 3:10:48+?
SELECT Athlete FROM table WHERE Data = 3:10:48+
Translate the following into a SQL query
what is the title of the episode with the original air date of october2,2002?
SELECT Title FROM table WHERE Original air date = october2,2002
Translate the following into a SQL query
what is the title of the episode with the production code of ad1a22?
SELECT Title FROM table WHERE Production code = ad1a22
Translate the following into a SQL query
who was the director of the episode with production code ad1a26?
SELECT Directed by FROM table WHERE Production code = ad1a26