instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
SELECT Course FROM table WHERE To par [a ] = n/a AND Country = scotland AND Year > 1905 AND Location = philadelphia, pennsylvania
Translate the following into a SQL query
What is the total score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1?
SELECT Total score FROM table WHERE Location = san francisco, california AND Year > 1987 AND To par [a ] = +1
Translate the following into a SQL query
What is the sum for the year with a location of newport, rhode island?
SELECT SUM Year FROM table WHERE Location = newport, rhode island
Translate the following into a SQL query
What is the country with a course of merion golf club, and a to par [1] of e?
SELECT Country FROM table WHERE Course = merion golf club AND To par [a ] = e
Translate the following into a SQL query
What is the total score for the year 2012?
SELECT Total score FROM table WHERE Year = 2012
Translate the following into a SQL query
What is the evening gown score for the contestant from Mississippi?
SELECT Evening Gown FROM table WHERE State = mississippi
Translate the following into a SQL query
What is the type for rank 2?
SELECT Type FROM table WHERE Rank = 2
Translate the following into a SQL query
What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?
SELECT SUM Number of bearers 2009 FROM table WHERE Rank > 1 AND Type = patronymic AND Etymology = son of christian AND Number of bearers 1971 > 45.984
Translate the following into a SQL query
What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?
SELECT Qual 2 FROM table WHERE Team = herdez competition AND Name = ryan hunter-reay
Translate the following into a SQL query
What is Justin Wilson's Team?
SELECT Team FROM table WHERE Name = justin wilson
Translate the following into a SQL query
What is the Best of the racer with a Qual 2 of 1:00.588?
SELECT Best FROM table WHERE Qual 2 = 1:00.588
Translate the following into a SQL query
Where is the lowest area with a population of 7,616?
SELECT MIN Area (km²) FROM table WHERE Population (2010) = 7,616
Translate the following into a SQL query
Where in Tongyong is Hanyu Sanmin?
SELECT Tongyong FROM table WHERE Hanyu = sanmin
Translate the following into a SQL query
Which Hanya has an area of 19.3888?
SELECT Hanyu FROM table WHERE Area (km²) = 19.3888
Translate the following into a SQL query
What is Nationality, when Round is less than 2, and when Pick is "24"?
SELECT Nationality FROM table WHERE Round < 2 AND Pick = 24
Translate the following into a SQL query
What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?
SELECT Nationality FROM table WHERE Round < 2 AND College/Team = cb l'hospitalet
Translate the following into a SQL query
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
SELECT MIN Round FROM table WHERE College/Team = kansas AND Pick < 56
Translate the following into a SQL query
What is College/Team, when Round is less than 2, and when Nationality is "United States"?
SELECT College/Team FROM table WHERE Round < 2 AND Nationality = united states
Translate the following into a SQL query
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?
SELECT MAX Q1 pos FROM table WHERE Q1 time = 1:31.826 AND Q1 order > 7
Translate the following into a SQL query
What is the score on December 2?
SELECT Score FROM table WHERE Date = december 2
Translate the following into a SQL query
How many silver medals were won in 1938?
SELECT Silver FROM table WHERE Year = 1938
Translate the following into a SQL query
How many gold medals were won in 1970?
SELECT Gold FROM table WHERE Year = 1970
Translate the following into a SQL query
How many silver medals were won the year 7 gold medals were won?
SELECT Silver FROM table WHERE Gold = 7
Translate the following into a SQL query
How many bronze medals were won in 1998?
SELECT Bronze FROM table WHERE Year = 1998
Translate the following into a SQL query
Can you tell me the TV Time that has the Date of november 22, 1998?
SELECT TV Time FROM table WHERE Date = november 22, 1998
Translate the following into a SQL query
Can you tell me the Result that has the Date of september 13, 1998?
SELECT Result FROM table WHERE Date = september 13, 1998
Translate the following into a SQL query
Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?
SELECT Opponent FROM table WHERE Week < 11 AND TV Time = fox 10:00 am mt AND Result = w 20-17
Translate the following into a SQL query
Can you tell me the Result that has the Week of 5?
SELECT Result FROM table WHERE Week = 5
Translate the following into a SQL query
What is the average year that the club located in enfield was founded with an unknown coach?
SELECT AVG Founded FROM table WHERE Coach = unknown AND Location = enfield
Translate the following into a SQL query
What was the location of the club where the home ground is wilfred taylor reserve?
SELECT Location FROM table WHERE Home Ground = wilfred taylor reserve
Translate the following into a SQL query
Where is the club that was founded in 1946 located that has an unknown coach?
SELECT Location FROM table WHERE Coach = unknown AND Founded = 1946
Translate the following into a SQL query
Where is the home ground for the club coached by nick pantsaras and founded before 1946?
SELECT Home Ground FROM table WHERE Founded < 1946 AND Coach = nick pantsaras
Translate the following into a SQL query
Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?
SELECT Team FROM table WHERE Location Attendance = madison square garden AND Score = 87-83
Translate the following into a SQL query
Which game was played at the Forum and led to a series result of 0-1?
SELECT Game FROM table WHERE Location Attendance = the forum AND Series = 0-1
Translate the following into a SQL query
What was the score for game 2?
SELECT Score FROM table WHERE Game = 2
Translate the following into a SQL query
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
SELECT Title FROM table WHERE Season # < 10 AND Directed by = milan cheylov AND Original air date = september 29, 1997
Translate the following into a SQL query
What is the attendance of the November 19, 1990 game?
SELECT Attendance FROM table WHERE Date = november 19, 1990
Translate the following into a SQL query
How many Years have an Iron Man Award of kyal horsley?
SELECT COUNT Year FROM table WHERE Iron Man Award = kyal horsley
Translate the following into a SQL query
Which Coach has a Most Improved of rory thompson?
SELECT Coach FROM table WHERE Most Improved = rory thompson
Translate the following into a SQL query
Which Year has a Community Award of jarrod harbrow?
SELECT SUM Year FROM table WHERE Community Award = jarrod harbrow
Translate the following into a SQL query
what is the capacity for the team šibenik?
SELECT MIN Capacity FROM table WHERE Team = šibenik
Translate the following into a SQL query
what is the stadium for čakovec?
SELECT Stadium FROM table WHERE Team = čakovec
Translate the following into a SQL query
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
SELECT AVG Capacity FROM table WHERE Home city = zagreb AND Manager = zlatko kranjčar
Translate the following into a SQL query
what is the home city for the stadion src mladost?
SELECT Home city FROM table WHERE Stadium = stadion src mladost
Translate the following into a SQL query
What is the grid for the driver with an electrical time/retired and 51 laps?
SELECT Grid FROM table WHERE Time/Retired = electrical AND Laps = 51
Translate the following into a SQL query
Who is the driver with 1 grid?
SELECT Driver FROM table WHERE Grid = 1
Translate the following into a SQL query
What place was Mark Carnevale in?
SELECT Place FROM table WHERE Player = mark carnevale
Translate the following into a SQL query
What was the highest attendance against Real Juventud?
SELECT MAX Attendance FROM table WHERE Away = real juventud
Translate the following into a SQL query
Who is the away captain for the matches dated 7,8,10,11 feb 1908?
SELECT Away captain FROM table WHERE Date = 7,8,10,11 feb 1908
Translate the following into a SQL query
Who is the home captain at the Adelaide Oval?
SELECT Home captain FROM table WHERE Venue = adelaide oval
Translate the following into a SQL query
Who is the home captain that won AUS by 245 runs?
SELECT Home captain FROM table WHERE Result = aus by 245 runs
Translate the following into a SQL query
What was the venue for the dates 1,2,3,4,6,7 jan 1908?
SELECT Venue FROM table WHERE Date = 1,2,3,4,6,7 jan 1908
Translate the following into a SQL query
What was the venue for the dates 7,8,10,11 Feb 1908?
SELECT Venue FROM table WHERE Date = 7,8,10,11 feb 1908
Translate the following into a SQL query
What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?
SELECT In production FROM table WHERE Toxic Materials = yes AND Technology = sodium-sulfur batteries
Translate the following into a SQL query
What are the moving parts of lead-acid?
SELECT Moving Parts FROM table WHERE Technology = lead-acid
Translate the following into a SQL query
What's the room temperature with no toxic materials and no ln production?
SELECT Room Temperature FROM table WHERE In production = no AND Toxic Materials = no
Translate the following into a SQL query
What's the technology when there are no moving parts but yes to toxic materials?
SELECT Technology FROM table WHERE Toxic Materials = yes AND Moving Parts = no
Translate the following into a SQL query
What was the Score for T9 United States Player Kirk Triplett?
SELECT Score FROM table WHERE Place = t9 AND Country = united states AND Player = kirk triplett
Translate the following into a SQL query
What country is Tiger Woods from?
SELECT Country FROM table WHERE Player = tiger woods
Translate the following into a SQL query
what is the assists when the club is chicago fire and goals is more than 2?
SELECT SUM Assists FROM table WHERE Club = chicago fire AND Goals > 2
Translate the following into a SQL query
what is the most assists when the goals is less than 0?
SELECT MAX Assists FROM table WHERE Goals < 0
Translate the following into a SQL query
What is Score in The Final, when Date is "1981"?
SELECT Score in the final FROM table WHERE Date = 1981
Translate the following into a SQL query
What is Opponent in The Final, when Date is "1976"?
SELECT Opponent in the final FROM table WHERE Date = 1976
Translate the following into a SQL query
What is Location Attendance, when Date is "December 30"?
SELECT Location Attendance FROM table WHERE Date = december 30
Translate the following into a SQL query
What is Date, when High Rebounds is "Amar'e Stoudemire (13)"?
SELECT Date FROM table WHERE High rebounds = amar'e stoudemire (13)
Translate the following into a SQL query
What is Score, when Location Attendance is "US Airways Center 18,422", and when Game is less than 22?
SELECT Score FROM table WHERE Location Attendance = us airways center 18,422 AND Game < 22
Translate the following into a SQL query
What is Score, when Game is "19"?
SELECT Score FROM table WHERE Game = 19
Translate the following into a SQL query
What is Location Attendance, when Team is "Orlando"?
SELECT Location Attendance FROM table WHERE Team = orlando
Translate the following into a SQL query
What is Record, when Date is "December 30"?
SELECT Record FROM table WHERE Date = december 30
Translate the following into a SQL query
Name the Theaters that has a Rank larger than 7?
SELECT MAX Theaters FROM table WHERE Rank > 7
Translate the following into a SQL query
Name the Gross-to-date which has a Date of august 23–25?
SELECT Gross-to-date FROM table WHERE Date = august 23–25
Translate the following into a SQL query
Name the Round which has a Position of defensive back and a Pick of 226?
SELECT MIN Round FROM table WHERE Position = defensive back AND Pick = 226
Translate the following into a SQL query
Name the Round which has a Player of zack walz?
SELECT Round FROM table WHERE Player = zack walz
Translate the following into a SQL query
Name the Round which has a Position of defensive back and corey chavous?
SELECT MIN Round FROM table WHERE Position = defensive back AND Player = corey chavous
Translate the following into a SQL query
Name all Pick that has a Round of 7, and a School/Club Team of arizona st.?
SELECT COUNT Pick FROM table WHERE Round = 7 AND School/Club Team = arizona st.
Translate the following into a SQL query
Which Year has a Regular Season of 7th?
SELECT MAX The Year FROM table WHERE Regular Season = 7th
Translate the following into a SQL query
Which Year has a Division larger than 3?
SELECT MAX The Year FROM table WHERE Division > 3
Translate the following into a SQL query
Which Year did not qualify for Playoffs, and had a Division smaller than 3?
SELECT SUM The Year FROM table WHERE Playoffs = did not qualify AND Division < 3
Translate the following into a SQL query
Which league did not qualify for the Playoffs, and had a Year larger than 2008?
SELECT League FROM table WHERE Playoffs = did not qualify AND The Year > 2008
Translate the following into a SQL query
What is Home Team, when Away Team Score is 10.8 (64)?
SELECT Home team FROM table WHERE Away team score = 10.8 (64)
Translate the following into a SQL query
What is Lowest Crowd, when Home Team is Brisbane Lions?
SELECT MIN Crowd FROM table WHERE Home team = brisbane lions
Translate the following into a SQL query
What is Date, when Away Team is Kangaroos?
SELECT Date FROM table WHERE Away team = kangaroos
Translate the following into a SQL query
What is Ground, when Home Team Score is 12.14 (86)?
SELECT Ground FROM table WHERE Home team score = 12.14 (86)
Translate the following into a SQL query
What is Away Team, when Home Team is Kangaroos, and when Away Team Score is 9.11 (65)?
SELECT Away team FROM table WHERE Home team = kangaroos AND Away team score = 9.11 (65)
Translate the following into a SQL query
What is the smallest round with a time of 1:12?
SELECT MIN Round FROM table WHERE Time = 1:12
Translate the following into a SQL query
How long was the time for the Legacy Fighting Championship 12?
SELECT Time FROM table WHERE Event = legacy fighting championship 12
Translate the following into a SQL query
WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?
SELECT Country FROM table WHERE To par = +1 AND Player = woody austin
Translate the following into a SQL query
WHAT IS THE TO PAR FOR ERNIE ELS?
SELECT To par FROM table WHERE Player = ernie els
Translate the following into a SQL query
WHAT PLACE DOES TOM LEHMAN HAVE?
SELECT Place FROM table WHERE Player = tom lehman
Translate the following into a SQL query
WHAT IS THE TO PAR FOR NUMBER 1?
SELECT To par FROM table WHERE Place = 1
Translate the following into a SQL query
WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?
SELECT Player FROM table WHERE To par = +1 AND Country = scotland
Translate the following into a SQL query
Who won the Paris-Roubaix in 2006?
SELECT Paris–Roubaix ( FRA ) FROM table WHERE Year = 2006
Translate the following into a SQL query
Who built the conant creek pegram truss railroad bridge?
SELECT Built FROM table WHERE Name = conant creek pegram truss railroad bridge
Translate the following into a SQL query
Where is the historic place that was built in 1910?
SELECT Location FROM table WHERE Built = 1910
Translate the following into a SQL query
What is the list date of the historic place that was built 1896, 1914?
SELECT Listed FROM table WHERE Built = 1896, 1914
Translate the following into a SQL query
When was the historic place listed that's in canyon county?
SELECT Listed FROM table WHERE County = canyon
Translate the following into a SQL query
what is the averaging time when the regulatory citation is 40 cfr 50.4(b)?
SELECT Averaging Time FROM table WHERE Regulatory Citation = 40 cfr 50.4(b)
Translate the following into a SQL query
what is the regulatory citation when the standard is 15 μg/m³?
SELECT Regulatory Citation FROM table WHERE Standard = 15 μg/m³
Translate the following into a SQL query
what is the standard when the pollutant is o 3 and averaging time is 8-hour?
SELECT Standard FROM table WHERE Pollutant = o 3 AND Averaging Time = 8-hour
Translate the following into a SQL query
what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary?
SELECT Pollutant FROM table WHERE Regulatory Citation = 40 cfr 50.7(a) AND Type = primary