instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What is the final score when the visiting team is the Washington Redskins and the date is September 4?
|
SELECT Final Score FROM table WHERE Visiting Team = washington redskins AND Date = september 4
|
Translate the following into a SQL query
|
What is the stadium when the date of the game is December 14?
|
SELECT Stadium FROM table WHERE Date = december 14
|
Translate the following into a SQL query
|
What is the name of the stadium when the visiting team is the Denver Broncos?
|
SELECT Stadium FROM table WHERE Visiting Team = denver broncos
|
Translate the following into a SQL query
|
What was the smallest crowd when Melbourne was the away team?
|
SELECT MIN Crowd FROM table WHERE Away team = melbourne
|
Translate the following into a SQL query
|
What was the largest crowd when the away team scored 2.19 (31)?
|
SELECT MAX Crowd FROM table WHERE Away team score = 2.19 (31)
|
Translate the following into a SQL query
|
What is the Away when the Club is Neath?
|
SELECT Away FROM table WHERE Club = neath
|
Translate the following into a SQL query
|
What country has area of 7,914 m²?
|
SELECT Country FROM table WHERE Area in m² = 7,914
|
Translate the following into a SQL query
|
What city was completed in 1910-1978?
|
SELECT City FROM table WHERE Completion = 1910-1978
|
Translate the following into a SQL query
|
What is the country with area of 3,170 in m²?
|
SELECT Country FROM table WHERE Area in m² = 3,170
|
Translate the following into a SQL query
|
I want the time/retired for grid of 17
|
SELECT Time/Retired FROM table WHERE Grid = 17
|
Translate the following into a SQL query
|
Name the opponent when the field is mitchel athletic complex
|
SELECT Opponent FROM table WHERE Field = mitchel athletic complex
|
Translate the following into a SQL query
|
Name the date for when the home/away is away and the opponent is bayhawks
|
SELECT Date FROM table WHERE Home/Away = away AND Opponent = bayhawks
|
Translate the following into a SQL query
|
Say the field with a result of w 12-11
|
SELECT Field FROM table WHERE Result = w 12-11
|
Translate the following into a SQL query
|
Name the opponent when the result is w 16-15 and has home/away of home
|
SELECT Opponent FROM table WHERE Home/Away = home AND Result = w 16-15
|
Translate the following into a SQL query
|
Name the opponent when the resultwas w 12-11
|
SELECT Opponent FROM table WHERE Result = w 12-11
|
Translate the following into a SQL query
|
Name the opponent which has a home/away of home and date of july 27
|
SELECT Opponent FROM table WHERE Home/Away = home AND Date = july 27
|
Translate the following into a SQL query
|
I want to know the home team for mcg venue
|
SELECT Home team FROM table WHERE Venue = mcg
|
Translate the following into a SQL query
|
Where did Konchesky move to?
|
SELECT Moving to FROM table WHERE Name = konchesky
|
Translate the following into a SQL query
|
Who is Essendon's home team?
|
SELECT MIN Crowd FROM table WHERE Home team = essendon
|
Translate the following into a SQL query
|
What is the away team score for North Melbourne's home team?
|
SELECT Away team score FROM table WHERE Away team = north melbourne
|
Translate the following into a SQL query
|
What is Geelong's home team score?
|
SELECT Home team score FROM table WHERE Home team = geelong
|
Translate the following into a SQL query
|
What is the home team score for St Kilda's home team?
|
SELECT Home team score FROM table WHERE Home team = st kilda
|
Translate the following into a SQL query
|
Who was #16 rank constructor with a grid of more than 1?
|
SELECT Constructor FROM table WHERE Grid > 1 AND Rank = 16
|
Translate the following into a SQL query
|
Who constructed Joe James car when his rank was more than 10?
|
SELECT Constructor FROM table WHERE Rank > 10 AND Driver = joe james
|
Translate the following into a SQL query
|
What was the rank of the car who had more than 182 laps, gris less than 3, with a qual time of more than 134.14 and a time/retired of +14:21.72?
|
SELECT MIN Rank FROM table WHERE Laps > 182 AND Qual > 134.14 AND Time/Retired = +14:21.72 AND Grid < 3
|
Translate the following into a SQL query
|
How many laps did Chuck Stevenson have with a grid of less than 11?
|
SELECT COUNT Laps FROM table WHERE Driver = chuck stevenson AND Grid < 11
|
Translate the following into a SQL query
|
Which Week has an Opponent of san francisco 49ers?
|
SELECT MAX Week FROM table WHERE Opponent = san francisco 49ers
|
Translate the following into a SQL query
|
What is the snatch for the Clean & jerk of 145.0, and a Bodyweight larger than 76.22?
|
SELECT AVG Snatch FROM table WHERE Clean & jerk = 145.0 AND Bodyweight > 76.22
|
Translate the following into a SQL query
|
What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?
|
SELECT Clean & jerk FROM table WHERE Snatch < 150 AND Bodyweight = 76.18
|
Translate the following into a SQL query
|
What is the least Bodyweight for the Clean & jerk of 145.0, and a Snatch smaller than 122.5?
|
SELECT MIN Bodyweight FROM table WHERE Clean & jerk = 145.0 AND Snatch < 122.5
|
Translate the following into a SQL query
|
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
|
SELECT Clean & jerk FROM table WHERE Bodyweight < 76.55 AND Total (kg) = –
|
Translate the following into a SQL query
|
What was the latest year that resulted in won?
|
SELECT MAX Year FROM table WHERE Result = won
|
Translate the following into a SQL query
|
Which position had a pick of 50?
|
SELECT Position FROM table WHERE Pick = 50
|
Translate the following into a SQL query
|
Which team had a 2008-3 2008 draft?
|
SELECT School/Club Team FROM table WHERE Draft = 2008-3 2008
|
Translate the following into a SQL query
|
What is the average pick after Round 2?
|
SELECT AVG Pick FROM table WHERE Round > 2
|
Translate the following into a SQL query
|
What is the date of the game with a loss result in the Europe/Africa Group I, Round Robin competition in Murcia (esp) after 1998?
|
SELECT Date FROM table WHERE Result = loss AND Competition = europe/africa group i, round robin AND Location = murcia (esp) AND Year > 1998
|
Translate the following into a SQL query
|
What is the result of the Europe/Africa Group I, play-off competition?
|
SELECT Result FROM table WHERE Competition = europe/africa group i, play-off
|
Translate the following into a SQL query
|
What is the result of the europe/africa group i, round robin game in Murcia (esp) before 1999?
|
SELECT Result FROM table WHERE Location = murcia (esp) AND Year < 1999 AND Competition = europe/africa group i, round robin
|
Translate the following into a SQL query
|
What position did the person from Clemson school fill?
|
SELECT Position FROM table WHERE School = clemson
|
Translate the following into a SQL query
|
What was Rudy Harris' pick number in round 4?
|
SELECT MAX Pick FROM table WHERE Round = round 4 AND Player = rudy harris
|
Translate the following into a SQL query
|
What was the pick number for the kicker in round 8?
|
SELECT COUNT Pick FROM table WHERE Round = round 8 AND Position = kicker
|
Translate the following into a SQL query
|
What is the result from 2013?
|
SELECT Result FROM table WHERE Year = 2013
|
Translate the following into a SQL query
|
Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?
|
SELECT Finals MVP FROM table WHERE Eastern champion = detroit shock AND Western champion = sacramento monarchs
|
Translate the following into a SQL query
|
What is the score from the Sacramento monarchs from the west and the Connecticut sun from the east?
|
SELECT Result FROM table WHERE Western champion = sacramento monarchs AND Eastern champion = connecticut sun
|
Translate the following into a SQL query
|
Who is the nominee for Best Lead Actress?
|
SELECT Nominee FROM table WHERE Category = best lead actress
|
Translate the following into a SQL query
|
In what category is Carmen Salinas nominated?
|
SELECT Category FROM table WHERE Nominee = carmen salinas
|
Translate the following into a SQL query
|
What year was there a category of Best Supporting Actress?
|
SELECT SUM Year FROM table WHERE Category = best supporting actress
|
Translate the following into a SQL query
|
What Londongborough has a Dialcode of 01992?
|
SELECT Londonborough FROM table WHERE Dialcode = 01992
|
Translate the following into a SQL query
|
What is the Dialcode of whitechapel?
|
SELECT Dialcode FROM table WHERE Location = whitechapel
|
Translate the following into a SQL query
|
What is the name of the Post code district that is in Eden Park?
|
SELECT Postcodedistrict FROM table WHERE Location = eden park
|
Translate the following into a SQL query
|
Which Post Town has a Dialcode of 020 and is located in Hook?
|
SELECT Post town FROM table WHERE Dialcode = 020 AND Location = hook
|
Translate the following into a SQL query
|
What Dialcode has a location of Edmonton?
|
SELECT Dialcode FROM table WHERE Location = edmonton
|
Translate the following into a SQL query
|
Which average rank has an Earning amount that is less than $224,589?
|
SELECT AVG Rank FROM table WHERE Earnings( $ ) < 224,589
|
Translate the following into a SQL query
|
Which country has a rank of 2?
|
SELECT Country FROM table WHERE Rank = 2
|
Translate the following into a SQL query
|
What is the total number on roll for Shelly Park school?
|
SELECT COUNT Roll FROM table WHERE Name = shelly park school
|
Translate the following into a SQL query
|
What week was the record 0-5?
|
SELECT Week FROM table WHERE Record = 0-5
|
Translate the following into a SQL query
|
What was the result of the game with the attendance of 45,320?
|
SELECT Result FROM table WHERE Attendance = 45,320
|
Translate the following into a SQL query
|
What time was the kickoff on September 15, 1985?
|
SELECT Kickoff [a ] FROM table WHERE Date = september 15, 1985
|
Translate the following into a SQL query
|
Which Player had a Long of 5 and Yards of 6?
|
SELECT Player FROM table WHERE Long = 5 AND Yards = 6
|
Translate the following into a SQL query
|
What was the total number of TD's for Player Lashaun Ward while also having a Long of 2?
|
SELECT COUNT TD's FROM table WHERE Long = 2 AND Player = lashaun ward
|
Translate the following into a SQL query
|
How many Yards did Player Rob Turner collect?
|
SELECT Yards FROM table WHERE Player = rob turner
|
Translate the following into a SQL query
|
Who is the home team on March 5?
|
SELECT Home FROM table WHERE Date = march 5
|
Translate the following into a SQL query
|
Who is the visitor on March 24?
|
SELECT Visitor FROM table WHERE Date = march 24
|
Translate the following into a SQL query
|
Who was the home team on March 24?
|
SELECT Home FROM table WHERE Date = march 24
|
Translate the following into a SQL query
|
What was the total crowd at the game where the home team score was 8.21 (69)
|
SELECT COUNT Crowd FROM table WHERE Home team score = 8.21 (69)
|
Translate the following into a SQL query
|
What date did a home team score 16.15 (111)
|
SELECT Date FROM table WHERE Home team score = 16.15 (111)
|
Translate the following into a SQL query
|
what was the total crowd in the game where the home teams score was 18.12 (120)
|
SELECT MIN Crowd FROM table WHERE Home team score = 18.12 (120)
|
Translate the following into a SQL query
|
On which date was the game where the home teams score was 22.15 (147), and the away teams score was 9.8 (62)
|
SELECT Date FROM table WHERE Home team score = 22.15 (147) AND Away team score = 9.8 (62)
|
Translate the following into a SQL query
|
what is the lowest solo when assisted is less than 10, td's is 0, sack is less than 3 and yards is more than 5?
|
SELECT MIN Solo FROM table WHERE Assisted < 10 AND TD's = 0 AND Sack < 3 AND Yards > 5
|
Translate the following into a SQL query
|
what is the assisted when the solo is 6 and sack is less than 5?
|
SELECT Assisted FROM table WHERE Solo = 6 AND Sack < 5
|
Translate the following into a SQL query
|
what is the highest td's when the sack is less than 13, tackles is less than 8 and yards is less than 0?
|
SELECT MAX TD's FROM table WHERE Sack < 13 AND Tackles < 8 AND Yards < 0
|
Translate the following into a SQL query
|
How many losses had a played number that was more than 34?
|
SELECT COUNT Losses FROM table WHERE Played > 34
|
Translate the following into a SQL query
|
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
|
SELECT MAX Goals against FROM table WHERE Wins = 19 AND Goals for > 53
|
Translate the following into a SQL query
|
Which mean number of losses had a played number that was bigger than 34?
|
SELECT AVG Losses FROM table WHERE Played > 34
|
Translate the following into a SQL query
|
Which lowest goals for number had a played number of less than 34?
|
SELECT MIN Goals for FROM table WHERE Played < 34
|
Translate the following into a SQL query
|
Which Played number had a goal difference of more than 0 when the club was Valencia CF?
|
SELECT COUNT Played FROM table WHERE Goal Difference > 0 AND Club = valencia cf
|
Translate the following into a SQL query
|
What player has a college named san sebastian?
|
SELECT Player FROM table WHERE College = san sebastian
|
Translate the following into a SQL query
|
What college has pick 45
|
SELECT College FROM table WHERE Pick = 45
|
Translate the following into a SQL query
|
Name the air date for the seasons before 14 and series less than 183 with production code more than 709
|
SELECT Original air date FROM table WHERE Season # < 14 AND Production code > 709 AND Series # < 183
|
Translate the following into a SQL query
|
Tell me the title for the production code less than 706 with series number more than 175
|
SELECT Title FROM table WHERE Series # > 175 AND Production code < 706
|
Translate the following into a SQL query
|
Name the least series number with production code of 717 and season number less than 17
|
SELECT MIN Series # FROM table WHERE Production code = 717 AND Season # < 17
|
Translate the following into a SQL query
|
Which Can Yayınları has a Güzelçamlı’nin Kayıp Panteri of çevreci peri?
|
SELECT Can Yayınları FROM table WHERE Güzelçamlı’nin Kayıp Panteri = çevreci peri
|
Translate the following into a SQL query
|
Which 2005 has a Güzelçamlı’s Lost Panther of green fairy?
|
SELECT 2005 FROM table WHERE Güzelçamlı’s Lost Panther = green fairy
|
Translate the following into a SQL query
|
Which 2005 has a Güzelçamlı’s Lost Panther of the muse?
|
SELECT MAX 2005 FROM table WHERE Güzelçamlı’s Lost Panther = the muse
|
Translate the following into a SQL query
|
what is the grid when the driver is pierre levegh?
|
SELECT Grid FROM table WHERE Driver = pierre levegh
|
Translate the following into a SQL query
|
what is the grid when the laps is 2?
|
SELECT Grid FROM table WHERE Laps = 2
|
Translate the following into a SQL query
|
what is the time/retired when the driver is toulo de graffenried?
|
SELECT Time/retired FROM table WHERE Driver = toulo de graffenried
|
Translate the following into a SQL query
|
what is the time/retired when the grid is less than 13, the constructor is alfa romeo and the laps is more than 12?
|
SELECT Time/retired FROM table WHERE Grid < 13 AND Constructor = alfa romeo AND Laps > 12
|
Translate the following into a SQL query
|
what is the grid when the laps is more than 20?
|
SELECT SUM Grid FROM table WHERE Laps > 20
|
Translate the following into a SQL query
|
What is the D 49 √ when D 47 √ is d 67 +?
|
SELECT D 49 √ FROM table WHERE D 47 √ = d 67 +
|
Translate the following into a SQL query
|
What is the number for D 44 √ when D 47 √ is r 7?
|
SELECT D 44 √ FROM table WHERE D 47 √ = r 7
|
Translate the following into a SQL query
|
What is the D 42 √ number when the D 45 √ is r 16?
|
SELECT D 42 √ FROM table WHERE D 45 √ = r 16
|
Translate the following into a SQL query
|
What is the D 49 √ number when the D 41 √ is d 61 √?
|
SELECT D 49 √ FROM table WHERE D 41 √ = d 61 √
|
Translate the following into a SQL query
|
What is the D 42 √ figure when D 46 √ is r 6?
|
SELECT D 42 √ FROM table WHERE D 46 √ = r 6
|
Translate the following into a SQL query
|
What is the D 50 √ when the D 47 √ is r 27 √?
|
SELECT D 50 √ FROM table WHERE D 47 √ = r 27 √
|
Translate the following into a SQL query
|
Tell me the player for ballarat football league
|
SELECT Player FROM table WHERE Competition = ballarat football league
|
Translate the following into a SQL query
|
Tell me the player for east perth
|
SELECT Player FROM table WHERE Team = east perth
|
Translate the following into a SQL query
|
Tell met he score for team of waaia
|
SELECT Score FROM table WHERE Team = waaia
|
Translate the following into a SQL query
|
Tell me the team for victorian football league
|
SELECT Team FROM table WHERE Competition = victorian football league
|
Translate the following into a SQL query
|
What round was the debut of Scott Tunbridge?
|
SELECT Debut FROM table WHERE Name = scott tunbridge
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.