instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Year has a Venue of atlanta, united states?
SELECT Year FROM table WHERE Venue = atlanta, united states
Translate the following into a SQL query
Which Notes has a Venue of barcelona, spain?
SELECT Notes FROM table WHERE Venue = barcelona, spain
Translate the following into a SQL query
Which Event has a Year of 1986?
SELECT Event FROM table WHERE Year = 1986
Translate the following into a SQL query
What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?
SELECT AVG Share FROM table WHERE Viewers (millions) > 7.82 AND Rank (Timeslot) = 3 AND Rank (Week) = 54
Translate the following into a SQL query
What is the weekly rank for the episode with a share over 7 and a rating/share of 2.3/7?
SELECT Rank (Week) FROM table WHERE Share > 7 AND Rating/Share (18-49) = 2.3/7
Translate the following into a SQL query
What is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/10?
SELECT Rank (Week) FROM table WHERE Viewers (millions) > 7.14 AND Rank (Night) = 5 AND Rating/Share (18-49) = 2.9/10
Translate the following into a SQL query
What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1?
SELECT COUNT Gain FROM table WHERE Long < 4 AND Name = brandon mcrae AND Avg/G < -0.1
Translate the following into a SQL query
What is the lowest long with a Gp-GS of 11-8, and a gain less than 228?
SELECT MIN Long FROM table WHERE GP-GS = 11-8 AND Gain < 228
Translate the following into a SQL query
What is the lowest gain with an 18 long, and a loss less than 191?
SELECT MIN Gain FROM table WHERE Long = 18 AND Loss < 191
Translate the following into a SQL query
What is the sum of 1938 values where 1933 values are under 68.3 and 1940 valures are under 4.02?
SELECT SUM 1938 FROM table WHERE 1933 < 68.3 AND 1940 < 4.02
Translate the following into a SQL query
What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3?
SELECT AVG 1940 FROM table WHERE 1929 = 101.4 AND 1933 > 68.3
Translate the following into a SQL query
What is the highest 1937 value that has a 1940 value over 126?
SELECT MAX 1937 FROM table WHERE 1940 > 126
Translate the following into a SQL query
At what time is the ბრაზილიის უბანი shown?
SELECT Timeslot FROM table WHERE Translation = ბრაზილიის უბანი
Translate the following into a SQL query
What country was the series finale present and was shown Monday to Sunday at 18:45-21:00?
SELECT Country FROM table WHERE Series Finale = present AND Weekly Schedule = monday to sunday AND Timeslot = 18:45-21:00
Translate the following into a SQL query
What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო?
SELECT Series Finale FROM table WHERE Translation = ოჰ ეს ცრემლები / პარალელური საიდუმლო
Translate the following into a SQL query
What days of the week is the show aired on that runs at 16:45?
SELECT Weekly Schedule FROM table WHERE Timeslot = 16:45
Translate the following into a SQL query
Which days of the week does the telenovela play that is aired at 11:00?
SELECT Weekly Schedule FROM table WHERE Timeslot = 11:00
Translate the following into a SQL query
Which Tournament was on 2 October 2006?
SELECT Tournament FROM table WHERE Date = 2 october 2006
Translate the following into a SQL query
Who is the Opponent in the final on 4 April 2011?
SELECT Opponent in the final FROM table WHERE Date = 4 april 2011
Translate the following into a SQL query
What Surface was used on 2 June 2003?
SELECT Surface FROM table WHERE Date = 2 june 2003
Translate the following into a SQL query
Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category?
SELECT Award FROM table WHERE Category = teen pick show: comedy
Translate the following into a SQL query
Which award show nominated Cole Sprouse for the Favorite TV Actor category?
SELECT Award FROM table WHERE Category = favorite tv actor AND Recipient = cole sprouse
Translate the following into a SQL query
What category was The Suite Life on Deck nominated for later than 2010?
SELECT Category FROM table WHERE Recipient = the suite life on deck AND Year > 2010
Translate the following into a SQL query
Who won the 2010 Kids' Choice Awards?
SELECT Recipient FROM table WHERE Award = 2010 kids' choice awards AND Result = won
Translate the following into a SQL query
What was the Rd. Time for October 3, 2009?
SELECT Rd., Time FROM table WHERE Date = october 3, 2009
Translate the following into a SQL query
When was the Rd., Time 12 (12), 1:24?
SELECT Date FROM table WHERE Rd., Time = 12 (12), 1:24
Translate the following into a SQL query
What is the greatest lost where played is less than 9?
SELECT MAX Lost FROM table WHERE Played < 9
Translate the following into a SQL query
What is the greatest played with a drawn less than 1 and a position of less than 1?
SELECT MAX Played FROM table WHERE Drawn < 1 AND Position < 1
Translate the following into a SQL query
What is the smallest drawn when the points are less than 7 and the against greater than 31?
SELECT MIN Drawn FROM table WHERE Points < 7 AND Against > 31
Translate the following into a SQL query
What is the name of the team that has 13 points?
SELECT Team FROM table WHERE Points = 13
Translate the following into a SQL query
What was the Nominated Work earlier than 2003?
SELECT Nominated Work FROM table WHERE Year < 2003
Translate the following into a SQL query
What was the Nominated Work earlier than 2003?
SELECT Nominated Work FROM table WHERE Year < 2003
Translate the following into a SQL query
What was the Nominated Work earlier than 2003?
SELECT Nominated Work FROM table WHERE Year < 2003
Translate the following into a SQL query
Which method's event was flawless fighting championship 1: the beginning?
SELECT Method FROM table WHERE Event = flawless fighting championship 1: the beginning
Translate the following into a SQL query
Which method's opponent was chris clark?
SELECT Method FROM table WHERE Opponent = chris clark
Translate the following into a SQL query
Which record's round was 3 when the event was fight festival 27?
SELECT Record FROM table WHERE Round = 3 AND Event = fight festival 27
Translate the following into a SQL query
What is the Fourth place with a Year that is 1978?
SELECT Fourth place FROM table WHERE Year = 1978
Translate the following into a SQL query
What is the Fourth place with a Year that is 1966?
SELECT Fourth place FROM table WHERE Year = 1966
Translate the following into a SQL query
What is the Champion with a Year that is 2008?
SELECT Champion FROM table WHERE Year = 2008
Translate the following into a SQL query
Who was the opponent for the game played on September 19, 1994?
SELECT Opponent FROM table WHERE Date = september 19, 1994
Translate the following into a SQL query
In which week was attendance at 50,814?
SELECT COUNT Week FROM table WHERE Attendance = 50,814
Translate the following into a SQL query
What date after Week 6 was a Bye?
SELECT Date FROM table WHERE Week > 6 AND Attendance = bye
Translate the following into a SQL query
What subjunctive also has an inverse subjunctive of måchadns?
SELECT subjunctive FROM table WHERE inverse subjunctive = måchadns
Translate the following into a SQL query
What imperative has måcha as 3.sg?
SELECT imperative FROM table WHERE måcha = 3.sg
Translate the following into a SQL query
The indicative of si måchan has what as the inverse subjunctive?
SELECT inverse subjunctive FROM table WHERE indicative = si måchan
Translate the following into a SQL query
What inverse subjunctive has — as the imperative and a subjunctive of se måchadn?
SELECT inverse subjunctive FROM table WHERE imperative = — AND subjunctive = se måchadn
Translate the following into a SQL query
With a subjunctive of du måchast what is the imperative?
SELECT imperative FROM table WHERE subjunctive = du måchast
Translate the following into a SQL query
What subjunctive has the indicative of se måchan(t)?
SELECT subjunctive FROM table WHERE indicative = se måchan(t)
Translate the following into a SQL query
What is the Win % in the Span of 2011–2013 with a Lost of less than 1?
SELECT AVG Win % FROM table WHERE Span = 2011–2013 AND Lost < 1
Translate the following into a SQL query
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
SELECT COUNT Tied FROM table WHERE Span = 2011–2013 AND Win % < 80
Translate the following into a SQL query
What is the highest Capacity that has 13.14% Annual change and Total Passengers larger than 15,499,462?
SELECT MAX Capacity FROM table WHERE Annual change = 13.14% AND Total Passengers > 15,499,462
Translate the following into a SQL query
Which Annual change has a Capacity in use of 66.21%?
SELECT Annual change FROM table WHERE Capacity in use = 66.21%
Translate the following into a SQL query
Which Rank that has a Total Passengers of 15,499,462?
SELECT COUNT Rank FROM table WHERE Total Passengers = 15,499,462
Translate the following into a SQL query
How many Capacity has a Annual change of 53.4% and Total Passengers smaller than 7,822,848?
SELECT AVG Capacity FROM table WHERE Annual change = 53.4% AND Total Passengers < 7,822,848
Translate the following into a SQL query
On what date were sheets issued in Tallahassee, Florida?
SELECT Date of issue FROM table WHERE Place of issue = tallahassee, florida
Translate the following into a SQL query
Which printer issued sheets on October 5, 2006?
SELECT Printer FROM table WHERE Date of issue = october 5, 2006
Translate the following into a SQL query
What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won?
SELECT MIN Silver FROM table WHERE Bronze > 1 AND Nation = total AND Total > 18
Translate the following into a SQL query
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
SELECT COUNT Position FROM table WHERE Against < 28 AND Team = americano-sp AND Played > 8
Translate the following into a SQL query
How many losses have points against less than 15?
SELECT COUNT Lost FROM table WHERE Against < 15
Translate the following into a SQL query
What average played has an against less than 15?
SELECT AVG Played FROM table WHERE Against < 15
Translate the following into a SQL query
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?
SELECT COUNT Lost FROM table WHERE Played > 8 AND Team = ypiranga-sp AND Position > 5
Translate the following into a SQL query
What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15?
SELECT Lost FROM table WHERE Position > 2 AND Drawn > 0 AND Against > 15
Translate the following into a SQL query
What is the sum of White (%), when Black (%) is less than 5,8, and when Asian or Amerindian (%) is less than 0,2?
SELECT SUM White (%) FROM table WHERE Black (%) < 5,8 AND Asian or Amerindian (%) < 0,2
Translate the following into a SQL query
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
SELECT SUM Asian or Amerindian (%) FROM table WHERE State = sergipe AND Brown (%) > 61,3
Translate the following into a SQL query
What is the total number of White (%), when Brown (%) is less than 54,6, when Asian or Amerindian (%) is greater than 1,3, and when Black (%) is less than 5,3?
SELECT COUNT White (%) FROM table WHERE Brown (%) < 54,6 AND Asian or Amerindian (%) > 1,3 AND Black (%) < 5,3
Translate the following into a SQL query
What is the sum of Asian or Amerindian (%), when Black (%) is 9,7, and when White (%) is greater than 45,7?
SELECT SUM Asian or Amerindian (%) FROM table WHERE Black (%) = 9,7 AND White (%) > 45,7
Translate the following into a SQL query
How many points were there when there more than 6 losses and less than 14 matches?
SELECT COUNT Points FROM table WHERE Lost > 6 AND Match < 14
Translate the following into a SQL query
How few losses were the least number of losses and points higher than 23?
SELECT MIN Lost FROM table WHERE Points > 23
Translate the following into a SQL query
What is the highest number of matches with more than 18 points and more than 1 draw?
SELECT MAX Match FROM table WHERE Points > 18 AND Draw > 1
Translate the following into a SQL query
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
SELECT Champion FROM table WHERE Runner-up = dick chapman AND Venue = st. andrews links
Translate the following into a SQL query
What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?
SELECT Score FROM table WHERE Venue = royal liverpool golf club AND Champion = willie hunter
Translate the following into a SQL query
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
SELECT Runner-up FROM table WHERE Country = england AND Venue = royal porthcawl golf club
Translate the following into a SQL query
Who was the champion in the match where C.A. Palmer was the runner-up?
SELECT Champion FROM table WHERE Runner-up = c.a. palmer
Translate the following into a SQL query
What player was the champion in the match where E.A. Lassen was the runner-up?
SELECT Champion FROM table WHERE Runner-up = e.a. lassen
Translate the following into a SQL query
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
SELECT Score FROM table WHERE Country = england AND Champion = peter mcevoy AND Runner-up = paul mckellar
Translate the following into a SQL query
Which federal state has 6 representatives of national average?
SELECT Federal State FROM table WHERE Representatives of national average = 6
Translate the following into a SQL query
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
SELECT Population (on the census also called Censo 2010) FROM table WHERE Deputies required ignoring the limits < -6
Translate the following into a SQL query
What is the lowest number of blocks for players with height of 206 and more than 356 spikes?
SELECT MIN Block FROM table WHERE Height = 206 AND Spike > 356
Translate the following into a SQL query
What is the number of weight values associated with 340 blocks and more than 353 spikes?
SELECT COUNT Weight FROM table WHERE Block = 340 AND Spike > 353
Translate the following into a SQL query
What award did Forest Whitaker win in 1989?
SELECT Award FROM table WHERE Actor = forest whitaker AND Year = 1989
Translate the following into a SQL query
For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997?
SELECT Motion Picture FROM table WHERE Award = best supporting actor AND Actor = samuel l. jackson AND Year < 1997
Translate the following into a SQL query
Which actor won in 1966?
SELECT Actor FROM table WHERE Year = 1966
Translate the following into a SQL query
What is the lowest population in millions that has inhabitants per MEP less than 414,538, and an influence of 2.06, and MEPs less than 13?
SELECT MIN Population millions FROM table WHERE Inhabitants per MEP < 414,538 AND Influence = 2.06 AND MEPs < 13
Translate the following into a SQL query
What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP?
SELECT MIN Influence FROM table WHERE Population millions < 60.64 AND MEPs < 22 AND Inhabitants per MEP = 454,059
Translate the following into a SQL query
What is the highest population in the millions that has an influence of 1.02?
SELECT MAX Population millions FROM table WHERE Influence = 1.02
Translate the following into a SQL query
What is the total number of MEPs that has 465,955 inhabitants per MEP and an influence smaller than 1.79?
SELECT COUNT MEPs FROM table WHERE Inhabitants per MEP = 465,955 AND Influence < 1.79
Translate the following into a SQL query
What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
SELECT SUM Population millions FROM table WHERE Influence < 2.91 AND MEPs < 13 AND Member state = latvia AND Inhabitants per MEP > 286,875
Translate the following into a SQL query
What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?
SELECT MAX Inhabitants per MEP FROM table WHERE MEPs > 50 AND Member state = germany AND Population millions < 82.43
Translate the following into a SQL query
Which World Rank has a Year smaller than 1977, and a Location of eugene?
SELECT World Rank FROM table WHERE Year < 1977 AND Location = eugene
Translate the following into a SQL query
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
SELECT MIN Year FROM table WHERE World Rank = 5th AND Result > 20.31
Translate the following into a SQL query
Which Year has a Result smaller than 20.26, and a Location of eugene?
SELECT SUM Year FROM table WHERE Result < 20.26 AND Location = eugene
Translate the following into a SQL query
What is the Result with a Location of brussels?
SELECT COUNT Result FROM table WHERE Location = brussels
Translate the following into a SQL query
What Year has a Result smaller than 20.31, and a World Rank of 5th?
SELECT AVG Year FROM table WHERE Result < 20.31 AND World Rank = 5th
Translate the following into a SQL query
What is the record when the Nuggets are the home team?
SELECT Record FROM table WHERE Home = nuggets
Translate the following into a SQL query
What is the lowest number of points for Drivers that have raced in more than 16 Races?
SELECT MIN Points FROM table WHERE Races > 16
Translate the following into a SQL query
What is the least number of Races for a Racer with less than 0 Points?
SELECT MIN Races FROM table WHERE Points < 0
Translate the following into a SQL query
What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?
SELECT AVG Year FROM table WHERE Poles < 2 AND Fast laps = 0 AND Drivers = adrian quaife-hobbs
Translate the following into a SQL query
Which city contains the KPIX station?
SELECT City of License /Market FROM table WHERE Station = kpix
Translate the following into a SQL query
Which station has channel TV (DT) of 3 (26)?
SELECT Station FROM table WHERE Channel TV ( DT ) = 3 (26)
Translate the following into a SQL query
What is the current affiliation when the years owned is between 1955–1995?
SELECT Current affiliation FROM table WHERE Years owned = 1955–1995