instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What date sent has cancer as the constellation?
SELECT Date sent FROM table WHERE Constellation = cancer
Translate the following into a SQL query
Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6?
SELECT MAX Conceded FROM table WHERE Points > 17 AND Team = guaraní AND Losses < 6
Translate the following into a SQL query
Which Conceded has Draws smaller than 5, and a Position larger than 6?
SELECT SUM Conceded FROM table WHERE Draws < 5 AND Position > 6
Translate the following into a SQL query
How many Points have a Played larger than 18?
SELECT COUNT Points FROM table WHERE Played > 18
Translate the following into a SQL query
Which Scored has a Team of recoleta?
SELECT SUM Scored FROM table WHERE Team = recoleta
Translate the following into a SQL query
Which Notes have a Date of 2008-01-27?
SELECT Notes FROM table WHERE Date = 2008-01-27
Translate the following into a SQL query
Which Date has a Distance of 3,000 m?
SELECT Date FROM table WHERE Distance = 3,000 m
Translate the following into a SQL query
Which Distance has a Time of men's speed skating?
SELECT Distance FROM table WHERE Time = men's speed skating
Translate the following into a SQL query
Which Location has a Time of time?
SELECT Location FROM table WHERE Time = time
Translate the following into a SQL query
Which Location has a Distance of 10,000 m?
SELECT Location FROM table WHERE Distance = 10,000 m
Translate the following into a SQL query
Which Date has a Distance of 500 m?
SELECT Date FROM table WHERE Distance = 500 m
Translate the following into a SQL query
What was the score for the June 22 game with attendance 0?
SELECT Score FROM table WHERE Date = june 22 AND Attendance = 0
Translate the following into a SQL query
What type of surface was used for the carthage tournament on august 14, 1994?
SELECT Surface FROM table WHERE Tournament = carthage AND Date = august 14, 1994
Translate the following into a SQL query
Which tournament has marielle bruens for the opponent in the final?
SELECT Tournament FROM table WHERE Opponent in the final = marielle bruens
Translate the following into a SQL query
What surface was used on may 13, 2007?
SELECT Surface FROM table WHERE Date = may 13, 2007
Translate the following into a SQL query
Frequency MHz of 93.7 has what class?
SELECT Class FROM table WHERE Frequency MHz = 93.7
Translate the following into a SQL query
What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?
SELECT AVG Entre Ríos Municipality FROM table WHERE Pojo Municipality < 9
Translate the following into a SQL query
What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?
SELECT COUNT Pocona Municipality FROM table WHERE Totora Municipality = 72 AND Pojo Municipality > 74
Translate the following into a SQL query
What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?
SELECT MAX Chimoré Municipality FROM table WHERE Pojo Municipality = 9 AND Totora Municipality < 7
Translate the following into a SQL query
Which Copa Libertadores 1996 has a Team of estudiantes?
SELECT Copa Libertadores 1996 FROM table WHERE Team = estudiantes
Translate the following into a SQL query
which CONMEBOL 1995 has a Supercopa 1995 of sf?
SELECT CONMEBOL 1995 FROM table WHERE Supercopa 1995 = sf
Translate the following into a SQL query
which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ?
SELECT Copa Libertadores 1996 FROM table WHERE Supercopa 1995 = round 1 AND Team = argentinos juniors
Translate the following into a SQL query
Which CONMEBOL 1995 has river plate team?
SELECT CONMEBOL 1995 FROM table WHERE Team = river plate
Translate the following into a SQL query
Which Team has a round 1 CONMEBOL 1995?
SELECT Team FROM table WHERE CONMEBOL 1995 = round 1
Translate the following into a SQL query
Which Date has an Attendance of 57,013?
SELECT Date FROM table WHERE Attendance = 57,013
Translate the following into a SQL query
Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals?
SELECT Date FROM table WHERE TV Time = cbs 1:00pm AND Game Site = rca dome AND Opponent = cincinnati bengals
Translate the following into a SQL query
Which TV Time has a Date of december 26, 1999?
SELECT TV Time FROM table WHERE Date = december 26, 1999
Translate the following into a SQL query
Which Game Site has a Date of october 17, 1999?
SELECT Game Site FROM table WHERE Date = october 17, 1999
Translate the following into a SQL query
what's the result with streak of won 6?
SELECT Result FROM table WHERE Streak = won 6
Translate the following into a SQL query
What was the 2nd leg score having an aggregate score of 4-2?
SELECT 2nd leg FROM table WHERE Aggregate = 4-2
Translate the following into a SQL query
What was the home team for the 2nd leg for the match having a 1st leg score of 2-1?
SELECT Home (2nd leg) FROM table WHERE 1st Leg = 2-1
Translate the following into a SQL query
What was the home team for the 2nd leg of the match having an aggregate of 2-3?
SELECT Home (2nd leg) FROM table WHERE Aggregate = 2-3
Translate the following into a SQL query
What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?
SELECT MIN Played FROM table WHERE Drawn < 12 AND Against = 41 AND Points < 69
Translate the following into a SQL query
What is the highest number of played of the team with less than 11 losses and less than 12 drawns?
SELECT MAX Played FROM table WHERE Lost < 11 AND Drawn < 12
Translate the following into a SQL query
What is the sum of againsts the team with less than 38 played had?
SELECT SUM Against FROM table WHERE Played < 38
Translate the following into a SQL query
What is the average drawn of the team with a difference of 4 and more than 13 losses?
SELECT AVG Drawn FROM table WHERE Difference = 4 AND Lost > 13
Translate the following into a SQL query
What is the position of the team with more than 16 losses and an against greater than 74?
SELECT SUM Position FROM table WHERE Lost > 16 AND Against > 74
Translate the following into a SQL query
What is the highest number of points team vitória, which had more than 38 played, had?
SELECT MAX Points FROM table WHERE Team = vitória AND Played > 38
Translate the following into a SQL query
When the A Score was larger than 5.933 with a total of 19.833, what nation was this?
SELECT Nation FROM table WHERE A Score > 5.933 AND Total = 19.833
Translate the following into a SQL query
How large was the total when the E Score was greater than 9.35 and T Score was less than 4?
SELECT MAX Total FROM table WHERE E Score > 9.35 AND T Score < 4
Translate the following into a SQL query
What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4?
SELECT SUM A Score FROM table WHERE E Score > 9.566 AND Nation = greece AND T Score > 4
Translate the following into a SQL query
What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4?
SELECT SUM A Score FROM table WHERE E Score > 9.383 AND Total < 19.716 AND T Score > 4
Translate the following into a SQL query
Which city has a frequency of 104.5 fm?
SELECT City of license FROM table WHERE Frequency MHz = 104.5 fm
Translate the following into a SQL query
What is the frequency of Walterboro, SC?
SELECT Frequency MHz FROM table WHERE City of license = walterboro, sc
Translate the following into a SQL query
What is the FCC information of 104.5 fm frequency?
SELECT FCC info FROM table WHERE Frequency MHz = 104.5 fm
Translate the following into a SQL query
What is Charleston, SC ERP W?
SELECT ERP W FROM table WHERE City of license = charleston, sc
Translate the following into a SQL query
What does the ERP W sum equal for 105.1 fm frequency?
SELECT SUM ERP W FROM table WHERE Frequency MHz = 105.1 fm
Translate the following into a SQL query
What is surfside beach, SC frequency?
SELECT Frequency MHz FROM table WHERE City of license = surfside beach, sc
Translate the following into a SQL query
What is the player from Japan's To Par?
SELECT To par FROM table WHERE Country = japan
Translate the following into a SQL query
What is the player from England's To Par?
SELECT To par FROM table WHERE Country = england
Translate the following into a SQL query
What is the player from England's score?
SELECT Score FROM table WHERE Country = england
Translate the following into a SQL query
Which country does Adam Scott play for?
SELECT Country FROM table WHERE Player = adam scott
Translate the following into a SQL query
Name the ICAO for lilongwe international airport
SELECT ICAO FROM table WHERE Airport = lilongwe international airport
Translate the following into a SQL query
Name the airport for ICAO of flls
SELECT Airport FROM table WHERE ICAO = flls
Translate the following into a SQL query
Name the ICAO for lilongwe international airport
SELECT ICAO FROM table WHERE Airport = lilongwe international airport
Translate the following into a SQL query
Name the ICAO for julius nyerere international airport
SELECT ICAO FROM table WHERE Airport = julius nyerere international airport
Translate the following into a SQL query
Name the country for johannesburg
SELECT Country FROM table WHERE City = johannesburg
Translate the following into a SQL query
Name the city for IATA of llw
SELECT City FROM table WHERE IATA = llw
Translate the following into a SQL query
What is the name of the home time with a 10 tie no?
SELECT Home team FROM table WHERE Tie no = 10
Translate the following into a SQL query
What was the date of the game that was played against the away team of York City?
SELECT Attendance FROM table WHERE Away team = york city
Translate the following into a SQL query
What group of juventus had an attendance larger than 47,786?
SELECT Group position FROM table WHERE Opponents = juventus AND Attendance > 47,786
Translate the following into a SQL query
Name the average week for result of l 28–17
SELECT AVG Week FROM table WHERE Result = l 28–17
Translate the following into a SQL query
What was the score on April 12?
SELECT Score FROM table WHERE Date = april 12
Translate the following into a SQL query
What was the record on April 6?
SELECT Record FROM table WHERE Date = april 6
Translate the following into a SQL query
Which 2009 has a 2008 of A, and a 2010 of 4r?
SELECT 2009 FROM table WHERE 2008 = a AND 2010 = 4r
Translate the following into a SQL query
Which 2009 has a 2008 of wta premier mandatory tournaments?
SELECT 2009 FROM table WHERE 2008 = wta premier mandatory tournaments
Translate the following into a SQL query
Which 2010 has a Tournament of australian open?
SELECT 2010 FROM table WHERE Tournament = australian open
Translate the following into a SQL query
Which 2007 has a 2006 of A, and a Tournament of canada?
SELECT 2007 FROM table WHERE 2006 = a AND Tournament = canada
Translate the following into a SQL query
Which 2009 has a 2006 of A, and a 2011 of sf?
SELECT 2009 FROM table WHERE 2006 = a AND 2011 = sf
Translate the following into a SQL query
Which 2007 has a 2010 of A?
SELECT 2007 FROM table WHERE 2010 = a
Translate the following into a SQL query
Adam is less than 1 and Jade is greater than 5 in cycling, what's the plat'num?
SELECT MIN Plat'num FROM table WHERE Adam < 1 AND Discipline = cycling AND Jade > 5
Translate the following into a SQL query
What is Peter's score in kendo that has a plat'num less than 3?
SELECT MIN Peter FROM table WHERE Discipline = kendo AND Plat'num < 3
Translate the following into a SQL query
What is Adam's score when Peter's score is less than 3 and the plat'num is greater than 6?
SELECT MIN Adam FROM table WHERE Peter < 3 AND Plat'num > 6
Translate the following into a SQL query
Peter has a score greater than 5 in speed skating, what is the plat'num?
SELECT MIN Plat'num FROM table WHERE Discipline = speed skating AND Peter > 5
Translate the following into a SQL query
What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
SELECT AVG Adam FROM table WHERE Jade > 5 AND Peter < 0
Translate the following into a SQL query
Old Scotch had less than 9 losses and how much against?
SELECT SUM Against FROM table WHERE Losses < 9 AND NTFA Div 2 = old scotch
Translate the following into a SQL query
Of the teams that had more than 0 byes, what was the total number of losses?
SELECT COUNT Losses FROM table WHERE Byes < 0
Translate the following into a SQL query
Who was the incumbent in the 20th district?
SELECT Incumbent FROM table WHERE District = 20th
Translate the following into a SQL query
Which party has the 6th district?
SELECT Party FROM table WHERE District = 6th
Translate the following into a SQL query
Which party has Ken Cuccinelli as an incumbent?
SELECT Party FROM table WHERE Incumbent = ken cuccinelli
Translate the following into a SQL query
Which party was elected in 2003 with incumbent Mark Obenshain?
SELECT Party FROM table WHERE Elected = 2003 AND Incumbent = mark obenshain
Translate the following into a SQL query
Which incumbent was in the 24th district?
SELECT Incumbent FROM table WHERE District = 24th
Translate the following into a SQL query
Name the sum of laps for mi-jack conquest racing and points less than 11
SELECT SUM Laps FROM table WHERE Team = mi-jack conquest racing AND Points < 11
Translate the following into a SQL query
Name the points with grid more than 8 and time/retired of +47.487 secs
SELECT Points FROM table WHERE Grid > 8 AND Time/Retired = +47.487 secs
Translate the following into a SQL query
Name the team with laps of 97 and grid of 3
SELECT Team FROM table WHERE Laps = 97 AND Grid = 3
Translate the following into a SQL query
Name the sum of grid with laps more than 97
SELECT SUM Grid FROM table WHERE Laps > 97
Translate the following into a SQL query
What are the most wins in 1971 in 250cc class?
SELECT MAX Wins FROM table WHERE Class = 250cc AND Year = 1971
Translate the following into a SQL query
What is the earliest year with less than 45 points for Yamaha team in 21st rank?
SELECT MIN Year FROM table WHERE Points < 45 AND Team = yamaha AND Rank = 21st
Translate the following into a SQL query
How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13?
SELECT SUM Ends Won FROM table WHERE Blank Ends < 14 AND Locale = manitoba AND Stolen Ends > 13
Translate the following into a SQL query
Which Skip has Ends Lost larger than 44, and Blank Ends of 10?
SELECT Skip FROM table WHERE Ends Lost > 44 AND Blank Ends = 10
Translate the following into a SQL query
How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7?
SELECT COUNT Stolen Ends FROM table WHERE Ends Lost < 44 AND Blank Ends < 7
Translate the following into a SQL query
What is the current status for GM Advanced Design with more than 41 seats?
SELECT Current status FROM table WHERE Make = gm advanced design AND Number of seats > 41
Translate the following into a SQL query
What is the quantity with more than 45 seats and MCI make?
SELECT Quantity FROM table WHERE Number of seats > 45 AND Make = mci
Translate the following into a SQL query
What is the largest number of seats with more than 32 of a MCI make?
SELECT MAX Number of seats FROM table WHERE Make = mci AND Quantity > 32
Translate the following into a SQL query
What is the smallest number of seats in a vehicle currently retired and in quantities less than 8?
SELECT MIN Number of seats FROM table WHERE Current status = retired AND Quantity < 8
Translate the following into a SQL query
What is the smallest number of seats in a retired vehicle that was started in service in 1981?
SELECT MIN Number of seats FROM table WHERE Current status = retired AND Year placed in service = 1981
Translate the following into a SQL query
What is Trevard Lindley's height?
SELECT Height FROM table WHERE Name = trevard lindley
Translate the following into a SQL query
What is Ashton Cobb's class in Game 2?
SELECT Class FROM table WHERE Games↑ = 2 AND Name = ashton cobb
Translate the following into a SQL query
What is the earliest game with a position of Re and a smaller number than 95?
SELECT MIN Games↑ FROM table WHERE Position = re AND Number < 95
Translate the following into a SQL query
Which Seattle quarterback has more than 81 career wins and less than 70 team wins?
SELECT Quarterback FROM table WHERE Career Wins > 81 AND Teams = seattle AND Team Wins < 70