instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What school does Dell Curry play for?
|
SELECT School/Club Team FROM table WHERE Player = dell curry
|
Translate the following into a SQL query
|
What school does John Crotty play for?
|
SELECT School/Club Team FROM table WHERE Player = john crotty
|
Translate the following into a SQL query
|
What school does Wayne Cooper play for?
|
SELECT School/Club Team FROM table WHERE Player = wayne cooper
|
Translate the following into a SQL query
|
Who has greater than 8 Long and a 73 Yards?
|
SELECT Player FROM table WHERE Long > 8 AND Yards = 73
|
Translate the following into a SQL query
|
Who has a highest Long with 26 Yards and less than 9 Car?
|
SELECT MAX Long FROM table WHERE Yards = 26 AND Car. < 9
|
Translate the following into a SQL query
|
Who has the highest Long with 59 Car?
|
SELECT MAX Long FROM table WHERE Car. = 59
|
Translate the following into a SQL query
|
Tell me the team with a rank less than 13 and points more than 79 and previous rank of 4
|
SELECT Team FROM table WHERE Rank < 13 AND Points > 79 AND Previous Rank = 4
|
Translate the following into a SQL query
|
I want to know the sum of points with a previous rank of 3
|
SELECT SUM Points FROM table WHERE Previous Rank = 3
|
Translate the following into a SQL query
|
Tell me the previous rank for italy with points more than 100
|
SELECT Previous Rank FROM table WHERE Nationality = italy AND Points > 100
|
Translate the following into a SQL query
|
Tell me the sum of rank for australia when points are less than 79
|
SELECT SUM Rank FROM table WHERE Nationality = australia AND Points < 79
|
Translate the following into a SQL query
|
How many ships for the nation with grand total of 20?
|
SELECT s Motor ship / s Naval trawler FROM table WHERE Grand Total = 20
|
Translate the following into a SQL query
|
How many escorts does the nation with 6 cruisers have?
|
SELECT Escorts FROM table WHERE Cruisers = 6
|
Translate the following into a SQL query
|
Which address has 44 floors?
|
SELECT Street address FROM table WHERE Floors = 44
|
Translate the following into a SQL query
|
What is the total for the person with 73.28 bodyweight and fewer snatches than 75?
|
SELECT AVG Total (kg) FROM table WHERE Bodyweight = 73.28 AND Snatch < 75
|
Translate the following into a SQL query
|
Which person has a bodyweight of 73.6?
|
SELECT Name FROM table WHERE Bodyweight = 73.6
|
Translate the following into a SQL query
|
What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8?
|
SELECT AVG Total (kg) FROM table WHERE Snatch > 87.5 AND Bodyweight > 74.8
|
Translate the following into a SQL query
|
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5?
|
SELECT SUM Bodyweight FROM table WHERE Clean & jerk = 82.5 AND Total (kg) < 152.5
|
Translate the following into a SQL query
|
Name the home team when the away team was essendon
|
SELECT Home team score FROM table WHERE Away team = essendon
|
Translate the following into a SQL query
|
Name the away team score for home team of university
|
SELECT Away team score FROM table WHERE Home team = university
|
Translate the following into a SQL query
|
Name the venue for geelong away team
|
SELECT Venue FROM table WHERE Away team = geelong
|
Translate the following into a SQL query
|
Name the venue when the away team was richmond
|
SELECT Venue FROM table WHERE Away team = richmond
|
Translate the following into a SQL query
|
Name the away team score for geelong away team
|
SELECT Away team score FROM table WHERE Away team = geelong
|
Translate the following into a SQL query
|
When the venue was brunswick street oval what was the home teams score?
|
SELECT Home team score FROM table WHERE Venue = brunswick street oval
|
Translate the following into a SQL query
|
When the away team scored 10.15 (75) and the crowd was larger than 20,000 people, what was the home team playing?
|
SELECT Home team FROM table WHERE Crowd > 20,000 AND Away team score = 10.15 (75)
|
Translate the following into a SQL query
|
When the away team scored 7.8 (50), what was the opposing teams score?
|
SELECT Home team score FROM table WHERE Away team score = 7.8 (50)
|
Translate the following into a SQL query
|
When the away team scored 14.14 (98), who was the Home team who played?
|
SELECT Home team FROM table WHERE Away team score = 14.14 (98)
|
Translate the following into a SQL query
|
If the home team scored 14.15 (99), who was the away team?
|
SELECT Away team FROM table WHERE Home team score = 14.15 (99)
|
Translate the following into a SQL query
|
How many draws feature artist wendy fierce?
|
SELECT SUM Draw FROM table WHERE Artist = wendy fierce
|
Translate the following into a SQL query
|
What song is later than place 2 and has a draw number of 1?
|
SELECT Song FROM table WHERE Place > 2 AND Draw = 1
|
Translate the following into a SQL query
|
What day did Collingwood play as the home team?
|
SELECT Date FROM table WHERE Home team = collingwood
|
Translate the following into a SQL query
|
Who was the away team at Princes Park?
|
SELECT Away team FROM table WHERE Venue = princes park
|
Translate the following into a SQL query
|
Who was Hawthorn's away opponent?
|
SELECT Away team FROM table WHERE Home team = hawthorn
|
Translate the following into a SQL query
|
Name the record that has a stream of l1 and score of l 95β111
|
SELECT Record FROM table WHERE Streak = l1 AND Score = l 95β111
|
Translate the following into a SQL query
|
Name the attendance for when the washington wizards was visiting
|
SELECT Attendance FROM table WHERE Visitor = washington wizards
|
Translate the following into a SQL query
|
What is the smallest grid for driver of juan pablo montoya?
|
SELECT MIN Grid FROM table WHERE Driver = juan pablo montoya
|
Translate the following into a SQL query
|
What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
|
SELECT Driver FROM table WHERE Time/Retired = +1 lap AND Constructor = bar - honda
|
Translate the following into a SQL query
|
What is the Chinese title with a premiere rating of 31?
|
SELECT Chinese title FROM table WHERE Premiere = 31
|
Translate the following into a SQL query
|
What is the premiere rating for a Chinese title of ιθ »ε₯Άε₯Άε€§ζ°ζεΈ«ε₯Ά, and a Peak smaller than 41?
|
SELECT SUM Premiere FROM table WHERE Chinese title = ιθ »ε₯Άε₯Άε€§ζ°ζεΈ«ε₯Ά AND Peak < 41
|
Translate the following into a SQL query
|
What is the premiere rating associated with an average of 35 ranked above 1?
|
SELECT MIN Premiere FROM table WHERE Average = 35 AND Rank > 1
|
Translate the following into a SQL query
|
When was there a game at Arden Street Oval?
|
SELECT Date FROM table WHERE Venue = arden street oval
|
Translate the following into a SQL query
|
How big was the crowd when Richmond was the away team?
|
SELECT Crowd FROM table WHERE Away team = richmond
|
Translate the following into a SQL query
|
Which away team plays at Arden Street Oval?
|
SELECT Away team FROM table WHERE Venue = arden street oval
|
Translate the following into a SQL query
|
How many fans were at Essendon?
|
SELECT COUNT Crowd FROM table WHERE Home team = essendon
|
Translate the following into a SQL query
|
On 11 July 2003, which athlete performed?
|
SELECT Athlete FROM table WHERE Date = 11 july 2003
|
Translate the following into a SQL query
|
What was the away team that played luton town?
|
SELECT Away team FROM table WHERE Home team = luton town
|
Translate the following into a SQL query
|
Name the D 45 β when it has D 41β of r 20
|
SELECT D 45 β FROM table WHERE D 41 β = r 20
|
Translate the following into a SQL query
|
Name the D 41 β when it has D 43 β of r 18
|
SELECT D 41 β FROM table WHERE D 43 β = r 18
|
Translate the following into a SQL query
|
Name the D 49 β for when D 46 β of i 1 @
|
SELECT D 49 β FROM table WHERE D 46 β = i 1 @
|
Translate the following into a SQL query
|
Name the D 43 β when it has D 46 β of d 26
|
SELECT D 43 β FROM table WHERE D 46 β = d 26
|
Translate the following into a SQL query
|
Name the D 44 β for when it has D 41 β of r 41 +
|
SELECT D 44 β FROM table WHERE D 41 β = r 41 +
|
Translate the following into a SQL query
|
Name the D 42 β for when it has D 49 β of r 12
|
SELECT D 42 β FROM table WHERE D 49 β = r 12
|
Translate the following into a SQL query
|
What were the goals in the game with the 26-28 final score?
|
SELECT Goals FROM table WHERE Score = 26-28
|
Translate the following into a SQL query
|
What was the score of the game on 19/3/00?
|
SELECT Score FROM table WHERE Date = 19/3/00
|
Translate the following into a SQL query
|
Which competition was on 17/9/00?
|
SELECT Competition FROM table WHERE Date = 17/9/00
|
Translate the following into a SQL query
|
Which competition ended with a score of 58-4?
|
SELECT Competition FROM table WHERE Score = 58-4
|
Translate the following into a SQL query
|
Where was the game that had a final score of 30-20?
|
SELECT Venue FROM table WHERE Score = 30-20
|
Translate the following into a SQL query
|
When was the game at the boulevard that ended with an 8-8 score?
|
SELECT Date FROM table WHERE Venue = the boulevard AND Score = 8-8
|
Translate the following into a SQL query
|
Name the report for 6 may
|
SELECT Report FROM table WHERE Date = 6 may
|
Translate the following into a SQL query
|
Tell me the report with winner of louis wagner
|
SELECT Report FROM table WHERE Winning driver = louis wagner
|
Translate the following into a SQL query
|
Name the report with cuban race
|
SELECT Report FROM table WHERE Name = cuban race
|
Translate the following into a SQL query
|
Name the circuit for darracq and name of cuban race
|
SELECT Circuit FROM table WHERE Winning constructor = darracq AND Name = cuban race
|
Translate the following into a SQL query
|
Name the winning driver for havana
|
SELECT Winning driver FROM table WHERE Circuit = havana
|
Translate the following into a SQL query
|
What is the listed crowd when the home team's score is 27.13 (175)?
|
SELECT Crowd FROM table WHERE Home team score = 27.13 (175)
|
Translate the following into a SQL query
|
What is the home team's score when st kilda is away?
|
SELECT Home team score FROM table WHERE Away team = st kilda
|
Translate the following into a SQL query
|
No Decision listed above has a visitor of Montreal.
|
SELECT Decision FROM table WHERE Visitor = montreal
|
Translate the following into a SQL query
|
On December 4, Tampa Bay has a record of 12-13-2.
|
SELECT Record FROM table WHERE Home = tampa bay AND Date = december 4
|
Translate the following into a SQL query
|
What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?
|
SELECT Remarks FROM table WHERE Rank > 2 AND Alliance = skyteam (2012)
|
Translate the following into a SQL query
|
How many airlines have the star alliance and are in brazil?
|
SELECT COUNT Rank FROM table WHERE Alliance = star alliance AND Country = brazil
|
Translate the following into a SQL query
|
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
|
SELECT Percent of Slovenes 1951 FROM table WHERE Percent of Slovenes 1991 = 10.1%
|
Translate the following into a SQL query
|
What was Rut's Slovenes percentage in 1991?
|
SELECT Percent of Slovenes 1991 FROM table WHERE Village (Slovenian) = rut
|
Translate the following into a SQL query
|
What is the status of the Hamaoka-3 unit?
|
SELECT Status FROM table WHERE Unit = hamaoka-3
|
Translate the following into a SQL query
|
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
|
SELECT Gross Capacity FROM table WHERE Commercial Operation = august 28, 1987
|
Translate the following into a SQL query
|
When was commercial operation where construction started June 10, 1971?
|
SELECT Commercial Operation FROM table WHERE Construction Start = june 10, 1971
|
Translate the following into a SQL query
|
What is the gross capacity where the reactor is ABWR type?
|
SELECT Gross Capacity FROM table WHERE Reactor Type = abwr
|
Translate the following into a SQL query
|
When was the Hamaoka-4 unit commercial operation date?
|
SELECT Commercial Operation FROM table WHERE Unit = hamaoka-4
|
Translate the following into a SQL query
|
What is the status of the unit with a net capacity of 1212 MW?
|
SELECT Status FROM table WHERE Net Capacity = 1212 mw
|
Translate the following into a SQL query
|
Which school did player Rodney Purvis belong to?
|
SELECT School FROM table WHERE Player = rodney purvis
|
Translate the following into a SQL query
|
What was the NBA draft status for Northeast High School?
|
SELECT NBA Draft FROM table WHERE School = northeast high school
|
Translate the following into a SQL query
|
Which players college was Baylor?
|
SELECT Player FROM table WHERE College = baylor
|
Translate the following into a SQL query
|
What was the college for Alex Poythress?
|
SELECT College FROM table WHERE Player = alex poythress
|
Translate the following into a SQL query
|
What is Alex Poythress height?
|
SELECT Height FROM table WHERE Player = alex poythress
|
Translate the following into a SQL query
|
What was Allison Fouch score in the year larger than 2000?
|
SELECT Winning Score FROM table WHERE Year > 2000 AND Champion = allison fouch
|
Translate the following into a SQL query
|
How many release dates have a Country of west germany, and a Release format of vinyl?
|
SELECT COUNT Release date FROM table WHERE Country = west germany AND Release format = vinyl
|
Translate the following into a SQL query
|
Which label is from Spain?
|
SELECT Label FROM table WHERE Country = spain
|
Translate the following into a SQL query
|
What's the save when the loss was santiago (2β2)?
|
SELECT Save FROM table WHERE Loss = santiago (2β2)
|
Translate the following into a SQL query
|
Which season was 2nd position?
|
SELECT Season FROM table WHERE Position = 2nd
|
Translate the following into a SQL query
|
What's the value for played when the division is nbl div2 with 12th position?
|
SELECT Played FROM table WHERE Division = nbl div2 AND Position = 12th
|
Translate the following into a SQL query
|
What's the points when the division is ebl div1 with 22 played?
|
SELECT Points FROM table WHERE Division = ebl div1 AND Played = 22
|
Translate the following into a SQL query
|
What's the value for played when points is 8 and position is 11th?
|
SELECT Played FROM table WHERE Position = 11th AND Points = 8
|
Translate the following into a SQL query
|
Who was driving with a Grid of 13?
|
SELECT Driver FROM table WHERE Grid = 13
|
Translate the following into a SQL query
|
For Laps smaller than 6, what does the Grid add up to?
|
SELECT SUM Grid FROM table WHERE Laps < 6
|
Translate the following into a SQL query
|
What is the report status of Hockenheimring circuit?
|
SELECT Report FROM table WHERE Circuit = hockenheimring
|
Translate the following into a SQL query
|
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position?
|
SELECT Winning driver FROM table WHERE Fastest lap = clay regazzoni AND Pole position = jackie stewart
|
Translate the following into a SQL query
|
Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap?
|
SELECT Race FROM table WHERE Winning driver = jacky ickx AND Fastest lap = clay regazzoni
|
Translate the following into a SQL query
|
What was the military rank for the person killed in 1918, born after 1865, and has a MP's Seat in Edinburgh South?
|
SELECT Rank in Military FROM table WHERE Killed = 1918 AND Born > 1865 AND MP's Seat = edinburgh south
|
Translate the following into a SQL query
|
How much time does it take for jean alesi and grids lesser than 5?
|
SELECT Time/Retired FROM table WHERE Grid < 5 AND Driver = jean alesi
|
Translate the following into a SQL query
|
What is the low grid for gerhard berger for laps over 56?
|
SELECT MIN Grid FROM table WHERE Driver = gerhard berger AND Laps > 56
|
Translate the following into a SQL query
|
If the grid is 13 who is driving?
|
SELECT Driver FROM table WHERE Grid = 13
|
Translate the following into a SQL query
|
What is the purse total for the royal caribbean golf classic?
|
SELECT SUM Purse( $ ) FROM table WHERE Tournament = royal caribbean golf classic
|
Translate the following into a SQL query
|
Which home team scored a 15.16 (106)?
|
SELECT Home team FROM table WHERE Home team score = 15.16 (106)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.