instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Location of the Frequency with a Callsign of DXBL? | SELECT Location FROM table WHERE Callsign = dxbl |
Translate the following into a SQL query | What name in a year after 1997 has a longitude of 213.0e? | SELECT Name FROM table WHERE Year named > 1997 AND Longitude = 213.0e |
Translate the following into a SQL query | How many years correspond to longitude of 36.8e and diameter greater than 697? | SELECT COUNT Year named FROM table WHERE Longitude = 36.8e AND Diameter (km) > 697 |
Translate the following into a SQL query | What was the pick # for a center picked before round 6? | SELECT COUNT Pick # FROM table WHERE Position = center AND Round < 6 |
Translate the following into a SQL query | What team with a seed value greater than 7 has a note that they were an NCRAA champion? | SELECT Team FROM table WHERE Seed > 7 AND Notes = ncraa champion |
Translate the following into a SQL query | WHAT IS THE ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995? | SELECT COUNT Oricon peak FROM table WHERE Label = atlantic AND Title = subhuman race AND Date of release > 1995 |
Translate the following into a SQL query | WHAT LABEL HAD A RELEASE DATE OF 1991? | SELECT Label FROM table WHERE Date of release = 1991 |
Translate the following into a SQL query | WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? | SELECT AVG Date of release FROM table WHERE Title = thickskin |
Translate the following into a SQL query | What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South? | SELECT MIN Enrollment FROM table WHERE Left = 2012 AND Current Conference = mid-south |
Translate the following into a SQL query | Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives? | SELECT SUM Season FROM table WHERE Score = 1:3 AND Venue = national stadium, maldives |
Translate the following into a SQL query | What was the venue of the match where the score was 1:3 and team 2 was binh duong? | SELECT Venue FROM table WHERE Score = 1:3 AND Team 2 = binh duong |
Translate the following into a SQL query | What was the score of the game when team 2 was club valencia? | SELECT Score FROM table WHERE Team 2 = club valencia |
Translate the following into a SQL query | What was the venue of the match where team 2 was pea and the score was 1:3? | SELECT Venue FROM table WHERE Team 2 = pea AND Score = 1:3 |
Translate the following into a SQL query | In 2011 with a hydroelectricity less than 119.6, what was the solar? | SELECT Solar FROM table WHERE Year = 2011 AND Hydroelectricity < 119.6 |
Translate the following into a SQL query | What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar? | SELECT MIN Hydroelectricity FROM table WHERE Total < 116.4 AND Solar > 18.637 |
Translate the following into a SQL query | In 2011 with a less than 13.333 wind power what is the mean hydroelectricity? | SELECT AVG Hydroelectricity FROM table WHERE Year > 2011 AND Wind Power < 13.333 |
Translate the following into a SQL query | What country has a less than 136.1 total and a 0.02 solar? | SELECT Country FROM table WHERE Total < 136.1 AND Solar = 0.02 |
Translate the following into a SQL query | Home for away of hispano? | SELECT Home FROM table WHERE Away = hispano |
Translate the following into a SQL query | Which Position has a Pick # smaller than 23, and a Player of garrett sutherland? | SELECT Position FROM table WHERE Pick # < 23 AND Player = garrett sutherland |
Translate the following into a SQL query | Name the CFL Team which has a Player of chris evraire? | SELECT CFL Team FROM table WHERE Player = chris evraire |
Translate the following into a SQL query | Name The Player who has a Pick # of 27? | SELECT Player FROM table WHERE Pick # = 27 |
Translate the following into a SQL query | Name the Player who has a CFL Team of toronto? | SELECT Player FROM table WHERE CFL Team = toronto |
Translate the following into a SQL query | Name the Pick # which has a Position of lb, and a CFL Team of winnipeg? | SELECT SUM Pick # FROM table WHERE Position = lb AND CFL Team = winnipeg |
Translate the following into a SQL query | WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33? | SELECT SUM Attendance FROM table WHERE Home = detroit AND Points > 33 |
Translate the following into a SQL query | What was the location and attendance for the game on December 12? | SELECT Location Attendance FROM table WHERE Date = december 12 |
Translate the following into a SQL query | What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281? | SELECT MIN Touchdowns FROM table WHERE Player = andrew glover AND Yards > 281 |
Translate the following into a SQL query | What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39? | SELECT AVG Touchdowns FROM table WHERE Yards < 293 AND Long > 39 |
Translate the following into a SQL query | What is the total number of Attempts, when Touchdowns is 6? | SELECT COUNT Attempts FROM table WHERE Touchdowns = 6 |
Translate the following into a SQL query | What is Venue, when Extra is Pentathlon? | SELECT Venue FROM table WHERE Extra = pentathlon |
Translate the following into a SQL query | What is the highest Year, when Extra is Pentathlon? | SELECT MAX Year FROM table WHERE Extra = pentathlon |
Translate the following into a SQL query | What is the sum of Year, when Result is 9th? | SELECT SUM Year FROM table WHERE Result = 9th |
Translate the following into a SQL query | What is Tournament, when Result is 2nd, and when Year is 2009? | SELECT Tournament FROM table WHERE Result = 2nd AND Year = 2009 |
Translate the following into a SQL query | What is Result, when Venue is Götzis , Austria? | SELECT Result FROM table WHERE Venue = götzis , austria |
Translate the following into a SQL query | What label does Germany have? | SELECT Label FROM table WHERE Region = germany |
Translate the following into a SQL query | What region has the Chrysalis label, and a Catalog of chr 1047? | SELECT Region FROM table WHERE Label = chrysalis AND Catalog = chr 1047 |
Translate the following into a SQL query | When did the United Kingdom format a stereo LP? | SELECT Date FROM table WHERE Region = united kingdom AND Format = stereo lp |
Translate the following into a SQL query | What region goes along with January 1974? | SELECT Region FROM table WHERE Date = january 1974 |
Translate the following into a SQL query | What is the label from 1973 that has a catalog number of l 35023? | SELECT Label FROM table WHERE Date = 1973 AND Catalog = l 35023 |
Translate the following into a SQL query | How many wins did the driver with 1 second and more than 12 races have? | SELECT Wins FROM table WHERE Second = 1 AND Races > 12 |
Translate the following into a SQL query | What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6? | SELECT MIN Loss FROM table WHERE Gain < 61 AND Avg/G = 6 |
Translate the following into a SQL query | What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34? | SELECT SUM Avg/G FROM table WHERE Loss = 0 AND Name = dan dierking AND Gain > 34 |
Translate the following into a SQL query | Who was the visiting team on April 6? | SELECT Visitor FROM table WHERE Date = april 6 |
Translate the following into a SQL query | What was the date of the game that led to a 4-3 record? | SELECT Date FROM table WHERE Record = 4-3 |
Translate the following into a SQL query | Who was the home team in the game that led to a 2-3 series record? | SELECT Home FROM table WHERE Record = 2-3 |
Translate the following into a SQL query | Which home team had a score of 100-86? | SELECT Home team FROM table WHERE Score = 100-86 |
Translate the following into a SQL query | Which report corresponds to the State Sports Centre? | SELECT Report FROM table WHERE Venue = state sports centre |
Translate the following into a SQL query | Who was the away team at the Win Entertainment Centre? | SELECT Away team FROM table WHERE Venue = win entertainment centre |
Translate the following into a SQL query | Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? | SELECT COUNT Gain FROM table WHERE Name = williams, jonathan AND Loss > 3 |
Translate the following into a SQL query | Can you tell me the sum of Loss that has the Gain of 2646? | SELECT SUM Loss FROM table WHERE Gain = 2646 |
Translate the following into a SQL query | Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9? | SELECT SUM Gain FROM table WHERE Name = kass, rob AND Avg/g < 1.9 |
Translate the following into a SQL query | Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? | SELECT MIN Long FROM table WHERE Gain = 20 AND Loss < 0 |
Translate the following into a SQL query | What was the result of the game at Cleveland Browns Stadium with an attendance of 65,995? | SELECT Result FROM table WHERE Attendance > 65,995 AND Stadium = cleveland browns stadium |
Translate the following into a SQL query | What is the highest ERP W with a w216bo call sign? | SELECT MAX ERP W FROM table WHERE Call sign = w216bo |
Translate the following into a SQL query | What kind of Crowd has a Home team of port adelaide, and a Away team score of 11.10 (76)? | SELECT Crowd FROM table WHERE Home team = port adelaide AND Away team score = 11.10 (76) |
Translate the following into a SQL query | What kind of Crowd has a Ground of subiaco oval? | SELECT SUM Crowd FROM table WHERE Ground = subiaco oval |
Translate the following into a SQL query | What kind of Ground has a Home team score of 13.14 (92)? | SELECT Ground FROM table WHERE Home team score = 13.14 (92) |
Translate the following into a SQL query | What kind of Home team has a Home team score of 13.14 (92)? | SELECT Home team FROM table WHERE Home team score = 13.14 (92) |
Translate the following into a SQL query | How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? | SELECT AVG Crowd FROM table WHERE Date = saturday, 29 january AND Away team = collingwood |
Translate the following into a SQL query | On which date after week 11 was the opponent the arizona cardinals? | SELECT Date FROM table WHERE Week > 11 AND Opponent = arizona cardinals |
Translate the following into a SQL query | What was the attendance during week 15? | SELECT Attendance FROM table WHERE Week = 15 |
Translate the following into a SQL query | What was the lead with an alternate of li dongyan? | SELECT Lead FROM table WHERE Alternate = li dongyan |
Translate the following into a SQL query | Which lead had a season of 2007-08? | SELECT Lead FROM table WHERE Season = 2007-08 |
Translate the following into a SQL query | Which lead had a season of 2009-10? | SELECT Lead FROM table WHERE Season = 2009-10 |
Translate the following into a SQL query | Which Name has a Yes Saturday and a Yes Evening? | SELECT Name FROM table WHERE Saturday = yes AND Evening = yes |
Translate the following into a SQL query | Name the Daytime which has Saturday of yes and a Name of exmouth? | SELECT Daytime FROM table WHERE Saturday = yes AND Name = exmouth |
Translate the following into a SQL query | Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express? | SELECT Evening FROM table WHERE Sunday = no AND Name = s. vidal/plant express |
Translate the following into a SQL query | Name the Daytime which has a Name of exmouth? | SELECT Daytime FROM table WHERE Name = exmouth |
Translate the following into a SQL query | Which Saturday has a Sunday of yes and a Evening of yes? | SELECT Saturday FROM table WHERE Sunday = yes AND Evening = yes |
Translate the following into a SQL query | Which Saturday has a Name of confederation? | SELECT Saturday FROM table WHERE Name = confederation |
Translate the following into a SQL query | What was the GP-GS for the 2009 season? | SELECT GP–GS FROM table WHERE Season = 2009 |
Translate the following into a SQL query | Which GP-GS had a long of 17 and a season of total? | SELECT GP–GS FROM table WHERE Long = 17 AND Season = total |
Translate the following into a SQL query | Which Long has redshirt for its Avg/G? | SELECT Long FROM table WHERE Avg/G = redshirt |
Translate the following into a SQL query | What was the Av/G of the 2009 season? | SELECT Avg/G FROM table WHERE Season = 2009 |
Translate the following into a SQL query | For the Avg/G of 5.9, what was the long? | SELECT Long FROM table WHERE Avg/G = 5.9 |
Translate the following into a SQL query | What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? | SELECT Location Attendance FROM table WHERE High points = d. mckey (24) AND Score = l 96-105 |
Translate the following into a SQL query | What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"? | SELECT High rebounds FROM table WHERE Game > 33 AND Score = w 132-101 |
Translate the following into a SQL query | What is Team, when Game is "32"? | SELECT Team FROM table WHERE Game = 32 |
Translate the following into a SQL query | What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"? | SELECT SUM Game FROM table WHERE High points = d. mckey (24) AND Team = @ dallas mavericks |
Translate the following into a SQL query | Which Tournament has Opponents of marc lópez santiago ventura? | SELECT Tournament FROM table WHERE Opponents = marc lópez santiago ventura |
Translate the following into a SQL query | Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005? | SELECT Opponents FROM table WHERE Partnering = alessandro motti AND Date = 12 september 2005 |
Translate the following into a SQL query | Which Opponents have a Score of 6–4, 6–3? | SELECT Opponents FROM table WHERE Score = 6–4, 6–3 |
Translate the following into a SQL query | Which Tournament has a Surface of hard, and a Date of 24 september 2011? | SELECT Tournament FROM table WHERE Surface = hard AND Date = 24 september 2011 |
Translate the following into a SQL query | How many rounds did the match at GCF: Strength and Honor last? | SELECT AVG Round FROM table WHERE Event = gcf: strength and honor |
Translate the following into a SQL query | What is the total population for Saint-Antoine with an area squared of 6.43? | SELECT SUM Population FROM table WHERE Official Name = saint-antoine AND Area km 2 > 6.43 |
Translate the following into a SQL query | What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? | SELECT Status FROM table WHERE Population > 930 AND Census Ranking = 1,769 of 5,008 |
Translate the following into a SQL query | How many games in February have a record of 40-15-5? | SELECT SUM February FROM table WHERE Record = 40-15-5 |
Translate the following into a SQL query | What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? | SELECT MIN Game FROM table WHERE Opponent = minnesota north stars AND February < 25 |
Translate the following into a SQL query | How many games have the New York Islanders as an opponent before February 7? | SELECT SUM Game FROM table WHERE Opponent = new york islanders AND February < 7 |
Translate the following into a SQL query | What is the earliest February date with a record of 37-13-4 in a game earlier than 54? | SELECT MIN February FROM table WHERE Record = 37-13-4 AND Game < 54 |
Translate the following into a SQL query | What is the date of the game when the record is 2-0? | SELECT Date FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | What is the average game number when the record is 4-1? | SELECT AVG Game FROM table WHERE Record = 4-1 |
Translate the following into a SQL query | What is the location and attendance of game 1? | SELECT Location Attendance FROM table WHERE Game = 1 |
Translate the following into a SQL query | What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6? | SELECT Date FROM table WHERE Location Attendance = madison square garden AND Game < 6 AND Team = seattle |
Translate the following into a SQL query | What is the location and attendance of the game when the score is 125-100? | SELECT Location Attendance FROM table WHERE Score = 125-100 |
Translate the following into a SQL query | Who was the winning driver in 1956? | SELECT Winning driver FROM table WHERE Year = 1956 |
Translate the following into a SQL query | Which circuit did Peter Whitehead win? | SELECT Circuit FROM table WHERE Winning driver = peter whitehead |
Translate the following into a SQL query | What report did Jack Brabham win? | SELECT Report FROM table WHERE Winning driver = jack brabham |
Translate the following into a SQL query | What year did Ferrari win the Kyalami circuit? | SELECT Year FROM table WHERE Circuit = kyalami AND Winning constructor = ferrari |
Translate the following into a SQL query | Which circuit did Jim Clark win in 1962? | SELECT Circuit FROM table WHERE Winning driver = jim clark AND Year = 1962 |
Translate the following into a SQL query | On what Date was the 2011 LG Cup Competittion? | SELECT Date FROM table WHERE Competition = 2011 lg cup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.