instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the average attendance at a game when the record was 6-13?
SELECT AVG Attendance FROM table WHERE Record = 6-13
Translate the following into a SQL query
What is the yield, neutrons per fission of the group with decay constants less than 0.301, a half-life of 22.72, and a group number larger than 2?
SELECT SUM Yield, Neutrons per Fission FROM table WHERE Decay Constant (s −1 ) < 0.301 AND Half-Life (s) = 22.72 AND Group > 2
Translate the following into a SQL query
What is the decay constant with a half-life less than 22.72, a yield, neutrons per fission of 0.0031000000000000003, and a group number less than 3?
SELECT COUNT Decay Constant (s −1 ) FROM table WHERE Half-Life (s) < 22.72 AND Yield, Neutrons per Fission = 0.0031000000000000003 AND Group < 3
Translate the following into a SQL query
What is the lowest half-life with a yield, neutrons per fission bigger than 0.0031000000000000003 and a decay constant less than 0.030500000000000003?
SELECT MIN Half-Life (s) FROM table WHERE Yield, Neutrons per Fission > 0.0031000000000000003 AND Decay Constant (s −1 ) < 0.030500000000000003
Translate the following into a SQL query
With Round 3 and Pick # over 10, what is the higher Overall number?
SELECT MAX Overall FROM table WHERE Round = 3 AND Pick # > 10
Translate the following into a SQL query
What is the highest round for College of Nebraska if the Overall is under 190?
SELECT MAX Round FROM table WHERE College = nebraska AND Overall < 190
Translate the following into a SQL query
Which college has a Pick # 1, Overall more than one, and Round is 7?
SELECT College FROM table WHERE Pick # = 1 AND Overall > 1 AND Round = 7
Translate the following into a SQL query
What was the attendance on 21 August 2004?
SELECT SUM Attendance FROM table WHERE Date = 21 august 2004
Translate the following into a SQL query
What is the average rank of an athlete that holds a time higher than 53.38?
SELECT AVG Rank FROM table WHERE Time > 53.38
Translate the following into a SQL query
What lane did the swimmer with a time of 52.84 have?
SELECT MAX Lane FROM table WHERE Time = 52.84
Translate the following into a SQL query
What lane did the rank 3 swimmer use?
SELECT MAX Lane FROM table WHERE Rank = 3
Translate the following into a SQL query
Which opponent played on July 15?
SELECT Opponent FROM table WHERE Date = july 15
Translate the following into a SQL query
What is the record for a game played on July 16 with attendance of more than 32,162?
SELECT Record FROM table WHERE Attendance > 32,162 AND Date = july 16
Translate the following into a SQL query
Where has Jimmy Demaret as a player?
SELECT Place FROM table WHERE Player = jimmy demaret
Translate the following into a SQL query
How much does it cost for United States and Byron nelson?
SELECT COUNT Money ( $ ) FROM table WHERE Country = united states AND Player = byron nelson
Translate the following into a SQL query
Which Country has a Place of t8 and byron nelson?
SELECT Country FROM table WHERE Place = t8 AND Player = byron nelson
Translate the following into a SQL query
Name the average pop for chūgoku and prefecture of okayama
SELECT AVG Pop. ¹ FROM table WHERE Region = chūgoku AND Prefecture = okayama
Translate the following into a SQL query
Name the highest pop for tottori
SELECT MAX Pop. ¹ FROM table WHERE Prefecture = tottori
Translate the following into a SQL query
Name the sum of pop for shizuoka
SELECT SUM Pop. ¹ FROM table WHERE Prefecture = shizuoka
Translate the following into a SQL query
Name the total number of pop for ibaraki
SELECT COUNT Pop. ¹ FROM table WHERE Prefecture = ibaraki
Translate the following into a SQL query
Who is the mascot for Mishawaka?
SELECT Mascot FROM table WHERE Location = mishawaka
Translate the following into a SQL query
Which previous conference is associated with Penn school?
SELECT Previous Conference FROM table WHERE School = penn
Translate the following into a SQL query
Which location is in 71 St. Joseph county with South Bend Washington school?
SELECT Location FROM table WHERE County = 71 st. joseph AND School = south bend washington
Translate the following into a SQL query
What is the mascot for South Bend Clay?
SELECT Mascot FROM table WHERE School = south bend clay
Translate the following into a SQL query
What was the address of the building with architects Edmund Woolley and Andrew Hamilton?
SELECT Street address FROM table WHERE Architect = edmund woolley and andrew hamilton
Translate the following into a SQL query
How many years as tallest building was the Tenth Presbyterian Church?
SELECT Years as tallest FROM table WHERE Name = tenth presbyterian church
Translate the following into a SQL query
How many years as tallest building was Independence Hall?
SELECT Years as tallest FROM table WHERE Name = independence hall
Translate the following into a SQL query
What is the height of the Tenth Presbyterian Church?
SELECT Height ft (m) FROM table WHERE Name = tenth presbyterian church
Translate the following into a SQL query
For the Loss of Plesac (1-5), what is the Record?
SELECT Record FROM table WHERE Loss = plesac (1-5)
Translate the following into a SQL query
For the Loss of Plesac (1-5), what is the Record?
SELECT Record FROM table WHERE Loss = plesac (1-5)
Translate the following into a SQL query
Name the entrant for year less than 1990 and chassis of eurobrun er189
SELECT Entrant FROM table WHERE Year < 1990 AND Chassis = eurobrun er189
Translate the following into a SQL query
Name the engine for years before 1990 and chassis of eurobrun er189
SELECT Engine FROM table WHERE Year < 1990 AND Chassis = eurobrun er189
Translate the following into a SQL query
With games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed?
SELECT MIN Touchdowns FROM table WHERE Receptions = 51 AND Games Started < 16
Translate the following into a SQL query
What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3?
SELECT MAX Games Played FROM table WHERE Receptions = 6 AND Games Started = 10 AND Fumbles < 3
Translate the following into a SQL query
When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA?
SELECT Date FROM table WHERE Casualties = 1 wia AND Circumstances = ied AND Location = 15km nw of pol-e khomri
Translate the following into a SQL query
When was the incident in Pol-E Khomri?
SELECT Date FROM table WHERE Location = pol-e khomri
Translate the following into a SQL query
What was the incident in imam sahib area, kunduz province?
SELECT Nature of incident FROM table WHERE Location = imam sahib area, kunduz province
Translate the following into a SQL query
What gender has Romanized name and kim yoon-yeong?
SELECT Gender FROM table WHERE Romanized name = kim yoon-yeong
Translate the following into a SQL query
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens?
SELECT MIN Year FROM table WHERE Team = baltimore ravens AND Games < 15
Translate the following into a SQL query
After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
SELECT MIN Games FROM table WHERE Year > 2013
Translate the following into a SQL query
What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre?
SELECT Result FROM table WHERE Competition = 2006 fifa world cup qualifier AND Venue = warner park sporting complex, bassaterre
Translate the following into a SQL query
What is the name of the venue when the competition was friendly, with a Result of 2–3?
SELECT Venue FROM table WHERE Competition = friendly AND Result = 2–3
Translate the following into a SQL query
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier?
SELECT Venue FROM table WHERE Score = 5–0 AND Competition = 2007 caribbean cup qualifier
Translate the following into a SQL query
When did elisabeth of valois die?
SELECT Death FROM table WHERE Name = elisabeth of valois
Translate the following into a SQL query
Who is entered earlier than 1975 and has a Lotus 20 chassis?
SELECT Entrant FROM table WHERE Year < 1975 AND Chassis = lotus 20
Translate the following into a SQL query
Which engine has a Lotus 49c chassis?
SELECT Engine FROM table WHERE Chassis = lotus 49c
Translate the following into a SQL query
What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968?
SELECT AVG Points FROM table WHERE Entrant = scuderia scribante AND Chassis = brabham bt11 AND Year < 1968
Translate the following into a SQL query
How many points are there for a Mclaren m23 chassis later than 1972?
SELECT COUNT Points FROM table WHERE Year > 1972 AND Chassis = mclaren m23
Translate the following into a SQL query
What is the average change to have a land area of 546.74 and a population density greater than 0.5?
SELECT AVG Change (%) FROM table WHERE Land area (km²) = 546.74 AND Population density (per km²) > 0.5
Translate the following into a SQL query
What was the result after 1994 for team MB2 and 31 starts?
SELECT Finish FROM table WHERE Year > 1994 AND Team = mb2 AND Start = 31
Translate the following into a SQL query
What team has 33 starts?
SELECT Team FROM table WHERE Start = 33
Translate the following into a SQL query
What team finished 35 in a ford before 1997?
SELECT Team FROM table WHERE Year < 1997 AND Manufacturer = ford AND Finish = 35
Translate the following into a SQL query
What was the sum of the scores before the year 2002, that had the venue of Halmstad?
SELECT SUM Score FROM table WHERE Venue = halmstad AND Year < 2002
Translate the following into a SQL query
What was France's highest score when the venue was Bokskogens?
SELECT MAX Score FROM table WHERE Country = france AND Venue = bokskogens
Translate the following into a SQL query
What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270?
SELECT MIN Year FROM table WHERE Winner = matthew king AND Score > 270
Translate the following into a SQL query
What was the average year during which the score was 270?
SELECT AVG Year FROM table WHERE Score = 270
Translate the following into a SQL query
What were the total number scores after 2005, when the winner was David Patrick?
SELECT COUNT Score FROM table WHERE Winner = david patrick AND Year > 2005
Translate the following into a SQL query
What was the average year that the venue was Bokskogens?
SELECT AVG Year FROM table WHERE Venue = bokskogens
Translate the following into a SQL query
Who did the Toronto Blue Jays play against where the score was 4 - 2?
SELECT Opponent FROM table WHERE Score = 4 - 2
Translate the following into a SQL query
Who did the Blue Jays play against on April 11?
SELECT Opponent FROM table WHERE Date = april 11
Translate the following into a SQL query
Who did the Blue Jays play against on April 24?
SELECT Opponent FROM table WHERE Date = april 24
Translate the following into a SQL query
What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?
SELECT AVG Value ($M) FROM table WHERE Country = england AND Operating income($m) > -5 AND Revenue ($M) < 103
Translate the following into a SQL query
What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159?
SELECT COUNT Value ($M) FROM table WHERE Country = spain AND Rank = 19 AND Debt as %of value > 159
Translate the following into a SQL query
What was the sum of Value ($M), when the Revenue ($M) was less than 307, the Team was Valencia, and the Rank was smaller than 19?
SELECT SUM Value ($M) FROM table WHERE Revenue ($M) < 307 AND Team = valencia AND Rank < 19
Translate the following into a SQL query
What was the total amount of Value ($M), when the Rank was higher than 6, and the % change on year was -27?
SELECT COUNT Value ($M) FROM table WHERE Rank > 6 AND % change on year = -27
Translate the following into a SQL query
What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?
SELECT SUM Revenue ($M) FROM table WHERE Debt as %of value > 27 AND Operating income($m) = 77
Translate the following into a SQL query
Name the screening completed for screening started 23 january 2006
SELECT Screening Completed FROM table WHERE Screening Started = 23 january 2006
Translate the following into a SQL query
Name the screening started when it was completed 3 may 2006
SELECT Screening Started FROM table WHERE Screening Completed = 3 may 2006
Translate the following into a SQL query
What award was Trent Tesoro nominated for in 2007?
SELECT Award FROM table WHERE Result = nominated AND Year = 2007
Translate the following into a SQL query
What is the score for the team that has a record of 80-64?
SELECT Score FROM table WHERE Record = 80-64
Translate the following into a SQL query
What position did team scandia finish when their engine was cosworth?
SELECT Finish FROM table WHERE Engine = cosworth AND Team = team scandia
Translate the following into a SQL query
What was the position of the team that used an oldsmobile engine and DNQ?
SELECT Finish FROM table WHERE Engine = oldsmobile AND Start = dnq
Translate the following into a SQL query
what is the least bronze when gold is more than 0 for russia?
SELECT MIN Bronze FROM table WHERE Gold > 0 AND Nation = russia
Translate the following into a SQL query
what is the highest rank for italy when gold is more than 1?
SELECT MAX Rank FROM table WHERE Nation = italy AND Gold > 1
Translate the following into a SQL query
what is the total when bronze is more than 1 and gold smaller than 1?
SELECT SUM Total FROM table WHERE Bronze > 1 AND Gold < 1
Translate the following into a SQL query
What is the avg seek time for a device that is less than 3231?
SELECT Avg seek time [ms] FROM table WHERE Device < 3231
Translate the following into a SQL query
What is the smallest transfer rate for a 3243 device?
SELECT MIN Avg transfer rate [kB/s] FROM table WHERE Device = 3243
Translate the following into a SQL query
Which entrant has a year after 1955?
SELECT Entrant FROM table WHERE Year > 1955
Translate the following into a SQL query
How many draws has a Club of real valladolid that was played less than 38?
SELECT MAX Draws FROM table WHERE Club = real valladolid AND Played < 38
Translate the following into a SQL query
How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against?
SELECT COUNT Losses FROM table WHERE Goal Difference = 5 AND Draws > 10 AND Goals against = 43
Translate the following into a SQL query
On which award show was Bad Girls nominated for Most Popular Drama in 2004?
SELECT Award Show FROM table WHERE Year = 2004 AND Category = most popular drama
Translate the following into a SQL query
Who was the recipient when the show was nominated for Most Popular Drama after 2004?
SELECT Recipient(s) FROM table WHERE Result = nominated AND Category = most popular drama AND Year > 2004
Translate the following into a SQL query
In what award show was Bad Girls nominated for Best Loved Drama in 2002?
SELECT Award Show FROM table WHERE Category = best loved drama AND Year = 2002
Translate the following into a SQL query
What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7?
SELECT AVG Total FROM table WHERE Silver = 2 AND Rank > 7
Translate the following into a SQL query
What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals?
SELECT MIN Rank FROM table WHERE Silver < 14 AND Bronze < 3 AND Total = 4 AND Nation = ukraine
Translate the following into a SQL query
What is the total of bronze medals from nations with more than 16 total medals and ranks larger than 3?
SELECT COUNT Bronze FROM table WHERE Total = 16 AND Rank > 3
Translate the following into a SQL query
What is the total number of bronze medals with a total of 4 medals and 1 gold medal?
SELECT COUNT Bronze FROM table WHERE Total = 4 AND Gold = 1
Translate the following into a SQL query
What was the qualification with more than 162 laps in 1953?
SELECT Qual FROM table WHERE Laps > 162 AND Year = 1953
Translate the following into a SQL query
What was the qualification with more than 585 laps?
SELECT Qual FROM table WHERE Laps = 585
Translate the following into a SQL query
How many laps had a qualification of 136.168?
SELECT COUNT Laps FROM table WHERE Qual = 136.168
Translate the following into a SQL query
Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?
SELECT Appointed by FROM table WHERE Title = envoy extraordinary and minister plenipotentiary AND Termination of Mission = march 16, 1905
Translate the following into a SQL query
What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?
SELECT GDP (billion US$) FROM table WHERE GDP per capita (US$) = 8,861
Translate the following into a SQL query
What is the name of the member country that has a Population of 1,341,664?
SELECT Member countries FROM table WHERE Population = 1,341,664
Translate the following into a SQL query
What is the total population of the country that has a GDP per capita (US$) of 15,054?
SELECT Population FROM table WHERE GDP per capita (US$) = 15,054
Translate the following into a SQL query
What is the name of the country that has an Area (km²) of 49,036?
SELECT Member countries FROM table WHERE Area (km²) = 49,036
Translate the following into a SQL query
What is the GDP (billion US$) of the country that has an Area (km²) of 316?
SELECT GDP (billion US$) FROM table WHERE Area (km²) = 316
Translate the following into a SQL query
What is the GDP per capita (US$) of the country that has a Population of 2,011,473?
SELECT GDP per capita (US$) FROM table WHERE Population = 2,011,473
Translate the following into a SQL query
What is the original title for the Korean language film?
SELECT Original title FROM table WHERE Language = korean
Translate the following into a SQL query
What language is the film La Diagonale du Fou in?
SELECT Language FROM table WHERE Original title = la diagonale du fou
Translate the following into a SQL query
What was the original title of the Hindi film?
SELECT Original title FROM table WHERE Language = hindi