instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which was the lowest overall that Wisconsin's team managed? | SELECT MIN Overall FROM table WHERE School/Club Team = wisconsin |
Translate the following into a SQL query | Which team was Roy de Walt a player on? | SELECT School/Club Team FROM table WHERE Player = roy de walt |
Translate the following into a SQL query | In which round did Paul McDonald have an overall greater than 109? | SELECT MAX Round FROM table WHERE Player = paul mcdonald AND Overall > 109 |
Translate the following into a SQL query | What is the total overall in round 1, in which Charles White was a player? | SELECT SUM Overall FROM table WHERE Player = charles white AND Round < 1 |
Translate the following into a SQL query | What is the name of a running back in a round before round 3? | SELECT Player FROM table WHERE Round < 3 AND Position = running back |
Translate the following into a SQL query | What is the win/loss percentage with wins of 63 and losses smaller than 76? | SELECT W-L % FROM table WHERE Wins = 63 AND Losses < 76 |
Translate the following into a SQL query | What is the away team score when the home team is Geelong? | SELECT Away team score FROM table WHERE Home team = geelong |
Translate the following into a SQL query | What was the highest order amount in weeks prier to 15 and a major less than 1? | SELECT MAX Order FROM table WHERE Weeks < 15 AND Majors < 1 |
Translate the following into a SQL query | What is the position of the player from Temple? | SELECT Position FROM table WHERE School/Country = temple |
Translate the following into a SQL query | What is the most recent year from Creighton? | SELECT MAX From FROM table WHERE School/Country = creighton |
Translate the following into a SQL query | What is the most recent year with a United States nationality and the school Hamline? | SELECT MAX From FROM table WHERE Nationality = united states AND School/Country = hamline |
Translate the following into a SQL query | Which player is from 2012 and North Carolina? | SELECT Player FROM table WHERE From = 2012 AND School/Country = north carolina |
Translate the following into a SQL query | Which player is associated with Temple? | SELECT Player FROM table WHERE School/Country = temple |
Translate the following into a SQL query | Which nationality is associated with Temple? | SELECT Nationality FROM table WHERE School/Country = temple |
Translate the following into a SQL query | Which player was a forward/center from 1960? | SELECT Player FROM table WHERE From = 1960 AND Position = forward/center |
Translate the following into a SQL query | How many goals were achieved when Chievo was the club and the debut year was before 2002? | SELECT COUNT Goals FROM table WHERE Current Club = chievo AND Debut Year < 2002 |
Translate the following into a SQL query | How many goals occurred with Diego Milito in a debut year later than 2008? | SELECT COUNT Goals FROM table WHERE Name = diego milito AND Debut Year > 2008 |
Translate the following into a SQL query | Which value for Apps is associated with the all-time rank of 53? | SELECT Apps FROM table WHERE All-time Rank = 53 |
Translate the following into a SQL query | Who is the home team at the Punt Road Oval? | SELECT Home team score FROM table WHERE Venue = punt road oval |
Translate the following into a SQL query | Who is the away team at Windy Hill? | SELECT Away team FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | What is the date of the game that had a crowd larger than 25,000? | SELECT Date FROM table WHERE Crowd > 25,000 |
Translate the following into a SQL query | What was South Melbourne's score as the home team? | SELECT Home team score FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | Who was the away team when the home team scored 13.12 (90)? | SELECT Away team FROM table WHERE Home team score = 13.12 (90) |
Translate the following into a SQL query | What was the date of the game where the home team scored 7.7 (49)? | SELECT Date FROM table WHERE Home team score = 7.7 (49) |
Translate the following into a SQL query | What was the largest crowd of a game where Collingwood was the away team? | SELECT MAX Crowd FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)? | SELECT MIN Round FROM table WHERE Method = decision (unanimous) AND Opponent = john howard |
Translate the following into a SQL query | What's the time for the match with a record of 2-0? | SELECT Time FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | Where was the match with a method of submission (standing guillotine choke)? | SELECT Location FROM table WHERE Method = submission (standing guillotine choke) |
Translate the following into a SQL query | What language is the moviein that is on UMP movies network through Sky service? | SELECT Language FROM table WHERE Genre = movies AND Service = sky AND Network = ump movies |
Translate the following into a SQL query | What language is the movie in that is on SAB network through Sky service? | SELECT Language FROM table WHERE Network = sab AND Service = sky |
Translate the following into a SQL query | What was the overall pick for the player who was a guard and had a round less than 9? | SELECT AVG Overall FROM table WHERE Position = guard AND Round < 9 |
Translate the following into a SQL query | What was the lowest round number that had an overall pick up 92? | SELECT MIN Round FROM table WHERE Overall = 92 |
Translate the following into a SQL query | What open source movie has a CC License of by-nc-sa 1.0? | SELECT Open Source Movie FROM table WHERE CC License = by-nc-sa 1.0 |
Translate the following into a SQL query | Which venue had the result 7-1? | SELECT Venue FROM table WHERE Result = 7-1 |
Translate the following into a SQL query | What date was the Competition of rothmans cup? | SELECT Date FROM table WHERE Competition = rothmans cup |
Translate the following into a SQL query | What was the result of the Competition of friendly? | SELECT Result FROM table WHERE Competition = friendly |
Translate the following into a SQL query | Which competition was played on 8 June 2005? | SELECT Competition FROM table WHERE Date = 8 june 2005 |
Translate the following into a SQL query | Which competition had the score 1-0? | SELECT Competition FROM table WHERE Score = 1-0 |
Translate the following into a SQL query | Timsah arena is in what country? | SELECT Country FROM table WHERE Stadium = timsah arena |
Translate the following into a SQL query | What country is Relax-Gam from? | SELECT Country FROM table WHERE Team = relax-gam |
Translate the following into a SQL query | Who is Gerolsteiner's cyclist? | SELECT Cyclist FROM table WHERE Team = gerolsteiner |
Translate the following into a SQL query | What is Davide Rebellin' UCI ProTour Points? | SELECT UCI ProTour Points FROM table WHERE Cyclist = davide rebellin |
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 | Where did Footscray play as the away team? | SELECT Venue FROM table WHERE Away team = footscray |
Translate the following into a SQL query | What was the away team's score in the match at Lake Oval? | SELECT Away team score FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What was the sum of the crowds that watched Fitzroy play as the away team? | SELECT SUM Crowd FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What is the sum of rank with years 1996–2012 and apps greater than 340? | SELECT SUM Rank FROM table WHERE Years = 1996–2012 AND Apps > 340 |
Translate the following into a SQL query | Which player held the position of guard prior to 1982? | SELECT Player FROM table WHERE From < 1982 AND Position = guard |
Translate the following into a SQL query | What was the away team that faced Carlton? | SELECT Away team FROM table WHERE Home team = carlton |
Translate the following into a SQL query | What was the largest crowd to see the away team score 10.6 (66)? | SELECT MAX Crowd FROM table WHERE Away team score = 10.6 (66) |
Translate the following into a SQL query | What is the total crowd size that saw Geelong play as the away team? | SELECT COUNT Crowd FROM table WHERE Away team = geelong |
Translate the following into a SQL query | What away team saw their opponents score 4.5 (29)? | SELECT Away team FROM table WHERE Home team score = 4.5 (29) |
Translate the following into a SQL query | How many wins did Hobbs had a 15th finish at poles 0? | SELECT Wins FROM table WHERE Poles = 0 AND Final Placing = 15th |
Translate the following into a SQL query | What are the points for the GP3 series with 2 podiums? | SELECT Points FROM table WHERE Series = gp3 series AND Podiums = 2 |
Translate the following into a SQL query | Which races have #2 podiums? | SELECT Races FROM table WHERE Podiums = 2 |
Translate the following into a SQL query | What was the 2009 final placing? | SELECT Final Placing FROM table WHERE Season = 2009 |
Translate the following into a SQL query | What was the points with 7 races? | SELECT Points FROM table WHERE Races = 7 |
Translate the following into a SQL query | What venue had south melbourne as the home team? | SELECT Venue FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What venue had collingwood as the away team? | SELECT Venue FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | What was the home team score when south melbourne was the home team? | SELECT Home team score FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What day was south melbourne the away squad? | SELECT Date FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | What position did he finish after 1998 and a note time of 2:31:40? | SELECT Position FROM table WHERE Year > 1998 AND Notes = 2:31:40 |
Translate the following into a SQL query | What venue featured a notes of 2:38:44? | SELECT Venue FROM table WHERE Notes = 2:38:44 |
Translate the following into a SQL query | What date in a week later than 8 had an attendance of more than 57,893, and a Opponent of at atlanta falcons? | SELECT Date FROM table WHERE Week > 8 AND Attendance > 57,893 AND Opponent = at atlanta falcons |
Translate the following into a SQL query | Who did they play against in a week after 6 and the result was l 30–24? | SELECT Opponent FROM table WHERE Week > 6 AND Result = l 30–24 |
Translate the following into a SQL query | What opponent has a Result of w 31–0? | SELECT Opponent FROM table WHERE Result = w 31–0 |
Translate the following into a SQL query | During which round was the final cornerback drafted for the New England Patriots in 2005? | SELECT MAX Round FROM table WHERE Position = cornerback |
Translate the following into a SQL query | What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15? | SELECT MIN Best score FROM table WHERE Worst dancer = leeza gibbons AND Worst score < 15 |
Translate the following into a SQL query | What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30? | SELECT SUM Worst score FROM table WHERE Best dancer = apolo anton ohno AND Best score > 30 |
Translate the following into a SQL query | What is the biggest crowd when carlton is the away squad? | SELECT MAX Crowd FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What is the sum of crowd(s) when richmond is the away squad? | SELECT SUM Crowd FROM table WHERE Away team = richmond |
Translate the following into a SQL query | What is the home team's score in the game played at glenferrie oval? | SELECT Home team score FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | What was the result of the event against Nate Mohr? | SELECT Res. FROM table WHERE Opponent = nate mohr |
Translate the following into a SQL query | When the VFL played Junction Oval what was the home team score? | SELECT Home team score FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What was away team Geelong's crowd numbers? | SELECT Crowd FROM table WHERE Away team = geelong |
Translate the following into a SQL query | What date did the home team score 12.7 (79)? | SELECT Date FROM table WHERE Home team score = 12.7 (79) |
Translate the following into a SQL query | What is the date they played against fitzroy? | SELECT Date FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What was the team they played when the home team scored 6.10 (46)? | SELECT Away team FROM table WHERE Home team score = 6.10 (46) |
Translate the following into a SQL query | How large was the crowd when they played at princes park? | SELECT SUM Crowd FROM table WHERE Venue = princes park |
Translate the following into a SQL query | What was the away team that scored 12.11 (83)? | SELECT Away team FROM table WHERE Away team score = 12.11 (83) |
Translate the following into a SQL query | What day does the home team score 10.10 (70)? | SELECT Date FROM table WHERE Home team score = 10.10 (70) |
Translate the following into a SQL query | Who is 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 away team's score at princes park? | SELECT Away team score FROM table WHERE Venue = princes park |
Translate the following into a SQL query | What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had? | SELECT MAX % Internet users FROM table WHERE % growth (2000–2008) = 1622 |
Translate the following into a SQL query | Who was the home team when Footscray was the away team? | SELECT Home team FROM table WHERE Away team = footscray |
Translate the following into a SQL query | Who was the away team when the home team scored 20.15 (135)? | SELECT Away team score FROM table WHERE Home team score = 20.15 (135) |
Translate the following into a SQL query | Who was the home team when the away team scored 5.10 (40)? | SELECT Home team FROM table WHERE Away team score = 5.10 (40) |
Translate the following into a SQL query | What was the home team's score at the game played at Punt Road Oval with a crowd over 20,000? | SELECT Home team score FROM table WHERE Crowd > 20,000 AND Venue = punt road oval |
Translate the following into a SQL query | What day did the team play the buffalo bills? | SELECT Date FROM table WHERE Opponent = buffalo bills |
Translate the following into a SQL query | What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961? | SELECT BB Pop FROM table WHERE RIAA = g AND Year < 1961 |
Translate the following into a SQL query | Which player has an Other of 3 (15)? | SELECT Name FROM table WHERE Other = 3 (15) |
Translate the following into a SQL query | What Name has a Time of 01:17:01? | SELECT Name FROM table WHERE Time = 01:17:01 |
Translate the following into a SQL query | What is the Magnitude on the Date May 28, 2004? | SELECT Magnitude FROM table WHERE Date = may 28, 2004 |
Translate the following into a SQL query | What Name has a Time of 01:56:52? | SELECT Name FROM table WHERE Time = 01:56:52 |
Translate the following into a SQL query | What number of Fatalities did the Epicenter Māzandarān have? | SELECT Fatalities FROM table WHERE Epicenter = māzandarān |
Translate the following into a SQL query | What number of Fatalties is associated with the Time of 12:38:46? | SELECT Fatalities FROM table WHERE Time = 12:38:46 |
Translate the following into a SQL query | What is the Time when the Epicenter was Bam? | SELECT Time FROM table WHERE Epicenter = bam |
Translate the following into a SQL query | Who did Clinton appoint as a Chief Judge? | SELECT Chief Judge FROM table WHERE Appointed by = clinton |
Translate the following into a SQL query | What was the smallest crowd for a Carlton away game? | SELECT MIN Crowd FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What is the result when the time is 1:13? | SELECT Res. FROM table WHERE Time = 1:13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.