instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which method was used when Alessio Sakara was the opponent?
SELECT Method FROM table WHERE Opponent = alessio sakara
Translate the following into a SQL query
Who is the opponent when the record is 3-8?
SELECT Opponent FROM table WHERE Record = 3-8
Translate the following into a SQL query
What was the 2006 population for the local government area of alexandrina council whose rank was smaller than 19?
SELECT AVG Population 2006 census FROM table WHERE Local government area = alexandrina council AND Rank < 19
Translate the following into a SQL query
What is the total fat with a smoke point of °c (), 25g of saturated fat?
SELECT Total fat FROM table WHERE Smoke point = °c () AND Saturated fat = 25g
Translate the following into a SQL query
What is the total fat when the polyunsaturated fat is 11g, and Monounsaturated fat is 73g?
SELECT Total fat FROM table WHERE Polyunsaturated fat = 11g AND Monounsaturated fat = 73g
Translate the following into a SQL query
What is the smoke point with a total fat of 100g, and monounsaturated fat of 46g?
SELECT Smoke point FROM table WHERE Total fat = 100g AND Monounsaturated fat = 46g
Translate the following into a SQL query
What shows for monounsaturated fat when the saturated fat is 39g?
SELECT Monounsaturated fat FROM table WHERE Saturated fat = 39g
Translate the following into a SQL query
What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?
SELECT Smoke point FROM table WHERE Polyunsaturated fat = 69g (4g in high oleic variety)
Translate the following into a SQL query
What is the saturated fat when the total fat is 100g, and polyunsaturated fat is 69g (4g in high oleic variety)?
SELECT Saturated fat FROM table WHERE Total fat = 100g AND Polyunsaturated fat = 69g (4g in high oleic variety)
Translate the following into a SQL query
What is the Tie No with a Score of 2–2?
SELECT Tie no FROM table WHERE Score = 2–2
Translate the following into a SQL query
What is the Date of the Crystal Palace Away game?
SELECT Date FROM table WHERE Away team = crystal palace
Translate the following into a SQL query
What is the Home team of Tie no 2?
SELECT Home team FROM table WHERE Tie no = 2
Translate the following into a SQL query
What is the Home team of tie no 2?
SELECT Home team FROM table WHERE Tie no = 2
Translate the following into a SQL query
What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"?
SELECT AVG Grid FROM table WHERE Laps < 24 AND Bike = honda cbr1000rr AND Rider = jason pridmore
Translate the following into a SQL query
What is the highest Laps, when Bike is "Yamaha YZF-R1", when Rider is "David Checa", and when Grid is greater than 18?
SELECT MAX Laps FROM table WHERE Bike = yamaha yzf-r1 AND Rider = david checa AND Grid > 18
Translate the following into a SQL query
What is the sum of Grid, when Time is "+16.687"?
SELECT SUM Grid FROM table WHERE Time = +16.687
Translate the following into a SQL query
What is the total number of Grid, when Laps is greater than 24?
SELECT COUNT Grid FROM table WHERE Laps > 24
Translate the following into a SQL query
Who was the runner-up after season 2 when the total prize money was $108,000?
SELECT Runner-up FROM table WHERE Season > 2 AND Total prize money = $108,000
Translate the following into a SQL query
What was the highest season number with a total prize of $108,000?
SELECT MAX Season FROM table WHERE Total prize money = $108,000
Translate the following into a SQL query
What is the earliest season where Aisha Jefcoate was the runner-up?
SELECT MIN Season FROM table WHERE Runner-up = aisha jefcoate
Translate the following into a SQL query
When the Mole was Petrina Edge, what was the potential prize money?
SELECT Potential prize money FROM table WHERE Mole = petrina edge
Translate the following into a SQL query
Which Share has a weekly Rank of 8 and is dated 15 June?
SELECT Share FROM table WHERE Weekly rank = 8 AND Date = 15 june
Translate the following into a SQL query
Which Weekly Rank has an Official ratings (millions) of 11.58?
SELECT Weekly rank FROM table WHERE Official ratings (millions) = 11.58
Translate the following into a SQL query
Which Show is dated 9 June?
SELECT Show FROM table WHERE Date = 9 june
Translate the following into a SQL query
Which Weekly Rank for a Live Final Show has an Official Ratings (millions) greater than 5.2?
SELECT Weekly rank FROM table WHERE Official ratings (millions) > 5.2 AND Show = live final
Translate the following into a SQL query
What is the status with the opposing team of Scotland?
SELECT Status FROM table WHERE Opposing Teams = scotland
Translate the following into a SQL query
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland?
SELECT MIN Against FROM table WHERE Venue = twickenham, london AND Status = five nations AND Opposing Teams = ireland
Translate the following into a SQL query
Which Venue has a Against smaller than 7?
SELECT Venue FROM table WHERE Against < 7
Translate the following into a SQL query
When has a Status of five nations, and a Against of 7?
SELECT Date FROM table WHERE Status = five nations AND Against = 7
Translate the following into a SQL query
Which Venue has a Against larger than 13?
SELECT Venue FROM table WHERE Against > 13
Translate the following into a SQL query
Name the Against which has a Venue of wembley stadium , london?
SELECT MAX Against FROM table WHERE Venue = wembley stadium , london
Translate the following into a SQL query
Which wins have less than 1 bye?
SELECT MAX Wins FROM table WHERE Byes < 1
Translate the following into a SQL query
Which Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly?
SELECT MIN Against FROM table WHERE Losses > 10 AND Wins < 4 AND Club = dunolly
Translate the following into a SQL query
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
SELECT AVG Byes FROM table WHERE Against < 1297 AND Club = avoca AND Wins > 12
Translate the following into a SQL query
What Kit/Factory has a J250 model made by Jabiru?
SELECT Kit/Factory FROM table WHERE Manufacturer = jabiru AND Model = j250
Translate the following into a SQL query
When was the duchess, who was married on 11 july 1643, born?
SELECT Birth FROM table WHERE Marriage = 11 july 1643
Translate the following into a SQL query
When was anne of lorraine born?
SELECT Birth FROM table WHERE Name = anne of lorraine
Translate the following into a SQL query
When did the duchess, who was married to philippe, die?
SELECT Death FROM table WHERE Spouse = philippe
Translate the following into a SQL query
When did the woman, who was married 22 may 1657, cease to be the duchess?
SELECT Ceased to be Duchess FROM table WHERE Marriage = 22 may 1657
Translate the following into a SQL query
What is the score of the game with a tie no of 3?
SELECT Score FROM table WHERE Tie no = 3
Translate the following into a SQL query
Who did home team sunderland play on 23 january 1982?
SELECT Away team FROM table WHERE Date = 23 january 1982 AND Home team = sunderland
Translate the following into a SQL query
What is the score of the game against away team queens park rangers on 23 january 1982?
SELECT Score FROM table WHERE Date = 23 january 1982 AND Away team = queens park rangers
Translate the following into a SQL query
What is the score of the game with a tie no of 6?
SELECT Score FROM table WHERE Tie no = 6
Translate the following into a SQL query
What is the score of the game home team gillingham played on 23 january 1982?
SELECT Score FROM table WHERE Date = 23 january 1982 AND Home team = gillingham
Translate the following into a SQL query
What is the tie no of the game that home team huddersfield town played?
SELECT Tie no FROM table WHERE Home team = huddersfield town
Translate the following into a SQL query
What is the home team of the game with a 2-0 record?
SELECT Home FROM table WHERE Record = 2-0
Translate the following into a SQL query
What is the score of the game with a 3-0 record?
SELECT Score FROM table WHERE Record = 3-0
Translate the following into a SQL query
What is the visitor team on April 4?
SELECT Visitor FROM table WHERE Date = april 4
Translate the following into a SQL query
What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?
SELECT Score FROM table WHERE Visitor = chicago black hawks AND Record = 3-1
Translate the following into a SQL query
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
SELECT Instant messaging FROM table WHERE Telephony = yes with integrated sametime
Translate the following into a SQL query
What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?
SELECT Videoconferencing FROM table WHERE Synchronous conferencing = no AND Web conferencing = no AND Faxing = yes
Translate the following into a SQL query
What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"?
SELECT Videoconferencing FROM table WHERE Data conferencing = no AND Web conferencing = no
Translate the following into a SQL query
What is Application Sharing, when Web Conferencing is "Web Conferencing"?
SELECT Application sharing FROM table WHERE Web conferencing = web conferencing
Translate the following into a SQL query
What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"?
SELECT Instant messaging FROM table WHERE Electronic meeting system = yes AND Name = microsoft sharepoint
Translate the following into a SQL query
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
SELECT Instant messaging FROM table WHERE Telephony = yes with integrated sametime
Translate the following into a SQL query
What is the July 1, 2010 density when the April 1, 2010 density is 1,694?
SELECT July 1, 2010 density (/km²) FROM table WHERE April 1, 2010 density (/mi²) = 1,694
Translate the following into a SQL query
Name the mid-2010 to mid-2011 change in the case where then April 1, 2010 census reports 662,564?
SELECT Mid-2010 to mid-2011 change (Absolute) FROM table WHERE April 1, 2010 census = 662,564
Translate the following into a SQL query
What is the rank where the July 1, 2010 density equals 437?
SELECT Rank FROM table WHERE July 1, 2010 density (/km²) = 437
Translate the following into a SQL query
What is the July 1, 2011 density if the July 1, 2010 official estimate is 800,482?
SELECT July 1, 2011 density (/mi²) FROM table WHERE July 1, 2010 official estimate = 800,482
Translate the following into a SQL query
What is the mid-2010 to mid-2011 change where the July 1, 2011 density is 508?
SELECT Mid-2010 to mid-2011 change (%) FROM table WHERE July 1, 2011 density (/mi²) = 508
Translate the following into a SQL query
What country had a July 1, 2010 density of 41?
SELECT County FROM table WHERE July 1, 2010 density (/km²) = 41
Translate the following into a SQL query
What Tournament has an Outcome of winner, and Opponents of eddie dibbs harold solomon?
SELECT Tournament FROM table WHERE Outcome = winner AND Opponents = eddie dibbs harold solomon
Translate the following into a SQL query
What Partner has a Score of 3–6, 2–6?
SELECT Partner FROM table WHERE Score = 3–6, 2–6
Translate the following into a SQL query
What Tournament has a Partner of tom gorman?
SELECT Tournament FROM table WHERE Partner = tom gorman
Translate the following into a SQL query
What Outcome has Opponents of bob hewitt frew mcmillan?
SELECT Outcome FROM table WHERE Opponents = bob hewitt frew mcmillan
Translate the following into a SQL query
Who was the name of the opposing team on 11/02/1961?
SELECT Opposing Teams FROM table WHERE Date = 11/02/1961
Translate the following into a SQL query
Which Opposing team had an Against smaller Than 5?
SELECT Opposing Teams FROM table WHERE Against < 5
Translate the following into a SQL query
What is the status for 07/01/1961?
SELECT Status FROM table WHERE Date = 07/01/1961
Translate the following into a SQL query
What position does Karl Singer play?
SELECT Position FROM table WHERE Player = karl singer
Translate the following into a SQL query
Which player is an offensive tackle for the New York Jets?
SELECT Player FROM table WHERE Position = offensive tackle AND AFL Team = new york jets
Translate the following into a SQL query
What position does Mike Dennis play?
SELECT Position FROM table WHERE Player = mike dennis
Translate the following into a SQL query
Which AFL team has a pick 4 for the offensive tackle position?
SELECT AFL Team FROM table WHERE Position = offensive tackle AND Pick = 4
Translate the following into a SQL query
From which country was Sodje loaned?
SELECT Country FROM table WHERE Name = sodje
Translate the following into a SQL query
From which club is player C. Dickinson?
SELECT Loan Club FROM table WHERE Name = c. dickinson
Translate the following into a SQL query
What is the fate for the Bremen ship?
SELECT Fate FROM table WHERE Ship = bremen
Translate the following into a SQL query
Who is the original operator for the AG Vulcan builder and the Prinzess Irene ship?
SELECT Original Operator FROM table WHERE Builder = ag vulcan AND Ship = prinzess irene
Translate the following into a SQL query
What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene?
SELECT Tonnage FROM table WHERE Builder = ag vulcan AND Original Operator = ndl AND Ship = prinzess irene
Translate the following into a SQL query
What Combined has a 100 yard Freestyle of cody miller (palo verde)?
SELECT Combined FROM table WHERE 100 yard Freestyle = cody miller (palo verde)
Translate the following into a SQL query
What 100 yard Backstroke has a 100 yard Freestyle of helen yee (sierra vista)?
SELECT 100 yard Backstroke FROM table WHERE 100 yard Freestyle = helen yee (sierra vista)
Translate the following into a SQL query
What 50 yard Freestyle has a 100 yard Butterfly of diving?
SELECT 50 yard Freestyle FROM table WHERE 100 yard Butterfly = diving
Translate the following into a SQL query
What 100 yard Butterfly has a 100 yard Freestyle of cody miller (palo verde)?
SELECT 100 yard Butterfly FROM table WHERE 100 yard Freestyle = cody miller (palo verde)
Translate the following into a SQL query
What 500 yard Freestyle has a Combined of palo verde, and a 100 yard Butterfly of edward kollar (douglas)?
SELECT 500 yard Freestyle FROM table WHERE Combined = palo verde AND 100 yard Butterfly = edward kollar (douglas)
Translate the following into a SQL query
What 100 yard Freestyle has a 100 yard Backstroke of palo verde?
SELECT 100 yard Freestyle FROM table WHERE 100 yard Backstroke = palo verde
Translate the following into a SQL query
Who has a Score of 68-71-70=208?
SELECT Player FROM table WHERE Score = 68-71-70=208
Translate the following into a SQL query
Which country has -9 to par with a Score of 70-69-68=207?
SELECT Country FROM table WHERE To par = -9 AND Score = 70-69-68=207
Translate the following into a SQL query
What is Tiger Woods' to par?
SELECT To par FROM table WHERE Player = tiger woods
Translate the following into a SQL query
Which away team played against Peterborough United, with a tie no of replay?
SELECT Away team FROM table WHERE Tie no = replay AND Home team = peterborough united
Translate the following into a SQL query
What are the lowest matches that have wickets greater than 16, 3/15 as the best, and an econ less than 8?
SELECT MIN Matches FROM table WHERE Wickets > 16 AND Best = 3/15 AND Econ < 8
Translate the following into a SQL query
How many econs have 13.76 as the S/Rate, with runs less than 325?
SELECT COUNT Econ FROM table WHERE S/Rate = 13.76 AND Runs < 325
Translate the following into a SQL query
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
SELECT AVG Wickets FROM table WHERE Overs > 44 AND Player = danish kaneria AND Average > 13.8
Translate the following into a SQL query
How many 5+/inns have tyron henderson as the player, with wickets less than 21?
SELECT COUNT 5+/inns FROM table WHERE Player = tyron henderson AND Wickets < 21
Translate the following into a SQL query
What is the surface when the partner was Robert Haybittel?
SELECT Surface FROM table WHERE Partner = robert haybittel
Translate the following into a SQL query
What was the rating of the episode Wonder Drug?
SELECT Ratings (5 capital cities) FROM table WHERE Episode No. = wonder drug
Translate the following into a SQL query
Who was the winning team on May 12?
SELECT Winning Team FROM table WHERE Date = may 12
Translate the following into a SQL query
Who was the winning team for circuit zolder?
SELECT Winning Team FROM table WHERE Circuit = circuit zolder
Translate the following into a SQL query
Who was the winning team for round 3?
SELECT Winning Team FROM table WHERE Round = 3
Translate the following into a SQL query
Who was the winning team on July 13?
SELECT Winning Team FROM table WHERE Date = july 13
Translate the following into a SQL query
Name the highest Year which has a Venue of narbonne , france?
SELECT MAX Year FROM table WHERE Venue = narbonne , france
Translate the following into a SQL query
Which Competition has a Year larger than 1990 in seville , spain?
SELECT Competition FROM table WHERE Year > 1990 AND Venue = seville , spain
Translate the following into a SQL query
COunt the Year which has a Venue of latakia , syria?
SELECT COUNT Year FROM table WHERE Venue = latakia , syria