instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the away team's score at the game played at Lake Oval that had a crowd of over 15,000? | SELECT Away team score FROM table WHERE Crowd > 15,000 AND Venue = lake oval |
Translate the following into a SQL query | What was the result on November 20, 1988? | SELECT Result FROM table WHERE Date = november 20, 1988 |
Translate the following into a SQL query | What time was the kickoff on week 5? | SELECT Kickoff [a ] FROM table WHERE Week = 5 |
Translate the following into a SQL query | Where was the game that had an attendance of 39,889? | SELECT Game site FROM table WHERE Attendance = 39,889 |
Translate the following into a SQL query | What was the record when the attendance was 43,502? | SELECT Record FROM table WHERE Attendance = 43,502 |
Translate the following into a SQL query | What label released a CD in 1988? | SELECT Label FROM table WHERE Date = 1988 AND Format = cd |
Translate the following into a SQL query | On what date did the United Kingdom have a catalog of FT 507? | SELECT Date FROM table WHERE Region = united kingdom AND Catalog = ft 507 |
Translate the following into a SQL query | On what date was the Catalog FT 507? | SELECT Date FROM table WHERE Catalog = ft 507 |
Translate the following into a SQL query | Which label had a catalog of 54513 in 1988? | SELECT Label FROM table WHERE Date = 1988 AND Catalog = 54513 |
Translate the following into a SQL query | On what date did Fantasy Records release a CD format of catalog FCD-4513-2? | SELECT Date FROM table WHERE Label = fantasy records AND Format = cd AND Catalog = fcd-4513-2 |
Translate the following into a SQL query | What was John Watson's total laps with a grid of less than 7? | SELECT COUNT Laps FROM table WHERE Driver = john watson AND Grid < 7 |
Translate the following into a SQL query | How many laps were there with #9 grid? | SELECT COUNT Laps FROM table WHERE Grid = 9 |
Translate the following into a SQL query | What was the time/retired with laps less than 33 and a grid of 14? | SELECT Time/Retired FROM table WHERE Laps < 33 AND Grid = 14 |
Translate the following into a SQL query | What was John Watson's time/retired? | SELECT Time/Retired FROM table WHERE Driver = john watson |
Translate the following into a SQL query | What is the player with the no. 14? | SELECT Player FROM table WHERE No.(s) = 14 |
Translate the following into a SQL query | What is the height of the player from Benetton Treviso, Italy? | SELECT Height in Ft. FROM table WHERE School/Club Team/Country = benetton treviso, italy |
Translate the following into a SQL query | I want to know the pens with conv of 6 | SELECT Pens FROM table WHERE Conv = 6 |
Translate the following into a SQL query | Which player has 2 tries and 0 drops? | SELECT Player FROM table WHERE Drop = 0 AND Tries = 2 |
Translate the following into a SQL query | Which pens has 1 tries and matt alexander as a player with conv of 4? | SELECT Pens FROM table WHERE Tries = 1 AND Player = matt alexander AND Conv = 4 |
Translate the following into a SQL query | Name the venue that has conv of 5 players on 20 points | SELECT Venue FROM table WHERE Conv = 5 players on 20 points |
Translate the following into a SQL query | What are the names of those who made less than 3 wins in 15 matches? | SELECT Name FROM table WHERE Wins < 3 AND Matches < 15 |
Translate the following into a SQL query | What is the highest amount of points when the game is less than 2? | SELECT High points FROM table WHERE Game < 2 |
Translate the following into a SQL query | What was the score on April 20? | SELECT Score FROM table WHERE Date = april 20 |
Translate the following into a SQL query | Name the surface on june 11, 1995 | SELECT Surface FROM table WHERE Date = june 11, 1995 |
Translate the following into a SQL query | Name the score for september 12, 1993 | SELECT Score FROM table WHERE Date = september 12, 1993 |
Translate the following into a SQL query | Name the surface for score of 7–6(4), 6–1 | SELECT Surface FROM table WHERE Score = 7–6(4), 6–1 |
Translate the following into a SQL query | Name the date that had a score of 7–6(4), 6–1 | SELECT Date FROM table WHERE Score = 7–6(4), 6–1 |
Translate the following into a SQL query | what is the result for the world group, semifinals after the year 1997? | SELECT Result FROM table WHERE Year > 1997 AND Competition = world group, semifinals |
Translate the following into a SQL query | What home team played against south Melbourne? | SELECT Home team FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What is the average crowd size for the home team essendon? | SELECT AVG Crowd FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What is the home team score when north Melbourne was the away team? | SELECT Home team score FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What is the average grid with brm and under 63 laps? | SELECT AVG Grid FROM table WHERE Constructor = brm AND Laps < 63 |
Translate the following into a SQL query | On what circuit is there a class gts-2 race that takes place on May 27? | SELECT Circuit FROM table WHERE Date = may 27 AND Class = gts-2 |
Translate the following into a SQL query | On what circuit is there a race that lasts 2 hours? | SELECT Circuit FROM table WHERE Length = 2 hours |
Translate the following into a SQL query | What class is the dodge dealers grand prix? | SELECT Class FROM table WHERE Race = the dodge dealers grand prix |
Translate the following into a SQL query | What is the length of the First Union six hours at the Glen? | SELECT Length FROM table WHERE Race = first union six hours at the glen |
Translate the following into a SQL query | What is the class of the race that takes place on August 25? | SELECT Class FROM table WHERE Date = august 25 |
Translate the following into a SQL query | What was the score when Montreal was home? | SELECT Score FROM table WHERE Home = montreal |
Translate the following into a SQL query | On 9/3/97, what was the score that resulted in a w? | SELECT Score FROM table WHERE Result = w AND Date = 9/3/97 |
Translate the following into a SQL query | Who has a roll value of 422? | SELECT Name FROM table WHERE Roll = 422 |
Translate the following into a SQL query | In what area is the decile value 10? | SELECT Area FROM table WHERE Decile = 10 |
Translate the following into a SQL query | What is the highest decile value with a roll greater than 301 in Hauraki? | SELECT MAX Decile FROM table WHERE Roll > 301 AND Area = hauraki |
Translate the following into a SQL query | Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6? | SELECT Points classification FROM table WHERE Trofeo Fast Team = metauro mobili-pinarello AND Stage = 6 |
Translate the following into a SQL query | Which stage has a Winner of lucien van impe? | SELECT Stage FROM table WHERE Winner = lucien van impe |
Translate the following into a SQL query | Which Trofeo Fast Team has a Winner of alessandro paganessi? | SELECT Trofeo Fast Team FROM table WHERE Winner = alessandro paganessi |
Translate the following into a SQL query | Which General classification has a Stage of 7? | SELECT General classification FROM table WHERE Stage = 7 |
Translate the following into a SQL query | Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni? | SELECT Winner FROM table WHERE Trofeo Fast Team = metauro mobili-pinarello AND General classification = giuseppe saronni |
Translate the following into a SQL query | What's the report for the mosport park circuit? | SELECT Report FROM table WHERE Circuit = mosport park |
Translate the following into a SQL query | Who has the pole position for the nürburgring circuit? | SELECT Pole position FROM table WHERE Circuit = nürburgring |
Translate the following into a SQL query | When was pedro rodríguez the winning driver? | SELECT Date FROM table WHERE Winning driver = pedro rodríguez |
Translate the following into a SQL query | What's the report for the mexican grand prix? | SELECT Report FROM table WHERE Race = mexican grand prix |
Translate the following into a SQL query | What is nigel mansell's time/retired? | SELECT Time/Retired FROM table WHERE Driver = nigel mansell |
Translate the following into a SQL query | What team was the away team at Junction Oval? | SELECT Away team FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the home team when the visiting team is the Mavericks? | SELECT Home FROM table WHERE Visitor = mavericks |
Translate the following into a SQL query | What was the average year for a coin that had a mintage smaller than 10,000? | SELECT AVG Year FROM table WHERE Mintage < 10,000 |
Translate the following into a SQL query | What is he Atsushi Aoki when the Black Tiger V is ibushi (16:35)? | SELECT Atsushi Aoki FROM table WHERE Black Tiger V = ibushi (16:35) |
Translate the following into a SQL query | What is the Akira when Tiger Mask IV is Akira (10:05)? | SELECT Akira FROM table WHERE Tiger Mask IV = akira (10:05) |
Translate the following into a SQL query | What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? | SELECT Akira FROM table WHERE Milano Collection A.T. = milano (10:29) |
Translate the following into a SQL query | What is Block A when Prince Devitt is Devitt (9:53)? | SELECT Block A FROM table WHERE Prince Devitt = devitt (9:53) |
Translate the following into a SQL query | What is the Akira when Prince Devitt is Devitt (7:20)? | SELECT Akira FROM table WHERE Prince Devitt = devitt (7:20) |
Translate the following into a SQL query | What is the Prince Devitt when Block A is Yamato? | SELECT Prince Devitt FROM table WHERE Block A = yamato |
Translate the following into a SQL query | I want the league one/second division for club of millwall | SELECT League One/Second Division FROM table WHERE Club = millwall |
Translate the following into a SQL query | What was the score of the home team when they played carlton? | SELECT Home team score FROM table WHERE Away team = carlton |
Translate the following into a SQL query | How many points did the visiting team score at south melbourne? | SELECT Away team score FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | Which Date has a Crowd that is larger than 18,000 with a Home team score of 14.13 (97)? | SELECT Date FROM table WHERE Crowd > 18,000 AND Home team score = 14.13 (97) |
Translate the following into a SQL query | Which Date has an Away team score of 11.7 (73)? | SELECT Date FROM table WHERE Away team score = 11.7 (73) |
Translate the following into a SQL query | What is the total Crowd number for the Away team of Hawthorn? | SELECT COUNT Crowd FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | What did the team score when playing against home in geelong? | SELECT Home team score FROM table WHERE Away team = geelong |
Translate the following into a SQL query | How many people watched when st kilda played at home? | SELECT Crowd FROM table WHERE Home team = st kilda |
Translate the following into a SQL query | Who was the away team when the crowd was larger than 41,451? | SELECT Away team FROM table WHERE Crowd > 41,451 |
Translate the following into a SQL query | Who was the home team when the venue was Junction Oval? | SELECT Home team FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the average crowd size when the home team score was 8.11 (59)? | SELECT AVG Crowd FROM table WHERE Home team score = 8.11 (59) |
Translate the following into a SQL query | I want to know the time which has attendance of 66,772 | SELECT Time FROM table WHERE Attendance = 66,772 |
Translate the following into a SQL query | Name the opponent that has attendance of 76,965 | SELECT Opponent FROM table WHERE Attendance = 76,965 |
Translate the following into a SQL query | Tell me the week that has an attendance of 78,301 | SELECT Week FROM table WHERE Attendance = 78,301 |
Translate the following into a SQL query | I want to know the opponent that ha a week of 3 | SELECT Opponent FROM table WHERE Week = 3 |
Translate the following into a SQL query | How many were in attendance on 14 April 2007? | SELECT MIN Attendance FROM table WHERE Date = 14 april 2007 |
Translate the following into a SQL query | What is the venue where there are more than 52,302 in attendance and the result is 2-0? | SELECT Venue FROM table WHERE Attendance > 52,302 AND Result = 2-0 |
Translate the following into a SQL query | What is catcher Josh Donaldson's pick number? | SELECT Pick FROM table WHERE Position = catcher AND Player = josh donaldson |
Translate the following into a SQL query | Which players plays at Akron College? | SELECT Player FROM table WHERE College = akron |
Translate the following into a SQL query | Which college does the player jon hameister-ries play for? | SELECT College FROM table WHERE Player = jon hameister-ries |
Translate the following into a SQL query | What is the nationality of the player with a pick larger than 21 from the College of the Sequoias? | SELECT Nationality FROM table WHERE Pick > 21 AND College/High School/Club = college of the sequoias |
Translate the following into a SQL query | I want the result for goals which has goals of deacon 6/6 | SELECT Result FROM table WHERE Goals = deacon 6/6 |
Translate the following into a SQL query | Which competition was at wilderspool? | SELECT Competition FROM table WHERE Venue = wilderspool |
Translate the following into a SQL query | Tell me the venue for score of 82-0 | SELECT Venue FROM table WHERE Score = 82-0 |
Translate the following into a SQL query | I want the date with the venue of mcalpine stadium | SELECT Date FROM table WHERE Venue = mcalpine stadium |
Translate the following into a SQL query | Tell me the goals for score of 38-28 | SELECT Goals FROM table WHERE Score = 38-28 |
Translate the following into a SQL query | Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67 | SELECT MIN Grid FROM table WHERE Points > 11 AND Driver = sébastien bourdais AND Laps < 67 |
Translate the following into a SQL query | Name the most laps for grid more than 9 and the driver being jan heylen | SELECT MAX Laps FROM table WHERE Grid > 9 AND Driver = jan heylen |
Translate the following into a SQL query | How many voted in queens for the canddiate with all write-in votes and 26 staten island votes? | SELECT Queens FROM table WHERE 2009 Democratic primary = all write-in votes AND Staten Island = 26 |
Translate the following into a SQL query | What is the grid when the laps were 24? | SELECT COUNT Grid FROM table WHERE Laps = 24 |
Translate the following into a SQL query | Who constructed Chris Amon's car? | SELECT Constructor FROM table WHERE Driver = chris amon |
Translate the following into a SQL query | What was Jack Brabham's highest grid when his laps were more than 90? | SELECT MAX Grid FROM table WHERE Driver = jack brabham AND Laps > 90 |
Translate the following into a SQL query | What was CHris Amon's highest lap when his grid was 4? | SELECT MAX Laps FROM table WHERE Driver = chris amon AND Grid < 4 |
Translate the following into a SQL query | Where did Hawthorn have their away match against North Melbourne? | SELECT Venue FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | What was the home team score at Richmond's away game against Footscray? | SELECT Home team score FROM table WHERE Away team = richmond |
Translate the following into a SQL query | On what date did the away team score 14.4 (88)? | SELECT Date FROM table WHERE Away team score = 14.4 (88) |
Translate the following into a SQL query | What is the size of the crowd for the home team of Footscray? | SELECT Crowd FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What is the Time/Retired for the car going 42 Laps? | SELECT Time/Retired FROM table WHERE Laps = 42 |
Translate the following into a SQL query | How many laps for alexander wurz with a grid under 12? | SELECT COUNT Laps FROM table WHERE Grid < 12 AND Driver = alexander wurz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.