instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What 8:00 am has a 3:00 pm of space goofs (mon) spider-man (tue-fri)?
SELECT 8:00 am FROM table WHERE 3:00 pm = space goofs (mon) spider-man (tue-fri)
Translate the following into a SQL query
What 1:00 pm has an 11:00 am of the view?
SELECT 1:00 pm FROM table WHERE 11:00 am = the view
Translate the following into a SQL query
What 1:30 pm has a 3:00 pm of local programs?
SELECT 1:30 pm FROM table WHERE 3:00 pm = local programs
Translate the following into a SQL query
What 12:30 pm has an 8:00 am of the today show with katie couric & matt lauer?
SELECT 12:30 pm FROM table WHERE 8:00 am = the today show with katie couric & matt lauer
Translate the following into a SQL query
What 1:00 pm has a 4:30 pm of local programs, and a 7:30 am of the today show with katie couric & matt lauer?
SELECT 1:00 pm FROM table WHERE 4:30 pm = local programs AND 7:30 am = the today show with katie couric & matt lauer
Translate the following into a SQL query
What are the total deaths from the Battle of Tel Hai prior to Israel's independence?
SELECT Total deaths FROM table WHERE Conflicts prior to Israel's independence = battle of tel hai
Translate the following into a SQL query
What are the total casualties with 1,200+ military and/or civilian wounded?
SELECT Total casualties FROM table WHERE Military and/or Civilian wounded = 1,200+
Translate the following into a SQL query
How many military deaths were there when there were 1,615 total casualties?
SELECT Military deaths FROM table WHERE Total casualties = 1,615
Translate the following into a SQL query
How many military deaths were there when there were 1,200+ military and/or civilian wounded?
SELECT Military deaths FROM table WHERE Military and/or Civilian wounded = 1,200+
Translate the following into a SQL query
How many deaths were there when the total casualties were 6?
SELECT Total deaths FROM table WHERE Total casualties = 6
Translate the following into a SQL query
Which country scored 70-68-71-71=280?
SELECT Country FROM table WHERE Score = 70-68-71-71=280
Translate the following into a SQL query
What champions have 1 (2009) as the semi-finalists?
SELECT Champions FROM table WHERE Semi-finalists = 1 (2009)
Translate the following into a SQL query
What fourth-place has 2 (1999, 2005) as the runner(s)-up?
SELECT Fourth-place FROM table WHERE Runners-up = 2 (1999, 2005)
Translate the following into a SQL query
What semi-finalists has 2 (1993, 2003) as the fourth-place?
SELECT Semi-finalists FROM table WHERE Fourth-place = 2 (1993, 2003)
Translate the following into a SQL query
What runner(s)-up has 1 (2013) as the champions?
SELECT Runners-up FROM table WHERE Champions = 1 (2013)
Translate the following into a SQL query
What was the day of vacancy for vitória de guimarães?
SELECT Date of vacancy FROM table WHERE Team = vitória de guimarães
Translate the following into a SQL query
Who was the outgoing manager when the incoming manager was augusto inácio?
SELECT Outgoing manage FROM table WHERE Incoming manager = augusto inácio
Translate the following into a SQL query
How many matches did Atlético Ciudad have with an average higher than 0.61?
SELECT COUNT Matches FROM table WHERE Team = atlético ciudad AND Average > 0.61
Translate the following into a SQL query
Who is the goalkeeper with fewer than 24 goals?
SELECT Goalkeeper FROM table WHERE Goals < 24
Translate the following into a SQL query
What was the highest amount of losses when there were 45 goals and the play was smaller than 38?
SELECT MAX Losses FROM table WHERE Goals for = 45 AND Played < 38
Translate the following into a SQL query
What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35?
SELECT MIN Goals for FROM table WHERE Wins > 15 AND Goal Difference > 35
Translate the following into a SQL query
What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
SELECT MAX Losses FROM table WHERE Goals for < 45 AND Points < 18
Translate the following into a SQL query
What were the highest goals against when the position was larger than 19 and the goals smaller than 36?
SELECT MAX Goals against FROM table WHERE Position > 19 AND Goals for < 36
Translate the following into a SQL query
What is the to par for the player with fewer than 148 total points?
SELECT SUM To par FROM table WHERE Total < 148
Translate the following into a SQL query
What is 2:00 pm, when 3:30 pm is "Animaniacs (Mon-Thu) Pinky and The Brain (Fri)"?
SELECT 2:00 pm FROM table WHERE 3:30 pm = animaniacs (mon-thu) pinky and the brain (fri)
Translate the following into a SQL query
What is 7:30 am, when 11:00 am is "The View"?
SELECT 7:30 am FROM table WHERE 11:00 am = the view
Translate the following into a SQL query
What is 3:00 pm, when 1:00 pm is "Days of Our Lives"?
SELECT 3:00 pm FROM table WHERE 1:00 pm = days of our lives
Translate the following into a SQL query
What is Noon, when 3:00 pm is "General Hospital"?
SELECT noon FROM table WHERE 3:00 pm = general hospital
Translate the following into a SQL query
What is 9:00 am, when 6:30 pm is "Local Programs"?
SELECT 9:00 am FROM table WHERE 6:30 pm = local programs
Translate the following into a SQL query
What school year is vaucluse public school?
SELECT Years FROM table WHERE School = vaucluse public school
Translate the following into a SQL query
What are the websites of schools that were founded in 1872?
SELECT Website FROM table WHERE Founded = 1872
Translate the following into a SQL query
On average, when were vineyard schools founded?
SELECT AVG Founded FROM table WHERE Suburb/Town = vineyard
Translate the following into a SQL query
What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2?
SELECT Surface FROM table WHERE Date > 1979 AND Championship = melbourne indoor, australia AND Score = 2–6, 6–2, 6–2
Translate the following into a SQL query
What is the earliest date when the championship was Monterrey WCT, Mexico?
SELECT MIN Date FROM table WHERE Championship = monterrey wct, mexico
Translate the following into a SQL query
What is the score when the outcome was runner-up, earlier than 1975?
SELECT Score FROM table WHERE Outcome = runner-up AND Date < 1975
Translate the following into a SQL query
How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins?
SELECT COUNT Losses FROM table WHERE Geelong FL = newtown & chilwell AND Wins > 11
Translate the following into a SQL query
When were the shares 39.1%?
SELECT Date FROM table WHERE Share = 39.1%
Translate the following into a SQL query
Which show aired on 19 april?
SELECT Show FROM table WHERE Date = 19 april
Translate the following into a SQL query
What was the original title for the film used in nomination of street days?
SELECT Original title FROM table WHERE Film title used in nomination = street days
Translate the following into a SQL query
What was the original title for the film used in nomination of keep smiling?
SELECT Original title FROM table WHERE Film title used in nomination = keep smiling
Translate the following into a SQL query
How much were tickets for the show in Hartford, Connecticut?
SELECT Ticket price(s) FROM table WHERE City, state = hartford, connecticut
Translate the following into a SQL query
How many tickets were sold and how many were available for the shows that grossed $348,674?
SELECT Ticket sold / available FROM table WHERE Ticket grossing = $348,674
Translate the following into a SQL query
How much were tickets for the show in Indianapolis, Indiana?
SELECT Ticket price(s) FROM table WHERE City, state = indianapolis, indiana
Translate the following into a SQL query
Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony?
SELECT Production FROM table WHERE Result = nominated AND Year = 2009 AND Award ceremony = helpmann awards
Translate the following into a SQL query
Which Award Ceremony in 2009 has a Role of Glinda?
SELECT Award ceremony FROM table WHERE Role = glinda AND Year = 2009
Translate the following into a SQL query
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
SELECT Year FROM table WHERE Production = wicked AND Award ceremony = helpmann awards
Translate the following into a SQL query
What was the Result in 2013?
SELECT Result FROM table WHERE Year = 2013
Translate the following into a SQL query
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
SELECT Rider FROM table WHERE Laps < 22 AND Grid > 19 AND Time = retirement AND Bike = kawasaki zx-6r
Translate the following into a SQL query
What is the maximum grid when the laps were greater than 22?
SELECT MAX Grid FROM table WHERE Laps > 22
Translate the following into a SQL query
What is the minimum grid when there was more than 22 laps?
SELECT MIN Grid FROM table WHERE Laps > 22
Translate the following into a SQL query
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
SELECT SUM Laps FROM table WHERE Bike = honda cbr600rr AND Grid = 7
Translate the following into a SQL query
Which sign has a fall of Venus?
SELECT Sign FROM table WHERE Fall = venus
Translate the following into a SQL query
Which exaltation has a fall of moon?
SELECT Exaltation FROM table WHERE Fall = moon
Translate the following into a SQL query
Which exaltation has a domicile of Saturn and a fall of Jupiter?
SELECT Exaltation FROM table WHERE Domicile = saturn AND Fall = jupiter
Translate the following into a SQL query
Which exaltation has a domicile of Saturn and Capricorn as a sign?
SELECT Exaltation FROM table WHERE Domicile = saturn AND Sign = capricorn
Translate the following into a SQL query
Which detriment has a domicile of mercury and Virgo as a sign?
SELECT Detriment FROM table WHERE Domicile = mercury AND Sign = virgo
Translate the following into a SQL query
Which exaltation has a detriment of Saturn and Cancer as a sign?
SELECT Exaltation FROM table WHERE Detriment = saturn AND Sign = cancer
Translate the following into a SQL query
What was the draw when the points against was 234?
SELECT Drawn FROM table WHERE Points against = 234
Translate the following into a SQL query
What was the try bonus when the points for was 608?
SELECT Try bonus FROM table WHERE Points for = 608
Translate the following into a SQL query
Which Team has a Previous team of san diego rockets, and a Position of f?
SELECT Team FROM table WHERE Previous team = san diego rockets AND Pos. = f
Translate the following into a SQL query
Which Nationality has a Previous team of new york knicks, and more than 3 Years of NBA experience?
SELECT Nationality FROM table WHERE Previous team = new york knicks AND Years of NBA experience [a ] > 3
Translate the following into a SQL query
What is team 1 when team 2 is Manchester United?
SELECT Team 1 FROM table WHERE Team 2 = manchester united
Translate the following into a SQL query
What is the agg when team 1 is Milan?
SELECT Agg. FROM table WHERE Team 1 = milan
Translate the following into a SQL query
Which team is ranked #10?
SELECT Team FROM table WHERE Rank = 10
Translate the following into a SQL query
Which cyclist has UCI ProTour points of 40?
SELECT Cyclist FROM table WHERE UCI ProTour Points = 40
Translate the following into a SQL query
What is the province with a contestant of tatiana vargas rosales?
SELECT Province, Community FROM table WHERE Contestant = tatiana vargas rosales
Translate the following into a SQL query
Which province has the contestant elixandra tobias carasco?
SELECT Province, Community FROM table WHERE Contestant = elixandra tobias carasco
Translate the following into a SQL query
What is the 2005 sum with a 2009 less than 1,850,654?
SELECT SUM 2005 FROM table WHERE 2009 < 1,850,654
Translate the following into a SQL query
What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?
SELECT AVG 2003 FROM table WHERE 2010 = 2,154,170 AND 2008 < 2,266,716
Translate the following into a SQL query
What is the average 2009 with a 2003 greater than 3,791, 107,982 in 2007, and a 2006 less than 98,264?
SELECT AVG 2009 FROM table WHERE 2003 > 3,791 AND 2007 = 107,982 AND 2006 < 98,264
Translate the following into a SQL query
What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?
SELECT SUM 2008 FROM table WHERE 2007 = 4,244,115 AND 2003 < 3,296,267
Translate the following into a SQL query
What is 2011, when 2009 is "A"?
SELECT 2011 FROM table WHERE 2009 = a
Translate the following into a SQL query
What is 2009, when Tournament is "Year-End Ranking"?
SELECT 2009 FROM table WHERE Tournament = year-end ranking
Translate the following into a SQL query
What is 2011, when 2012 is "1R"?
SELECT 2011 FROM table WHERE 2012 = 1r
Translate the following into a SQL query
What is 2012, when 2009 is "A"?
SELECT 2012 FROM table WHERE 2009 = a
Translate the following into a SQL query
What is 2011, when 2012 is "A", and when Tournament is "French Open"?
SELECT 2011 FROM table WHERE 2012 = a AND Tournament = french open
Translate the following into a SQL query
What is the largest Against with an Opposing Teams of wales?
SELECT MAX Against FROM table WHERE Opposing Teams = wales
Translate the following into a SQL query
What Status has a Date of 18/03/1989?
SELECT Status FROM table WHERE Date = 18/03/1989
Translate the following into a SQL query
What Venue has a Status of five nations, and Against of 0?
SELECT Venue FROM table WHERE Status = five nations AND Against = 0
Translate the following into a SQL query
What is the smallest Against with a Date of 18/02/1989?
SELECT MIN Against FROM table WHERE Date = 18/02/1989
Translate the following into a SQL query
What are the additional notes for Cotabato?
SELECT Additional Notes FROM table WHERE Location = cotabato
Translate the following into a SQL query
What country in Kunlong in?
SELECT Country FROM table WHERE Location = kunlong
Translate the following into a SQL query
Who went on a rampage in Baghdad?
SELECT Perpetrator FROM table WHERE Location = baghdad
Translate the following into a SQL query
What's the rank that has a total of less than 1?
SELECT SUM Rank FROM table WHERE Total < 1
Translate the following into a SQL query
What's the bronze medal count when the silver is less than 3 and the gold is 1?
SELECT SUM Bronze FROM table WHERE Gold = 1 AND Silver < 3
Translate the following into a SQL query
What's the gold medal count ranked 2 with a total of more than 21?
SELECT COUNT Gold FROM table WHERE Rank = 2 AND Total > 21
Translate the following into a SQL query
What's the smallest total with a bronze count of 5 and a gold count less than 8?
SELECT MIN Total FROM table WHERE Bronze = 5 AND Gold < 8
Translate the following into a SQL query
What is the party for the representative who was first elected before 2002 and the results were re-elected?
SELECT Party FROM table WHERE Results = re-elected AND First elected < 2002
Translate the following into a SQL query
Incumbent John Sullivan has what as biggest first elected?
SELECT MAX First elected FROM table WHERE Incumbent = john sullivan
Translate the following into a SQL query
What Location has Years Member of 1963–1968?
SELECT Location FROM table WHERE Years Member = 1963–1968
Translate the following into a SQL query
What School has Colors of navy blue orange?
SELECT School FROM table WHERE Colors = navy blue orange
Translate the following into a SQL query
What Years Member has a School of cairo high school?
SELECT Years Member FROM table WHERE School = cairo high school
Translate the following into a SQL query
What Colors has a School of sesser high school?
SELECT Colors FROM table WHERE School = sesser high school
Translate the following into a SQL query
What Colors has a School of zeigler high school?
SELECT Colors FROM table WHERE School = zeigler high school
Translate the following into a SQL query
What Nickname(s) has a Location of elkville, illinois?
SELECT Nickname(s) FROM table WHERE Location = elkville, illinois
Translate the following into a SQL query
Which Season 1 has a Season 7 of david chilton?
SELECT Season 1 FROM table WHERE Season 7 = david chilton
Translate the following into a SQL query
Which Seat has a Season 6 of kevin o'leary?
SELECT MAX Seat FROM table WHERE Season 6 = kevin o'leary
Translate the following into a SQL query
Which Season 7 has a Season 6 of jim treliving?
SELECT Season 7 FROM table WHERE Season 6 = jim treliving
Translate the following into a SQL query
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
SELECT Season 7 FROM table WHERE Seat > 1 AND Season 3 = w. brett wilson
Translate the following into a SQL query
Which Season 3 has a Season 7 of jim treliving?
SELECT Season 3 FROM table WHERE Season 7 = jim treliving