instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the attendance for the game on October 30, 1994 for a week after week 2?
SELECT COUNT Attendance FROM table WHERE Week > 2 AND Date = october 30, 1994
Translate the following into a SQL query
What is the title of the episode that aired on September 25, 2005?
SELECT Title FROM table WHERE Podcast Date = september 25, 2005
Translate the following into a SQL query
What is the run time of the episode that aired on September 4, 2005?
SELECT Run time FROM table WHERE Podcast Date = september 4, 2005
Translate the following into a SQL query
What is the historical reference of the episode that aired on October 23, 2005?
SELECT Historical References FROM table WHERE Podcast Date = october 23, 2005
Translate the following into a SQL query
What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic?
SELECT Podcast Date FROM table WHERE Episode Number < 307 AND Historical References = p.t. barnum AND Run time = 5:48
Translate the following into a SQL query
What is the topic of the episode that runs 6:07?
SELECT Historical References FROM table WHERE Run time = 6:07
Translate the following into a SQL query
What is the episode number of the episode that aired on August 8, 2005?
SELECT Episode Number FROM table WHERE Podcast Date = august 8, 2005
Translate the following into a SQL query
What is the biggest crowd when the home side scores 7.7 (49)?
SELECT MAX Crowd FROM table WHERE Home team score = 7.7 (49)
Translate the following into a SQL query
What day is south melbourne the away side?
SELECT Date FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
Whom is the away team when the home team score is 11.12 (78)?
SELECT Away team FROM table WHERE Home team score = 11.12 (78)
Translate the following into a SQL query
Did the fighter beat Ryo Takigawa?
SELECT Res. FROM table WHERE Opponent = ryo takigawa
Translate the following into a SQL query
What is the incident number of the incident that occurred in Dantewada, Chattisgarh?
SELECT Incident No. FROM table WHERE Place = dantewada, chattisgarh
Translate the following into a SQL query
WHich province has an IATA of UYN?
SELECT Province FROM table WHERE IATA = uyn
Translate the following into a SQL query
Which city has an ICAO of ZSXZ?
SELECT City FROM table WHERE ICAO = zsxz
Translate the following into a SQL query
Which province is Luogang International Airport located in?
SELECT Province FROM table WHERE Airport = luogang international airport
Translate the following into a SQL query
WHich province has an IATA of WNZ?
SELECT Province FROM table WHERE IATA = wnz
Translate the following into a SQL query
What is the IATA for Korla Airport.
SELECT IATA FROM table WHERE Airport = korla airport
Translate the following into a SQL query
In what division did they place 4th?
SELECT Division FROM table WHERE Position = 4th
Translate the following into a SQL query
What was the top scorer in the 1890-91 season?
SELECT Top scorer FROM table WHERE Season = 1890-91
Translate the following into a SQL query
Which position has a player at Arizona state?
SELECT Position FROM table WHERE School/Club Team = arizona state
Translate the following into a SQL query
Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller?
SELECT School/Club Team FROM table WHERE Pick < 196 AND Round > 5 AND Player = blake miller
Translate the following into a SQL query
What is the average round at which is the position of Tight End and Randy Bethel?
SELECT AVG Round FROM table WHERE Position = tight end AND Player = randy bethel
Translate the following into a SQL query
What day did they play the New Orleans Saints?
SELECT Date FROM table WHERE Opponent = new orleans saints
Translate the following into a SQL query
Which coach has a conference record of 42-78?
SELECT Coach FROM table WHERE Conference Record = 42-78
Translate the following into a SQL query
In what years was the conference record 18-15?
SELECT Years FROM table WHERE Conference Record = 18-15
Translate the following into a SQL query
In what years, when the conference record was 63-9, was the coach Walter Meanwell?
SELECT Years FROM table WHERE Coach = walter meanwell AND Conference Record = 63-9
Translate the following into a SQL query
What was coach Dick Bennett's overall win percentage?
SELECT Overall Win Percentage FROM table WHERE Coach = dick bennett
Translate the following into a SQL query
What are the notes for the shirt that said Pavv before 2005?
SELECT Notes FROM table WHERE Shirt Printing = pavv AND Year < 2005
Translate the following into a SQL query
What are the notes for the shirt that said Pavv after 2007?
SELECT Notes FROM table WHERE Shirt Printing = pavv AND Year > 2007
Translate the following into a SQL query
What is the average of all the years when the notes are “electronics brand?”
SELECT AVG Year FROM table WHERE Notes = electronics brand
Translate the following into a SQL query
What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
SELECT Notes FROM table WHERE Kit Supplier = rapido AND Shirt Printing = 名品+1
Translate the following into a SQL query
What is the largest crowd at Lake Oval?
SELECT MAX Crowd FROM table WHERE Venue = lake oval
Translate the following into a SQL query
What was the home team for the game with more than 25,000 crowd?
SELECT Home team FROM table WHERE Crowd > 25,000
Translate the following into a SQL query
What was the score for Footscray when they were the away team?
SELECT Away team score FROM table WHERE Away team = footscray
Translate the following into a SQL query
What is the result from March 14, 2007?
SELECT Result FROM table WHERE Date = march 14, 2007
Translate the following into a SQL query
How many goals have a result of 0-1 on march 28, 2007?
SELECT COUNT Goals FROM table WHERE Result = 0-1 AND Date = march 28, 2007
Translate the following into a SQL query
What venue has a Result of 3-0?
SELECT Venue FROM table WHERE Result = 3-0
Translate the following into a SQL query
when the 1st player has a choice of bb r what is the 2nd player's probability of winning?
SELECT Probability 2nd player wins FROM table WHERE 1st player's choice = bb r
Translate the following into a SQL query
When the 2nd player's choice is r bb what is the probability the 1st player wins 0.11%?
SELECT Probability of a draw FROM table WHERE 2nd player's choice = r bb AND Probability 1st player wins = 0.11%
Translate the following into a SQL query
When the 2nd player chooses r bb, what is the 2nd player's probability of a winning draw of 93.54%?
SELECT Probability of a draw FROM table WHERE Probability 2nd player wins = 93.54% AND 2nd player's choice = r bb
Translate the following into a SQL query
What was Collingwood's score as the home team?
SELECT Home team score FROM table WHERE Home team = collingwood
Translate the following into a SQL query
What was the home team when the away team scored 4.9 (33)?
SELECT Home team FROM table WHERE Away team score = 4.9 (33)
Translate the following into a SQL query
What was the average crowd size when teh home team scored 13.24 (102)?
SELECT AVG Crowd FROM table WHERE Home team score = 13.24 (102)
Translate the following into a SQL query
What venue features carlton as the home side?
SELECT Venue FROM table WHERE Home team = carlton
Translate the following into a SQL query
What day is collingwood the home side?
SELECT Date FROM table WHERE Home team = collingwood
Translate the following into a SQL query
What is the away team's score when hawthorn is away?
SELECT Away team score FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
Who is the home side when the away side score is 8.8 (56)?
SELECT Home team FROM table WHERE Away team score = 8.8 (56)
Translate the following into a SQL query
The event that has a record of 1-0 is none of the above.
SELECT Event FROM table WHERE Record = 1-0
Translate the following into a SQL query
What year was Leon Blevins picked?
SELECT SUM Year FROM table WHERE Name = leon blevins
Translate the following into a SQL query
What year was Jordan Hill picked overall number 8?
SELECT MIN Year FROM table WHERE Overall Pick = 8 AND Name = jordan hill
Translate the following into a SQL query
In 1981 which team picked overall 148?
SELECT Team FROM table WHERE Year = 1981 AND Overall Pick = 148
Translate the following into a SQL query
What is the place of the team that had a total score larger than 37 and a week one score above 20?
SELECT MIN Place FROM table WHERE Tot. (1+2) > 37 AND Wk 1 > 20
Translate the following into a SQL query
How many people attended the game on December 2, 1951?
SELECT Attendance FROM table WHERE Date = december 2, 1951
Translate the following into a SQL query
After week 9, which games had an attendance greater than 24,229?
SELECT Date FROM table WHERE Attendance > 24,229 AND Week > 9
Translate the following into a SQL query
What venue does st kilda play at as the away team?
SELECT Venue FROM table WHERE Away team = st kilda
Translate the following into a SQL query
What is melbourne's home team score?
SELECT Home team score FROM table WHERE Home team = melbourne
Translate the following into a SQL query
How many games is collingwood the home side?
SELECT COUNT Crowd FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?
SELECT AVG Week FROM table WHERE Date = november 29, 1970 AND Attendance < 31,427
Translate the following into a SQL query
On what date was the game where is was later than Week 4 of the season and the opponent was the New York Giants?
SELECT Date FROM table WHERE Week > 4 AND Opponent = new york giants
Translate the following into a SQL query
What was the attendance of the game on December 13, 1970?
SELECT COUNT Attendance FROM table WHERE Date = december 13, 1970 AND Week > 13
Translate the following into a SQL query
What is the date before week 13 and Miami Dolphins as an opponent?
SELECT Date FROM table WHERE Week < 13 AND Opponent = miami dolphins
Translate the following into a SQL query
What is the attendance for week 11?
SELECT Attendance FROM table WHERE Week = 11
Translate the following into a SQL query
What is the average crowd size when the home side scores 8.9 (57)?
SELECT AVG Crowd FROM table WHERE Home team score = 8.9 (57)
Translate the following into a SQL query
What is the home team's score for north melbourne?
SELECT Home team score FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What is the average crowd size when the home team scores 16.9 (105)?
SELECT AVG Crowd FROM table WHERE Home team score = 16.9 (105)
Translate the following into a SQL query
Who sponsors Josele Garza in all rounds?
SELECT Sponsor(s) FROM table WHERE Rounds = all AND Driver(s) = josele garza
Translate the following into a SQL query
Which rounds did the team Walther participate in?
SELECT Rounds FROM table WHERE Team = walther
Translate the following into a SQL query
What team was Tom Sneva on in rounds 1-9?
SELECT Team FROM table WHERE Driver(s) = tom sneva AND Rounds = 1-9
Translate the following into a SQL query
Which rounds do Arciero Wines sponsor a March 85c chassis?
SELECT Rounds FROM table WHERE Sponsor(s) = arciero wines AND Chassis = march 85c
Translate the following into a SQL query
What years were the inactive North Carolina chapter active?
SELECT Charter Range FROM table WHERE Status = inactive AND State = north carolina
Translate the following into a SQL query
What years were the inactive Idaho chapter active?
SELECT Charter Range FROM table WHERE Status = inactive AND State = idaho
Translate the following into a SQL query
Which chapter was active from 1906-1991?
SELECT Chapter FROM table WHERE Charter Range = 1906-1991
Translate the following into a SQL query
What are the active dates for the Montana State University chapter?
SELECT Charter Range FROM table WHERE School = montana state university
Translate the following into a SQL query
What state had an active chapter from 1906-1991?
SELECT State FROM table WHERE Charter Range = 1906-1991
Translate the following into a SQL query
How many people were at the game with a record of 6-1?
SELECT Attendance FROM table WHERE Record = 6-1
Translate the following into a SQL query
When was there a game against the Indianapolis colts?
SELECT Date FROM table WHERE Opponent = indianapolis colts
Translate the following into a SQL query
What is the lowest crowd size at MCG?
SELECT MIN Crowd FROM table WHERE Venue = mcg
Translate the following into a SQL query
What is the away team name that has a score of 7.10 (52)?
SELECT Away team FROM table WHERE Away team score = 7.10 (52)
Translate the following into a SQL query
What is the average crowd size when the home team is North Melbourne?
SELECT AVG Crowd FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What is the away team score when the home team is North Melbourne?
SELECT Away team score FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What is the pole position for marlboro challenge?
SELECT Pole position FROM table WHERE Race Name = marlboro challenge
Translate the following into a SQL query
What circut has an unknown fastest lap on July 19?
SELECT Circuit FROM table WHERE Fastest lap = unknown AND Date = july 19
Translate the following into a SQL query
What circuit did marlboro team penske win with an unknown fastest lap?
SELECT Circuit FROM table WHERE Winning team = marlboro team penske AND Fastest lap = unknown
Translate the following into a SQL query
What team does mario andretti play pole position for?
SELECT Winning team FROM table WHERE Pole position = mario andretti
Translate the following into a SQL query
What was the venue where Carlton was the away team?
SELECT Venue FROM table WHERE Away team = carlton
Translate the following into a SQL query
What was the venue where the home team scored 13.9 (87)?
SELECT Venue FROM table WHERE Home team score = 13.9 (87)
Translate the following into a SQL query
What was the away team whose opponents scored 8.16 (64)?
SELECT Away team FROM table WHERE Home team score = 8.16 (64)
Translate the following into a SQL query
What was the venue when Carlton was the away team?
SELECT Venue FROM table WHERE Away team = carlton
Translate the following into a SQL query
What was the highest heat with a time slower than 48.87 from sweden?
SELECT MAX Heat FROM table WHERE Time > 48.87 AND Nationality = sweden
Translate the following into a SQL query
How many lanes featured a swimmer ranked above 4, in a heat later than 1, from australia, named ashley callus?
SELECT COUNT Lane FROM table WHERE Rank > 4 AND Heat > 1 AND Nationality = australia AND Name = ashley callus
Translate the following into a SQL query
What is the Eurozone result for Population M (LUZ) of 3.08?
SELECT Eurozone FROM table WHERE Population M (LUZ) = 3.08
Translate the following into a SQL query
What is the GDP $IDB in Istanbul?
SELECT GDP in $ID B FROM table WHERE City = istanbul
Translate the following into a SQL query
What is the most recently founded school that joined in 2011?
SELECT MAX Founded FROM table WHERE Joined = 2011
Translate the following into a SQL query
What was the home team that scored 24.14 (158) in front of a crowd larger than 18,000?
SELECT Home team FROM table WHERE Crowd > 18,000 AND Home team score = 24.14 (158)
Translate the following into a SQL query
What was the home team that played Geelong?
SELECT Home team score FROM table WHERE Away team = geelong
Translate the following into a SQL query
What was the home team's score when they played Richmond?
SELECT Home team score FROM table WHERE Away team = richmond
Translate the following into a SQL query
What is Melbourne's home venue?
SELECT Venue FROM table WHERE Home team = melbourne
Translate the following into a SQL query
What was the venue when the away team scored 9.17 (71)?
SELECT Venue FROM table WHERE Away team score = 9.17 (71)
Translate the following into a SQL query
What was the overall draft pick for the player selected for the tight end position?
SELECT Overall FROM table WHERE Position = tight end
Translate the following into a SQL query
Which home team corresponds to an away team score of 10.12 (72)?
SELECT Home team FROM table WHERE Away team score = 10.12 (72)