instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What percentage of browsers were using Internet Explorer during the period in which 24.91% were using Chrome?
SELECT Internet Explorer FROM table WHERE Chrome = 24.91%
Translate the following into a SQL query
What percentage of browsers were using Chrome during the period in which 72.03% were using Internet Explorer?
SELECT Chrome FROM table WHERE Internet Explorer = 72.03%
Translate the following into a SQL query
What percentage of browsers were using Safari during the period in which 2.05% were using Chrome?
SELECT Safari FROM table WHERE Chrome = 2.05%
Translate the following into a SQL query
What percentage of browsers were using Chrome during the period in which 0.30% were using Opera and 6.77% were using Safari?
SELECT Chrome FROM table WHERE Opera = 0.30% AND Safari = 6.77%
Translate the following into a SQL query
Which TV network was located in Brazil?
SELECT TV Network(s) FROM table WHERE Country = brazil
Translate the following into a SQL query
What country has a series premier of unknown and mbc action as their TV network?
SELECT Country FROM table WHERE Series Premiere = unknown AND TV Network(s) = mbc action
Translate the following into a SQL query
What is the weekly schedule for the network sky italia?
SELECT Weekly Schedule FROM table WHERE TV Network(s) = sky italia
Translate the following into a SQL query
How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
SELECT AVG Gold FROM table WHERE Bronze > 6 AND Silver > 18
Translate the following into a SQL query
How many Gold medals did the Soviet Union receive?
SELECT AVG Gold FROM table WHERE Nation = soviet union
Translate the following into a SQL query
What pos is John Mann Category:Articles with Hcards with the New York Athletic Club?
SELECT Pos. FROM table WHERE 2012 club = new york athletic club AND Name = john mann category:articles with hcards
Translate the following into a SQL query
What's the weight when the pos is CB and is part of the New York Athletic Club?
SELECT Weight FROM table WHERE Pos. = cb AND 2012 club = new york athletic club
Translate the following into a SQL query
What's the name of the person in the CF Pos?
SELECT Name FROM table WHERE Pos. = cf
Translate the following into a SQL query
Which league cup apps has FA as the cup apps of 5?
SELECT League Cup Apps FROM table WHERE FA Cup Apps = 5
Translate the following into a SQL query
What is the lowest league goals that has fw as the position, total goals greater than 9, with league cup goals greater than 4?
SELECT MIN League Goals FROM table WHERE Position = fw AND Total Goals > 9 AND League Cup Goals > 4
Translate the following into a SQL query
What is the earliest year that a team event was included at Vilamoura, Portugal?
SELECT MIN Year FROM table WHERE Event = team AND Venue = vilamoura, portugal
Translate the following into a SQL query
In which event before 2001 did the athlete place 16th?
SELECT Event FROM table WHERE Year < 2001 AND Result = 16th
Translate the following into a SQL query
In which tournament was the result 25th?
SELECT Tournament FROM table WHERE Result = 25th
Translate the following into a SQL query
What is the number of points for the song "viva rock 'n' roll", with more than 3 Draws?
SELECT AVG Points FROM table WHERE Song = "viva rock 'n' roll" AND Draw > 3
Translate the following into a SQL query
What artist has more than 6 draws, and in a place higher than 14?
SELECT Artist FROM table WHERE Draw > 6 AND Place > 14
Translate the following into a SQL query
What is the highest Place with more than 3 draws, for the Song "dajana", with less than 31 points?
SELECT MAX Place FROM table WHERE Draw > 3 AND Song = "dajana" AND Points < 31
Translate the following into a SQL query
What Social Democratic has a Democratic and Social Centre of 10.0% 22 seats?
SELECT Social Democratic FROM table WHERE Democratic and Social Centre = 10.0% 22 seats
Translate the following into a SQL query
What Social Democratic has the Democratic and Social Centre of 4.4% 4 seats?
SELECT Social Democratic FROM table WHERE Democratic and Social Centre = 4.4% 4 seats
Translate the following into a SQL query
How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?
SELECT Number of teams FROM table WHERE Top goalscorer(s) = not awarded AND Year = 2007 details
Translate the following into a SQL query
What is the location of the tournament where the best goalkeeper had 164 (8.2)?
SELECT Location FROM table WHERE Best goalkeeper = 164 (8.2)
Translate the following into a SQL query
What section were they in when there were tier 2 in 1996?
SELECT Section FROM table WHERE Level = tier 2 AND Season = 1996
Translate the following into a SQL query
What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996?
SELECT Administration FROM table WHERE Division = ykkönen (first division) AND Position = 1st AND Season = 1996
Translate the following into a SQL query
What was the film title that emma thompson was the actress nominated for best supporting actress?
SELECT Film title used in nomination FROM table WHERE Actor/Actress = emma thompson AND Category = best supporting actress
Translate the following into a SQL query
What category was al pacino nominated for in the film, glengarry glen ross?
SELECT Category FROM table WHERE Actor/Actress = al pacino AND Film title used in nomination = glengarry glen ross
Translate the following into a SQL query
What is the year when sigourney weaver was nominated for best actress?
SELECT Year (Ceremony) FROM table WHERE Category = best actress AND Actor/Actress = sigourney weaver
Translate the following into a SQL query
What year was holly hunter a nominee?
SELECT Year (Ceremony) FROM table WHERE Result = nominee AND Actor/Actress = holly hunter
Translate the following into a SQL query
What is the per capita income of the county with a median family income of $40,492?
SELECT Per capita income FROM table WHERE Median family income = $40,492
Translate the following into a SQL query
what is the earliest year when the result is won and the role/episode is fox mulder?
SELECT MIN Year FROM table WHERE Result = won AND Role/Episode = fox mulder
Translate the following into a SQL query
what is the year when the role/episode is david duchovny?
SELECT Year FROM table WHERE Role/Episode = david duchovny
Translate the following into a SQL query
What date has 9 as the week?
SELECT Date FROM table WHERE Week = 9
Translate the following into a SQL query
What is the average total of the 0-8 tally?
SELECT AVG Total FROM table WHERE Tally = 0-8
Translate the following into a SQL query
What is the total rank of the match with tipperary as the opposition?
SELECT COUNT Rank FROM table WHERE Opposition = tipperary
Translate the following into a SQL query
What is the lowest total of player tommy ring, who has a rank greater than 1?
SELECT MIN Total FROM table WHERE Player = tommy ring AND Rank > 1
Translate the following into a SQL query
What is the average rank of the match where offaly was the opposition and the total was greater than 9?
SELECT AVG Rank FROM table WHERE Opposition = offaly AND Total > 9
Translate the following into a SQL query
Which municipality has a party of Lega Friuli-VG that won elections before 2011?
SELECT Municipality FROM table WHERE Party = lega friuli-vg AND Election < 2011
Translate the following into a SQL query
Which party is Ettore Romoli from?
SELECT Party FROM table WHERE Mayor = ettore romoli
Translate the following into a SQL query
What campus is in Brgy. Alangilan, Batangas City?
SELECT Campus FROM table WHERE Location = brgy. alangilan, batangas city
Translate the following into a SQL query
When was the Balayan, Batangas campus founded?
SELECT Founded FROM table WHERE Location = balayan, batangas
Translate the following into a SQL query
Who is the executive director of the Lemery, Batangas extension?
SELECT Executive Director FROM table WHERE Type = extension AND Location = lemery, batangas
Translate the following into a SQL query
What is number of silver for the country with more than 0 gold, rank of 14, and more than 4 bronze?
SELECT COUNT Silver FROM table WHERE Gold > 0 AND Rank = 14 AND Bronze > 4
Translate the following into a SQL query
What is the number of gold for the country ranked 19?
SELECT SUM Gold FROM table WHERE Rank = 19
Translate the following into a SQL query
What is the least amount of silver when there is less than 0 bronze?
SELECT MIN Silver FROM table WHERE Bronze < 0
Translate the following into a SQL query
What is the most bronze when the total is 14, and there are more than 6 gold?
SELECT MAX Bronze FROM table WHERE Total = 14 AND Gold > 6
Translate the following into a SQL query
Which world record has a 187kg of 392kg?
SELECT World record FROM table WHERE 187kg = 392kg
Translate the following into a SQL query
Who has 187kg and a Snatch of Clean & Jerk?
SELECT 187kg FROM table WHERE Snatch = clean & jerk
Translate the following into a SQL query
What is the world record for a 187kg of 392kg?
SELECT World record FROM table WHERE 187kg = 392kg
Translate the following into a SQL query
What is the Reserved for (SC / ST /None) when the constituency number is 203?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Constituency number = 203
Translate the following into a SQL query
What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208?
SELECT SUM Number of electorates (2009) FROM table WHERE District = indore AND Reserved for ( SC / ST /None) = none AND Constituency number = 208
Translate the following into a SQL query
What is the district when the reserved for (SC / ST /None) is none, number of electorates (2009) is larger than 190,441, and name is Indore-2?
SELECT District FROM table WHERE Reserved for ( SC / ST /None) = none AND Number of electorates (2009) > 190,441 AND Name = indore-2
Translate the following into a SQL query
What percentage of users were using other browsers according to the source that reported 21.22% were using Firefox?
SELECT Other FROM table WHERE Firefox = 21.22%
Translate the following into a SQL query
According to W3Counter, what percentage of browsers used Firefox?
SELECT Firefox FROM table WHERE Source = w3counter
Translate the following into a SQL query
What percentage of users were using Firefox according to the source that reported 21.70% used Internet Explorer?
SELECT Firefox FROM table WHERE Internet Explorer = 21.70%
Translate the following into a SQL query
Which source reported 32.60% of browsers used Chrome?
SELECT Source FROM table WHERE Chrome = 32.60%
Translate the following into a SQL query
What percentage of users were using Firefox according to the source that reported 15.40% used Safari?
SELECT Firefox FROM table WHERE Safari = 15.40%
Translate the following into a SQL query
What percentage of users were using Internet Explorer according to the source that reported 20.01% used Firefox?
SELECT Internet Explorer FROM table WHERE Firefox = 20.01%
Translate the following into a SQL query
How many points did team Rothmans Honda have in 1992?
SELECT MIN Points FROM table WHERE Team = rothmans honda AND Year = 1992
Translate the following into a SQL query
What class before 1990 has points of 33?
SELECT Class FROM table WHERE Year < 1990 AND Points = 33
Translate the following into a SQL query
How many total points were in 1992?
SELECT COUNT Points FROM table WHERE Year = 1992
Translate the following into a SQL query
In 1992, what class has higher wins than 0?
SELECT Class FROM table WHERE Wins > 0 AND Year = 1992
Translate the following into a SQL query
What was the class that team Honda Britain was in with points higher than 0?
SELECT Class FROM table WHERE Team = honda britain AND Points > 0
Translate the following into a SQL query
Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry?
SELECT MAX FA Cup Goals FROM table WHERE League Cup Apps > 0 AND Name = trevor cherry
Translate the following into a SQL query
How many League Goals have League Cup Goals smaller than 0?
SELECT SUM League Goals FROM table WHERE League Cup Goals < 0
Translate the following into a SQL query
What's the 2009 of the Australian Open having a 1R in 2011?
SELECT 2009 FROM table WHERE 2011 = 1r AND Tournament = australian open
Translate the following into a SQL query
What's the 2008 of the Australian Open when the 2011 was 1R?
SELECT 2008 FROM table WHERE 2011 = 1r AND Tournament = australian open
Translate the following into a SQL query
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
SELECT 2008 FROM table WHERE 2011 = 1r AND 2010 = 2r AND Tournament = us open
Translate the following into a SQL query
What is the lowest number of episodes in a series with an airing date of 12 jan- 6 feb?
SELECT MIN Number of episodes FROM table WHERE Airing date = 12 jan- 6 feb
Translate the following into a SQL query
What tournament has petra mandula patricia wartusch as the opponent in the final?
SELECT Tournament FROM table WHERE Opponent in the final = petra mandula patricia wartusch
Translate the following into a SQL query
What date has kimberly po nathalie tauziat as the opponent in the final?
SELECT Date FROM table WHERE Opponent in the final = kimberly po nathalie tauziat
Translate the following into a SQL query
What score has February 12, 2006 as the date?
SELECT Score FROM table WHERE Date = february 12, 2006
Translate the following into a SQL query
What opponent in the final has October 9, 2005 as the date?
SELECT Opponent in the final FROM table WHERE Date = october 9, 2005
Translate the following into a SQL query
What is the to par for Bo Bae Song?
SELECT To par FROM table WHERE Player = bo bae song
Translate the following into a SQL query
What is the to par for Jiyai Shin when the place is t1?
SELECT To par FROM table WHERE Place = t1 AND Player = jiyai shin
Translate the following into a SQL query
What is the to par for Jiyai Shin in place t1?
SELECT To par FROM table WHERE Place = t1 AND Player = jiyai shin
Translate the following into a SQL query
What was Laura Diaz's score for place t9?
SELECT Score FROM table WHERE Place = t9 AND Player = laura diaz
Translate the following into a SQL query
What country does Bo Bae Song play for?
SELECT Country FROM table WHERE Player = bo bae song
Translate the following into a SQL query
How many gold medals did Brazil win with a total of more than 55 medals?
SELECT AVG Gold FROM table WHERE Nation = brazil AND Total > 55
Translate the following into a SQL query
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
SELECT COUNT Rank FROM table WHERE Silver > 2 AND Bronze < 2
Translate the following into a SQL query
What is the fewest gold medals won by Greece?
SELECT MIN Gold FROM table WHERE Nation = greece
Translate the following into a SQL query
What is the lowest rank of the United States, with fewer than 4 bronze medals?
SELECT MIN Rank FROM table WHERE Nation = united states AND Bronze < 4
Translate the following into a SQL query
What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
SELECT MAX Gold FROM table WHERE Silver < 2 AND Bronze < 4
Translate the following into a SQL query
Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22?
SELECT AVG React FROM table WHERE Lane < 4 AND Rank > 4 AND Time > 23.22
Translate the following into a SQL query
What shows for against when draws are 0, and losses are 16?
SELECT AVG Against FROM table WHERE Draws = 0 AND Losses = 16
Translate the following into a SQL query
What is the highest number of wins when draws are larger than 1, and byes are larger than 0?
SELECT MAX Wins FROM table WHERE Draws > 1 AND Byes > 0
Translate the following into a SQL query
Which team were runners-up in 2007 and had 1 under winners?
SELECT Team FROM table WHERE Winners = 1 AND Years runners-up = 2007
Translate the following into a SQL query
What is the sum of winners when 1983 is the years won?
SELECT COUNT Winners FROM table WHERE Years won = 1983
Translate the following into a SQL query
Which Rank has a Total of 12?
SELECT AVG Rank FROM table WHERE Total = 12
Translate the following into a SQL query
Which Rank has an Opposition of limerick?
SELECT Rank FROM table WHERE Opposition = limerick
Translate the following into a SQL query
How much Rank has a Tally of 0-10, and an Opposition of cork?
SELECT COUNT Rank FROM table WHERE Tally = 0-10 AND Opposition = cork
Translate the following into a SQL query
Which Total has a Rank smaller than 3, and a County of cork?
SELECT MIN Total FROM table WHERE Rank < 3 AND County = cork
Translate the following into a SQL query
Which Rank has a Tally of 4-0?
SELECT AVG Rank FROM table WHERE Tally = 4-0
Translate the following into a SQL query
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
SELECT MAX Lane FROM table WHERE Rank > 3 AND Time > 45.63 AND React < 0.28800000000000003 AND Athlete = geiner mosquera
Translate the following into a SQL query
How many reactions have an Athlete of alleyne francique, and a Lane larger than 9?
SELECT COUNT React FROM table WHERE Athlete = alleyne francique AND Lane > 9
Translate the following into a SQL query
What yeae has 6-08 (24) as a waterford score?
SELECT Year FROM table WHERE Waterford score = 6-08 (24)
Translate the following into a SQL query
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
SELECT MIN Year FROM table WHERE Competition = all-ireland hurling final AND Waterford score = 6-08 (24)
Translate the following into a SQL query
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
SELECT Waterford score FROM table WHERE Year < 1963 AND Competition = all-ireland hurling final replay
Translate the following into a SQL query
What rounds did RML Racing Silverline and James Nash compete?
SELECT Rounds FROM table WHERE Team = rml racing silverline AND Drivers = james nash