instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the average laps for the +50.653 time?
SELECT AVG Laps FROM table WHERE Time = +50.653
Translate the following into a SQL query
What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?
SELECT MAX Matches FROM table WHERE Points < 8 AND Place > 13 AND Drawn < 1
Translate the following into a SQL query
What is the average points when the drawn is less than 0?
SELECT AVG Points FROM table WHERE Drawn < 0
Translate the following into a SQL query
What was Turkey's lowest gold when there were less than 2 bronze?
SELECT MIN Gold FROM table WHERE Nation = turkey AND Bronze < 2
Translate the following into a SQL query
What is the average area in square miles for the division that is 9,630,960 square kilometers with a national share larger than 100%?
SELECT AVG Area (sq mi) FROM table WHERE Area (km²) = 9,630,960 AND National Share (%) > 100
Translate the following into a SQL query
What is the average area in square miles for the hunan administrative division with a national share less than 2.19%?
SELECT AVG Area (sq mi) FROM table WHERE Administrative Division = hunan AND National Share (%) < 2.19
Translate the following into a SQL query
What is the average square kilometer area of the division that has a 2,448 square mile area and a national share larger than 0.065%?
SELECT AVG Area (km²) FROM table WHERE Area (sq mi) = 2,448 AND National Share (%) > 0.065
Translate the following into a SQL query
What is Central Michigan's average overall when the pick was 8?
SELECT AVG Overall FROM table WHERE College = central michigan AND Pick = 8
Translate the following into a SQL query
what is the record when the opponent is jeff williams?
SELECT Record FROM table WHERE Opponent = jeff williams
Translate the following into a SQL query
what is the method for round 1 and the opponent is bobby mcmaster?
SELECT Method FROM table WHERE Round = 1 AND Opponent = bobby mcmaster
Translate the following into a SQL query
what is the location when the time is 3:15?
SELECT Location FROM table WHERE Time = 3:15
Translate the following into a SQL query
what is the record when the round is before 3 and the time si 4:59?
SELECT Record FROM table WHERE Round < 3 AND Time = 4:59
Translate the following into a SQL query
what is the record when the event is shido usa mma and the opponent is raphael assunção?
SELECT Record FROM table WHERE Event = shido usa mma AND Opponent = raphael assunção
Translate the following into a SQL query
How much money did Ben Crenshaw earn?
SELECT Money ( $ ) FROM table WHERE Player = ben crenshaw
Translate the following into a SQL query
what is the competition when the score is 2-1?
SELECT Competition FROM table WHERE Score = 2-1
Translate the following into a SQL query
what is the venue when the score is 10-0 on 1997-06-22?
SELECT Venue FROM table WHERE Score = 10-0 AND Date = 1997-06-22
Translate the following into a SQL query
what is the venue when the competition is 1996 afc asian cup group stage?
SELECT Venue FROM table WHERE Competition = 1996 afc asian cup group stage
Translate the following into a SQL query
what is the competition when the date is 1995-08-06?
SELECT Competition FROM table WHERE Date = 1995-08-06
Translate the following into a SQL query
What is the total number of weeks that the Giants played against the Dallas Cowboys?
SELECT COUNT Week FROM table WHERE Opponent = dallas cowboys
Translate the following into a SQL query
Which Home has an Away of hispano?
SELECT Home FROM table WHERE Away = hispano
Translate the following into a SQL query
What engine has the Mercedes AMG Petronas f1 team, and 93 points?
SELECT Engine FROM table WHERE Entrant = mercedes amg petronas f1 team AND Points = 93
Translate the following into a SQL query
Which Chassis has 4 points?
SELECT Chassis FROM table WHERE Points = 4
Translate the following into a SQL query
What is Opponent, when Year is greater than 2009, and when Score is 7–5, 6–7 (6–8) , 6–1?
SELECT Opponent FROM table WHERE Year > 2009 AND Score = 7–5, 6–7 (6–8) , 6–1
Translate the following into a SQL query
What is the lowest Year, when Surface is Hard, and when Opponent is Dinara Safina?
SELECT MIN Year FROM table WHERE Surface = hard AND Opponent = dinara safina
Translate the following into a SQL query
What is Surface, when Championship is Australian Open?
SELECT Surface FROM table WHERE Championship = australian open
Translate the following into a SQL query
What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5?
SELECT Outcome FROM table WHERE Opponent = victoria azarenka AND Score = 6–2, 2–6, 7–5
Translate the following into a SQL query
WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012?
SELECT Series FROM table WHERE Released by = itv studios AND Release Date = august 15, 2012
Translate the following into a SQL query
WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD?
SELECT Episode No. FROM table WHERE No. of DVDs = 28
Translate the following into a SQL query
WHAT EPISODE HAS A REGION NUMBER BIGGER THAN 1, AND 32 DVDS?
SELECT Episode No. FROM table WHERE Region No. > 1 AND No. of DVDs = 32
Translate the following into a SQL query
Who was the player from Duke?
SELECT Position FROM table WHERE From = duke
Translate the following into a SQL query
What is Duration, when Test Flight is Taxi Test #2?
SELECT Duration FROM table WHERE Test flight = taxi test #2
Translate the following into a SQL query
What it Duration, when Test Flight is Free Flight #3?
SELECT Duration FROM table WHERE Test flight = free flight #3
Translate the following into a SQL query
What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s?
SELECT Date FROM table WHERE Comment = tailcone on, lakebed landing AND Duration = 5min 34 s
Translate the following into a SQL query
What is Crew, when Date is July 26, 1977?
SELECT Crew FROM table WHERE Date = july 26, 1977
Translate the following into a SQL query
What is Years, when Nationality is United States, and when Position is PG / SG?
SELECT Years FROM table WHERE Nationality = united states AND Position = pg / sg
Translate the following into a SQL query
What is Nationality, when Years is 1979?
SELECT Nationality FROM table WHERE Years = 1979
Translate the following into a SQL query
What is From, when Player is Jackie Robinson Category:Articles With Hcards?
SELECT From FROM table WHERE Player = jackie robinson category:articles with hcards
Translate the following into a SQL query
WHAT SCORE HAS A TIME OF 18:27?
SELECT Score FROM table WHERE Time = 18:27
Translate the following into a SQL query
WHAT GOAL HAS A TIME OF 39:37?
SELECT Goal FROM table WHERE Time = 39:37
Translate the following into a SQL query
What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"?
SELECT Electorate FROM table WHERE Party = country AND State = wa AND Member = john hallett
Translate the following into a SQL query
What is Term of Office, when Member is "Dominic Costa"?
SELECT Term of office FROM table WHERE Member = dominic costa
Translate the following into a SQL query
What is State, when Member is "Gil Duthie"?
SELECT State FROM table WHERE Member = gil duthie
Translate the following into a SQL query
What was the number of attendance at Stadion with a score of 2-0
SELECT Attendance FROM table WHERE Venue = stadion AND Score = 2-0
Translate the following into a SQL query
What season did the Rangers win?
SELECT Season FROM table WHERE Winner = rangers
Translate the following into a SQL query
What is the score of the game with Falkirk as the runner-up?
SELECT Score FROM table WHERE Runner-up = falkirk
Translate the following into a SQL query
What is the venue of the game where hibernian won and the rangers were the runner-up?
SELECT Venue FROM table WHERE Runner-up = rangers AND Winner = hibernian
Translate the following into a SQL query
what is the country for the 1972 winter olympics?
SELECT Country FROM table WHERE Winter Olympics = 1972
Translate the following into a SQL query
what is the winter olympics year when the fis nordic world ski championships is 1976?
SELECT Winter Olympics FROM table WHERE FIS Nordic World Ski Championships = 1976
Translate the following into a SQL query
what is the earliest winter olympics when the fis nordic world ski championships is 1976?
SELECT MIN Winter Olympics FROM table WHERE FIS Nordic World Ski Championships = 1976
Translate the following into a SQL query
what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?
SELECT SUM Winter Olympics FROM table WHERE Country = soviet union AND Holmenkollen = 1970, 1979
Translate the following into a SQL query
what is the date when the away team is newport county?
SELECT Date FROM table WHERE Away team = newport county
Translate the following into a SQL query
How many games have 5 goals and less than 8 assists?
SELECT COUNT Games FROM table WHERE Goals = 5 AND Assists < 8
Translate the following into a SQL query
What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?
SELECT MAX Goals FROM table WHERE Points = 13 AND Assists = 10 AND Club = eisbären berlin
Translate the following into a SQL query
What is Ivan Ciernik's average points with less than 11 goals?
SELECT AVG Points FROM table WHERE Player = ivan ciernik AND Goals < 11
Translate the following into a SQL query
Which province is Parun in?
SELECT Province FROM table WHERE Centers = parun
Translate the following into a SQL query
In which category is Frank Scarabino a pilot?
SELECT Category FROM table WHERE Pilot = frank scarabino
Translate the following into a SQL query
What is the sum of speed in km per hour reached by John Egginton?
SELECT SUM Speed (km/h) FROM table WHERE Pilot = john egginton
Translate the following into a SQL query
What is the name of team 1 that was after the 2005 season and with a 4-2 score?
SELECT Team 1 FROM table WHERE Season > 2005 AND Score = 4-2
Translate the following into a SQL query
In the 2004 season with a 0-2 score what was the name of the venue?
SELECT Venue FROM table WHERE Score = 0-2 AND Season = 2004
Translate the following into a SQL query
What is the earliest season that Pisico Bình ðinh is team 2?
SELECT MIN Season FROM table WHERE Team 2 = pisico bình ðinh
Translate the following into a SQL query
Which years have a rank less than 2?
SELECT Years FROM table WHERE Rank < 2
Translate the following into a SQL query
How many games have rebounds larger than 1048?
SELECT COUNT Games FROM table WHERE Total Rebounds > 1048
Translate the following into a SQL query
How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?
SELECT COUNT Total Rebounds FROM table WHERE Player = andre gaddy AND Rank < 6
Translate the following into a SQL query
How many rebounds have a Player of herb estes?
SELECT COUNT Total Rebounds FROM table WHERE Player = herb estes
Translate the following into a SQL query
What is the total of rebound averages with more than 98 games and a rank of 7?
SELECT SUM Reb. Avg. FROM table WHERE Games > 98 AND Rank = 7
Translate the following into a SQL query
Can you tell me the Date that has the Team of golden state?
SELECT Date FROM table WHERE Team = golden state
Translate the following into a SQL query
Can you tell me the High assists that has the Date of november 25?
SELECT High assists FROM table WHERE Date = november 25
Translate the following into a SQL query
Can you tell me the Team that has the High rebounds of antawn jamison (10), and the Date of november 5?
SELECT Team FROM table WHERE High rebounds = antawn jamison (10) AND Date = november 5
Translate the following into a SQL query
Can you tell me the High rebounds that has the Date of november 5?
SELECT High rebounds FROM table WHERE Date = november 5
Translate the following into a SQL query
WHAT IS THE TEAM WITH astc round 1?
SELECT Team FROM table WHERE Series = astc round 1
Translate the following into a SQL query
WHAT IS THE WINNER WITH ATCC ROUND 6?
SELECT Winner FROM table WHERE Series = atcc round 6
Translate the following into a SQL query
What is the lowest number of points the 49ers scored when the record was 1-5 and there were more than 29,563 fans attending?
SELECT MIN 49ers points FROM table WHERE Attendance > 29,563 AND Record = 1-5
Translate the following into a SQL query
What was the highest attendance for the game where the record was 0-5 and the opponents scored more than 20 points?
SELECT MAX Attendance FROM table WHERE Record = 0-5 AND Opponents > 20
Translate the following into a SQL query
What is the street address of Notre Dame Basilica?
SELECT Street address FROM table WHERE Name = notre dame basilica
Translate the following into a SQL query
What is the name of the building that was the tallest for 28 years?
SELECT Name FROM table WHERE # of Years as tallest = 28 years
Translate the following into a SQL query
What is the Region, when the Catalog is SM 2965-05?
SELECT Region FROM table WHERE Catalog = sm 2965-05
Translate the following into a SQL query
What is the Region, when the Catalog is 25AP 301?
SELECT Region FROM table WHERE Catalog = 25ap 301
Translate the following into a SQL query
What is Date, when Catalog is EPC 81436?
SELECT Date FROM table WHERE Catalog = epc 81436
Translate the following into a SQL query
What is Label, when Format is Double CD?
SELECT Label FROM table WHERE Format = double cd
Translate the following into a SQL query
What is Label, when Region is Japan?
SELECT Label FROM table WHERE Region = japan
Translate the following into a SQL query
What is Format, when Region is United States?
SELECT Format FROM table WHERE Region = united states
Translate the following into a SQL query
What was the date of appointment for the manager of lecce when the previous manager's contract expired?
SELECT Date of appointment FROM table WHERE Manner of departure = contract expired AND Team = lecce
Translate the following into a SQL query
What was the manner of departure for the outgoing manager, davide ballardini?
SELECT Manner of departure FROM table WHERE Outgoing manager = davide ballardini
Translate the following into a SQL query
What was the manner of departure for the outgoing manager, giuseppe iachini?
SELECT Manner of departure FROM table WHERE Outgoing manager = giuseppe iachini
Translate the following into a SQL query
What is the date of appointment for the outgoing manager edoardo reja?
SELECT Date of appointment FROM table WHERE Outgoing manager = edoardo reja
Translate the following into a SQL query
At what event did he fight matt eckerle?
SELECT Event FROM table WHERE Opponent = matt eckerle
Translate the following into a SQL query
What is the highest Round that lasted 1:44?
SELECT MAX Round FROM table WHERE Time = 1:44
Translate the following into a SQL query
What is the number for the interview in Illinois when the preliminary is less than 8.558?
SELECT SUM Interview FROM table WHERE Country = illinois AND Preliminary < 8.558
Translate the following into a SQL query
What is the name of the country with less than 9.033 for swimsuit, 8.611 for interview and preliminary is less than 8.87?
SELECT Country FROM table WHERE Swimsuit < 9.033 AND Interview = 8.611 AND Preliminary < 8.87
Translate the following into a SQL query
What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597?
SELECT COUNT Evening Gown FROM table WHERE Average > 8.984 AND Country = louisiana AND Preliminary > 8.597
Translate the following into a SQL query
What is the interview number in Louisiana, and the swimsuit number is more than 9.1?
SELECT COUNT Interview FROM table WHERE Country = louisiana AND Swimsuit > 9.1
Translate the following into a SQL query
What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?
SELECT COUNT Swimsuit FROM table WHERE Preliminary = 8.721 AND Average > 8.781
Translate the following into a SQL query
Where was the game played on 30 May 2004?
SELECT Venue FROM table WHERE Date = 30 may 2004
Translate the following into a SQL query
Who was Silva's Partner in the Amarante Tournament played on a Hard Surface?
SELECT Partner FROM table WHERE Surface = hard AND Tournament = amarante
Translate the following into a SQL query
Who was Silva's Partner in the match with a Score of 6–3, 7–6 (7–3)?
SELECT Partner FROM table WHERE Score = 6–3, 7–6 (7–3)
Translate the following into a SQL query
On what Date was the match with partner Kira Nagy?
SELECT Date FROM table WHERE Partner = kira nagy
Translate the following into a SQL query
What is the Date of the Vigo Tournament?
SELECT Date FROM table WHERE Tournament = vigo
Translate the following into a SQL query
What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade?
SELECT Tournament FROM table WHERE Partner = nicole thijssen AND Opponent in the final = nina bratchikova & frederica piedade
Translate the following into a SQL query
What is Name, when State is "Jin"?
SELECT Name FROM table WHERE State = jin
Translate the following into a SQL query
What is Name, when Royal House is "Ji", and when State is "Cai"?
SELECT Name FROM table WHERE Royal house = ji AND State = cai