instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Which club is located in Thomson, Victoria?
|
SELECT Club FROM table WHERE Location = thomson, victoria
|
Translate the following into a SQL query
|
What is the nickname of the team who was in the GFL from 1986-1988?
|
SELECT Nickname FROM table WHERE Years in GFL = 1986-1988
|
Translate the following into a SQL query
|
Which location did the Tigers have?
|
SELECT Location FROM table WHERE Nickname = tigers
|
Translate the following into a SQL query
|
What was the nickname of the team in the Geelong West Cricket & Football Club?
|
SELECT Nickname FROM table WHERE Club = geelong west cricket & football club
|
Translate the following into a SQL query
|
What GLF Premiership did the Magpies have?
|
SELECT GFL Premierships FROM table WHERE Nickname = magpies
|
Translate the following into a SQL query
|
What was the nickname of the team in the East Geelong club?
|
SELECT Nickname FROM table WHERE Club = east geelong
|
Translate the following into a SQL query
|
What year has a winning finish of T27?
|
SELECT Year(s) won FROM table WHERE Finish = t27
|
Translate the following into a SQL query
|
What was the finish for England?
|
SELECT Finish FROM table WHERE Country = england
|
Translate the following into a SQL query
|
What county won in 1991?
|
SELECT Country FROM table WHERE Year(s) won = 1991
|
Translate the following into a SQL query
|
What is the highest total to par of +9?
|
SELECT MAX Total FROM table WHERE To par = +9
|
Translate the following into a SQL query
|
What Status has Against of 12?
|
SELECT Status FROM table WHERE Against = 12
|
Translate the following into a SQL query
|
What Venue has a Date of 17/03/1990?
|
SELECT Venue FROM table WHERE Date = 17/03/1990
|
Translate the following into a SQL query
|
How many weeks had an Attendance of 43,272?
|
SELECT COUNT Week FROM table WHERE Attendance = 43,272
|
Translate the following into a SQL query
|
Who played on december 12, 1993?
|
SELECT Opponent FROM table WHERE Date = december 12, 1993
|
Translate the following into a SQL query
|
What day was United States the opposing team?
|
SELECT Date FROM table WHERE Opposing Team = united states
|
Translate the following into a SQL query
|
What was the opposing team for the second test?
|
SELECT Opposing Team FROM table WHERE Status = second test
|
Translate the following into a SQL query
|
What was the opposing team for the second test?
|
SELECT Opposing Team FROM table WHERE Status = second test
|
Translate the following into a SQL query
|
What round was in canberra stadium?
|
SELECT Round FROM table WHERE Venue = canberra stadium
|
Translate the following into a SQL query
|
What is the venue of the match with cronulla sharks as the opponent?
|
SELECT Venue FROM table WHERE Opponent = cronulla sharks
|
Translate the following into a SQL query
|
Who is the opponent at toyota stadium?
|
SELECT Opponent FROM table WHERE Venue = toyota stadium
|
Translate the following into a SQL query
|
What is the score of the match with the sydney roosters as the opponent?
|
SELECT Score FROM table WHERE Opponent = sydney roosters
|
Translate the following into a SQL query
|
What is the venue of the match with the cronulla sharks as the opponent?
|
SELECT Venue FROM table WHERE Opponent = cronulla sharks
|
Translate the following into a SQL query
|
What Location Attendance has a Game of 4?
|
SELECT Location Attendance FROM table WHERE Game = 4
|
Translate the following into a SQL query
|
What Date has a Location Attendance of reunion arena?
|
SELECT Date FROM table WHERE Location Attendance = reunion arena
|
Translate the following into a SQL query
|
What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies?
|
SELECT Record FROM table WHERE Location Attendance = delta center AND Opponent = vs vancouver grizzlies
|
Translate the following into a SQL query
|
What Location Attendance has an Opponent of at denver nuggets?
|
SELECT Location Attendance FROM table WHERE Opponent = at denver nuggets
|
Translate the following into a SQL query
|
What Record has an Opponent of vs washington wizards?
|
SELECT Record FROM table WHERE Opponent = vs washington wizards
|
Translate the following into a SQL query
|
What Location Attendance has a Game of 14?
|
SELECT Location Attendance FROM table WHERE Game = 14
|
Translate the following into a SQL query
|
What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner?
|
SELECT Score in Final FROM table WHERE Partnering = robin ammerlaan AND Opponents in Final = shingo kunieda maikel scheffers
|
Translate the following into a SQL query
|
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer?
|
SELECT Championship FROM table WHERE Partnering = maikel scheffers AND Year > 2007 AND Opponents in Final = stephane houdet nicolas peiffer
|
Translate the following into a SQL query
|
What is the screen size of the s45 (Australia only) Model with no bluetooth?
|
SELECT Screen size FROM table WHERE Bluetooth = no AND Model = s45 (australia only)
|
Translate the following into a SQL query
|
Does the S90i model have bluetooth?
|
SELECT Bluetooth FROM table WHERE Model = s90i
|
Translate the following into a SQL query
|
Does the s35 model have bluetooth?
|
SELECT Bluetooth FROM table WHERE Model = s35
|
Translate the following into a SQL query
|
What is the height for club Havk Mladost?
|
SELECT Height FROM table WHERE Club = havk mladost
|
Translate the following into a SQL query
|
What is the height for Nikola Franković?
|
SELECT Height FROM table WHERE Name = nikola franković
|
Translate the following into a SQL query
|
What is the weight of Damir Burić?
|
SELECT Weight FROM table WHERE Name = damir burić
|
Translate the following into a SQL query
|
What is Total, when Rank Points is "15", and when Event is "WC Beijing"?
|
SELECT Total FROM table WHERE Rank points = 15 AND Event = wc beijing
|
Translate the following into a SQL query
|
What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"?
|
SELECT Score points FROM table WHERE Event = wc rio de janeiro AND Rank points = 10
|
Translate the following into a SQL query
|
What is Shooter, when Total is "21"?
|
SELECT Shooter FROM table WHERE Total = 21
|
Translate the following into a SQL query
|
What is Score Points, when Shooter is "Sandra Kolly ( SUI )"?
|
SELECT Score points FROM table WHERE Shooter = sandra kolly ( sui )
|
Translate the following into a SQL query
|
What is Rank Points, when Event is "WC Milan", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
|
SELECT Rank points FROM table WHERE Event = wc milan AND Shooter = lalita yauhleuskaya ( aus )
|
Translate the following into a SQL query
|
What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
|
SELECT Rank points FROM table WHERE Total = 17 AND Shooter = lalita yauhleuskaya ( aus )
|
Translate the following into a SQL query
|
Which Artist is listed as having Top 6 in Week
|
SELECT Artist FROM table WHERE Week = top 6
|
Translate the following into a SQL query
|
Which song was sung by Artist Luther Vandross in the Week Top 20?
|
SELECT Song Sung FROM table WHERE Artist = luther vandross AND Week = top 20
|
Translate the following into a SQL query
|
Which Artist has a Week of Top 12?
|
SELECT Artist FROM table WHERE Week = top 12
|
Translate the following into a SQL query
|
What Status does Freddie Jackson have?
|
SELECT Status FROM table WHERE Artist = freddie jackson
|
Translate the following into a SQL query
|
Which Song Sung has a Status of Eliminated?
|
SELECT Song Sung FROM table WHERE Status = eliminated
|
Translate the following into a SQL query
|
What is the place of the player with a 71-69-66=206 score?
|
SELECT Place FROM table WHERE Score = 71-69-66=206
|
Translate the following into a SQL query
|
What is the place of the player with a 71-66-64=201 score?
|
SELECT Place FROM table WHERE Score = 71-66-64=201
|
Translate the following into a SQL query
|
What is the to par of player peter senior?
|
SELECT To par FROM table WHERE Player = peter senior
|
Translate the following into a SQL query
|
What is Finalist, when Year is "2008"?
|
SELECT Finalist FROM table WHERE Year = 2008
|
Translate the following into a SQL query
|
What is Place, when Year is greater than 2006, and when Champion is "Asvel"?
|
SELECT Place FROM table WHERE Year > 2006 AND Champion = asvel
|
Translate the following into a SQL query
|
What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"?
|
SELECT Champion FROM table WHERE Year > 2007 AND Finalist = asvel
|
Translate the following into a SQL query
|
What is Election, when 2nd Party is "Constituency Abolished"?
|
SELECT Election FROM table WHERE 2nd Party = constituency abolished
|
Translate the following into a SQL query
|
What is 2nd Party, when Election is "1865"?
|
SELECT 2nd Party FROM table WHERE Election = 1865
|
Translate the following into a SQL query
|
What is Election, when 2nd Party is "Conservative", and when First Member is "Edmund Antrobus"?
|
SELECT Election FROM table WHERE 2nd Party = conservative AND First member = edmund antrobus
|
Translate the following into a SQL query
|
What is First Member, when Election is "1871 by-election"?
|
SELECT First member FROM table WHERE Election = 1871 by-election
|
Translate the following into a SQL query
|
What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"?
|
SELECT 1st Party FROM table WHERE First member = peter john locke king AND Second member = james watney
|
Translate the following into a SQL query
|
What is Second Member, when Election is "1835"?
|
SELECT Second member FROM table WHERE Election = 1835
|
Translate the following into a SQL query
|
How much Played has Goals Against of 45, and Goals For smaller than 65?
|
SELECT SUM Played FROM table WHERE Goals Against = 45 AND Goals For < 65
|
Translate the following into a SQL query
|
How many Goals Against have a Position of 4?
|
SELECT COUNT Goals Against FROM table WHERE Position = 4
|
Translate the following into a SQL query
|
What is the highest total when bronze is less than 1 and gold more than 0?
|
SELECT MAX Total FROM table WHERE Bronze < 1 AND Gold > 0
|
Translate the following into a SQL query
|
what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?
|
SELECT SUM Bronze FROM table WHERE Rank = 5 AND Nation = poland AND Gold < 0
|
Translate the following into a SQL query
|
what is the sum of silver when the rank is 3, nation is france and bronze is less than 0?
|
SELECT SUM Silver FROM table WHERE Rank = 3 AND Nation = france AND Bronze < 0
|
Translate the following into a SQL query
|
How many times is the nation china and bronze more than 0?
|
SELECT COUNT Rank FROM table WHERE Nation = china AND Bronze > 0
|
Translate the following into a SQL query
|
How many times is the rank higher than 3 and bronze more than 1?
|
SELECT COUNT Gold FROM table WHERE Rank > 3 AND Bronze > 1
|
Translate the following into a SQL query
|
what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4?
|
SELECT MIN Silver FROM table WHERE Bronze = 1 AND Rank < 2 AND Gold > 4
|
Translate the following into a SQL query
|
What is the average value for Draws, when Against is "2177", and when Byes is less than 4?
|
SELECT AVG Draws FROM table WHERE Against = 2177 AND Byes < 4
|
Translate the following into a SQL query
|
What is the total number of Losses, when Wins is "16", and when Against is less than 772?
|
SELECT COUNT Losses FROM table WHERE Wins = 16 AND Against < 772
|
Translate the following into a SQL query
|
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?
|
SELECT MIN Draws FROM table WHERE Losses = 0 AND Byes > 4
|
Translate the following into a SQL query
|
What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177?
|
SELECT MAX Byes FROM table WHERE Wins < 16 AND Benalla DFL = swanpool AND Against < 2177
|
Translate the following into a SQL query
|
What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?
|
SELECT MAX Byes FROM table WHERE Against < 1794 AND Losses = 6 AND Draws < 0
|
Translate the following into a SQL query
|
what is the teams for season 1950-51?
|
SELECT Teams FROM table WHERE Season = 1950-51
|
Translate the following into a SQL query
|
What is the league for season 1955-56?
|
SELECT League FROM table WHERE Season = 1955-56
|
Translate the following into a SQL query
|
What is the drafted year when the FCSL Team was Winter Park, in the 4th round?
|
SELECT MAX Year Drafted FROM table WHERE FCSL Team = winter park AND Round = 4th
|
Translate the following into a SQL query
|
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?
|
SELECT FCSL Team FROM table WHERE MLB Team = toronto blue jays AND Round = 4th
|
Translate the following into a SQL query
|
What was John Fought's score?
|
SELECT Score FROM table WHERE Player = john fought
|
Translate the following into a SQL query
|
What is the to par of the player from Argentina with a t8 place?
|
SELECT To par FROM table WHERE Place = t8 AND Country = argentina
|
Translate the following into a SQL query
|
How much money does the player with a 68-67-69-71=275 score have?
|
SELECT Money ( £ ) FROM table WHERE Score = 68-67-69-71=275
|
Translate the following into a SQL query
|
What is the country of t1 place player wayne grady?
|
SELECT Country FROM table WHERE Place = t1 AND Player = wayne grady
|
Translate the following into a SQL query
|
How much money does the player with a 68-71-68-72=279 score have?
|
SELECT Money ( £ ) FROM table WHERE Score = 68-71-68-72=279
|
Translate the following into a SQL query
|
How much money does the player with a 69-70-72-64=275 score have?
|
SELECT Money ( £ ) FROM table WHERE Score = 69-70-72-64=275
|
Translate the following into a SQL query
|
What was the money when the place was t8 and the score was 74-72-75-71=292?
|
SELECT Money ( $ ) FROM table WHERE Place = t8 AND Score = 74-72-75-71=292
|
Translate the following into a SQL query
|
What was the average money when the score was 74-72-75-71=292?
|
SELECT AVG Money ( $ ) FROM table WHERE Score = 74-72-75-71=292
|
Translate the following into a SQL query
|
What was Tim Simpson's place?
|
SELECT Place FROM table WHERE Player = tim simpson
|
Translate the following into a SQL query
|
What country placed 3?
|
SELECT Country FROM table WHERE Place = 3
|
Translate the following into a SQL query
|
What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?
|
SELECT AVG Barrow Island Australia FROM table WHERE Draugen North Sea = 17 AND Mutineer-Exeter Australia < 6
|
Translate the following into a SQL query
|
What is the lowest Barrow Island Australia when the Crude oil name \Rightarrow Location \Rightarrow of initial boiling point, °c, and a draugen north sea is larger than 150?
|
SELECT MIN Barrow Island Australia FROM table WHERE Crude oil name \Rightarrow Location \Rightarrow = initial boiling point, °c AND Draugen North Sea > 150
|
Translate the following into a SQL query
|
What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?
|
SELECT MAX CPC Blend Kazakhstan FROM table WHERE Barrow Island Australia < 12
|
Translate the following into a SQL query
|
What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?
|
SELECT MIN CPC Blend Kazakhstan FROM table WHERE Draugen North Sea = 17
|
Translate the following into a SQL query
|
What race did eugenio silvani win?
|
SELECT Name FROM table WHERE Winning driver = eugenio silvani
|
Translate the following into a SQL query
|
Which race did Mercedes win?
|
SELECT Name FROM table WHERE Winning constructor = mercedes
|
Translate the following into a SQL query
|
Which circuit did alfa romeo win?
|
SELECT Circuit FROM table WHERE Winning constructor = alfa romeo
|
Translate the following into a SQL query
|
What is the number range for the 56 quantity?
|
SELECT Number range FROM table WHERE Quantity = 56
|
Translate the following into a SQL query
|
Which team in 1987 had a start of 28 and drove a chrysler?
|
SELECT Team FROM table WHERE Year < 1987 AND Manufacturer = chrysler AND Start = 28
|
Translate the following into a SQL query
|
What is Party, when District is "Tennessee 8"?
|
SELECT Party FROM table WHERE District = tennessee 8
|
Translate the following into a SQL query
|
What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"?
|
SELECT COUNT First elected FROM table WHERE Party = democratic AND District = tennessee 5
|
Translate the following into a SQL query
|
What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
|
SELECT MIN First elected FROM table WHERE Results = re-elected AND Incumbent = lincoln davis
|
Translate the following into a SQL query
|
What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
|
SELECT MAX First elected FROM table WHERE Results = re-elected AND Incumbent = lincoln davis
|
Translate the following into a SQL query
|
Which 2004 has a 2006 of 4,67, and a 2005 larger than 7,77?
|
SELECT MIN 2004 FROM table WHERE 2006 = 4,67 AND 2005 > 7,77
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.