instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who is the driver that has a crew chief Gary Ritter?
SELECT Driver(s) FROM table WHERE Crew Chief = gary ritter
Translate the following into a SQL query
what is the award for the 2009 songwriter of the year?
SELECT Award FROM table WHERE Year = 2009 AND Category = songwriter of the year
Translate the following into a SQL query
what is the category that has the people's choice awards?
SELECT Category FROM table WHERE Award = people's choice awards
Translate the following into a SQL query
what year has general nominated in the category or choice breakthrough artist?
SELECT COUNT Year FROM table WHERE Nominated work = general AND Category = choice breakthrough artist
Translate the following into a SQL query
What was the score on 6 February 2008?
SELECT Score FROM table WHERE Date = 6 february 2008
Translate the following into a SQL query
Which competition was held on 14 November 2012?
SELECT Competition FROM table WHERE Date = 14 november 2012
Translate the following into a SQL query
What competition took place on 10 August 2011?
SELECT Competition FROM table WHERE Date = 10 august 2011
Translate the following into a SQL query
What is the average Year with Chassis equalling cooper t60?
SELECT AVG Year FROM table WHERE Chassis = cooper t60
Translate the following into a SQL query
Which Chassis has an Entrant of cooper car company, and a Year of 1963?
SELECT Chassis FROM table WHERE Entrant = cooper car company AND Year = 1963
Translate the following into a SQL query
Which Entrant has an Engine of climax straight-4, and Points larger than 0?
SELECT Entrant FROM table WHERE Engine = climax straight-4 AND Points > 0
Translate the following into a SQL query
Which tournament has hard as the surface and apr. 12, 1998 as the date?
SELECT Tournament FROM table WHERE Surface = hard AND Date = apr. 12, 1998
Translate the following into a SQL query
Which surface has wynne prakusya as the opponent in the final?
SELECT Surface FROM table WHERE Opponent in the Final = wynne prakusya
Translate the following into a SQL query
What score has wynne prakusya as the opponent in the final?
SELECT Score FROM table WHERE Opponent in the Final = wynne prakusya
Translate the following into a SQL query
What tournament has nov. 21, 1999 as the date?
SELECT Tournament FROM table WHERE Date = nov. 21, 1999
Translate the following into a SQL query
Name the authority for coed gender and chanel college
SELECT Authority FROM table WHERE Gender = coed AND Name = chanel college
Translate the following into a SQL query
Name the average decile for state authority and area of fernridge
SELECT AVG Decile FROM table WHERE Authority = state AND Area = fernridge
Translate the following into a SQL query
What was the week on October 11, 1998?
SELECT MIN Week FROM table WHERE Date = october 11, 1998
Translate the following into a SQL query
What is the location of the game with attendance of 63,336?
SELECT Game site FROM table WHERE Attendance = 63,336
Translate the following into a SQL query
What was the date of the week 13 game?
SELECT Date FROM table WHERE Week = 13
Translate the following into a SQL query
What is the Panthers' Division Record?
SELECT Division Record FROM table WHERE Team = panthers
Translate the following into a SQL query
What is the Senators' division record?
SELECT Division Record FROM table WHERE Team = senators
Translate the following into a SQL query
What was the record after the January 18 game?
SELECT Record FROM table WHERE Date = january 18
Translate the following into a SQL query
What was the record after the January 6 game?
SELECT Record FROM table WHERE Date = january 6
Translate the following into a SQL query
Name the total number of ranks for kujalleq with former name of brattahlíð and population less than 47
SELECT COUNT Rank FROM table WHERE Municipality = kujalleq AND Former Name = brattahlíð AND Population < 47
Translate the following into a SQL query
Name the former name for 49 rank
SELECT Former Name FROM table WHERE Rank = 49
Translate the following into a SQL query
Which NHL team has left wing listed as the position?
SELECT NHL team FROM table WHERE Position = left wing
Translate the following into a SQL query
What years does Kakahi school, with a decile of 3, have?
SELECT Years FROM table WHERE Decile = 3 AND Name = kakahi school
Translate the following into a SQL query
What is the average decile of Ruapehu college, which has a state authority?
SELECT AVG Decile FROM table WHERE Authority = state AND Name = ruapehu college
Translate the following into a SQL query
What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?
SELECT SUM Roll FROM table WHERE Area = raetihi AND Name = orautoha school AND Decile < 8
Translate the following into a SQL query
On what day was Utah Blaze the opponent?
SELECT Date FROM table WHERE Opponent = utah blaze
Translate the following into a SQL query
What is the 2006 value with a 1r in 2011?
SELECT 2006 FROM table WHERE 2011 = 1r
Translate the following into a SQL query
What is the 2010 value with a 2r in 200r and a 3r in 2011?
SELECT 2010 FROM table WHERE 2004 = 2r AND 2011 = 3r
Translate the following into a SQL query
What is the 2007 value with a 2r in 2012 and 1r in 2002?
SELECT 2007 FROM table WHERE 2012 = 2r AND 2002 = 1r
Translate the following into a SQL query
What is the 2004 value in the 2011 Grand Slam Tournaments?
SELECT 2004 FROM table WHERE 2011 = grand slam tournaments
Translate the following into a SQL query
What is the 2004 value with a sf in 2010?
SELECT 2004 FROM table WHERE 2010 = sf
Translate the following into a SQL query
Who played women's singles in 2002?
SELECT Women's singles FROM table WHERE Year = 2002
Translate the following into a SQL query
Who played men's doubles in 1963?
SELECT Men's doubles FROM table WHERE Year = 1963
Translate the following into a SQL query
Name the score for 30 january 2013
SELECT Score FROM table WHERE Date = 30 january 2013
Translate the following into a SQL query
Name the result for goal # more than 4
SELECT Result FROM table WHERE Goal # > 4
Translate the following into a SQL query
What is Fred Couples to par?
SELECT To par FROM table WHERE Player = fred couples
Translate the following into a SQL query
What place has a score under 68?
SELECT Place FROM table WHERE Score < 68
Translate the following into a SQL query
Which driver won when o.m. was the winning constructor ?
SELECT Winning driver FROM table WHERE Winning constructor = o.m.
Translate the following into a SQL query
Which driver won when the winning constructor was bugatti at the Boulogne Grand Prix ?
SELECT Winning driver FROM table WHERE Winning constructor = bugatti AND Name = boulogne grand prix
Translate the following into a SQL query
What race did Meo Constantini win at the circuit of monza ?
SELECT Name FROM table WHERE Winning driver = meo constantini AND Circuit = monza
Translate the following into a SQL query
On what date did Aymo Maggi win the Rome Grand Prix ?
SELECT Date FROM table WHERE Winning driver = aymo maggi AND Name = rome grand prix
Translate the following into a SQL query
Name the season outcome for smyrna
SELECT Season Outcome FROM table WHERE School = smyrna
Translate the following into a SQL query
Name the school for eagles
SELECT School FROM table WHERE Team = eagles
Translate the following into a SQL query
Name the school for Season Outcome of loss in first round of div. i playoffs
SELECT School FROM table WHERE Season Outcome = loss in first round of div. i playoffs
Translate the following into a SQL query
Name the division record for riders
SELECT Division Record FROM table WHERE Team = riders
Translate the following into a SQL query
Name the team for school of milford
SELECT Team FROM table WHERE School = milford
Translate the following into a SQL query
Name the average points for chassis of stevens and year less than 1950
SELECT AVG Points FROM table WHERE Chassis = stevens AND Year < 1950
Translate the following into a SQL query
Name the least points for chassis of kurtis kraft 500a
SELECT MIN Points FROM table WHERE Chassis = kurtis kraft 500a
Translate the following into a SQL query
Name the total number of year for chassis of kurtis kraft 4000 and points more than 2
SELECT COUNT Year FROM table WHERE Chassis = kurtis kraft 4000 AND Points > 2
Translate the following into a SQL query
Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High?
SELECT Visiting Team FROM table WHERE Week < 12 AND Stadium = sports authority field at mile high
Translate the following into a SQL query
Who was the visiting team at Raymond James Stadium?
SELECT Visiting Team FROM table WHERE Stadium = raymond james stadium
Translate the following into a SQL query
What date had the Houston Texans as visitors?
SELECT Date FROM table WHERE Visiting Team = houston texans
Translate the following into a SQL query
Name the year with percentage of 9.66%
SELECT Year FROM table WHERE Percentage = 9.66%
Translate the following into a SQL query
Name the total number of popular votes for mn attorney general in 1994
SELECT COUNT Popular Votes FROM table WHERE Office = mn attorney general AND Year = 1994
Translate the following into a SQL query
Name the average popular votes in years after 1990 with percentage of 4.94%
SELECT AVG Popular Votes FROM table WHERE Percentage = 4.94% AND Year > 1990
Translate the following into a SQL query
Name the least popular votes for year less than 1994 and percentage of 0.96%
SELECT MIN Popular Votes FROM table WHERE Year < 1994 AND Percentage = 0.96%
Translate the following into a SQL query
What United States player holds the place of t8?`
SELECT Player FROM table WHERE Place = t8 AND Country = united states
Translate the following into a SQL query
What country of argentina has the To par of 68?
SELECT To par FROM table WHERE Score = 68 AND Country = argentina
Translate the following into a SQL query
What is the To par and holds the t8 place of the United States player Tiger Woods?
SELECT To par FROM table WHERE Country = united states AND Place = t8 AND Player = tiger woods
Translate the following into a SQL query
What country does miguel ángel jiménez player for and has a score of 69?
SELECT Country FROM table WHERE Score = 69 AND Player = miguel ángel jiménez
Translate the following into a SQL query
What is the date of the race at Truro?
SELECT Date FROM table WHERE Track = truro
Translate the following into a SQL query
Which Year has a nominated outstanding actor in a musical?
SELECT Year FROM table WHERE Result = nominated AND Category = outstanding actor in a musical
Translate the following into a SQL query
Which Award has a nominated, and outstanding choreography?
SELECT Award FROM table WHERE Result = nominated AND Category = outstanding choreography
Translate the following into a SQL query
Which Award has best performance by a leading actor in a musical
SELECT Award FROM table WHERE Category = best performance by a leading actor in a musical
Translate the following into a SQL query
What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals?
SELECT Club career FROM table WHERE Position = df AND Total goals < 18 AND League apps < 129 AND League goals > 7
Translate the following into a SQL query
What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position?
SELECT MIN Total goals FROM table WHERE League apps < 171 AND Total apps = 151 AND Position = df
Translate the following into a SQL query
What is the total number of Years that has the Group, Method Fest Independent Film Festival?
SELECT COUNT Year FROM table WHERE Group = method fest independent film festival
Translate the following into a SQL query
What is the average Year that has the Group, Logie Award, the Award, Most Outstanding Actor, and the Result, nominated?
SELECT AVG Year FROM table WHERE Group = logie award AND Award = most outstanding actor AND Result = nominated
Translate the following into a SQL query
Before 2012, which Group has the Result, nominated, the Film/Show, East West 101, and the Award, Best Lead Actor in A Television Drama?
SELECT Group FROM table WHERE Result = nominated AND Year < 2012 AND Film/Show = east west 101 AND Award = best lead actor in a television drama
Translate the following into a SQL query
After 2008, which Group has the Result, nominated, and the Award, Best Lead Actor in a Television Drama?
SELECT Group FROM table WHERE Result = nominated AND Year > 2008 AND Award = best lead actor in a television drama
Translate the following into a SQL query
What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award?
SELECT Award FROM table WHERE Film/Show = east west 101 AND Year < 2009 AND Group = logie award
Translate the following into a SQL query
What is the Film/Show, when the Year is 2010?
SELECT Film/Show FROM table WHERE Year = 2010
Translate the following into a SQL query
Which year is that has a Entrant of belond equa-flow / calif. muffler?
SELECT Year FROM table WHERE Entrant = belond equa-flow / calif. muffler
Translate the following into a SQL query
which election year has henry wyndham as the 2nd member and walter barttelot as 1st member?
SELECT Election FROM table WHERE 2nd Member = henry wyndham AND 1st Member = walter barttelot
Translate the following into a SQL query
what election year has 2nd party conservative with 2nd member henry wyndham and 1st member walter barttelot?
SELECT Election FROM table WHERE 2nd Party = conservative AND 2nd Member = henry wyndham AND 1st Member = walter barttelot
Translate the following into a SQL query
what is the 1st pary when the second is whig?
SELECT 1st Party FROM table WHERE 2nd Party = whig
Translate the following into a SQL query
what is the election year with henry wyndham as 2nd member and walter barttelot as 1st?
SELECT Election FROM table WHERE 2nd Member = henry wyndham AND 1st Member = walter barttelot
Translate the following into a SQL query
If the Ovrs is less than 2, what's the average in Wkts?
SELECT AVG Wkts FROM table WHERE Ovrs < 2
Translate the following into a SQL query
If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts?
SELECT MAX Wkts FROM table WHERE Ovrs < 28.5 AND Player = adam voges
Translate the following into a SQL query
How many sacks have 2006 as the year, and a solo less than 62?
SELECT SUM Sacks FROM table WHERE Year = 2006 AND Solo < 62
Translate the following into a SQL query
What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2?
SELECT AVG Pass Def FROM table WHERE Team = green bay packers AND Solo = 62 AND Sacks < 2
Translate the following into a SQL query
How many sacks have 72 as the solo and a TTkl less than 112?
SELECT COUNT Sacks FROM table WHERE Solo = 72 AND TTkl < 112
Translate the following into a SQL query
How many TTkl have 2004 as the year, and a pass def greater than 5?
SELECT SUM TTkl FROM table WHERE Year = 2004 AND Pass Def > 5
Translate the following into a SQL query
What is the highest decile of Tarras school, which had a state authority?
SELECT MAX Decile FROM table WHERE Authority = state AND Name = tarras school
Translate the following into a SQL query
What is the decile of the school with a roll larger than 513?
SELECT SUM Decile FROM table WHERE Roll > 513
Translate the following into a SQL query
What is the area of Cromwell Primary school, which has a state authority?
SELECT Area FROM table WHERE Authority = state AND Name = cromwell primary school
Translate the following into a SQL query
Which player has figures of 4/14?
SELECT Player FROM table WHERE Figures = 4/14
Translate the following into a SQL query
How many overs occurred at Waca Ground against Queensland?
SELECT Overs FROM table WHERE Ground = waca ground AND Opponent = queensland
Translate the following into a SQL query
At which ground did Dirk Nannes have a figure of 4/23?
SELECT Ground FROM table WHERE Figures = 4/23
Translate the following into a SQL query
Who was the opponent when Steven Smith had 3.3 overs?
SELECT Opponent FROM table WHERE Overs = 3.3
Translate the following into a SQL query
Name the average year for brookvale oval and margin more than 46
SELECT AVG Year FROM table WHERE Venue = brookvale oval AND Margin > 46
Translate the following into a SQL query
Name the most year for brookvale oval
SELECT MAX Year FROM table WHERE Venue = brookvale oval
Translate the following into a SQL query
Name the average year for manly-warringah sea eagles
SELECT AVG Year FROM table WHERE Opponent = manly-warringah sea eagles
Translate the following into a SQL query
Who is the partner with a score of 6–1, 6–4?
SELECT Partner FROM table WHERE Score = 6–1, 6–4
Translate the following into a SQL query
what is the best supported club with a 25 Goal and a per game larger than 1,156?
SELECT Best supported Club FROM table WHERE Goals = 25 AND Per game > 1,156
Translate the following into a SQL query
What are the age groups for the Big League World Series?
SELECT Age groups FROM table WHERE Competition name = big league world series