instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Name the ethnic group with a buddhist of 0.19% | SELECT Ethnic group FROM table WHERE Buddhist = 0.19% |
Translate the following into a SQL query | What was the attendance of week 8? | SELECT Attendance FROM table WHERE Week = 8 |
Translate the following into a SQL query | How many points did the home score at a game that had their opponents scoring 12.16 (88)? | SELECT Home team score FROM table WHERE Away team score = 12.16 (88) |
Translate the following into a SQL query | Who was the home team that had a score of 13.14 (92)? | SELECT Home team FROM table WHERE Home team score = 13.14 (92) |
Translate the following into a SQL query | Who was the opponent of carlton at their home game? | SELECT Away team FROM table WHERE Home team = carlton |
Translate the following into a SQL query | Tell me the result for 3 goals | SELECT Result FROM table WHERE Goal = 3 |
Translate the following into a SQL query | Name the score for november 16 | SELECT Score FROM table WHERE Date = november 16 |
Translate the following into a SQL query | On what date did an away team score 22.17 (149)? | SELECT Date FROM table WHERE Away team score = 22.17 (149) |
Translate the following into a SQL query | In what Venue was the Away Team Score 19.13 (127)? | SELECT Venue FROM table WHERE Away team score = 19.13 (127) |
Translate the following into a SQL query | What is the Away Team Score of the Hawthorn Home Team? | SELECT Away team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | What is the Away Team Score of the Collingwood Home Team? | SELECT Away team score FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | What Away Team's venue is Arden Street Oval? | SELECT Away team FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | Name the least Laps for accident and gird more than 13 | SELECT MIN Laps FROM table WHERE Time/Retired = accident AND Grid > 13 |
Translate the following into a SQL query | Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70 | SELECT MIN Grid FROM table WHERE Time/Retired = engine AND Driver = emerson fittipaldi AND Laps > 70 |
Translate the following into a SQL query | What the score when Richmond played at home and the crowd was larger than 15,184? | SELECT Home team score FROM table WHERE Crowd > 15,184 AND Home team = richmond |
Translate the following into a SQL query | In what venue was the away team South Melbourne? | SELECT Venue FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | Where did the away team Carlton play? | SELECT Venue FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What home team played against Richmond? | SELECT Home team FROM table WHERE Away team = richmond |
Translate the following into a SQL query | What is the smallest crowd size for punt road oval? | SELECT MIN Crowd FROM table WHERE Venue = punt road oval |
Translate the following into a SQL query | Where did a home team score 23.20 (158)? | SELECT Venue FROM table WHERE Home team score = 23.20 (158) |
Translate the following into a SQL query | Which team scored 11.17 (83) while away? | SELECT Away team FROM table WHERE Away team score = 11.17 (83) |
Translate the following into a SQL query | Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%? | SELECT MAX Number of people 1991 FROM table WHERE Percent of Slovenes 1991 = 14.4% |
Translate the following into a SQL query | Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg? | SELECT Percent of Slovenes 1951 FROM table WHERE Number of people 1991 > 8 AND Village (German) = plöschenberg |
Translate the following into a SQL query | Where was Collingwood's away game played? | SELECT Venue FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | What did the home team score in the game that the away team scored 10.17 (77)? | SELECT Home team score FROM table WHERE Away team score = 10.17 (77) |
Translate the following into a SQL query | What was 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 | When did Collingwood play an away game? | SELECT Date FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | How many people attended the game that the Away team scored 10.17 (77) points in? | SELECT COUNT Crowd FROM table WHERE Away team score = 10.17 (77) |
Translate the following into a SQL query | Where was the game played when the home team score was 11.9 (75)? | SELECT Venue FROM table WHERE Home team score = 11.9 (75) |
Translate the following into a SQL query | What team is based at junction oval? | SELECT Home team FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the team set at junction oval? | SELECT Home team FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What was the home team that scored 20.21 (141)? | SELECT Home team FROM table WHERE Home team score = 20.21 (141) |
Translate the following into a SQL query | How big was the crowd in a game that had the home team score 18.19 (127)? | SELECT COUNT Crowd FROM table WHERE Home team score = 18.19 (127) |
Translate the following into a SQL query | What was the place that had the home team score 16.19 (115)? | SELECT Venue FROM table WHERE Home team score = 16.19 (115) |
Translate the following into a SQL query | What driver has a grid under 12 with a Time/Retired of + 3 laps? | SELECT Driver FROM table WHERE Grid < 12 AND Time/Retired = + 3 laps |
Translate the following into a SQL query | What is the high grid for osella - alfa romeo, and a Laps larger than 61? | SELECT MAX Grid FROM table WHERE Constructor = osella - alfa romeo AND Laps > 61 |
Translate the following into a SQL query | How many picks does Matt Moran have altogether after round 6? | SELECT COUNT Pick FROM table WHERE Name = matt moran AND Round > 6 |
Translate the following into a SQL query | What position after round 8 has a pick less than 270? | SELECT Position FROM table WHERE Round > 8 AND Pick < 270 |
Translate the following into a SQL query | What is the total number of rounds that UCLA has? | SELECT COUNT Round FROM table WHERE School = ucla |
Translate the following into a SQL query | What is the lowest round for Georgia Tech? | SELECT MIN Round FROM table WHERE School = georgia tech |
Translate the following into a SQL query | What is the average round for Georgia Tech with a pick greater than 103? | SELECT AVG Round FROM table WHERE School = georgia tech AND Pick > 103 |
Translate the following into a SQL query | Which player is featured for 2001-2002? | SELECT Player FROM table WHERE Year = 2001-2002 |
Translate the following into a SQL query | Which player is from Queens, NY? | SELECT Player FROM table WHERE Hometown = queens, ny |
Translate the following into a SQL query | Where did Maya Moore attend school? | SELECT School FROM table WHERE Player = maya moore |
Translate the following into a SQL query | What is the difference with a loss smaller than 5 and points lower than 32? | SELECT COUNT Diff FROM table WHERE Lost < 5 AND Points < 32 |
Translate the following into a SQL query | Which loss had a player lower than 18? | SELECT MIN Lost FROM table WHERE Played < 18 |
Translate the following into a SQL query | Who won the 2012 game that had a score of 15–0? | SELECT Winner FROM table WHERE Year = 2012 AND Result = 15–0 |
Translate the following into a SQL query | Tell me the week for result of l 31-27, and an Attendance smaller than 85,865 | SELECT AVG Week FROM table WHERE Result = l 31-27 AND Attendance < 85,865 |
Translate the following into a SQL query | I want the date for week less than 5 and attendance more than 43,922 with a result of w 21-7 | SELECT Date FROM table WHERE Week < 5 AND Attendance > 43,922 AND Result = w 21-7 |
Translate the following into a SQL query | Who had notes of Prizzi's Honor? | SELECT Director FROM table WHERE Notes = prizzi's honor |
Translate the following into a SQL query | What Superlative had a record set of 12 nominations? | SELECT Superlative FROM table WHERE Record Set = 12 nominations |
Translate the following into a SQL query | What is the highest number of laps completed by driver Joe Nemechek? | SELECT MAX Laps FROM table WHERE Driver = joe nemechek |
Translate the following into a SQL query | What is the home team score when they played at Victoria Park? | SELECT Home team score FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | What was the away team score when the home team score was 11.18 (84)? | SELECT Away team score FROM table WHERE Home team score = 11.18 (84) |
Translate the following into a SQL query | What was the venue when the home team was Fitzroy? | SELECT Venue FROM table WHERE Home team = fitzroy |
Translate the following into a SQL query | What team was the home team when the home team score was 12.16 (88)? | SELECT Home team FROM table WHERE Home team score = 12.16 (88) |
Translate the following into a SQL query | What team was the away team when the home team score was 16.11 (107)? | SELECT Away team FROM table WHERE Home team score = 16.11 (107) |
Translate the following into a SQL query | What is the date for proposed for revere textile prints corporation | SELECT Proposed FROM table WHERE Name = revere textile prints corporation |
Translate the following into a SQL query | What is the deleted for tolland? | SELECT Deleted FROM table WHERE County = tolland |
Translate the following into a SQL query | What venue has the away side scoring 16.14 (110)? | SELECT Venue FROM table WHERE Away team score = 16.14 (110) |
Translate the following into a SQL query | What is the away side score when hawthorn is the home side? | SELECT Away team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | What is the average lap total for grids under 19 and a Time/Retired of +4 laps? | SELECT AVG Laps FROM table WHERE Time/Retired = +4 laps AND Grid < 19 |
Translate the following into a SQL query | Who drive over 43 laps in grid 5? | SELECT Driver FROM table WHERE Laps > 43 AND Grid = 5 |
Translate the following into a SQL query | What team played away in the game that the home team scored 7.8 (50)? | SELECT Away team FROM table WHERE Home team score = 7.8 (50) |
Translate the following into a SQL query | What did the home team score when the away team scored 6.8 (44)? | SELECT Home team score FROM table WHERE Away team score = 6.8 (44) |
Translate the following into a SQL query | Which Away team score has a Venue of princes park? | SELECT Away team score FROM table WHERE Venue = princes park |
Translate the following into a SQL query | Which Away team score has a Home team of melbourne? | SELECT Away team score FROM table WHERE Home team = melbourne |
Translate the following into a SQL query | What genre is revolving doors of vengeance 酒店風雲? | SELECT Genre FROM table WHERE English title (Chinese title) = revolving doors of vengeance 酒店風雲 |
Translate the following into a SQL query | What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct? | SELECT English title (Chinese title) FROM table WHERE Genre = modern drama AND Number of episodes = 20 AND Airing date = 26 sep- 21 oct |
Translate the following into a SQL query | What is the D48 when the D 50 O is d 31? | SELECT D 48 √ FROM table WHERE D 50 O = d 31 |
Translate the following into a SQL query | What was Catalogue tojp 60121-22's Date? | SELECT Date FROM table WHERE Catalogue = tojp 60121-22 |
Translate the following into a SQL query | What was the Date of Country of United States? | SELECT Date FROM table WHERE Country = united states |
Translate the following into a SQL query | What Catalogue is Dated 14 november 2003, with the Format compact disc? | SELECT Catalogue FROM table WHERE Date = 14 november 2003 AND Format = compact disc |
Translate the following into a SQL query | What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22? | SELECT Label FROM table WHERE Date = 14 november 2003 AND Catalogue = tojp 60121-22 |
Translate the following into a SQL query | What Label was Catalogued tojp 60121-22? | SELECT Label FROM table WHERE Catalogue = tojp 60121-22 |
Translate the following into a SQL query | What is the record for Norway on 23 august 1981? | SELECT Record FROM table WHERE Nationality = norway AND Date = 23 august 1981 |
Translate the following into a SQL query | What is the record for the 20000 m walk? | SELECT Record FROM table WHERE Event = 20000 m walk |
Translate the following into a SQL query | When was the Bye week? | SELECT Date FROM table WHERE Result = bye |
Translate the following into a SQL query | Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS? | SELECT Open 2nd VIII FROM table WHERE U15 6th Quad = bgs AND U16 1st VIII = tss |
Translate the following into a SQL query | What U15 3rd Quad has a U15 2nd Quad of ACGS? | SELECT U15 3rd Quad FROM table WHERE U15 2nd Quad = acgs |
Translate the following into a SQL query | Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT? | SELECT U15 4th Quad FROM table WHERE U15 3rd Quad = bbc AND U15 6th Quad = gt |
Translate the following into a SQL query | Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC? | SELECT U15 1st Quad FROM table WHERE Open 3rd VIII = bbc AND U16 3rd VIII = bbc |
Translate the following into a SQL query | What was the nationality of the athlete with a final result of 4.50? | SELECT Nationality FROM table WHERE Result = 4.50 |
Translate the following into a SQL query | What was the athlete with a final result of 4.30? | SELECT Athlete FROM table WHERE Result = 4.30 |
Translate the following into a SQL query | Which country has the Highest mountain of rettlkirchspitze? | SELECT Country FROM table WHERE Highest mountain = rettlkirchspitze |
Translate the following into a SQL query | What is the average height with the Highest mountain of hochgall? | SELECT AVG Height (m) FROM table WHERE Highest mountain = hochgall |
Translate the following into a SQL query | What US Country released an album of singles only in 1967? | SELECT U.S. Country FROM table WHERE Album = singles only AND Year = 1967 |
Translate the following into a SQL query | What was the best album in 1965? | SELECT U.S. AC FROM table WHERE Album = the best AND Year = 1965 |
Translate the following into a SQL query | What is the result of the fight that had a tko (low kicks)? | SELECT Result FROM table WHERE Method = tko (low kicks) |
Translate the following into a SQL query | What event went under 3 rounds and was no contest (punch after knockdown)? | SELECT Event FROM table WHERE Round < 3 AND Method = no contest (punch after knockdown) |
Translate the following into a SQL query | What event was in hong kong and went less than 2 rounds? | SELECT Event FROM table WHERE Round < 2 AND Location = hong kong |
Translate the following into a SQL query | How many rounds was the fight against carter williams? | SELECT Round FROM table WHERE Opponent = carter williams |
Translate the following into a SQL query | In rounds 7-13 what engine was featured? | SELECT Engine FROM table WHERE Rounds = 7-13 |
Translate the following into a SQL query | What score was conceded by Richmond? | SELECT Away team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | What is the number of Goals on 1950-05-30? | SELECT COUNT Goals FROM table WHERE Date = 1950-05-30 |
Translate the following into a SQL query | In 1948-10-28, what were the lowest Goals in Tehran, Iran? | SELECT MIN Goals FROM table WHERE Venue = tehran, iran AND Date = 1948-10-28 |
Translate the following into a SQL query | In what Venue was the Result 1-3? | SELECT Venue FROM table WHERE Result = 1-3 |
Translate the following into a SQL query | In 1948-10-28, in what Venue was the Competition of International Match held? | SELECT Venue FROM table WHERE Competition = international match AND Date = 1948-10-28 |
Translate the following into a SQL query | What was the Zakspeed 1500/4 1.5 l4 t chassis? | SELECT Chassis FROM table WHERE Engine = zakspeed 1500/4 1.5 l4 t |
Translate the following into a SQL query | What was the Michele Alboreto's engine? | SELECT Engine FROM table WHERE Driver = michele alboreto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.