instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Writer with a Date that is january 1975? | SELECT Writer FROM table WHERE Date = january 1975 |
Translate the following into a SQL query | What was the 2010 census when the 2011 estimate was 410? | SELECT SUM 2010 Census FROM table WHERE 2011 Estimate = 410 |
Translate the following into a SQL query | What is the smallest played amount when there are 2 draws and an against of more than 73? | SELECT MIN Played FROM table WHERE Drawn = 2 AND Against > 73 |
Translate the following into a SQL query | What is the earliest season with a premiere of february5,2007? | SELECT MIN Episodes FROM table WHERE Premiere = february5,2007 |
Translate the following into a SQL query | Which premiere had more than 15 episodes? | SELECT Premiere FROM table WHERE Episodes > 15 |
Translate the following into a SQL query | Who had the highest rebounds of the game on April 7? | SELECT High rebounds FROM table WHERE Date = april 7 |
Translate the following into a SQL query | What is Result, when Date is 2003? | SELECT Result FROM table WHERE Date = 2003 |
Translate the following into a SQL query | What is Record, when Date is 1996? | SELECT Record FROM table WHERE Date = 1996 |
Translate the following into a SQL query | What is Notes, when Date is 2007? | SELECT Notes FROM table WHERE Date = 2007 |
Translate the following into a SQL query | What is the highest Round, when the Opponent is Junior Pitbull? | SELECT MAX Round FROM table WHERE Opponent = junior pitbull |
Translate the following into a SQL query | What is Date, when Result is Loss, and when Method is Submission (Armbar)? | SELECT Date FROM table WHERE Result = loss AND Method = submission (armbar) |
Translate the following into a SQL query | What is the Coombe Road time with a Selsdon evening peak? | SELECT Coombe Road FROM table WHERE Selsdon = evening peak |
Translate the following into a SQL query | What is the Woodside for the 16:19 Coombe Road? | SELECT Woodside FROM table WHERE Coombe Road = 16:19 |
Translate the following into a SQL query | What is the Elmers End with a 09:54 Bingham Road? | SELECT Elmers End FROM table WHERE Bingham Road = 09:54 |
Translate the following into a SQL query | What is the Coombe Road with a Woodside time of 07:23? | SELECT Coombe Road FROM table WHERE Woodside = 07:23 |
Translate the following into a SQL query | What is the Elmers End with a 17:57 Selsdon time? | SELECT Elmers End FROM table WHERE Selsdon = 17:57 |
Translate the following into a SQL query | What is the Selsdon for the 17:19 Coombe Road? | SELECT Selsdon FROM table WHERE Coombe Road = 17:19 |
Translate the following into a SQL query | What is the highest win for losses less than 2? | SELECT MAX Wins FROM table WHERE Losses < 2 |
Translate the following into a SQL query | What is the average Byes for the losses of 15, and before 1874? | SELECT AVG Byes FROM table WHERE Losses = 15 AND Against < 1874 |
Translate the following into a SQL query | What is the sum of against in Ballarat FL of East Point and wins less than 16? | SELECT SUM Against FROM table WHERE Ballarat FL = east point AND Wins < 16 |
Translate the following into a SQL query | What is the School with a Pick that is 24? | SELECT School FROM table WHERE Pick = 24 |
Translate the following into a SQL query | What is the Team with a Player that is david cooper? | SELECT Team FROM table WHERE Player = david cooper |
Translate the following into a SQL query | How many visitors in 2007 were there for ski jumping hill? | SELECT SUM Visitors, 2007 FROM table WHERE Type = ski jumping hill |
Translate the following into a SQL query | What is the highest Games, when Rebounds is greater than 100, when Name is Nikola PekoviΔ, and when Rank is less than 4? | SELECT MAX Games FROM table WHERE Rebounds > 100 AND Name = nikola pekoviΔ AND Rank < 4 |
Translate the following into a SQL query | What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102? | SELECT COUNT Games FROM table WHERE Rank < 4 AND Rebounds < 102 |
Translate the following into a SQL query | What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136? | SELECT MIN Games FROM table WHERE Name = travis watson AND Rebounds < 136 |
Translate the following into a SQL query | What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14? | SELECT SUM Rebounds FROM table WHERE Team = aris thessaloniki AND Games > 14 |
Translate the following into a SQL query | What is the highest Rank, when Name is Travis Watson, and when Games is less than 14? | SELECT MAX Rank FROM table WHERE Name = travis watson AND Games < 14 |
Translate the following into a SQL query | What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus? | SELECT Authors FROM table WHERE Novelty = gen nov AND Location = south africa AND Name = criocephalosaurus |
Translate the following into a SQL query | What is Status, when Location is Russia? | SELECT Status FROM table WHERE Location = russia |
Translate the following into a SQL query | What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus? | SELECT Authors FROM table WHERE Novelty = gen et sp nov AND Name = lanthanocephalus |
Translate the following into a SQL query | What is Name, when Authors are Kammerer & Sidor? | SELECT Name FROM table WHERE Authors = kammerer & sidor |
Translate the following into a SQL query | What is Name, when Location is Tanzania, and when Novelty is Gen Nov? | SELECT Name FROM table WHERE Location = tanzania AND Novelty = gen nov |
Translate the following into a SQL query | What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? | SELECT Name FROM table WHERE Status = valid AND Authors = maisch AND Location = tanzania AND Novelty = gen et sp nov |
Translate the following into a SQL query | What is the T568A color for the cable with a white/orange stripe T568B color? | SELECT T568A Color FROM table WHERE T568B Color = white/orange stripe |
Translate the following into a SQL query | What is the Date with an Opponent that is flavia pennetta? | SELECT Date FROM table WHERE Opponent = flavia pennetta |
Translate the following into a SQL query | What is the Score with an Opponent that is flavia pennetta? | SELECT Score FROM table WHERE Opponent = flavia pennetta |
Translate the following into a SQL query | What is the Opponent with a Score that is 2β6, 6β4, 3β6? | SELECT Opponent FROM table WHERE Score = 2β6, 6β4, 3β6 |
Translate the following into a SQL query | What is the Outcome with a Date that is may 5, 2012? | SELECT Outcome FROM table WHERE Date = may 5, 2012 |
Translate the following into a SQL query | What is the Outcome with an Opponent that is jelena jankoviΔ? | SELECT Outcome FROM table WHERE Opponent = jelena jankoviΔ |
Translate the following into a SQL query | What is the Tournament with a Score that is 2β6, 6β4, 3β6? | SELECT Tournament FROM table WHERE Score = 2β6, 6β4, 3β6 |
Translate the following into a SQL query | Which week was on November 13, 1955 when the attendance was over 33,982? | SELECT COUNT Week FROM table WHERE Date = november 13, 1955 AND Attendance > 33,982 |
Translate the following into a SQL query | What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo? | SELECT Japanese name FROM table WHERE Korean name = chungcheong-bukdo |
Translate the following into a SQL query | What is the Hanja/Kanji of the Province with a Kana of γ‘γ
γγγγ»γγ©γ? | SELECT Hanja / Kanji FROM table WHERE Kana = γ‘γ
γγγγ»γγ©γ |
Translate the following into a SQL query | What is the Kana of the Province with a Korean name of Chungcheong-Namdo? | SELECT Kana FROM table WHERE Korean name = chungcheong-namdo |
Translate the following into a SQL query | What is the Hangul of the Province with a Kana of γΈγγγγͺγγ©γ? | SELECT Hangul FROM table WHERE Kana = γΈγγγγͺγγ©γ |
Translate the following into a SQL query | What is the Hangul of the Province with a Kana of γ‘γ
γγγγͺγγ©γ? | SELECT Hangul FROM table WHERE Kana = γ‘γ
γγγγͺγγ©γ |
Translate the following into a SQL query | What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo? | SELECT Hanja / Kanji FROM table WHERE Korean name = chungcheong-bukdo |
Translate the following into a SQL query | What were the Oct. temperatures for the city that had Nov. temperatures of 51/30? | SELECT Oct. FROM table WHERE Nov. = 51/30 |
Translate the following into a SQL query | What were the Feb temperatures in East Stroudsburg? | SELECT Feb. FROM table WHERE City = east stroudsburg |
Translate the following into a SQL query | What is the sum of completions that led to completion percentages of 65.4 and attempts under 451? | SELECT SUM Comp. FROM table WHERE Comp% = 65.4 AND Att. < 451 |
Translate the following into a SQL query | What is the highest number of touchdowns that had yards of 574 and completions over 54? | SELECT MAX TD's FROM table WHERE Yards = 574 AND Comp. > 54 |
Translate the following into a SQL query | What regular season did the team reach the conference semifinals in the playoffs? | SELECT Regular Season FROM table WHERE Playoffs = conference semifinals |
Translate the following into a SQL query | When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division? | SELECT COUNT Division FROM table WHERE Regular Season = 2nd, northeast AND Year < 2008 |
Translate the following into a SQL query | What division was the regular season 5th, Northeast? | SELECT Division FROM table WHERE Regular Season = 5th, northeast |
Translate the following into a SQL query | What was the result when Jam Hsiao was nominated in 2012? | SELECT Result FROM table WHERE Nomination = jam hsiao AND Year = 2012 |
Translate the following into a SQL query | Which award is in the category of best music video? | SELECT Award FROM table WHERE Category = best music video |
Translate the following into a SQL query | Which Attendance has a Result of l 29β23? | SELECT Attendance FROM table WHERE Result = l 29β23 |
Translate the following into a SQL query | When has a Week of 1? | SELECT Date FROM table WHERE Week = 1 |
Translate the following into a SQL query | Which Week has an Opponent of at seattle seahawks? | SELECT Week FROM table WHERE Opponent = at seattle seahawks |
Translate the following into a SQL query | Name the Result on october 15, 1995? | SELECT Result FROM table WHERE Date = october 15, 1995 |
Translate the following into a SQL query | Which Opponent has a Week larger than 2 on november 19, 1995? | SELECT Opponent FROM table WHERE Week > 2 AND Date = november 19, 1995 |
Translate the following into a SQL query | What is the recorded conference that was a Wac Conference? | SELECT Record (Conf) FROM table WHERE Conference = wac |
Translate the following into a SQL query | What conference has the Wichita State school? | SELECT Conference FROM table WHERE School = wichita state |
Translate the following into a SQL query | What is the rank for Burghley? | SELECT Rank FROM table WHERE Place = burghley |
Translate the following into a SQL query | What horse was at the Badminton Horse Trials? | SELECT Horse FROM table WHERE Competition = badminton horse trials |
Translate the following into a SQL query | What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals? | SELECT MIN Rank FROM table WHERE Matches < 285 AND Name = des dickson AND Goals < 219 |
Translate the following into a SQL query | How many goals on average had 644 matches and a rank bigger than 3? | SELECT AVG Goals FROM table WHERE Matches = 644 AND Rank > 3 |
Translate the following into a SQL query | How many ranks had 205 matches? | SELECT COUNT Rank FROM table WHERE Matches = 205 |
Translate the following into a SQL query | What was Jimmy Jones' rank when the matches were smaller than 285? | SELECT MAX Rank FROM table WHERE Name = jimmy jones AND Matches < 285 |
Translate the following into a SQL query | Which date had the Hornets as the home team? | SELECT Date FROM table WHERE Home = hornets |
Translate the following into a SQL query | What is the To par score corresponding to the winning score of 64-69-67-66=266? | SELECT To par FROM table WHERE Winning score = 64-69-67-66=266 |
Translate the following into a SQL query | What was the To par score for the tournament with a margin of victory of 1 stroke? | SELECT To par FROM table WHERE Margin of victory = 1 stroke |
Translate the following into a SQL query | What was the winning score for the tournament with a margin of victory of 7 strokes? | SELECT Winning score FROM table WHERE Margin of victory = 7 strokes |
Translate the following into a SQL query | What day in December was the game that resulted in a record of 6-3-1? | SELECT SUM December FROM table WHERE Record = 6-3-1 |
Translate the following into a SQL query | How many were in attendance against the Oakland Raiders after week 7? | SELECT SUM Attendance FROM table WHERE Opponent = oakland raiders AND Week > 7 |
Translate the following into a SQL query | What is the average attendance for the New York Jets? | SELECT AVG Attendance FROM table WHERE Opponent = new york jets |
Translate the following into a SQL query | On what week were there 26,243 in attendance on September 21, 1969? | SELECT COUNT Week FROM table WHERE Date = september 21, 1969 AND Attendance < 26,243 |
Translate the following into a SQL query | Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2? | SELECT Opponent team FROM table WHERE Match > 2 AND Location = pasir gudang, malaysia |
Translate the following into a SQL query | Who was the opponent at the match smaller than 3? | SELECT Opponent team FROM table WHERE Match < 3 |
Translate the following into a SQL query | Where was the game when Police S.A. was the opponent? | SELECT Location FROM table WHERE Opponent team = police s.a. |
Translate the following into a SQL query | Which League has a FA Cup larger than 0, and a Player of simon read, and a League Cup larger than 1? | SELECT MIN League FROM table WHERE FA Cup > 0 AND Player = simon read AND League Cup > 1 |
Translate the following into a SQL query | What kind of Total that has a League Cup larger than 3, and a League smaller than 16? | SELECT COUNT Total FROM table WHERE League Cup > 3 AND League < 16 |
Translate the following into a SQL query | Which League has a League Cup smaller than 0? | SELECT MIN League FROM table WHERE League Cup < 0 |
Translate the following into a SQL query | Which League has a Total smaller than 16, a Player of ken mckenna and a League Cup larger than 0? | SELECT MAX League FROM table WHERE Total < 16 AND Player = ken mckenna AND League Cup > 0 |
Translate the following into a SQL query | Which FA Cup that has a League Cup larger than 3 and a League smaller than 16? | SELECT AVG FA Cup FROM table WHERE League Cup > 3 AND League < 16 |
Translate the following into a SQL query | How many list entry numbers are located in Platting Road, Lydgate? | SELECT COUNT List entry number FROM table WHERE Location = platting road, lydgate |
Translate the following into a SQL query | Which type has list entry number of 1356677? | SELECT Type FROM table WHERE List entry number = 1356677 |
Translate the following into a SQL query | What is the completed date of the church with list entry number 1068071? | SELECT Completed FROM table WHERE Type = church AND List entry number = 1068071 |
Translate the following into a SQL query | Who were the scorers in the game against neuchΓ’tel xamax played on 10 December 1985? | SELECT Scorers FROM table WHERE Opponent = neuchΓ’tel xamax AND Date = 10 december 1985 |
Translate the following into a SQL query | What date was the game played in where hegarty was the scorer? | SELECT Date FROM table WHERE Scorers = hegarty |
Translate the following into a SQL query | Who is the callsign that has ICAO of SCO? | SELECT CALLSIGN FROM table WHERE ICAO = sco |
Translate the following into a SQL query | Who is the commenced operations that has icao of slk? | SELECT COMMENCED OPERATIONS FROM table WHERE ICAO = slk |
Translate the following into a SQL query | Who is the call sign that has a commenced operation before 1976? | SELECT CALLSIGN FROM table WHERE COMMENCED OPERATIONS < 1976 |
Translate the following into a SQL query | What is the HDTV of the Music Content Channel? | SELECT HDTV FROM table WHERE Content = music |
Translate the following into a SQL query | What is the Television Service offering Cartomanzia? | SELECT Television service FROM table WHERE Content = cartomanzia |
Translate the following into a SQL query | What Country's content is Televendite? | SELECT Country FROM table WHERE Content = televendite |
Translate the following into a SQL query | What Country's Content is TV Locale? | SELECT Country FROM table WHERE Content = tv locale |
Translate the following into a SQL query | How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4? | SELECT SUM Gold FROM table WHERE Silver > 1 AND Rank > 1 AND Total > 4 AND Bronze > 4 |
Translate the following into a SQL query | What is the total of rank when gold is 2 and total is more than 4? | SELECT SUM Rank FROM table WHERE Gold = 2 AND Total > 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.