instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the tv time for the game on week 12?
SELECT TV Time FROM table WHERE Week = 12
Translate the following into a SQL query
What was the attendance for the game against miami dolphins?
SELECT Attendance FROM table WHERE Opponent = miami dolphins
Translate the following into a SQL query
What is the result of the game with 67,715 fans attending?
SELECT Result FROM table WHERE Attendance = 67,715
Translate the following into a SQL query
Who was the opponent for the game that had 90,287 in attendance?
SELECT Opponent FROM table WHERE Attendance = 90,287
Translate the following into a SQL query
Who had rahat as their 2008 club?
SELECT Name FROM table WHERE 2008 club = rahat
Translate the following into a SQL query
Who had rahat as their 2008 club?
SELECT Name FROM table WHERE 2008 club = rahat
Translate the following into a SQL query
What was the height of the player that had a 2008 club of iller bankasi?
SELECT Height FROM table WHERE 2008 club = iller bankasi
Translate the following into a SQL query
What is the team with 1st period at 12:37?
SELECT Team FROM table WHERE Period = 1st AND Time = 12:37
Translate the following into a SQL query
who is the athlete with the time 6:02.46?
SELECT Athlete FROM table WHERE Time = 6:02.46
Translate the following into a SQL query
what is the country for rank 6?
SELECT Country FROM table WHERE Rank = 6
Translate the following into a SQL query
what is the notes when the rank is less than 2?
SELECT Notes FROM table WHERE Rank < 2
Translate the following into a SQL query
what is the rank for athlete hauffe, seifert, kaeufer, adamski?
SELECT SUM Rank FROM table WHERE Athlete = hauffe, seifert, kaeufer, adamski
Translate the following into a SQL query
what is the notes for the time 6:05.21?
SELECT Notes FROM table WHERE Time = 6:05.21
Translate the following into a SQL query
Who was the discoverer of the object with an Aphelion above 97 in 2004?
SELECT Discoverer(s) FROM table WHERE Aphelion (AU) > 97 AND Year discovered = 2004
Translate the following into a SQL query
What model number has part number cl8064701510101?
SELECT Model number FROM table WHERE Part number(s) = cl8064701510101
Translate the following into a SQL query
What is the I/O bus entry for the processor with a release price of $657?
SELECT I/O bus FROM table WHERE Release price ( USD ) = $657
Translate the following into a SQL query
What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?
SELECT L2 cache FROM table WHERE GPU model = iris pro graphics 5200 AND Frequency = 2.6 ghz
Translate the following into a SQL query
What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)?
SELECT Frequency FROM table WHERE Release price ( USD ) = $383 AND sSpec number = sr15f(c0)
Translate the following into a SQL query
What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)?
SELECT GPU frequency FROM table WHERE Release date = june 2013 AND sSpec number = sr17l(c0)
Translate the following into a SQL query
What is the L3 cache of the processor with a release price of $440?
SELECT L3 cache FROM table WHERE Release price ( USD ) = $440
Translate the following into a SQL query
What is the OS X for the Home Media Center?
SELECT OS X FROM table WHERE Name = home media center
Translate the following into a SQL query
What is the name when Windows is partial?
SELECT Name FROM table WHERE Windows = partial
Translate the following into a SQL query
What is the license for Rygel?
SELECT License FROM table WHERE Name = rygel
Translate the following into a SQL query
What is the license for Jriver Media Center?
SELECT License FROM table WHERE Name = jriver media center
Translate the following into a SQL query
Of the series that last aired August 20, 2010, what is the lowest number of seasons?
SELECT MIN Season FROM table WHERE Last Aired = august 20, 2010
Translate the following into a SQL query
Of the series that first aired April 8, 2011, what is the total number of episodes?
SELECT SUM Episodes FROM table WHERE First Aired = april 8, 2011
Translate the following into a SQL query
What's the total when the position was more than 6 and had an A Score of less than 7.6?
SELECT MAX Total FROM table WHERE Position > 6 AND A Score < 7.6
Translate the following into a SQL query
What's the total when A Score was less than 6.9?
SELECT AVG Total FROM table WHERE A Score < 6.9
Translate the following into a SQL query
What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?
SELECT SUM Water (sqmi) FROM table WHERE Land ( sqmi ) = 35.918 AND Longitude < -97.115459
Translate the following into a SQL query
What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?
SELECT COUNT Longitude FROM table WHERE ANSI code = 1036573 AND Water (sqmi) < 0.404
Translate the following into a SQL query
What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005?
SELECT MIN Longitude FROM table WHERE Latitude = 46.843963 AND Water (sqmi) < 0.052000000000000005
Translate the following into a SQL query
What is the total heat ranked higher than 7?
SELECT SUM Heat FROM table WHERE Rank > 7
Translate the following into a SQL query
Which cyclist is from Australia?
SELECT Cyclist FROM table WHERE Nation = australia
Translate the following into a SQL query
Which nation has a heat of 4, and is ranked 8?
SELECT Nation FROM table WHERE Heat = 4 AND Rank = 8
Translate the following into a SQL query
What is John Curtice's position?
SELECT Position FROM table WHERE Player = john curtice
Translate the following into a SQL query
What player is from Seton Hall University?
SELECT Player FROM table WHERE School = seton hall university
Translate the following into a SQL query
What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
SELECT MIN Pick FROM table WHERE Position = ss, p AND Team = minnesota twins
Translate the following into a SQL query
what is the premier when the assumed office is 14 april 1894?
SELECT Premier: FROM table WHERE Assumed Office: = 14 april 1894
Translate the following into a SQL query
what is the rank when the assumed office is 9 april 1903?
SELECT SUM Rank: FROM table WHERE Assumed Office: = 9 april 1903
Translate the following into a SQL query
what is the premier when the rank is 30?
SELECT Premier: FROM table WHERE Rank: = 30
Translate the following into a SQL query
what is the total time in office when the assumed office is 1 november 1856?
SELECT TOTAL Time in Office: FROM table WHERE Assumed Office: = 1 november 1856
Translate the following into a SQL query
what is the rank when assumed office on 12 may 1857?
SELECT SUM Rank: FROM table WHERE Assumed Office: = 12 may 1857
Translate the following into a SQL query
What is the average v-band for Ka-band values under 33 and Q-bands of 1?
SELECT AVG V-band FROM table WHERE Ka-band < 33 AND Q-band = 1
Translate the following into a SQL query
What award has a year earlier than 2004 and the episode shows —?
SELECT Award FROM table WHERE Year < 2004 AND Episode = —
Translate the following into a SQL query
What award has a year later than 2004, and the episode was "The Road to Damuscus"?
SELECT Award FROM table WHERE Year > 2004 AND Episode = "the road to damuscus"
Translate the following into a SQL query
What year has a Nominee of —, and a Result of nominated?
SELECT AVG Year FROM table WHERE Nominee = — AND Result = nominated
Translate the following into a SQL query
What is the Country of the Play Electra?
SELECT country FROM table WHERE play = electra
Translate the following into a SQL query
What is the Athens Base play with Dance Theatre Roes Company?
SELECT play FROM table WHERE base = athens AND company = dance theatre roes
Translate the following into a SQL query
Who is the author of the Play Electra?
SELECT author FROM table WHERE play = electra
Translate the following into a SQL query
Waht is the Country of the play by Author Aristophanes?
SELECT country FROM table WHERE author = aristophanes
Translate the following into a SQL query
What Country has the Play The Libation Bearers a Base of Mecklenburg?
SELECT country FROM table WHERE base = mecklenburg AND play = the libation bearers
Translate the following into a SQL query
Which series had a title of Boyhood Daze?
SELECT Series FROM table WHERE Title = boyhood daze
Translate the following into a SQL query
What was the release date of Rabbit Romeo?
SELECT Release date FROM table WHERE Title = rabbit romeo
Translate the following into a SQL query
What was the release date of Three Little Bops?
SELECT Release date FROM table WHERE Title = three little bops
Translate the following into a SQL query
When earnings ($) is more than 583,796 after 1998 with 1 LPGA wins and greater than 10 Money list rank, what is the smallest average?
SELECT MIN Average FROM table WHERE Year > 1998 AND Earnings ($) > 583,796 AND LPGA wins = 1 AND Money list rank > 10
Translate the following into a SQL query
In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank?
SELECT MIN Money list rank FROM table WHERE LPGA wins < 2 AND Year = 2005 AND Earnings ($) < 615,499
Translate the following into a SQL query
What is the sum of money list rank after 1999 when the average is less than 73.27 and earnings is 583,796?
SELECT COUNT Money list rank FROM table WHERE Average < 73.27 AND Earnings ($) = 583,796 AND Year > 1999
Translate the following into a SQL query
What is the team name from Hammond Bishop Noll?
SELECT Team Name FROM table WHERE School = hammond bishop noll
Translate the following into a SQL query
What city has a team in IHSAA class 3a, and previous conference of lake?
SELECT City FROM table WHERE Previous Counference = lake AND IHSAA Class = 3a
Translate the following into a SQL query
What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?
SELECT AVG Enrollment 08-09 FROM table WHERE Previous Counference = lake AND IHSAA Class = 3a
Translate the following into a SQL query
What is the Date of the Kroger Classic Tournament?
SELECT Date FROM table WHERE Tournament = kroger classic
Translate the following into a SQL query
What is the Date of the Ameritech Senior Open?
SELECT Date FROM table WHERE Tournament = ameritech senior open
Translate the following into a SQL query
What Tournament has a Winning score of −16 (66-64-67=197)?
SELECT Tournament FROM table WHERE Winning score = −16 (66-64-67=197)
Translate the following into a SQL query
What Japanese On'yomi has Catonese Jyutping of jyut6?
SELECT Japanese on'yomi FROM table WHERE Cantonese Jyutping = jyut6
Translate the following into a SQL query
What Japanese On'yomi has Vietnamese of Mậu?
SELECT Japanese on'yomi FROM table WHERE Vietnamese = mậu
Translate the following into a SQL query
What is Wu Xing (五行) with Korean (RR) of 임 (im)?
SELECT Wu Xing ( 五行 ) FROM table WHERE Korean ( RR ) = 임 (im)
Translate the following into a SQL query
What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44?
SELECT Manchu ( Möllendorff ) FROM table WHERE Wu xing correlations = 南 south AND Wuu Wuupin = ting44
Translate the following into a SQL query
Which Japanese Title has a TV Station of ntv?
SELECT Japanese Title FROM table WHERE TV Station = ntv
Translate the following into a SQL query
Which TV Station has a Romaji Title of kegareta shita?
SELECT TV Station FROM table WHERE Romaji Title = kegareta shita
Translate the following into a SQL query
Which Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~?
SELECT Theme Song(s) FROM table WHERE Japanese Title = 恋におちたら~僕の成功の秘密~
Translate the following into a SQL query
Churai has what as the fewest number of electorates?
SELECT MIN Number of electorates (2009) FROM table WHERE Name = churai
Translate the following into a SQL query
what is the title when the release date is 1938-12-17 and the production number is 8610?
SELECT Title FROM table WHERE Release date = 1938-12-17 AND Production Num. = 8610
Translate the following into a SQL query
The match played July 8, 2007 had what outcome?
SELECT Outcome FROM table WHERE Date = july 8, 2007
Translate the following into a SQL query
The final match played against Evie Dominikovic was played on what surface?
SELECT Surface FROM table WHERE Opponent in the final = evie dominikovic
Translate the following into a SQL query
Olga Blahotová was the opponent in the final at what tournament?
SELECT Tournament FROM table WHERE Opponent in the final = olga blahotová
Translate the following into a SQL query
In the final against Ashley Harkleroad what was the score?
SELECT Score FROM table WHERE Opponent in the final = ashley harkleroad
Translate the following into a SQL query
What is the name for the 2008 club Liaoning?
SELECT Name FROM table WHERE 2008 club = liaoning
Translate the following into a SQL query
What is the height for the Tianjin members in 2008?
SELECT Height FROM table WHERE 2008 club = tianjin
Translate the following into a SQL query
At what time did the opponent Takaichi Hirayama have an event?
SELECT Time FROM table WHERE Opponent = takaichi hirayama
Translate the following into a SQL query
In which round was Gabriel Veiga the opponent?
SELECT Round FROM table WHERE Opponent = gabriel veiga
Translate the following into a SQL query
Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?
SELECT Method FROM table WHERE Round = 3 AND Res. = loss AND Event = juiz de fora - fight 1
Translate the following into a SQL query
Which opponent has a record of 4-2?
SELECT Opponent FROM table WHERE Record = 4-2
Translate the following into a SQL query
What is the Reserved for when there are more than 161,219 electorates in 2009 and a constituency of 160?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Number of electorates (2009) > 161,219 AND Constituency number = 160
Translate the following into a SQL query
What is the name when there are more than 161,219 electorates in 2009 and a constituency of 165?
SELECT Name FROM table WHERE Number of electorates (2009) > 161,219 AND Constituency number = 165
Translate the following into a SQL query
what is the country for zhang xiuyun?
SELECT Country FROM table WHERE Athlete = zhang xiuyun
Translate the following into a SQL query
what is the country for fabiana beltrame?
SELECT Country FROM table WHERE Athlete = fabiana beltrame
Translate the following into a SQL query
what is the notes when the time is 7:58.71?
SELECT Notes FROM table WHERE Time = 7:58.71
Translate the following into a SQL query
what is the highest rank when the time is 7:52.65?
SELECT MAX Rank FROM table WHERE Time = 7:52.65
Translate the following into a SQL query
what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?
SELECT Country FROM table WHERE Notes = sa/b AND Rank > 1 AND Athlete = zhang xiuyun
Translate the following into a SQL query
Who had a rank under 17 with a total of 119?
SELECT Athlete FROM table WHERE Rank < 17 AND Total = 119
Translate the following into a SQL query
What round has 2-1 as the result, and A as the venue?
SELECT Round FROM table WHERE Result = 2-1 AND Venue = a
Translate the following into a SQL query
What is the most time for the swimmer from South Africa who was in a lane greater than 3?
SELECT MAX Time FROM table WHERE Nationality = south africa AND Lane > 3
Translate the following into a SQL query
Which school has enrollment of 887?
SELECT School FROM table WHERE Enrollment = 887
Translate the following into a SQL query
what is the round when the pick # is less than 236 and the position is offensive guard?
SELECT AVG Round FROM table WHERE Pick # < 236 AND Position = offensive guard
Translate the following into a SQL query
what is the position in round 3?
SELECT Position FROM table WHERE Round = 3
Translate the following into a SQL query
What is the Position of the Pick 8 Player?
SELECT Position FROM table WHERE Pick = 8
Translate the following into a SQL query
Which High assists has a Score of w 71-56?
SELECT High assists FROM table WHERE Score = w 71-56
Translate the following into a SQL query
Which Score has a High assists of whalen (5)?
SELECT Score FROM table WHERE High assists = whalen (5)
Translate the following into a SQL query
Which High rebounds has a Game smaller than 9, and a Opponent of detroit?
SELECT High rebounds FROM table WHERE Game < 9 AND Opponent = detroit
Translate the following into a SQL query
Which High rebounds has a Score of w 81-69?
SELECT High rebounds FROM table WHERE Score = w 81-69