instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the role in 1996?
SELECT Role FROM table WHERE Year = 1996
Translate the following into a SQL query
what date did the irwin storm take place
SELECT Dates active FROM table WHERE Storm name = irwin
Translate the following into a SQL query
what is the minimum force of storm Adrian
SELECT Min. press. ( mbar ) FROM table WHERE Storm name = adrian
Translate the following into a SQL query
How many households are in highlands county?
SELECT AVG Number of households FROM table WHERE County = highlands
Translate the following into a SQL query
What is the Median household income associated with a median family income of $46,616?
SELECT Median household income FROM table WHERE Median family income = $46,616
Translate the following into a SQL query
What time did the game at memorial stadium take place?
SELECT Time ( ET ) FROM table WHERE Location = memorial stadium
Translate the following into a SQL query
What is the number of Bronze medals of the Nation with 64 total and silver greater than 16?
SELECT COUNT Bronze FROM table WHERE Total = 64 AND Silver > 16
Translate the following into a SQL query
What is the bronze for Kyrgyzstan nation with a silver record of greater than 0?
SELECT AVG Bronze FROM table WHERE Nation = kyrgyzstan AND Silver > 0
Translate the following into a SQL query
What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?
SELECT AVG Gold FROM table WHERE Bronze = 1 AND Nation = syria AND Total < 1
Translate the following into a SQL query
When was the game with a result of w 27-24 (ot)?
SELECT Date FROM table WHERE Result = w 27-24 (ot)
Translate the following into a SQL query
When was the game with a record of 9-3?
SELECT Date FROM table WHERE Record = 9-3
Translate the following into a SQL query
What time was the game with a record of 7-3?
SELECT Game time FROM table WHERE Record = 7-3
Translate the following into a SQL query
What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?
SELECT COUNT Week FROM table WHERE Venue = memorial stadium AND Attendance < 41,252
Translate the following into a SQL query
What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?
SELECT SUM Week FROM table WHERE Date = october 21, 1974 AND Attendance < 50,623
Translate the following into a SQL query
What is the frequency of the station that was launched on 21 August 1994?
SELECT Frequency FROM table WHERE Launched = 21 august 1994
Translate the following into a SQL query
What is the launched date of the station in cora huichol tepehuano nahuatl language?
SELECT Launched FROM table WHERE Languages = cora huichol tepehuano nahuatl
Translate the following into a SQL query
Where is the station with a coverage of yucatán quintana roo campeche transmitting from?
SELECT Transmitting from FROM table WHERE Coverage = yucatán quintana roo campeche
Translate the following into a SQL query
What is the frequency of the station with a coverage of oaxaca guerrero puebla?
SELECT Frequency FROM table WHERE Coverage = oaxaca guerrero puebla
Translate the following into a SQL query
Where is the station that was launched on 17 July 1997 transmitting from?
SELECT Transmitting from FROM table WHERE Launched = 17 july 1997
Translate the following into a SQL query
What is the coverage of the station that was launched on 22 January 1996?
SELECT Coverage FROM table WHERE Launched = 22 january 1996
Translate the following into a SQL query
How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?
SELECT COUNT Bronze FROM table WHERE Gold > 14 AND Rank = 14 AND Silver > 25
Translate the following into a SQL query
How many total medals for germany with under 56 bronzes?
SELECT SUM Total FROM table WHERE Nation = germany AND Bronze < 56
Translate the following into a SQL query
How many total medals for the nation with 1 gold and 6 bronzes?
SELECT COUNT Total FROM table WHERE Gold = 1 AND Bronze = 6
Translate the following into a SQL query
What was the loss of the game when the record was 32–34?
SELECT Loss FROM table WHERE Record = 32–34
Translate the following into a SQL query
What was the date of the game with a score of 15–6?
SELECT Date FROM table WHERE Score = 15–6
Translate the following into a SQL query
what is the frequency of visits to elmanana.com.mx
SELECT Frequency FROM table WHERE Website = elmanana.com.mx
Translate the following into a SQL query
What was the game result against the minnesota vikings?
SELECT Result FROM table WHERE Opponent = minnesota vikings
Translate the following into a SQL query
What week shows for december 31, 1993?
SELECT COUNT Week FROM table WHERE Date = december 31, 1993
Translate the following into a SQL query
What was the result on October 4, 1993?
SELECT Result FROM table WHERE Date = october 4, 1993
Translate the following into a SQL query
What Week has a Result of l 17-14?
SELECT SUM Week FROM table WHERE Result = l 17-14
Translate the following into a SQL query
How many years have a position of 2nd?
SELECT COUNT Year FROM table WHERE Position = 2nd
Translate the following into a SQL query
Which event has a year of 2000?
SELECT Event FROM table WHERE Year = 2000
Translate the following into a SQL query
What position has notes of 2:12:53?
SELECT Position FROM table WHERE Notes = 2:12:53
Translate the following into a SQL query
What is the average round for draft pick #49 from Notre Dame?
SELECT AVG Round FROM table WHERE College = notre dame AND Pick # = 49
Translate the following into a SQL query
What college is draft pick #327 from?
SELECT College FROM table WHERE Pick # = 327
Translate the following into a SQL query
What college is pick number 268 from?
SELECT College FROM table WHERE Pick # = 268
Translate the following into a SQL query
What round pick was pick number 101 who plays defensive back?
SELECT Round FROM table WHERE Position = defensive back AND Pick # = 101
Translate the following into a SQL query
What pick number was from the college of maryland and was picked in a round larger than 7?
SELECT Pick # FROM table WHERE Round > 7 AND College = maryland
Translate the following into a SQL query
How much Overall has a Pick # of 26?
SELECT SUM Overall FROM table WHERE Pick # = 26
Translate the following into a SQL query
Which Position has a Round smaller than 14, and a College of illinois?
SELECT Position FROM table WHERE Round < 14 AND College = illinois
Translate the following into a SQL query
How much Overall has a Round smaller than 6, and a Pick # of 26?
SELECT SUM Overall FROM table WHERE Round < 6 AND Pick # = 26
Translate the following into a SQL query
What is Roy Hall's highest round?
SELECT MAX Round FROM table WHERE Name = roy hall
Translate the following into a SQL query
How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
SELECT COUNT Overall FROM table WHERE Pick # > 2 AND Name = claude humphrey
Translate the following into a SQL query
What is the oppenent when the score was 5–0?
SELECT Opponent FROM table WHERE Score = 5–0
Translate the following into a SQL query
What is the opponent before game 57 when the score was 4–5?
SELECT Opponent FROM table WHERE Game < 57 AND Score = 4–5
Translate the following into a SQL query
What is the score when the points are larger than 74 and the game is 57?
SELECT Score FROM table WHERE Points > 74 AND Game = 57
Translate the following into a SQL query
When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
SELECT MAX Year FROM table WHERE Chassis = toro rosso str1 AND Points < 1
Translate the following into a SQL query
How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?
SELECT COUNT Year FROM table WHERE Engine = mercedes fo 108w 2.4l v8 AND Points > 0
Translate the following into a SQL query
What is the engine for the car with 3 points?
SELECT Engine FROM table WHERE Points = 3
Translate the following into a SQL query
Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6300 has what torque@rpm?
SELECT torque@rpm FROM table WHERE Code = 1.6 duratec ti-vct AND Power@rpm = ps (kw; hp)@6300
Translate the following into a SQL query
Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6000 has what torque@rpm?
SELECT torque@rpm FROM table WHERE Code = 1.6 duratec ti-vct AND Power@rpm = ps (kw; hp)@6000
Translate the following into a SQL query
torque@rpm of n·m (lb·ft)@4050 has what code?
SELECT Code FROM table WHERE torque@rpm = n·m (lb·ft)@4050
Translate the following into a SQL query
Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?
SELECT International tourism expenditure (2012) FROM table WHERE International tourism expenditure (2011) = $33.3 billion
Translate the following into a SQL query
What is Italy's UNWTO region?
SELECT UNWTO Region FROM table WHERE Country = italy
Translate the following into a SQL query
What is China's International tourism expenditure (2011)?
SELECT International tourism expenditure (2011) FROM table WHERE Country = china
Translate the following into a SQL query
What was the format for the 4 disc season that had less than 22 episodes and n/a for region 4?
SELECT Format FROM table WHERE # Episodes < 22 AND # Disc(s) = 4 AND Region 4 = n/a
Translate the following into a SQL query
What is the lowest Top-25 for the open championship, with a Top-10 larger than 3?
SELECT MIN Top-25 FROM table WHERE Tournament = the open championship AND Top-10 > 3
Translate the following into a SQL query
What is the highest Top-5 when the Tournament is the open championship, with a Top-25 less than 9?
SELECT MAX Top-5 FROM table WHERE Tournament = the open championship AND Top-25 < 9
Translate the following into a SQL query
What is the average Top-25 that has a Top-10 less than 7, and the Tournament is the open championship, with a Top-5more than 1?
SELECT AVG Top-25 FROM table WHERE Top-10 < 7 AND Tournament = the open championship AND Top-5 > 1
Translate the following into a SQL query
What is the total number of Top-5 when the Top-25 is 6, and a Cuts made are less than 12?
SELECT COUNT Top-5 FROM table WHERE Top-25 = 6 AND Cuts made < 12
Translate the following into a SQL query
Which date had a home team of the Wizards?
SELECT Date FROM table WHERE Home = wizards
Translate the following into a SQL query
What was the latest week with a date of November 12, 1967 and less than 34,761 in attendance?
SELECT MAX Week FROM table WHERE Date = november 12, 1967 AND Attendance < 34,761
Translate the following into a SQL query
What is the date for the game with an opponent of the Houston Oilers from before week 3?
SELECT Date FROM table WHERE Week < 3 AND Opponent = houston oilers
Translate the following into a SQL query
What is the total for New York's game?
SELECT SUM Game FROM table WHERE Team = new york
Translate the following into a SQL query
What round was a player from Indiana picked?
SELECT Round FROM table WHERE College = indiana
Translate the following into a SQL query
How many losses had a total of 17 and more than 10 wins?
SELECT COUNT Losses FROM table WHERE Total = 17 AND Wins > 10
Translate the following into a SQL query
What is the win percentage when there's more than 16 totals and less than 7 losses?
SELECT % Win FROM table WHERE Total > 16 AND Losses < 7
Translate the following into a SQL query
What is the smallest no result when the year was 2012 and there were more than 10 wins?
SELECT MIN No result FROM table WHERE Year = 2012 AND Wins > 10
Translate the following into a SQL query
What is the name on the Socialist ticket when the Democratic ticket is george k. shuler?
SELECT Socialist ticket FROM table WHERE Democratic ticket = george k. shuler
Translate the following into a SQL query
What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
SELECT Democratic ticket FROM table WHERE Workers ticket = franklin p. brill
Translate the following into a SQL query
What is the name on the Democratic ticket when the Workers ticket is james p. cannon?
SELECT Democratic ticket FROM table WHERE Workers ticket = james p. cannon
Translate the following into a SQL query
What is the Office when the Republican ticket shows seymour lowman?
SELECT Office FROM table WHERE Republican ticket = seymour lowman
Translate the following into a SQL query
What is the name on the Republican ticket when the Socialist ticket was louis waldman?
SELECT Republican ticket FROM table WHERE Socialist ticket = louis waldman
Translate the following into a SQL query
What is the name on the Republican ticket when the Workers ticket is edward lindgren?
SELECT Republican ticket FROM table WHERE Workers ticket = edward lindgren
Translate the following into a SQL query
Who's the Democratic ticket with a Socialist Labor ticket of belle j. rosen?
SELECT Democratic ticket FROM table WHERE Socialist Labor ticket = belle j. rosen
Translate the following into a SQL query
Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound?
SELECT Socialist Labor ticket FROM table WHERE Republican ticket = cuthbert w. pound
Translate the following into a SQL query
Which Office has a Republican ticket of daniel h. conway?
SELECT Office FROM table WHERE Republican ticket = daniel h. conway
Translate the following into a SQL query
Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen?
SELECT Socialist ticket FROM table WHERE Law Preservation ticket = (none) AND Socialist Labor ticket = belle j. rosen
Translate the following into a SQL query
Which Office has a Democratic ticket of herbert h. lehman?
SELECT Office FROM table WHERE Democratic ticket = herbert h. lehman
Translate the following into a SQL query
Who's the Socialist ticket with a Socialist Labor ticket of charles m. carlson?
SELECT Socialist ticket FROM table WHERE Socialist Labor ticket = charles m. carlson
Translate the following into a SQL query
Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location?
SELECT Bowl game FROM table WHERE Season > 2008 AND Location = new orleans, louisiana
Translate the following into a SQL query
What result has 1947 sun bowl as the bowl game?
SELECT Result FROM table WHERE Bowl game = 1947 sun bowl
Translate the following into a SQL query
What result has texas longhorns as the opponent?
SELECT Result FROM table WHERE Opponent = texas longhorns
Translate the following into a SQL query
What location has 51,212 as the attendance?
SELECT Location FROM table WHERE Attendance = 51,212
Translate the following into a SQL query
Who was the 3rd place team in the season in which Real Madrid finished 2nd?
SELECT 3rd Place FROM table WHERE 2nd Place = real madrid
Translate the following into a SQL query
Which season had a 3rd place of CSKA Moscow and 1st place of Panathinaikos?
SELECT Season FROM table WHERE 3rd Place = cska moscow AND 1st Place = panathinaikos
Translate the following into a SQL query
Who preforms at 2:00PM on Monday?
SELECT 02:00 PM FROM table WHERE Time = monday
Translate the following into a SQL query
Who preforms at 3:00PM on Tuesday?
SELECT 03:00 PM FROM table WHERE Time = tuesday
Translate the following into a SQL query
Who preforms at 5:55PM on Monday?
SELECT 05:55 PM FROM table WHERE Time = monday
Translate the following into a SQL query
Which Pictorials is on 5-01?
SELECT Pictorials FROM table WHERE Date = 5-01
Translate the following into a SQL query
Which Cover model has a Pictorials of brande roderick-pmoy, naked news?
SELECT Cover model FROM table WHERE Pictorials = brande roderick-pmoy, naked news
Translate the following into a SQL query
which Cover model has a Centerfold model of jennifer walcott?
SELECT Cover model FROM table WHERE Centerfold model = jennifer walcott
Translate the following into a SQL query
Which over model has a 20 Questions of edward burns?
SELECT Cover model FROM table WHERE 20 Questions = edward burns
Translate the following into a SQL query
Which Centerfold model has a Cover model of irina voronina?
SELECT Centerfold model FROM table WHERE Cover model = irina voronina
Translate the following into a SQL query
Which Centerfold model has a Date of 3-01?
SELECT Centerfold model FROM table WHERE Date = 3-01
Translate the following into a SQL query
What is the score on 15 Aug with a 17:30 time?
SELECT Score FROM table WHERE Date = 15 aug AND Time = 17:30
Translate the following into a SQL query
What is the total number of round values that had opponents named Paul Sutherland?
SELECT COUNT Round FROM table WHERE Opponent = paul sutherland
Translate the following into a SQL query
Which opponent led to a record of 10-6?
SELECT Opponent FROM table WHERE Record = 10-6
Translate the following into a SQL query
Which method led to a record of 9-4?
SELECT Method FROM table WHERE Record = 9-4
Translate the following into a SQL query
What song had an index of m6?
SELECT Song FROM table WHERE Index = m6