instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who was the Class AAAA champion in 2006-07? | SELECT Class AAAA FROM table WHERE School Year = 2006-07 |
Translate the following into a SQL query | How many times was there a class A winner when Gregory-Portland was the class AAAA? | SELECT COUNT Class A FROM table WHERE Class AAAA = Gregory-Portland |
Translate the following into a SQL query | How many Class AAAA winners where in 2002-03? | SELECT COUNT Class AAAA FROM table WHERE School Year = 2002-03 |
Translate the following into a SQL query | Who was the class AAAAA in 2008-09? | SELECT Class AAAAA FROM table WHERE School Year = 2008-09 |
Translate the following into a SQL query | Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner? | SELECT Class AA FROM table WHERE Class A = Plains AND Class AAAAA = Lubbock |
Translate the following into a SQL query | Who was the Class A winner in 2006-07? | SELECT Class A FROM table WHERE School Year = 2006-07 |
Translate the following into a SQL query | If class a is canadian and class aaa is wimberley, which possible school years could this fall on? | SELECT School Year FROM table WHERE Class AAA = Wimberley AND Class A = Canadian |
Translate the following into a SQL query | For franklin of class aa, which school years does this occur? | SELECT School Year FROM table WHERE Class AA = Franklin |
Translate the following into a SQL query | Which school years have a class a being lindsay and a class aaa being cuero? | SELECT School Year FROM table WHERE Class A = Lindsay AND Class AAA = Cuero |
Translate the following into a SQL query | What season was the overall record 29-7? | SELECT Season FROM table WHERE Overall = 29-7 |
Translate the following into a SQL query | How far into the postseason did the Rams go when their record was 29-7? | SELECT Postseason FROM table WHERE Overall = 29-7 |
Translate the following into a SQL query | What was the Ram's conference record when they were the CBI champions? | SELECT Conference FROM table WHERE Postseason = CBI Champions |
Translate the following into a SQL query | What season was the overall record 24-10? | SELECT Season FROM table WHERE Overall = 24-10 |
Translate the following into a SQL query | In what season was the overall record 29-7? | SELECT Season FROM table WHERE Overall = 29-7 |
Translate the following into a SQL query | What are the school years where class "AAA" is argyle? | SELECT School Year FROM table WHERE Class AAA = Argyle |
Translate the following into a SQL query | What are all the AAA classes in the school years of 2005-06? | SELECT Class AAA FROM table WHERE School Year = 2005-06 |
Translate the following into a SQL query | What are all the AAAA classes in the schools years 2004-05? | SELECT Class AAAA FROM table WHERE School Year = 2004-05 |
Translate the following into a SQL query | What are all the school years where class AAAA is in Gregory-Portland? | SELECT School Year FROM table WHERE Class AAAA = Gregory-Portland |
Translate the following into a SQL query | What are all the AAA classes in the school years of 2004-05? | SELECT Class AAA FROM table WHERE School Year = 2004-05 |
Translate the following into a SQL query | What are all classes for the position SLB? | SELECT Class FROM table WHERE Position = SLB |
Translate the following into a SQL query | What are all weights for the number 27? | SELECT Weight FROM table WHERE Number = 27 |
Translate the following into a SQL query | What are all names for the position FS? | SELECT Name FROM table WHERE Position = FS |
Translate the following into a SQL query | Name the call sign for the 17 physical | SELECT Call sign FROM table WHERE Physical = 17 |
Translate the following into a SQL query | Name the branding for forum communications | SELECT Branding FROM table WHERE Owner = Forum Communications |
Translate the following into a SQL query | Name the number of branding for 31 physical | SELECT COUNT Branding FROM table WHERE Physical = 31 |
Translate the following into a SQL query | Name the number of virtual for NBC | SELECT COUNT Virtual FROM table WHERE Network = NBC |
Translate the following into a SQL query | Name the virtual for Fox | SELECT COUNT Virtual FROM table WHERE Network = Fox |
Translate the following into a SQL query | Name the owners for prairie public | SELECT COUNT Owner FROM table WHERE Branding = Prairie Public |
Translate the following into a SQL query | Name the total number of class aaa for 2006-07 | SELECT COUNT Class AAA FROM table WHERE School Year = 2006-07 |
Translate the following into a SQL query | Name the class aaaa for menard | SELECT Class AAAA FROM table WHERE Class A = Menard |
Translate the following into a SQL query | Name the school year for class aaaa for wichita falls | SELECT School Year FROM table WHERE Class AAAA = Wichita Falls |
Translate the following into a SQL query | Name the class a for carthage | SELECT Class A FROM table WHERE Class AAAA = Carthage |
Translate the following into a SQL query | What is the original title of europe for dummies? | SELECT Original title FROM table WHERE English title = Europe for Dummies |
Translate the following into a SQL query | What is the English version of Mariusz Szczygieł book? | SELECT English title FROM table WHERE Author = Mariusz Szczygieł |
Translate the following into a SQL query | who is the the pole position with date being august 10 | SELECT Pole position FROM table WHERE Date = August 10 |
Translate the following into a SQL query | how many winning team with circuit being road america | SELECT COUNT Winning team FROM table WHERE Circuit = Road America |
Translate the following into a SQL query | who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200 | SELECT Winning driver FROM table WHERE Pole position = Paul Tracy AND Race Name = Miller Genuine Draft 200 |
Translate the following into a SQL query | who is the the pole position with rnd being 16 | SELECT Pole position FROM table WHERE Rnd = 16 |
Translate the following into a SQL query | what's the race name with date being september 7 | SELECT Race Name FROM table WHERE Date = September 7 |
Translate the following into a SQL query | what's the circuit with rnd being 5 | SELECT Circuit FROM table WHERE Rnd = 5 |
Translate the following into a SQL query | What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? | SELECT COUNT # appearances FROM table WHERE Most recent final = 1999, beat Genk 3-1 |
Translate the following into a SQL query | What is the number of runner-up results for the years (won in bold) 1984, 2010? | SELECT MAX # runner-up FROM table WHERE years (won in bold) = 1984, 2010 |
Translate the following into a SQL query | What is the most recent final result for the years (won in bold) 1979? | SELECT Most recent final FROM table WHERE years (won in bold) = 1979 |
Translate the following into a SQL query | what's the title with original air date being september23,1995 | SELECT Title FROM table WHERE Original air date = September23,1995 |
Translate the following into a SQL query | who wrote with original air date being september23,1995 | SELECT Written by FROM table WHERE Original air date = September23,1995 |
Translate the following into a SQL query | who directed with original air date being november18,1995 | SELECT Directed by FROM table WHERE Original air date = November18,1995 |
Translate the following into a SQL query | What percentages of social democratic correspond to a 5.5% left bloc? | SELECT Social Democratic FROM table WHERE Left Bloc = 5.5% |
Translate the following into a SQL query | When was there 8.9% Green-Communist? | SELECT Date Released FROM table WHERE Green-Communist = 8.9% |
Translate the following into a SQL query | How many socialists correspond to a 7.5% People's Party? | SELECT COUNT Socialist FROM table WHERE Peoples Party = 7.5% |
Translate the following into a SQL query | What are all percentages of Left Block when there is a 28.7% Social Democratic? | SELECT Left Bloc FROM table WHERE Social Democratic = 28.7% |
Translate the following into a SQL query | If Socialist is at 46.1%, what are all percentages for social democratic? | SELECT Social Democratic FROM table WHERE Socialist = 46.1% |
Translate the following into a SQL query | How many percentages of Left Bloc correspond to a 32.1% Social Democratic? | SELECT COUNT Left Bloc FROM table WHERE Social Democratic = 32.1% |
Translate the following into a SQL query | What is the NFL team of the player whose college is Minnesota? | SELECT NFL Team FROM table WHERE College = Minnesota |
Translate the following into a SQL query | What college did the defensive back attend? | SELECT College FROM table WHERE Position = Defensive Back |
Translate the following into a SQL query | What is the pick number of the player whose college is Florida State? | SELECT Pick # FROM table WHERE College = Florida State |
Translate the following into a SQL query | How many colleges did pick number 269 attend? | SELECT COUNT College FROM table WHERE Pick # = 269 |
Translate the following into a SQL query | How many picks played Tight end? | SELECT COUNT Pick # FROM table WHERE Position = Tight End |
Translate the following into a SQL query | What is the position of the player whose college is Western Kentucky? | SELECT Position FROM table WHERE College = Western Kentucky |
Translate the following into a SQL query | What position does Robert Brooks play? | SELECT COUNT Position FROM table WHERE Player = Robert Brooks |
Translate the following into a SQL query | Which team does Robert Brooks play with? | SELECT NFL Team FROM table WHERE Player = Robert Brooks |
Translate the following into a SQL query | Which team picked from South Carolina college? | SELECT NFL Team FROM table WHERE College = South Carolina |
Translate the following into a SQL query | Which college was the wide receiver whose pick was less than 130.0 picked from? | SELECT College FROM table WHERE Position = Wide Receiver AND Pick # < 130.0 |
Translate the following into a SQL query | What position(s) does the player drafted #34 play? | SELECT Position FROM table WHERE Pick # = 34 |
Translate the following into a SQL query | What is the highest pick number? | SELECT MAX Pick # FROM table |
Translate the following into a SQL query | What number picked were players from arizona state picked? | SELECT Pick # FROM table WHERE College = Arizona State |
Translate the following into a SQL query | What NFL team does player keith woodside play for? | SELECT NFL Team FROM table WHERE Player = Keith Woodside |
Translate the following into a SQL query | what's the player with college being penn state | SELECT Player FROM table WHERE College = Penn State |
Translate the following into a SQL query | what's the position with college being usc | SELECT Position FROM table WHERE College = USC |
Translate the following into a SQL query | how many college with player being rich voltzke | SELECT COUNT College FROM table WHERE Player = Rich Voltzke |
Translate the following into a SQL query | what's the college with position being placekicker | SELECT College FROM table WHERE Position = Placekicker |
Translate the following into a SQL query | who is the the player where pick # is 64 | SELECT Player FROM table WHERE Pick # = 64 |
Translate the following into a SQL query | What day were the Denver Broncos the opponent? | SELECT Date FROM table WHERE Opponent = Denver Broncos |
Translate the following into a SQL query | What day was the oppenent the detroit lions? | SELECT Date FROM table WHERE Opponent = Detroit Lions |
Translate the following into a SQL query | List the record of 0-1 from the table? | SELECT Week FROM table WHERE Record = 0-1 |
Translate the following into a SQL query | Type the record details if any result has L 3-6 in it? | SELECT Record FROM table WHERE Result = L 3-6 |
Translate the following into a SQL query | Find the least value of attendance? | SELECT MIN Attendance FROM table |
Translate the following into a SQL query | type the attendance for playing with tampa bay buccaneers? | SELECT Attendance FROM table WHERE Opponent = Tampa Bay Buccaneers |
Translate the following into a SQL query | How many times was obamacare: fed/ state/ partnership recorded for Louisiana? | SELECT COUNT Obamacare: Fed/ State/ Partnership FROM table WHERE State = Louisiana |
Translate the following into a SQL query | How many numbers were recorded under revenue when revenue per capita was $6,126? | SELECT COUNT Revenue (millions) FROM table WHERE Revenue per capita = $6,126 |
Translate the following into a SQL query | How many times was presidential majority 2000/2004 recorded when obamacare: fed/ state/ partnership was Utah shop? | SELECT COUNT Presidential majority 2000/2004 FROM table WHERE Obamacare: Fed/ State/ Partnership = Utah shop |
Translate the following into a SQL query | What was the spending per capita when the revenue per capita was $7,755? | SELECT Spending per capita FROM table WHERE Revenue per capita = $7,755 |
Translate the following into a SQL query | What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting? | SELECT Presidential majority 2000/2004 FROM table WHERE Presidential majority 2012 = Non-voting |
Translate the following into a SQL query | How many times was revenue in millions recorded when the spending per capita was $6,736? | SELECT COUNT Revenue (millions) FROM table WHERE Spending per capita = $6,736 |
Translate the following into a SQL query | What is the largest number of DVDs? | SELECT MAX DVD No. FROM table |
Translate the following into a SQL query | What is the highest number of episodes? | SELECT MAX Ep No. FROM table |
Translate the following into a SQL query | What is the most recent release date? | SELECT MAX Release date FROM table |
Translate the following into a SQL query | How many release dates does volume 4 DVD have? | SELECT COUNT Release date FROM table WHERE DVD name = Volume 4 |
Translate the following into a SQL query | what is the arrival time for no. 14? | SELECT Arrival FROM table WHERE No. = 14 |
Translate the following into a SQL query | what is the arrival time where the station code is awy? | SELECT Arrival FROM table WHERE Station Code = AWY |
Translate the following into a SQL query | what amount of stations have station code is awy? | SELECT COUNT Station FROM table WHERE Station Code = AWY |
Translate the following into a SQL query | what is the arrival time where station code is pnvl? | SELECT Arrival FROM table WHERE Station Code = PNVL |
Translate the following into a SQL query | Which stations had volume of 5088 in 2004-05? | SELECT Station Name FROM table WHERE 2004–05 = 5088 |
Translate the following into a SQL query | How many stations in 2011-12 had volume of 11580 in 2008-09? | SELECT COUNT 2011–12 FROM table WHERE 2008–09 = 11580 |
Translate the following into a SQL query | What was the least volume recorded in 2011-12 when 2008-09 had 21652? | SELECT MIN 2011–12 FROM table WHERE 2008–09 = 21652 |
Translate the following into a SQL query | How many years was the total 402? | SELECT COUNT Years FROM table WHERE Total = 402 |
Translate the following into a SQL query | Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella? | SELECT Young rider classification FROM table WHERE Mountains classification = Emanuele Sella AND Stage = 9 |
Translate the following into a SQL query | Who is the general classification leader for stage 3? | SELECT General classification FROM table WHERE Stage = 3 |
Translate the following into a SQL query | Who won the points classifications in the stage where Matteo Priamo was the winner? | SELECT COUNT Points classification FROM table WHERE Winner = Matteo Priamo |
Translate the following into a SQL query | Who was awarded the young ride classification leader when the winner was Marzio Bruseghin? | SELECT Young rider classification FROM table WHERE Winner = Marzio Bruseghin |
Translate the following into a SQL query | Which title did Neil Affleck direct? | SELECT Title FROM table WHERE Directed by = Neil Affleck |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.