instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which year or years did a team win 174 games and had an assist number less than 17? | SELECT Years FROM table WHERE Assist < 17 AND Games = 174 |
Translate the following into a SQL query | Which party does Claudette Tardif belong to? | SELECT Party FROM table WHERE Name = claudette tardif |
Translate the following into a SQL query | Who appointed the conservative from Ontario on June 18, 1993? | SELECT Appointed by FROM table WHERE Party = conservative AND Province (Division) = ontario AND Date appointed = june 18, 1993 |
Translate the following into a SQL query | What competition, federation, or league are the Tennessee Titans a member of? | SELECT Competition , federation , or league FROM table WHERE Team = tennessee titans |
Translate the following into a SQL query | How many years has the winner been a member of the National Football League? | SELECT AVG Year FROM table WHERE Competition , federation , or league = national football league |
Translate the following into a SQL query | Post 1994, who are the winners of Sportsperson from the National Basketball Association? | SELECT Sportsperson FROM table WHERE Year > 1994 AND Competition , federation , or league = national basketball association |
Translate the following into a SQL query | What day is south melbourne at home? | SELECT Date FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What is the lowest crowd at corio oval? | SELECT MIN Crowd FROM table WHERE Venue = corio oval |
Translate the following into a SQL query | What venue features carlton as an away team? | SELECT Venue FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What is the away team's score when the home team scores 7.8 (50)? | SELECT Away team score FROM table WHERE Home team score = 7.8 (50) |
Translate the following into a SQL query | What day does the team play at western oval? | SELECT Date FROM table WHERE Venue = western oval |
Translate the following into a SQL query | What venue features collingwood as the home side? | SELECT Venue FROM table WHERE Home team = collingwood |
Translate the following into a SQL query | What is the away team's score when the home side scores 12.13 (85)? | SELECT Away team FROM table WHERE Home team score = 12.13 (85) |
Translate the following into a SQL query | What is the attendance of week 1 | SELECT Attendance FROM table WHERE Week = 1 |
Translate the following into a SQL query | What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? | SELECT Result FROM table WHERE Couple = kelly & alec AND Score = 22 (8, 7, 7) |
Translate the following into a SQL query | What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2? | SELECT Music FROM table WHERE Score = 25 (9, 8, 8) AND Result = bottom 2 |
Translate the following into a SQL query | How many totals are there for players with an average under 8 and less than 4 matches? | SELECT COUNT Total FROM table WHERE Average < 8 AND Matches < 4 |
Translate the following into a SQL query | What is the highest rank for championships with christy heffernan with over 4 matches? | SELECT MAX Rank FROM table WHERE Player = christy heffernan AND Matches > 4 |
Translate the following into a SQL query | What is the date of the game at Junction Oval? | SELECT Date FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What was the away team score at Windy Hill? | SELECT Away team score FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | Where did St Kilda play as the away team? | SELECT Venue FROM table WHERE Away team = st kilda |
Translate the following into a SQL query | What away team played at Glenferrie Oval? | SELECT Away team FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | How many people attended the game at Lake Oval? | SELECT Crowd FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What home team played at Lake Oval? | SELECT Home team FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What was the terrain for stage 10 of the tour? | SELECT Terrain FROM table WHERE Stage = 10 |
Translate the following into a SQL query | Which stage took the tour through Boulogne-Billancourt? | SELECT Stage FROM table WHERE Route = boulogne-billancourt |
Translate the following into a SQL query | Who won at stage 22? | SELECT Winner FROM table WHERE Stage = 22 |
Translate the following into a SQL query | Who was the winner of stage 12? | SELECT Winner FROM table WHERE Stage = 12 |
Translate the following into a SQL query | When was the Hon Ian Causley first elected? | SELECT First elected FROM table WHERE Member = hon ian causley |
Translate the following into a SQL query | When was Jill Hall of the Labor Party first elected? | SELECT First elected FROM table WHERE Party = labor AND Member = jill hall |
Translate the following into a SQL query | What state is Tanya Plibersek from? | SELECT State FROM table WHERE Member = tanya plibersek |
Translate the following into a SQL query | What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7? | SELECT MIN Goals FROM table WHERE Years = 2008-present AND Player = tony beltran AND Rank > 7 |
Translate the following into a SQL query | What is the smallest number of goals for andy williams? | SELECT MIN Goals FROM table WHERE Player = andy williams |
Translate the following into a SQL query | What is the highest number of goals for robbie findley ranked above 10? | SELECT MAX Goals FROM table WHERE Player = robbie findley AND Rank < 10 |
Translate the following into a SQL query | Which NTFS has a yes for FAT32 and a no for ReFS? | SELECT NTFS FROM table WHERE FAT32 = yes AND ReFS = no |
Translate the following into a SQL query | Which HPFS has a no for ReFS? | SELECT HPFS FROM table WHERE ReFS = no |
Translate the following into a SQL query | Which FAT32 has yes v1.0/v1.1 for NTFS? | SELECT FAT32 FROM table WHERE NTFS = yes v1.0/v1.1 |
Translate the following into a SQL query | Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS? | SELECT FAT32 FROM table WHERE HPFS = no AND ReFS = no AND NTFS = yes v3.0 |
Translate the following into a SQL query | Which ReFS has yes v3.0 for NTFS? | SELECT ReFS FROM table WHERE NTFS = yes v3.0 |
Translate the following into a SQL query | Which NTFS has a no for ReFS and a yes for HPFS? | SELECT NTFS FROM table WHERE ReFS = no AND HPFS = yes |
Translate the following into a SQL query | What player position was drafted in 1955? | SELECT Position FROM table WHERE From = 1955 |
Translate the following into a SQL query | From what school was a player drafted in 1950? | SELECT School/Country FROM table WHERE From = 1950 |
Translate the following into a SQL query | What home team has a score of 11.9 (75)? | SELECT Home team FROM table WHERE Home team score = 11.9 (75) |
Translate the following into a SQL query | What home team plays at glenferrie oval? | SELECT Home team FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | What is the away side that playes at lake oval? | SELECT Away team score FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What day does the away team score 7.8 (50)? | SELECT Date FROM table WHERE Away team score = 7.8 (50) |
Translate the following into a SQL query | What is the away side when carlton is the home side? | SELECT Away team score FROM table WHERE Home team = carlton |
Translate the following into a SQL query | Who is the away team at western oval? | SELECT Away team score FROM table WHERE Venue = western oval |
Translate the following into a SQL query | What venue featured the home side scoring 10.17 (77)? | SELECT Venue FROM table WHERE Home team score = 10.17 (77) |
Translate the following into a SQL query | What is the Icelandic title for the Norweigan titled galgeblomsten? | SELECT Icelandic title FROM table WHERE Norwegian title = galgeblomsten |
Translate the following into a SQL query | When is the event at lake oval? | SELECT Date FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What is the away team's score at western oval? | SELECT Away team score FROM table WHERE Venue = western oval |
Translate the following into a SQL query | What's the home team's score at lake oval? | SELECT Home team score FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What date did VFL play MCG? | SELECT Date FROM table WHERE Venue = mcg |
Translate the following into a SQL query | How many times is st kilda the away team? | SELECT COUNT Crowd FROM table WHERE Away team = st kilda |
Translate the following into a SQL query | What is the largest crowd when the home team scores 14.12 (96)? | SELECT MAX Crowd FROM table WHERE Home team score = 14.12 (96) |
Translate the following into a SQL query | When the crowd was larger than 20,915 what did the Away team score? | SELECT Away team score FROM table WHERE Crowd > 20,915 |
Translate the following into a SQL query | What did the Away team score in their game at Victoria Park? | SELECT Away team score FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | When the crowd was over 15,322 in Richmond what did the Away team score? | SELECT Away team score FROM table WHERE Crowd > 15,322 AND Away team = richmond |
Translate the following into a SQL query | What did the Home team score when they were in MCG? | SELECT Home team score FROM table WHERE Venue = mcg |
Translate the following into a SQL query | What was the attendance for each game held at Foxboro Stadium? | SELECT Attendance FROM table WHERE Game site = foxboro stadium |
Translate the following into a SQL query | When was the game against the Indianapolis Colts? | SELECT Date FROM table WHERE Opponent = indianapolis colts |
Translate the following into a SQL query | How many weeks total did the New York Jets face the Pittsburgh Steelers? | SELECT COUNT Week FROM table WHERE Opponent = pittsburgh steelers |
Translate the following into a SQL query | What week did the Jets play in the meadowlands with and attendance of 78,161? | SELECT SUM Week FROM table WHERE Game site = the meadowlands AND Attendance = 78,161 |
Translate the following into a SQL query | Who did the Jets play in the Meadowlands on week 14? | SELECT Opponent FROM table WHERE Game site = the meadowlands AND Week = 14 |
Translate the following into a SQL query | What was the Jets week 17 attendance? | SELECT Attendance FROM table WHERE Week = 17 |
Translate the following into a SQL query | When did the hotel with 727 rooms open? | SELECT Opening Date FROM table WHERE Hotel Rooms = 727 |
Translate the following into a SQL query | Which school(s) had a wide receiver drafted in round 4? | SELECT School/Club Team FROM table WHERE Round > 4 AND Position = wide receiver |
Translate the following into a SQL query | Which of the above are from 1987? | SELECT School/Country FROM table WHERE From = 1987 |
Translate the following into a SQL query | What position is the player from 1987? | SELECT Position FROM table WHERE From = 1987 |
Translate the following into a SQL query | What position is the player from 1959? | SELECT Position FROM table WHERE From = 1959 |
Translate the following into a SQL query | Who was the opponent before week 6 at cleveland municipal stadium? | SELECT Opponent FROM table WHERE Week < 6 AND Game site = cleveland municipal stadium |
Translate the following into a SQL query | What date was Richmond the away team? | SELECT Date FROM table WHERE Away team = richmond |
Translate the following into a SQL query | Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | SELECT County FROM table WHERE % (2040) > 1.8 AND % (2000) < 4.1 AND % (1960) < 3.2 AND Rank = 13 |
Translate the following into a SQL query | What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7? | SELECT SUM % (1960) FROM table WHERE % (2040) < 100 AND % (2000) < 4.7 AND County = troms |
Translate the following into a SQL query | What is the % (1960) of the county with a % (2040) of 3.4? | SELECT COUNT % (1960) FROM table WHERE % (2040) = 3.4 |
Translate the following into a SQL query | What record company has robert craft conducting? | SELECT Record Company FROM table WHERE Conductor = robert craft |
Translate the following into a SQL query | Who is the conductor when the chicago symphony orchestra is featured? | SELECT Conductor FROM table WHERE Orchestra = chicago symphony orchestra |
Translate the following into a SQL query | How many people attended the Cleveland Browns game on November 11, 1979? | SELECT MAX Attendance FROM table WHERE Date = november 11, 1979 AND Week > 11 |
Translate the following into a SQL query | The game on September 2, 1979 was during which week of the season? | SELECT COUNT Week FROM table WHERE Date = september 2, 1979 |
Translate the following into a SQL query | What was the home team's score at the game where Richmond was the away team? | SELECT Home team score FROM table WHERE Away team = richmond |
Translate the following into a SQL query | What was the size of the crowd when Essendon was the away team? | SELECT Crowd FROM table WHERE Away team = essendon |
Translate the following into a SQL query | What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? | SELECT Whenbuilt FROM table WHERE Builder = brighton AND Withdrawn = september 1964 AND Name = blandford forum |
Translate the following into a SQL query | What is the crowd with an Away team score of 8.11 (59)? | SELECT AVG Crowd FROM table WHERE Away team score = 8.11 (59) |
Translate the following into a SQL query | What team has Away team score of 8.11 (59)? | SELECT Away team FROM table WHERE Away team score = 8.11 (59) |
Translate the following into a SQL query | What was the away team score when the team team score was 15.8 (98)? | SELECT Away team score FROM table WHERE Home team score = 15.8 (98) |
Translate the following into a SQL query | What was the listed attendance when north melbourne was the home team? | SELECT Crowd FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | What day was geelong the home team? | SELECT Date FROM table WHERE Home team = geelong |
Translate the following into a SQL query | Who played as the home team when the attendance was more than 30,080? | SELECT Home team FROM table WHERE Crowd > 30,080 |
Translate the following into a SQL query | What was the highest attendance at Junction Oval? | SELECT MAX Crowd FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What was the away teams score when Hawthorn played as the home team? | SELECT Away team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | How many bids does Atlantic 10 have? | SELECT # of Bids FROM table WHERE Conference = atlantic 10 |
Translate the following into a SQL query | What was the away team's score in the game against North Melbourne? | SELECT Away team score FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | What was the lowest crowd size when the away team scored 11.17 (83)? | SELECT MIN Crowd FROM table WHERE Away team score = 11.17 (83) |
Translate the following into a SQL query | What was the average crowd size when the away team was South Melbourne? | SELECT AVG Crowd FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | At what venue did a crowd larger than 11,000 see the away team score 11.10 (76)? | SELECT Venue FROM table WHERE Crowd > 11,000 AND Away team score = 11.10 (76) |
Translate the following into a SQL query | At what venue was the away team Fitzroy? | SELECT Venue FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | In what year saw a total distance of 1,870.23 km? | SELECT Year FROM table WHERE Distance = 1,870.23 km |
Translate the following into a SQL query | Who won in 1965? | SELECT Winner FROM table WHERE Year = 1965 |
Translate the following into a SQL query | What stage was 1,648 km achieved? | SELECT Stages FROM table WHERE Distance = 1,648 km |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.