instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many days did Hawthorn play as a home team?
SELECT COUNT Date FROM table WHERE Home team = Hawthorn
Translate the following into a SQL query
What time was it when the home team's score was 10.7 (67)?
SELECT Time FROM table WHERE Home team score = 10.7 (67)
Translate the following into a SQL query
What time was it when the away team's score was 5.4 (34)?
SELECT Time FROM table WHERE Away team score = 5.4 (34)
Translate the following into a SQL query
How many days was the away team's score 11.8 (74)?
SELECT COUNT Date FROM table WHERE Away team score = 11.8 (74)
Translate the following into a SQL query
The away team of Richmond played on what grounds?
SELECT Ground FROM table WHERE Away team = Richmond
Translate the following into a SQL query
At what venues did the away team score 16.10 (106)?
SELECT Ground FROM table WHERE Away team score = 16.10 (106)
Translate the following into a SQL query
What was the away team's score at the venue football park?
SELECT Away team score FROM table WHERE Ground = Football Park
Translate the following into a SQL query
On what date did the home team score 14.12 (96)?
SELECT Date FROM table WHERE Home team score = 14.12 (96)
Translate the following into a SQL query
What are the scores for games where the home team is Adelaide?
SELECT Home team score FROM table WHERE Home team = Adelaide
Translate the following into a SQL query
On what dates where games played at Football Park?
SELECT Date FROM table WHERE Ground = Football Park
Translate the following into a SQL query
What was the home team score against Collingwood?
SELECT Home team score FROM table WHERE Away team = Collingwood
Translate the following into a SQL query
Who was the away team playing at Carlton?
SELECT Away team FROM table WHERE Home team = Carlton
Translate the following into a SQL query
What did the home team score against Richmond?
SELECT Home team score FROM table WHERE Away team = Richmond
Translate the following into a SQL query
What was the maximum crowd size against St Kilda?
SELECT MAX Crowd FROM table WHERE Away team = St Kilda
Translate the following into a SQL query
What to Footscray score at home?
SELECT Home team score FROM table WHERE Home team = Footscray
Translate the following into a SQL query
How many crowd sizes were recorded at the game when the home team scored 7.8 (50)?
SELECT COUNT Crowd FROM table WHERE Home team score = 7.8 (50)
Translate the following into a SQL query
When the home team scored 7.8 (50), how many away team scores were recorded?
SELECT COUNT Away team score FROM table WHERE Home team score = 7.8 (50)
Translate the following into a SQL query
What did the home team score when the away team scored 18.12 (120)?
SELECT Home team score FROM table WHERE Away team score = 18.12 (120)
Translate the following into a SQL query
Name the date for bundaberg rum stadium
SELECT Date FROM table WHERE Ground = Bundaberg Rum Stadium
Translate the following into a SQL query
Name the home team score for brisbane lions
SELECT Home team score FROM table WHERE Home team = Brisbane Lions
Translate the following into a SQL query
Name the home team for football park
SELECT Home team FROM table WHERE Ground = Football Park
Translate the following into a SQL query
Name the away team score for carlton
SELECT Away team score FROM table WHERE Home team = Carlton
Translate the following into a SQL query
Name the date for adelaide for westpac stadium
SELECT Date FROM table WHERE Home team = Adelaide AND Ground = Westpac Stadium
Translate the following into a SQL query
Name the total number of ground for essendon
SELECT COUNT Ground FROM table WHERE Home team = Essendon
Translate the following into a SQL query
Name the most crowd for essendon
SELECT MAX Crowd FROM table WHERE Away team = Essendon
Translate the following into a SQL query
When ground is manuka oval what is the home team score?
SELECT COUNT Home team score FROM table WHERE Ground = Manuka Oval
Translate the following into a SQL query
When the crowd was 8642 what was the away team's score?
SELECT Away team score FROM table WHERE Crowd = 8642
Translate the following into a SQL query
Which location had an attendance of 22537?
SELECT Ground FROM table WHERE Crowd = 22537
Translate the following into a SQL query
When the away team's score was 0.12.5 (77), what was the home team's score?
SELECT Home team score FROM table WHERE Away team score = 0.12.5 (77)
Translate the following into a SQL query
When the away team's score was 2.10.7 (85), what was the home team's score?
SELECT Home team score FROM table WHERE Away team score = 2.10.7 (85)
Translate the following into a SQL query
What was the away team's score of at the game of telstra stadium?
SELECT Away team score FROM table WHERE Ground = Telstra Stadium
Translate the following into a SQL query
When the away team was Carlton, who was the home team?
SELECT Home team FROM table WHERE Away team = Carlton
Translate the following into a SQL query
What was the average for contestants with a swimsuit score of 8.266?
SELECT Average FROM table WHERE Swimsuit = 8.266
Translate the following into a SQL query
What are the interview scores for contestants whose average is 9.090?
SELECT Interview FROM table WHERE Average = 9.090
Translate the following into a SQL query
What are the average scores of contestants whose home state is Pennsylvania?
SELECT Average FROM table WHERE Country = Pennsylvania
Translate the following into a SQL query
What are the evening gown scores of contestants whose average is 9.266?
SELECT Evening gown FROM table WHERE Average = 9.266
Translate the following into a SQL query
What are the average scores of contestants whose interview score is 8.011?
SELECT Average FROM table WHERE Interview = 8.011
Translate the following into a SQL query
What are the home team scores when richmond is the home team?
SELECT Home team score FROM table WHERE Home team = Richmond
Translate the following into a SQL query
What are the home team scores when fremantle is the away team?
SELECT Home team score FROM table WHERE Away team = Fremantle
Translate the following into a SQL query
What is the largest crowd when essendon is the home team?
SELECT MAX Crowd FROM table WHERE Home team = Essendon
Translate the following into a SQL query
Who are the away teams when subiaco oval was the grounds?
SELECT Away team FROM table WHERE Ground = Subiaco Oval
Translate the following into a SQL query
Who were the away teams when the home team scored 1.8.0.5 (62)?
SELECT Away team FROM table WHERE Home team score = 1.8.0.5 (62)
Translate the following into a SQL query
Who was the home team when the away team is Carlton?
SELECT Home team FROM table WHERE Away team = Carlton
Translate the following into a SQL query
What is the home team score where the home team is Fremantle?
SELECT Home team score FROM table WHERE Home team = Fremantle
Translate the following into a SQL query
What was the away team score for the game with a crowd of 5391?
SELECT Away team score FROM table WHERE Crowd = 5391
Translate the following into a SQL query
What date was Adelaide the home team?
SELECT Date FROM table WHERE Home team = Adelaide
Translate the following into a SQL query
How many locations does Elon University have?
SELECT COUNT Location FROM table WHERE Institution = Elon University
Translate the following into a SQL query
Private/Catholic school's minimum enrollment is?
SELECT MIN Enrollment FROM table WHERE Affiliation = Private/Catholic
Translate the following into a SQL query
Which school has the mascot of the Colonials?
SELECT Institution FROM table WHERE Team Nickname = Colonials
Translate the following into a SQL query
What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
SELECT Socket FROM table WHERE sSpec number = SL3F7(kC0)SL3FJ(kC0)
Translate the following into a SQL query
What is the release date of part 80525py500512bx80525u500512bx80525u500512e?
SELECT Release date FROM table WHERE Part number(s) = 80525PY500512BX80525U500512BX80525U500512E
Translate the following into a SQL query
How many release prices are there for the Pentium iii 550?
SELECT COUNT Release price ( USD ) FROM table WHERE Model number = Pentium III 550
Translate the following into a SQL query
What is the model number with a release price of $496?
SELECT Model number FROM table WHERE Release price ( USD ) = $496
Translate the following into a SQL query
What is the l2 cache for the model with a release price of $669?
SELECT L2 cache FROM table WHERE Release price ( USD ) = $669
Translate the following into a SQL query
What day(s) did they play on week 2?
SELECT Date FROM table WHERE Week = 2
Translate the following into a SQL query
What was the kickoff time on monday, may 13?
SELECT Kickoff FROM table WHERE Date = Monday, May 13
Translate the following into a SQL query
what is the latest episode in season 2 directed by jamie babbit?
SELECT MAX No. in season FROM table WHERE Directed by = Jamie Babbit
Translate the following into a SQL query
what is the number of the episode titled "magic jordan"?
SELECT MIN No. in series FROM table WHERE Title = "Magic Jordan"
Translate the following into a SQL query
what are the air dates for episodes with the production code 08-02-214
SELECT Original air date FROM table WHERE Production code = 08-02-214
Translate the following into a SQL query
what is the title of episode 28
SELECT Title FROM table WHERE No. in series = 28
Translate the following into a SQL query
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
SELECT dpi FROM table WHERE dimensions (mm) = 280 x 95 x 40
Translate the following into a SQL query
What is the maximum pages per minute for the Xerox Travel Scanner 100?
SELECT MAX pages per minute (color) FROM table WHERE product = Xerox Travel Scanner 100
Translate the following into a SQL query
What interface is used on the scanner that has a 36 pages per minute?
SELECT interface FROM table WHERE pages per minute (color) = 36
Translate the following into a SQL query
What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?
SELECT dimensions (mm) FROM table WHERE product = Plustek MobileOffice D28 Corporate
Translate the following into a SQL query
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
SELECT dimensions (mm) FROM table WHERE product = Fujitsu fi-6130 A4 Series Scanner
Translate the following into a SQL query
What is the dpi for the scanner with a max page size of 216mm x 355mm?
SELECT dpi FROM table WHERE max page size = 216mm x 355mm
Translate the following into a SQL query
which country won swimming track & field when lexington won swimming and madison won volleyball
SELECT Track & Field FROM table WHERE Swimming = Lexington AND Volleyball = Madison
Translate the following into a SQL query
how many teams won at golf when wooster won soccer
SELECT COUNT Golf FROM table WHERE Soccer = Wooster
Translate the following into a SQL query
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball
SELECT Soccer FROM table WHERE Volleyball = Madison AND Cross Country = Lexington AND Softball = Orrville
Translate the following into a SQL query
Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12
SELECT Volleyball FROM table WHERE Basketball = West Holmes AND Swimming = Wooster AND School Year = 2011-12
Translate the following into a SQL query
who won tennis when ashland won softball and wooster won volleybal
SELECT Tennis FROM table WHERE Softball = Ashland AND Volleyball = Wooster
Translate the following into a SQL query
who won basketball when ashland won track & field and cross country
SELECT Basketball FROM table WHERE Track & Field = Ashland AND Cross Country = Ashland
Translate the following into a SQL query
What is the location of the school established in 1923
SELECT Location FROM table WHERE Established = 1923
Translate the following into a SQL query
Total enrollment at the school with the nickname Blue Hens
SELECT COUNT Enrollment FROM table WHERE Nickname = Blue Hens
Translate the following into a SQL query
Nickname of the school established in 1773
SELECT Nickname FROM table WHERE Established = 1773
Translate the following into a SQL query
What is the year Rowan University was established
SELECT Established FROM table WHERE Institution = Rowan University
Translate the following into a SQL query
How many nicknames does the school in Newark, DE have
SELECT COUNT Nickname FROM table WHERE Location = Newark, DE
Translate the following into a SQL query
Location of the school with the nickname Mountaineers
SELECT Location FROM table WHERE Nickname = Mountaineers
Translate the following into a SQL query
What was the original air date of the episode titled "Beaver's Pigeons"
SELECT Original air date FROM table WHERE Title = "Beaver's Pigeons"
Translate the following into a SQL query
Who wrote the episode with the production code of 942A?
SELECT Written by FROM table WHERE Production code = 942A
Translate the following into a SQL query
What numbered episode of the season was titled "Beaver says Good-Bye"?
SELECT No. in season FROM table WHERE Title = "Beaver Says Good-bye"
Translate the following into a SQL query
What number episode in the series was titled "Wally's Pug Nose"?
SELECT No. in series FROM table WHERE Title = "Wally's Pug Nose"
Translate the following into a SQL query
What was the production code of the episode written by Joe Connelly and Bob Mosher titled "Beaver Gets Adopted"?
SELECT Production code FROM table WHERE Written by = Joe Connelly and Bob Mosher AND Title = "Beaver Gets Adopted"
Translate the following into a SQL query
Who was responsible for original beechwood bunny tale / source material for the episode title "Papa Bramble's Secret"?
SELECT Original Beechwood Bunny Tale / Source material FROM table WHERE English title = "Papa Bramble's Secret"
Translate the following into a SQL query
What is the French title for "Papa Bramble's Secret"?
SELECT French title FROM table WHERE English title = "Papa Bramble's Secret"
Translate the following into a SQL query
Who was responsible for original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?
SELECT Original Beechwood Bunny Tale / Source material FROM table WHERE English title = "The Monster of Blueberry Lake"
Translate the following into a SQL query
What is the English title for the official number 22 episode?
SELECT English title FROM table WHERE Official # = 22
Translate the following into a SQL query
Which CFL team did the player from British Columbia get drafted to
SELECT CFL Team FROM table WHERE College = British Columbia
Translate the following into a SQL query
Which positions had players from Laval college
SELECT Position FROM table WHERE College = Laval
Translate the following into a SQL query
What position did Gene Stahl play
SELECT Position FROM table WHERE Player = Gene Stahl
Translate the following into a SQL query
Which player played DB
SELECT Player FROM table WHERE Position = DB
Translate the following into a SQL query
Who was the lowest picked LB
SELECT MIN Pick # FROM table WHERE Position = LB
Translate the following into a SQL query
How many players named Jeff Brown were drafted
SELECT COUNT Position FROM table WHERE Player = Jeff Brown
Translate the following into a SQL query
How many feet per second does a shell move where the height range is 23500?
SELECT MIN m/v ft/s FROM table WHERE Max. height (ft) = 23500
Translate the following into a SQL query
If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?
SELECT Shell (lb) FROM table WHERE Gun = QF 12 pdr 12 cwt
Translate the following into a SQL query
Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?
SELECT Time to ft (m) at 25° (seconds) FROM table WHERE Shell (lb) = 12.5 AND Max. height (ft) > 20000.0
Translate the following into a SQL query
What gun has a time to feet ratio of 18.8 at 55 degrees?
SELECT Gun FROM table WHERE Time to ft (m) at 55° (seconds) = 18.8
Translate the following into a SQL query
What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?
SELECT MAX m/v ft/s FROM table WHERE Time to ft (m) at 55° (seconds) = 22.1
Translate the following into a SQL query
What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?
SELECT m/v ft/s FROM table WHERE Time to ft (m) at 25° (seconds) = 9.2
Translate the following into a SQL query
Who was skip for the country whose points for (PF) was 73?
SELECT Skip FROM table WHERE PF = 73