instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length?
|
SELECT SUM Track FROM table WHERE Catalogue = epa 4054 AND Time = 2:05
|
Translate the following into a SQL query
|
What catalogue has a length of 2:10?
|
SELECT Catalogue FROM table WHERE Time = 2:10
|
Translate the following into a SQL query
|
When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31?
|
SELECT Release Date FROM table WHERE Track > 4 AND Recorded = 1/12/57 AND Time = 2:31
|
Translate the following into a SQL query
|
When was the cataglogue EPA 4054 released with a 1/12/57 recorded?
|
SELECT Release Date FROM table WHERE Catalogue = epa 4054 AND Recorded = 1/12/57
|
Translate the following into a SQL query
|
Tell me the school with a height of 6-9
|
SELECT School FROM table WHERE Height = 6-9
|
Translate the following into a SQL query
|
Which school did the player have a height of 6-4?
|
SELECT School FROM table WHERE Height = 6-4
|
Translate the following into a SQL query
|
Tell me the college that paul davis went to
|
SELECT College FROM table WHERE Player = paul davis
|
Translate the following into a SQL query
|
Tell me the school that jason fraser went to
|
SELECT School FROM table WHERE Player = jason fraser
|
Translate the following into a SQL query
|
What is the result of the game with 68,436 attending?
|
SELECT Result FROM table WHERE Attendance = 68,436
|
Translate the following into a SQL query
|
What is the NBA Draft status of the person who went to college at LSU?
|
SELECT NBA Draft FROM table WHERE College = lsu
|
Translate the following into a SQL query
|
What is Player Kenny Williams' Height?
|
SELECT Height FROM table WHERE Player = kenny williams
|
Translate the following into a SQL query
|
What School did Player Billy Owens attend?
|
SELECT School FROM table WHERE Player = billy owens
|
Translate the following into a SQL query
|
What School did Player Alonzo Mourning attend?
|
SELECT School FROM table WHERE Player = alonzo mourning
|
Translate the following into a SQL query
|
How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd?
|
SELECT AVG Bronze FROM table WHERE Total > 1 AND Gold < 2 AND Rank = 2
|
Translate the following into a SQL query
|
How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?
|
SELECT AVG Silver FROM table WHERE Total < 3 AND Rank = 6 AND Bronze > 1
|
Translate the following into a SQL query
|
What is the date of the Cubs game when the Cubs had a record of 1-0?
|
SELECT Date FROM table WHERE Record = 1-0
|
Translate the following into a SQL query
|
Who did the Cubs play when they had a record of 4-4?
|
SELECT Opponent FROM table WHERE Record = 4-4
|
Translate the following into a SQL query
|
What is the frequency of WMAD?
|
SELECT Frequency FROM table WHERE Call Letters = wmad
|
Translate the following into a SQL query
|
Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2%
|
SELECT Ifop 5/11/09 FROM table WHERE OpinionWay 5/11/09 = 2% AND Ipsos 3/14/09 = 2%
|
Translate the following into a SQL query
|
Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
|
SELECT Ifop 4/24/09 FROM table WHERE OpinionWay 4/17/09 = 5% AND Party = left front
|
Translate the following into a SQL query
|
Name the lfop for 5/11/09 with lfop 1/9/09 of 5%
|
SELECT Ifop 5/11/09 FROM table WHERE Ifop 1/9/09 = 5%
|
Translate the following into a SQL query
|
Name the csa 4/16/09 for opinionway being 4/17/09 of 12%
|
SELECT CSA 4/16/09 FROM table WHERE OpinionWay 4/17/09 = 12%
|
Translate the following into a SQL query
|
Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7%
|
SELECT Ipsos 3/14/09 FROM table WHERE Ifop 11/12/08 = 7% AND OpinionWay 4/17/09 = 5%
|
Translate the following into a SQL query
|
Name the 2004 results for npa
|
SELECT Results 2004 FROM table WHERE Party = npa
|
Translate the following into a SQL query
|
What was the decision when Tampa Bay was the visitor?
|
SELECT Decision FROM table WHERE Visitor = tampa bay
|
Translate the following into a SQL query
|
Which visitor visited on February 21?
|
SELECT Visitor FROM table WHERE Date = february 21
|
Translate the following into a SQL query
|
Which team has an away score of 9.10 (64)?
|
SELECT Home team FROM table WHERE Away team score = 9.10 (64)
|
Translate the following into a SQL query
|
What date is the Victoria Park venue?
|
SELECT Date FROM table WHERE Venue = victoria park
|
Translate the following into a SQL query
|
What Home team has an away score of 6.6 (42)?
|
SELECT Home team score FROM table WHERE Away team score = 6.6 (42)
|
Translate the following into a SQL query
|
What home team has a score of 5.8 (38)?
|
SELECT Home team FROM table WHERE Home team score = 5.8 (38)
|
Translate the following into a SQL query
|
What is the away team score of a Melbourne team that has a home team score of 12.7 (79)?
|
SELECT Away team score FROM table WHERE Home team score = 12.7 (79) AND Away team = melbourne
|
Translate the following into a SQL query
|
What Away team is from Fitzroy?
|
SELECT Away team FROM table WHERE Home team = fitzroy
|
Translate the following into a SQL query
|
Who was the home team that played the Lakers?
|
SELECT Home FROM table WHERE Visitor = lakers
|
Translate the following into a SQL query
|
What is the low money with 374,164$ of debt and receipts larger than 3,898,226 without loans?
|
SELECT MIN Money Spent FROM table WHERE Total Debt = 374,164 AND Receipts w/o Loans > 3,898,226
|
Translate the following into a SQL query
|
Which tournament had a 2008 result of 1R?
|
SELECT Tournament FROM table WHERE 2006 = a AND 2008 = 1r
|
Translate the following into a SQL query
|
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
|
SELECT 2012 FROM table WHERE 2007 = a AND 2011 = a
|
Translate the following into a SQL query
|
Which tournament in 2013 had a 2010 finish of 1R?
|
SELECT 2013 FROM table WHERE 2006 = a AND 2010 = 1r
|
Translate the following into a SQL query
|
Which home team score has an Away team of melbourne?
|
SELECT Home team score FROM table WHERE Away team = melbourne
|
Translate the following into a SQL query
|
What is the highest crowd for Home team of geelong?
|
SELECT MAX Crowd FROM table WHERE Home team = geelong
|
Translate the following into a SQL query
|
Which crowd has an Away team score of 16.9 (105)?
|
SELECT Crowd FROM table WHERE Away team score = 16.9 (105)
|
Translate the following into a SQL query
|
What is the year when the performance is 60.73m and the age (years) is more than 45?
|
SELECT COUNT Year FROM table WHERE Performance = 60.73m AND Age (years) > 45
|
Translate the following into a SQL query
|
What is the highest age (years) that the 1st place had a performance of 62.20m?
|
SELECT MAX Age (years) FROM table WHERE Place = 1st AND Performance = 62.20m
|
Translate the following into a SQL query
|
What is the place when the performance is 60.73m?
|
SELECT Place FROM table WHERE Performance = 60.73m
|
Translate the following into a SQL query
|
Name the kaz hayashi with block A of Shuji Kondo
|
SELECT Kaz Hayashi FROM table WHERE Block A = shuji kondo
|
Translate the following into a SQL query
|
Name the block A for shuji kondo
|
SELECT Block A FROM table WHERE Toshizo = shuji kondo
|
Translate the following into a SQL query
|
Name the NOSAWA Rongai for petey williams
|
SELECT NOSAWA Rongai FROM table WHERE Block A = petey williams
|
Translate the following into a SQL query
|
What is the largest winner's share in 2008?
|
SELECT MAX Winner's share ($) FROM table WHERE Year = 2008
|
Translate the following into a SQL query
|
What was the score when Nannette Hill was the champion?
|
SELECT Score FROM table WHERE Champion = nannette hill
|
Translate the following into a SQL query
|
On what date did the away team have a score of 9.10 (64)
|
SELECT Date FROM table WHERE Away team score = 9.10 (64)
|
Translate the following into a SQL query
|
What score did the opposing home team have against Melbourne
|
SELECT Home team score FROM table WHERE Away team = melbourne
|
Translate the following into a SQL query
|
Name the home team in a game where the away team's score was 14.12 (96)
|
SELECT Home team score FROM table WHERE Away team score = 14.12 (96)
|
Translate the following into a SQL query
|
Name the venue where St Kilda was the opposing away team
|
SELECT Venue FROM table WHERE Away team = st kilda
|
Translate the following into a SQL query
|
Which Crowd has a Home team score of 11.13 (79)?
|
SELECT AVG Crowd FROM table WHERE Home team score = 11.13 (79)
|
Translate the following into a SQL query
|
Which Date has a Venue of lake oval?
|
SELECT Date FROM table WHERE Venue = lake oval
|
Translate the following into a SQL query
|
Which Crowd has an Away team of collingwood?
|
SELECT SUM Crowd FROM table WHERE Away team = collingwood
|
Translate the following into a SQL query
|
What is the development rate for wages with a 16-17 year old rate of £3.53, and an Adult Rate of £5.73?
|
SELECT Development Rate FROM table WHERE 16-17 Year Olds Rate = £3.53 AND Adult Rate = £5.73
|
Translate the following into a SQL query
|
What was the adult rate when the 16-17 year old rate was £3.40?
|
SELECT Adult Rate FROM table WHERE 16-17 Year Olds Rate = £3.40
|
Translate the following into a SQL query
|
When was the rate for 16-17 year olds £3.40?
|
SELECT From FROM table WHERE 16-17 Year Olds Rate = £3.40
|
Translate the following into a SQL query
|
When was there a development rate of £4.92?
|
SELECT From FROM table WHERE Development Rate = £4.92
|
Translate the following into a SQL query
|
When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #?
|
SELECT AVG Rd # FROM table WHERE Player = steve hazlett AND Pl GP < 0
|
Translate the following into a SQL query
|
Which Player has a PI GP over 0 and a Rd # of 1?
|
SELECT Player FROM table WHERE Pl GP > 0 AND Rd # = 1
|
Translate the following into a SQL query
|
Which Pick # is the highest and has the Rd # is under 1?
|
SELECT MAX Pick # FROM table WHERE Rd # < 1
|
Translate the following into a SQL query
|
What is the lowest PI GP when the Reg GP is 1, Murray Bannerman is the Player, and the Pick # is under 58?
|
SELECT MIN Pl GP FROM table WHERE Reg GP = 1 AND Player = murray bannerman AND Pick # < 58
|
Translate the following into a SQL query
|
Tell me the average top 25 with events of 5 and cuts madde less than 3
|
SELECT AVG Top-25 FROM table WHERE Events = 5 AND Cuts made < 3
|
Translate the following into a SQL query
|
Tell me the highest cuts made with wins more than 1
|
SELECT MAX Cuts made FROM table WHERE Wins > 1
|
Translate the following into a SQL query
|
I want to know the highest wins for cuts made more than 5
|
SELECT MAX Wins FROM table WHERE Cuts made > 5
|
Translate the following into a SQL query
|
Tell me the sum of top 5 with events less than 12 and top 25 less than 0
|
SELECT SUM Top-5 FROM table WHERE Events < 12 AND Top-25 < 0
|
Translate the following into a SQL query
|
What was the biggest crowd when South Melbourne was an away team?
|
SELECT MAX Crowd FROM table WHERE Away team = south melbourne
|
Translate the following into a SQL query
|
Which venue hosted South Melbourne as an away team?
|
SELECT Venue FROM table WHERE Away team = south melbourne
|
Translate the following into a SQL query
|
On what date did the home team score 15.11 (101)?
|
SELECT Date FROM table WHERE Home team score = 15.11 (101)
|
Translate the following into a SQL query
|
At what venue did the away team score 15.16 (106)?
|
SELECT Venue FROM table WHERE Away team score = 15.16 (106)
|
Translate the following into a SQL query
|
Who was the away team when the home team scored 12.21 (93)?
|
SELECT Away team FROM table WHERE Home team score = 12.21 (93)
|
Translate the following into a SQL query
|
How many people attended the game on 8 March 2008?
|
SELECT SUM Attendance FROM table WHERE Date = 8 march 2008
|
Translate the following into a SQL query
|
What is the Away team score when they played Geelong as the Home team?
|
SELECT Away team score FROM table WHERE Home team = geelong
|
Translate the following into a SQL query
|
What did the Home team score when the Away team scored 8.14 (62)?
|
SELECT Home team score FROM table WHERE Away team score = 8.14 (62)
|
Translate the following into a SQL query
|
What is the name of the Away team when the Home team scored 7.8 (50)?
|
SELECT Away team FROM table WHERE Home team score = 7.8 (50)
|
Translate the following into a SQL query
|
What is the name of the Home team when the Away team scored 4.8 (32)?
|
SELECT Home team FROM table WHERE Away team score = 4.8 (32)
|
Translate the following into a SQL query
|
What did Carlton score when they were the Home team?
|
SELECT Home team score FROM table WHERE Home team = carlton
|
Translate the following into a SQL query
|
What is the name of the Home team that played Fitzroy as the Away team?
|
SELECT Home team FROM table WHERE Away team = fitzroy
|
Translate the following into a SQL query
|
What is the total number of points when the grade was A?
|
SELECT SUM Points FROM table WHERE Grade = a
|
Translate the following into a SQL query
|
Which standing broad jump (cm) had the b grade?
|
SELECT Standing Broad Jump (cm) FROM table WHERE Grade = b
|
Translate the following into a SQL query
|
Which grade did the chin-up (reps) 9-10 receive?
|
SELECT Grade FROM table WHERE Chin-up (reps) = 9-10
|
Translate the following into a SQL query
|
What year was the comp 33?
|
SELECT Year FROM table WHERE Comp = 33
|
Translate the following into a SQL query
|
In 1984, what was the RAvg?
|
SELECT RAvg FROM table WHERE Year = 1984
|
Translate the following into a SQL query
|
In 1983, what was the RAtt?
|
SELECT RAtt FROM table WHERE Year = 1983
|
Translate the following into a SQL query
|
What team has a 94.1 rating?
|
SELECT Team FROM table WHERE Rate = 94.1
|
Translate the following into a SQL query
|
What year has a RAtt of 1 and a comp of 49?
|
SELECT Year FROM table WHERE RAtt = 1 AND Comp = 49
|
Translate the following into a SQL query
|
Who recorded the loss on august 7?
|
SELECT Loss FROM table WHERE Date = august 7
|
Translate the following into a SQL query
|
When the away team was st kilda, what did the home team score?
|
SELECT Home team score FROM table WHERE Away team = st kilda
|
Translate the following into a SQL query
|
Where did the away team score 11.15 (81)?
|
SELECT Venue FROM table WHERE Away team score = 11.15 (81)
|
Translate the following into a SQL query
|
When the home team was geelong, what did the away team score?
|
SELECT Away team score FROM table WHERE Home team = geelong
|
Translate the following into a SQL query
|
Which Artist has an Issue Price of $8,159.95?
|
SELECT Artist FROM table WHERE Issue Price = $8,159.95
|
Translate the following into a SQL query
|
What is the lowest Mintage for the Artist Royal Canadian Mint Engravers, in the Year 2009, with an Issue Price of $10,199.95?
|
SELECT MIN Mintage FROM table WHERE Artist = royal canadian mint engravers AND Issue Price = $10,199.95 AND Year > 2009
|
Translate the following into a SQL query
|
What is the sum of Artist Steve Hepburn's Mintage?
|
SELECT SUM Mintage FROM table WHERE Artist = steve hepburn
|
Translate the following into a SQL query
|
What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200?
|
SELECT AVG Year FROM table WHERE Artist = royal canadian mint engravers AND Mintage < 200
|
Translate the following into a SQL query
|
When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist?
|
SELECT MAX Mintage FROM table WHERE Artist = royal canadian mint engravers AND Year > 2008
|
Translate the following into a SQL query
|
What is the name of the New York Red Bulls coach who was from the United States and began after 2010?
|
SELECT Name FROM table WHERE Nationality = united states AND From > 2010 AND Club = new york red bulls
|
Translate the following into a SQL query
|
When did José Luis Sánchez Solá end his term of coaching?
|
SELECT Until FROM table WHERE Name = josé luis sánchez solá
|
Translate the following into a SQL query
|
What is the class of the locomotive with an Eastleigh Works manufacturer, made in 1914, and withdrawn in 1959?
|
SELECT Class FROM table WHERE Manufacturer = eastleigh works AND Year made = 1914 AND Year(s) withdrawn = 1959
|
Translate the following into a SQL query
|
What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14?
|
SELECT Class FROM table WHERE Wheel arrangement = 4-6-0 AND Quantity made = 14
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.