instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?
SELECT Position FROM table WHERE Club/Team = warroad lakers AND Name = roger christian
Translate the following into a SQL query
What home has 122-28 as the score?
SELECT Home FROM table WHERE Score = 122-28
Translate the following into a SQL query
What ground has etobicoke kangaroos as the home?
SELECT Ground FROM table WHERE Home = etobicoke kangaroos
Translate the following into a SQL query
What time has humber college north as the ground, and toronto downtown dingos as the home?
SELECT Time FROM table WHERE Ground = humber college north AND Home = toronto downtown dingos
Translate the following into a SQL query
What score has Toronto Eagles as the home?
SELECT Score FROM table WHERE Home = toronto eagles
Translate the following into a SQL query
What date has high park demons as the away?
SELECT Date FROM table WHERE Away = high park demons
Translate the following into a SQL query
What away has toronto downtown dingos as the home?
SELECT Away FROM table WHERE Home = toronto downtown dingos
Translate the following into a SQL query
Who was the winner from the Rip Curl Pro Search?
SELECT Winner FROM table WHERE Event = rip curl pro search
Translate the following into a SQL query
What was the location of the tournament held in Spain?
SELECT Location FROM table WHERE Country = spain
Translate the following into a SQL query
What was the date of the tournament held in Indonesia?
SELECT Date FROM table WHERE Country = indonesia
Translate the following into a SQL query
What is the average Lost when the difference is - 3, and a Played is less than 10?
SELECT AVG Lost FROM table WHERE Difference = - 3 AND Played < 10
Translate the following into a SQL query
What is the Position when the Drawn is less than 2, with a Difference of 2?
SELECT Position FROM table WHERE Drawn < 2 AND Difference = 2
Translate the following into a SQL query
What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.
SELECT SUM Against FROM table WHERE Drawn < 2 AND Position > 8 AND Lost > 6
Translate the following into a SQL query
What is the Difference with a position of less than 3, and, 17 points.
SELECT Difference FROM table WHERE Position < 3 AND Points = 17
Translate the following into a SQL query
What is the average Top-5, when Tournament is U.S. Open, and when Cuts Made is greater than 10?
SELECT AVG Top-5 FROM table WHERE Tournament = u.s. open AND Cuts made > 10
Translate the following into a SQL query
What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?
SELECT SUM Events FROM table WHERE Top-10 = 7 AND Top-5 > 4
Translate the following into a SQL query
What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86?
SELECT SUM Top-5 FROM table WHERE Tournament = totals AND Events > 86
Translate the following into a SQL query
What is the average Top-10, when Wins is less than 0?
SELECT AVG Top-10 FROM table WHERE Wins < 0
Translate the following into a SQL query
What is the total number of Top-25, when Events is greater than 86?
SELECT COUNT Top-25 FROM table WHERE Events > 86
Translate the following into a SQL query
What 2011 has 4r as the 2008?
SELECT 2011 FROM table WHERE 2008 = 4r
Translate the following into a SQL query
What 2007 has wimbledon as the tournament?
SELECT 2007 FROM table WHERE Tournament = wimbledon
Translate the following into a SQL query
What 2006 has 1r as the 2007?
SELECT 2006 FROM table WHERE 2007 = 1r
Translate the following into a SQL query
What tournament has q2 as the 2004?
SELECT Tournament FROM table WHERE 2004 = q2
Translate the following into a SQL query
What 2009 has grand slam tournaments of 2008?
SELECT 2009 FROM table WHERE 2008 = grand slam tournaments
Translate the following into a SQL query
What 2006 has 0-0 as the 2011?
SELECT 2006 FROM table WHERE 2011 = 0-0
Translate the following into a SQL query
What is the Lineup from a Match that is 27?
SELECT Lineup FROM table WHERE Match = 27
Translate the following into a SQL query
What is the date for Orangeville?
SELECT Date FROM table WHERE Name = orangeville
Translate the following into a SQL query
Who is the builder with a works number of 2534?
SELECT Builder FROM table WHERE Works number = 2534
Translate the following into a SQL query
Who is the name with a works number of 809?
SELECT Name FROM table WHERE Works number = 809
Translate the following into a SQL query
In early 1873, Owen sound had what works number?
SELECT Works number FROM table WHERE Date = early 1873 AND Name = owen sound
Translate the following into a SQL query
What was the name for the locomotive with a type of 2-8-0 and a number of 20?
SELECT Name FROM table WHERE Type = 2-8-0 AND Number = 20
Translate the following into a SQL query
What is the Year won for the player with a larger than 4 To par and less the 157 Total?
SELECT Year won FROM table WHERE To par > 4 AND Total < 157
Translate the following into a SQL query
What is the Total for the Player who won after 1983 with less than 4 To par?
SELECT AVG Total FROM table WHERE To par < 4 AND Year won > 1983
Translate the following into a SQL query
What is the Total of the player who won before 1983 with a smaller than 4 To par?
SELECT COUNT Total FROM table WHERE To par < 4 AND Year won < 1983
Translate the following into a SQL query
Which venue led to a draw?
SELECT Venue FROM table WHERE Result = draw
Translate the following into a SQL query
What is the highest Stolen Ends when ludmila privivkova shows for skip?
SELECT MAX Stolen Ends FROM table WHERE Skip = ludmila privivkova
Translate the following into a SQL query
What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?
SELECT SUM Blank Ends FROM table WHERE Nation = denmark AND Ends Lost < 42
Translate the following into a SQL query
What is the Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.
SELECT Blank Ends FROM table WHERE Ends Won < 39 AND Ends Lost > 35 AND Stolen Ends = 4
Translate the following into a SQL query
Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
SELECT 20 Questions FROM table WHERE Interview subject = camille paglia
Translate the following into a SQL query
Who was the Centerfold Model on 5-95?
SELECT Centerfold model FROM table WHERE Date = 5-95
Translate the following into a SQL query
Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?
SELECT 20 Questions FROM table WHERE Cover model = kimberley conrad hefner
Translate the following into a SQL query
Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?
SELECT Centerfold model FROM table WHERE Cover model = julie lynn cialini
Translate the following into a SQL query
Who was the Interview Subject when the Centerfold Model was Melissa Deanne Holliday?
SELECT Interview subject FROM table WHERE Centerfold model = melissa deanne holliday
Translate the following into a SQL query
Who was the 20 Questions section aimed at when Centerfold Model was Rachel Jeán Marteen?
SELECT 20 Questions FROM table WHERE Centerfold model = rachel jeán marteen
Translate the following into a SQL query
What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?
SELECT AVG Jersey # FROM table WHERE Name = steve griffith AND Weight (kg) < 84
Translate the following into a SQL query
What was the lowest Weight (kg) for a player that had Jersey #10?
SELECT MIN Weight (kg) FROM table WHERE Jersey # = 10
Translate the following into a SQL query
How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
SELECT COUNT Height (cm) FROM table WHERE Jersey # < 16 AND Name = mark fusco
Translate the following into a SQL query
What was the title of the episode that martin worth wrote the story for?
SELECT Title FROM table WHERE Story = martin worth
Translate the following into a SQL query
In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]?
SELECT Year FROM table WHERE Outcome = runner-up AND Score = 4–6, 6–4, [8–10]
Translate the following into a SQL query
On what surface was the game played that had a score of 4–6, 6–4, [8–10]?
SELECT Surface FROM table WHERE Score = 4–6, 6–4, [8–10]
Translate the following into a SQL query
What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters?
SELECT Caps FROM table WHERE Province / Club = example AND Position = prop AND Player = sam walters
Translate the following into a SQL query
What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?
SELECT Position FROM table WHERE Date of Birth (Age) = example AND Player = mark spencer
Translate the following into a SQL query
What is Player, when Caps is Example, and when Position is Center?
SELECT Player FROM table WHERE Caps = example AND Position = center
Translate the following into a SQL query
What is Caps, when Province / Club is DRFC, and when Position is Center?
SELECT Caps FROM table WHERE Province / Club = drfc AND Position = center
Translate the following into a SQL query
What is Position, when Caps is Example, and When Player is Shane Kelly?
SELECT Position FROM table WHERE Caps = example AND Player = shane kelly
Translate the following into a SQL query
What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?
SELECT Position FROM table WHERE Province / Club = example AND Date of Birth (Age) = example AND Player = michael elumeze
Translate the following into a SQL query
What is the average number played of the team with 1 drawn and 24 against?
SELECT AVG Played FROM table WHERE Drawn = 1 AND Against = 24
Translate the following into a SQL query
What is the highest lost number of the team with less than 14 points and less than 18 played?
SELECT MAX Lost FROM table WHERE Points < 14 AND Played < 18
Translate the following into a SQL query
Which team had 1 position?
SELECT Team FROM table WHERE Position = 1
Translate the following into a SQL query
What is the lowest number of played of the team with 18 points and a position greater than 5?
SELECT MIN Played FROM table WHERE Points = 18 AND Position > 5
Translate the following into a SQL query
What is the total number of points of the team with less than 4 drawn and an against of 34?
SELECT COUNT Points FROM table WHERE Drawn < 4 AND Against = 34
Translate the following into a SQL query
What is the average number of drawn with a difference of 17 and 22 points?
SELECT AVG Drawn FROM table WHERE Difference = 17 AND Points = 22
Translate the following into a SQL query
What is the team that has forward-center as a position?
SELECT School/Club Team FROM table WHERE Position = forward-center
Translate the following into a SQL query
What team does Kenny Smith play for?
SELECT School/Club Team FROM table WHERE Player = kenny smith
Translate the following into a SQL query
What years was Lebanon the nationality?
SELECT Years in Orlando FROM table WHERE Nationality = lebanon
Translate the following into a SQL query
Which margin of victory has cyber agent ladies as the tournament?
SELECT Margin of victory FROM table WHERE Tournament = cyber agent ladies
Translate the following into a SQL query
What date has yani tseng as the runner (s)-up?
SELECT Date FROM table WHERE Runner(s)-up = yani tseng
Translate the following into a SQL query
What is the margin of victory that has masters gc ladies as the tournament?
SELECT Margin of victory FROM table WHERE Tournament = masters gc ladies
Translate the following into a SQL query
What is the date that has yani tseng as the runner (s)-up?
SELECT Date FROM table WHERE Runner(s)-up = yani tseng
Translate the following into a SQL query
What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament?
SELECT Winning score FROM table WHERE Margin of victory = 2 strokes AND Tournament = cyber agent ladies
Translate the following into a SQL query
What is the highest Poles with a win that is smaller than 0?
SELECT MAX Poles FROM table WHERE wins < 0
Translate the following into a SQL query
What is the headphone model with a plastic construction and a prestige headphone class?
SELECT Headphone Model FROM table WHERE Construction = plastic AND Headphone Class = prestige
Translate the following into a SQL query
What earpads does the headphone with plastic contruction and was succeeded by igrado have?
SELECT Earpads FROM table WHERE Construction = plastic AND Succeeded by = igrado
Translate the following into a SQL query
What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325?
SELECT Earpads FROM table WHERE Construction = plastic AND Sensitivity (dB) = unknown AND Succeeded by = sr325
Translate the following into a SQL query
What is the headphone model which was succeeded by sr325?
SELECT Headphone Model FROM table WHERE Succeeded by = sr325
Translate the following into a SQL query
What regulations have hudson as the winning constructor?
SELECT Regulations FROM table WHERE Winning constructor = hudson
Translate the following into a SQL query
What regulations have carlos arzani as the winning driver?
SELECT Regulations FROM table WHERE Winning drivers = carlos arzani
Translate the following into a SQL query
What is the latest year that has ferrari 166 fl as the winning constructor?
SELECT MAX Year FROM table WHERE Winning constructor = ferrari 166 fl
Translate the following into a SQL query
What is the city of license that has lp as the class?
SELECT City of license FROM table WHERE Class = lp
Translate the following into a SQL query
What is the identifier that has 50,000 watts of power?
SELECT Identifier FROM table WHERE Power = 50,000 watts
Translate the following into a SQL query
What RECNet has 40 watts of power and temagami as the city of license?
SELECT RECNet FROM table WHERE Power = 40 watts AND City of license = temagami
Translate the following into a SQL query
What city of license has A as a class, and cbec-fm as the identifier?
SELECT City of license FROM table WHERE Class = a AND Identifier = cbec-fm
Translate the following into a SQL query
What RECNet has elk lake as the city of license?
SELECT RECNet FROM table WHERE City of license = elk lake
Translate the following into a SQL query
What frequency has temagami as the city of license?
SELECT Frequency FROM table WHERE City of license = temagami
Translate the following into a SQL query
What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?
SELECT MAX Current branch opened FROM table WHERE Neighborhood = w. portland park
Translate the following into a SQL query
What is the First Branch Opened, when Branch is Belmont Library?
SELECT First branch opened FROM table WHERE Branch = belmont library
Translate the following into a SQL query
What is Neighborhood, when Branch is Hollywood Library?
SELECT Neighborhood FROM table WHERE Branch = hollywood library
Translate the following into a SQL query
What is Current Branch Opened, when Branch is Midland Library?
SELECT Current branch opened FROM table WHERE Branch = midland library
Translate the following into a SQL query
Which player has the fewest assists and played 2 games or fewer?
SELECT MIN Assists FROM table WHERE Games < 2
Translate the following into a SQL query
What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?
SELECT COUNT March FROM table WHERE January < 8.77 AND December > 1.69 AND Average Monthly Additions(in millions) < 5.35 AND Year < 2004
Translate the following into a SQL query
What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?
SELECT COUNT November FROM table WHERE February > 8.53 AND March = 20.21 AND September < 7.9
Translate the following into a SQL query
What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?
SELECT SUM December FROM table WHERE July = 0.36 AND February > 0.35000000000000003
Translate the following into a SQL query
What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?
SELECT COUNT July FROM table WHERE October < 8.05 AND December > 4.46 AND November > 6.79
Translate the following into a SQL query
What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February?
SELECT COUNT October FROM table WHERE September < 2.48 AND Year > 2002 AND June > 1.42 AND February < 7.44
Translate the following into a SQL query
What is the Catalog with a Region that is europe?
SELECT Catalog FROM table WHERE Region = europe
Translate the following into a SQL query
What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?
SELECT MAX SFC in g/(kN·s) FROM table WHERE Engine type = rolls-royce/snecma olympus 593 AND SFC in lb/(lbf·h) < 1.195
Translate the following into a SQL query
What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?
SELECT Winner FROM table WHERE Week of = 8 may AND Semi finalists = helena suková mary pierce AND Runner-up = conchita martínez patricia tarabini
Translate the following into a SQL query
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
SELECT Week of FROM table WHERE Semi finalists = sandrine testud yone kamio
Translate the following into a SQL query
In what Season was Colin Miller (TAS) the Player?
SELECT Season FROM table WHERE Player = colin miller (tas)
Translate the following into a SQL query
What Rank has a 65 s Wicket?
SELECT Rank FROM table WHERE s Wicket = 65