instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | In what city is the United Spirit Arena located? | SELECT City FROM table WHERE Venue = united spirit arena |
Translate the following into a SQL query | What was the result when they had their bye week? | SELECT Result FROM table WHERE Date = bye |
Translate the following into a SQL query | What was the attendance of the Browns' September 7, 1953 game? | SELECT Attendance FROM table WHERE Date = september 7, 1953 |
Translate the following into a SQL query | When was the Browns' game that over 36,796 attended? | SELECT Date FROM table WHERE Attendance > 36,796 |
Translate the following into a SQL query | What Young rider classification has a Stage of 18? | SELECT Young rider classification FROM table WHERE Stage = 18 |
Translate the following into a SQL query | Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? | SELECT Winner FROM table WHERE Team classification = la vie claire AND General classification = greg lemond AND Stage = 20 |
Translate the following into a SQL query | What is the classification with a Team classification of la vie claire and a Stage of 12? | SELECT General classification FROM table WHERE Team classification = la vie claire AND Stage = 12 |
Translate the following into a SQL query | What is guido bontempi's general classification when he has a stage of 6? | SELECT General classification FROM table WHERE Winner = guido bontempi AND Stage = 6 |
Translate the following into a SQL query | What is Ludo Peeters' team classification? | SELECT Team classification FROM table WHERE Winner = ludo peeters |
Translate the following into a SQL query | What was the date of the game where the home team scored 17.14 (116)? | SELECT Date FROM table WHERE Home team score = 17.14 (116) |
Translate the following into a SQL query | Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200? | SELECT Away team FROM table WHERE Crowd > 20,200 AND Home team = footscray |
Translate the following into a SQL query | Which date had less than 3 goals and a result of (w) 2-0? | SELECT Date FROM table WHERE Goals < 3 AND Result = (w) 2-0 |
Translate the following into a SQL query | Which home team scored 13.11 (89)? | SELECT Home team FROM table WHERE Home team score = 13.11 (89) |
Translate the following into a SQL query | When an away team scored 11.17 (83), at which venue were they playing? | SELECT Venue FROM table WHERE Away team score = 11.17 (83) |
Translate the following into a SQL query | On what date was a match held at MCG? | SELECT Date FROM table WHERE Venue = mcg |
Translate the following into a SQL query | When Fitzroy are the away team, what is the average crowd size? | SELECT AVG Crowd FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What is footscray's away team score? | SELECT Away team score FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What is the record of Jeremija Sanders' opponent? | SELECT Record FROM table WHERE Opponent = jeremija sanders |
Translate the following into a SQL query | What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47? | SELECT AVG Tries FROM table WHERE Start > 32 AND Player = seremaia bai AND Conv > 47 |
Translate the following into a SQL query | For the player fero lasagavibau who has the lowest start? | SELECT MIN Start FROM table WHERE Player = fero lasagavibau |
Translate the following into a SQL query | Who was the opponent when Raphael was 4-0? | SELECT Opponent FROM table WHERE Record = 4-0 |
Translate the following into a SQL query | What was the average round when he had a 3-0 record? | SELECT AVG Round FROM table WHERE Record = 3-0 |
Translate the following into a SQL query | What was the location when he had a 2-0 record? | SELECT Location FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | What was the result when he went 1 round against jeremy beck? | SELECT Res. FROM table WHERE Round = 1 AND Opponent = jeremy beck |
Translate the following into a SQL query | What was the result of the game in halifax? | SELECT Result FROM table WHERE City = halifax |
Translate the following into a SQL query | What stadium is located in Halifax? | SELECT Stadium FROM table WHERE City = halifax |
Translate the following into a SQL query | What day did they play in salford? | SELECT Date FROM table WHERE City = salford |
Translate the following into a SQL query | What was the earliest week the team played the chicago cardinals in front of less than 25,312? | SELECT MIN Week FROM table WHERE Opponent = chicago cardinals AND Attendance < 25,312 |
Translate the following into a SQL query | What day did they play on week 4? | SELECT Date FROM table WHERE Week = 4 |
Translate the following into a SQL query | What team did the Brows play against on October 20, 1963 to a crowd larger than 55,096? | SELECT Opponent FROM table WHERE Attendance > 55,096 AND Date = october 20, 1963 |
Translate the following into a SQL query | What was the attendance during the week 1 match? | SELECT Attendance FROM table WHERE Week = 1 |
Translate the following into a SQL query | During what week was the match on November 10, 1963? | SELECT AVG Week FROM table WHERE Date = november 10, 1963 |
Translate the following into a SQL query | What was the result of the match on December 1, 1963? | SELECT Result FROM table WHERE Date = december 1, 1963 |
Translate the following into a SQL query | When did a crowd larger than 23,135 watch an away team score 3.8 (26)? | SELECT Date FROM table WHERE Crowd > 23,135 AND Away team score = 3.8 (26) |
Translate the following into a SQL query | What was the Away team score against a home team with 5.12 (42)? | SELECT Away team score FROM table WHERE Home team score = 5.12 (42) |
Translate the following into a SQL query | What day is hawthorn the away side? | SELECT Date FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | What is the average crowd size for games with north melbourne as the away side? | SELECT AVG Crowd FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | How many forms have less than 18 pages? | SELECT COUNT Form FROM table WHERE Pages < 18 |
Translate the following into a SQL query | What is the sum of forms with greater than 17 pages and a total of $1,801,154? | SELECT SUM Form FROM table WHERE Pages > 17 AND Total Assets = $1,801,154 |
Translate the following into a SQL query | Which venue hosted South Melbourne? | SELECT Venue FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What was the scored of the Away team that played against Richmond? | SELECT Away team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | What is the result week 6? | SELECT Result FROM table WHERE Week = 6 |
Translate the following into a SQL query | How many goals did sture mårtensson score? | SELECT goals FROM table WHERE name = sture mårtensson |
Translate the following into a SQL query | How many goals for the player with 2 caps at degerfors if? | SELECT goals FROM table WHERE caps = 2 AND club = degerfors if |
Translate the following into a SQL query | What catalog came out after 2000? | SELECT Catalog FROM table WHERE Year > 2000 |
Translate the following into a SQL query | What is the name of the player who begin playing for the LA Lakers in 1974? | SELECT Player FROM table WHERE From = 1974 |
Translate the following into a SQL query | What was the attendance on week 7? | SELECT Attendance FROM table WHERE Week = 7 |
Translate the following into a SQL query | What opponent did they have a bye result against before week 14? | SELECT Opponent FROM table WHERE Result = bye AND Week < 14 |
Translate the following into a SQL query | Which average crowd has a Home team score of 11.15 (81)? | SELECT AVG Crowd FROM table WHERE Home team score = 11.15 (81) |
Translate the following into a SQL query | Which home team has an Away team of fitzroy? | SELECT Home team FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | Which away team has a score of 9.12 (66)? | SELECT Away team FROM table WHERE Away team score = 9.12 (66) |
Translate the following into a SQL query | At what venue did the away team score 10.10 (70)? | SELECT Venue FROM table WHERE Away team score = 10.10 (70) |
Translate the following into a SQL query | What was North Melbourne's score when they were the home team? | SELECT Home team score FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | What was Richmond's score as the home team? | SELECT Home team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | What venue did Essendon play as the away team? | SELECT Venue FROM table WHERE Away team = essendon |
Translate the following into a SQL query | Who was the opponent when Richmond played as the home team? | SELECT Away team FROM table WHERE Home team = richmond |
Translate the following into a SQL query | What was the attendance at the Kardinia Park game? | SELECT Crowd FROM table WHERE Venue = kardinia park |
Translate the following into a SQL query | What was the score of the team North Melbourne played at Arden Street Oval? | SELECT Away team score FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | What date did the game at Arden Street Oval take place? | SELECT Date FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | What is the date of the game with 36,766 fans? | SELECT Date FROM table WHERE Crowd > 36,766 |
Translate the following into a SQL query | What is the crowd size of the game where the away team scored 8.15 (63)? | SELECT SUM Crowd FROM table WHERE Away team score = 8.15 (63) |
Translate the following into a SQL query | Which higher secondary school listing has the lowest total and an Aided amount larger than 14? | SELECT MIN Total FROM table WHERE Institution = higher secondary school AND Aided > 14 |
Translate the following into a SQL query | Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0? | SELECT Institution FROM table WHERE Total < 13 AND Government = 1 AND Aided = 0 |
Translate the following into a SQL query | Which IATA is associated with China and an ICAO of ZSPD? | SELECT IATA FROM table WHERE Country = china AND ICAO = zspd |
Translate the following into a SQL query | Which airport is associated with Macau? | SELECT Airport FROM table WHERE City = macau |
Translate the following into a SQL query | What is the IATA for Nanjing? | SELECT IATA FROM table WHERE City = nanjing |
Translate the following into a SQL query | Which airport has an ICAO of RCKH? | SELECT Airport FROM table WHERE ICAO = rckh |
Translate the following into a SQL query | Which airport has an IATA of TYN? | SELECT Airport FROM table WHERE IATA = tyn |
Translate the following into a SQL query | Which country contains the Shanghai Pudong International airport? | SELECT Country FROM table WHERE Airport = shanghai pudong international airport |
Translate the following into a SQL query | What was Footscray's score when it played as the home team? | SELECT Home team score FROM table WHERE Home team = footscray |
Translate the following into a SQL query | hat was Hawthorn's score as the away team? | SELECT Away team score FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | What was the Outcome against Opponent in the Final Carlos Kirmayr? | SELECT Outcome FROM table WHERE Opponent in the final = carlos kirmayr |
Translate the following into a SQL query | What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978? | SELECT Score in the final FROM table WHERE Date < 1978 AND Opponent in the final = manuel orantes |
Translate the following into a SQL query | Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship? | SELECT Championship FROM table WHERE Outcome = runner-up AND Surface = clay AND Opponent in the final = ivan lendl |
Translate the following into a SQL query | What is the earliest Date on a Surface of clay in a Championship in Linz, Austria? | SELECT MIN Date FROM table WHERE Surface = clay AND Championship = linz, austria |
Translate the following into a SQL query | Who playes the sport of athletics? | SELECT Sportsperson FROM table WHERE Sport = athletics |
Translate the following into a SQL query | What team has a year listed of 2008? | SELECT Team FROM table WHERE Year = 2008 |
Translate the following into a SQL query | What venue was the game played in when the away team was fitzroy? | SELECT Venue FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What is the number of people in the crowd when the away team scored 10.14 (74)? | SELECT COUNT Crowd FROM table WHERE Away team score = 10.14 (74) |
Translate the following into a SQL query | What did the away team score when the home team scored 14.15 (99)? | SELECT Away team score FROM table WHERE Home team score = 14.15 (99) |
Translate the following into a SQL query | What is the film type for the movie Sanctuary? | SELECT Type FROM table WHERE Name = sanctuary |
Translate the following into a SQL query | What different types are there with a CC License of by-nc-sa 2.5? | SELECT Type FROM table WHERE CC License = by-nc-sa 2.5 |
Translate the following into a SQL query | What are the open source movies with planned releases in 2013? | SELECT Open Source Movie FROM table WHERE Planned Release = 2013 |
Translate the following into a SQL query | What was the lowest rank by average of a couple who had an average of 23 and a total of 115? | SELECT MIN Rank by average FROM table WHERE Average = 23 AND Total = 115 |
Translate the following into a SQL query | What is the colonized date for Michigan? | SELECT Colonized FROM table WHERE State = michigan |
Translate the following into a SQL query | What is the colonized year for the chartered year 1958? | SELECT Colonized FROM table WHERE Chartered = 1958 |
Translate the following into a SQL query | When was shippensburg university Colonized? | SELECT Colonized FROM table WHERE School = shippensburg university |
Translate the following into a SQL query | What is the colonized date for the n/a charter range for appalachian state? | SELECT Colonized FROM table WHERE Charter Range = n/a AND School = appalachian state |
Translate the following into a SQL query | What state has colony as a status and shippensburg university as the school? | SELECT State FROM table WHERE Status = colony AND School = shippensburg university |
Translate the following into a SQL query | Which team has a Home Team score of 5.12 (42)? | SELECT Home team FROM table WHERE Home team score = 5.12 (42) |
Translate the following into a SQL query | What was the Home Team Score for the Windy Hill Venue? | SELECT Home team score FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | What is the Essendon Home Team's venue? | SELECT Venue FROM table WHERE Home team = essendon |
Translate the following into a SQL query | Which Away team has Away team score 5.8 (38)? | SELECT Away team FROM table WHERE Away team score = 5.8 (38) |
Translate the following into a SQL query | How large a crowd did the Fitzroy Away team draw? | SELECT SUM Crowd FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What is Van Waiters position? | SELECT Position FROM table WHERE Player = van waiters |
Translate the following into a SQL query | What is the capacity of the team in tucson, USA? | SELECT Capacity FROM table WHERE Country = usa AND City = tucson |
Translate the following into a SQL query | What is the date for the podcast episode number 103? | SELECT Podcast Date FROM table WHERE Episode Number = 103 |
Translate the following into a SQL query | What is the name of the podcast on November 21, 2004? | SELECT Title FROM table WHERE Podcast Date = november 21, 2004 |
Translate the following into a SQL query | Which school added a player to the Lakers in 1948? | SELECT School/Country FROM table WHERE From = 1948 |
Translate the following into a SQL query | Which school added a player to the Lakers in 1948? | SELECT School/Country FROM table WHERE From = 1948 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.