instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
what is Gold Medals that has salem blue devils and a Silver Medals less than 1?
SELECT MIN Gold Medals FROM table WHERE Ensemble = salem blue devils AND Silver Medals < 1
Translate the following into a SQL query
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?
SELECT Location FROM table WHERE Method = submission (armbar) AND Opponent = mayra conde
Translate the following into a SQL query
Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?
SELECT Opponent FROM table WHERE Method = submission (armbar) AND Record = 9-3-1
Translate the following into a SQL query
What is the Time (EEST), when the Stage is ss8?
SELECT Time (EEST) FROM table WHERE Stage = ss8
Translate the following into a SQL query
What is the Stage, when the Rally leader is C. Atkinson?
SELECT Stage FROM table WHERE Rally leader = c. atkinson
Translate the following into a SQL query
Who is the Winner, when the Name is Ouninpohja 1?
SELECT Winner FROM table WHERE Name = ouninpohja 1
Translate the following into a SQL query
What is the Length, when the Name is Himos?
SELECT Length FROM table WHERE Name = himos
Translate the following into a SQL query
Who is the Winner when the Length is 21.27km?
SELECT Winner FROM table WHERE Length = 21.27km
Translate the following into a SQL query
What is the Name, when the Time is 8:10.1?
SELECT Name FROM table WHERE Time = 8:10.1
Translate the following into a SQL query
In the Formula One World Championships, which entrant had 0 points with a Ferrari 156 Chassis after 1961?
SELECT Entrant FROM table WHERE Points = 0 AND Year > 1961 AND Chassis = ferrari 156
Translate the following into a SQL query
During the Formula One World Championships, which engine was used in 1965?
SELECT Engine FROM table WHERE Year = 1965
Translate the following into a SQL query
How many points were earned with a Chassis of a Ferrari 156?
SELECT COUNT Points FROM table WHERE Chassis = ferrari 156
Translate the following into a SQL query
Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish?
SELECT Finish FROM table WHERE Laps < 197 AND Start = 9 AND Qual = 152.672
Translate the following into a SQL query
What is the location of game 7?
SELECT Location FROM table WHERE Game = 7
Translate the following into a SQL query
what is the location of game 4?
SELECT Location FROM table WHERE Game = 4
Translate the following into a SQL query
Which of the two teams has 1st leg of 2-0?
SELECT Team 2 FROM table WHERE 1st leg = 2-0
Translate the following into a SQL query
Which team has an agg., that has a 1st leg of 1-2?
SELECT Agg. FROM table WHERE 1st leg = 1-2
Translate the following into a SQL query
Which team of the team 1 column, has a 2nd leg of 1-0?
SELECT Team 1 FROM table WHERE 2nd leg = 1-0
Translate the following into a SQL query
Who were the 2nd group scorers that were opponents of olympiacos?
SELECT Scorers FROM table WHERE Group position = 2nd AND Opponents = olympiacos
Translate the following into a SQL query
Who were F–A of 1–0 scorers?
SELECT Scorers FROM table WHERE Result F–A = 1–0
Translate the following into a SQL query
What was the final score of the game on November 17?
SELECT Final Score FROM table WHERE Date = november 17
Translate the following into a SQL query
What was the final score of the game on November 24 with the visiting team the Indianapolis Colts?
SELECT Final Score FROM table WHERE Visiting Team = indianapolis colts AND Date = november 24
Translate the following into a SQL query
When was the game at Gillette Stadium that ended in a final score of 30-17?
SELECT Date FROM table WHERE Final Score = 30-17 AND Stadium = gillette stadium
Translate the following into a SQL query
Who was the visiting team that played on September 15?
SELECT Visiting Team FROM table WHERE Date = september 15
Translate the following into a SQL query
What year did the Nashville Metros have the Regular Season 2nd, central?
SELECT Year FROM table WHERE Regular Season = 2nd, central
Translate the following into a SQL query
What division did the Nashville Metros play in during the year that they did not qualify for the Playoffs, where in the USL PDL League, and had the Regular Season 7th, Southeast?
SELECT Division FROM table WHERE Playoffs = did not qualify AND League = usl pdl AND Regular Season = 7th, southeast
Translate the following into a SQL query
What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast?
SELECT AVG Year FROM table WHERE Playoffs = did not qualify AND Open Cup = did not qualify AND Regular Season = 7th, southeast
Translate the following into a SQL query
Which chassis scored 52 points?
SELECT Chassis FROM table WHERE Points = 52
Translate the following into a SQL query
Which engine scored 6 points and used the march 88c chassis?
SELECT Engine FROM table WHERE Points = 6 AND Chassis = march 88c
Translate the following into a SQL query
Name the D 43 with D 48 of d 9
SELECT D 43 FROM table WHERE D 48 = d 9
Translate the following into a SQL query
Name the D 42 with D 43 of d 14
SELECT D 42 FROM table WHERE D 43 = d 14
Translate the following into a SQL query
Name the D 47 when it has D 48 of d 29
SELECT D 47 FROM table WHERE D 48 = d 29
Translate the following into a SQL query
Name the D 43 and D 48 of r 28
SELECT D 43 FROM table WHERE D 48 = r 28
Translate the following into a SQL query
Name the D 47 which has D 42 of d 22
SELECT D 47 FROM table WHERE D 42 = d 22
Translate the following into a SQL query
Which region had a label of Central Station?
SELECT Region FROM table WHERE Label = central station
Translate the following into a SQL query
Which catalog has a format of 12" EP?
SELECT Catalog FROM table WHERE Format = 12" ep
Translate the following into a SQL query
Which label released the album on 12" EP in Germany?
SELECT Label FROM table WHERE Format = 12" ep AND Region = germany
Translate the following into a SQL query
What NHL team has a centre and pick number of 105?
SELECT NHL team FROM table WHERE Position = centre AND Pick # = 105
Translate the following into a SQL query
What Pick # does the St. Louis Blues have?
SELECT Pick # FROM table WHERE NHL team = st. louis blues
Translate the following into a SQL query
What is the position of the player with a Pick # of 108?
SELECT Position FROM table WHERE Pick # = 108
Translate the following into a SQL query
What position in the Vancouver Canucks has a Pick # of 101?
SELECT Position FROM table WHERE NHL team = vancouver canucks AND Pick # = 101
Translate the following into a SQL query
What was the team's record at the game attended by 30,452?
SELECT Record FROM table WHERE Attendance = 30,452
Translate the following into a SQL query
What was the attendance at the game that had a loss of Crabtree (0-1)?
SELECT Attendance FROM table WHERE Loss = crabtree (0-1)
Translate the following into a SQL query
What races were Chi-Chi Rodriguez the runner-up in?
SELECT Tournament FROM table WHERE Runner(s)-up = chi-chi rodriguez
Translate the following into a SQL query
What was the margin of victory for Isao Aoki when he was a runner-up?
SELECT Margin of victory FROM table WHERE Runner(s)-up = isao aoki
Translate the following into a SQL query
What was the winning score in the mazda senior tournament players championship?
SELECT Winning score FROM table WHERE Tournament = mazda senior tournament players championship
Translate the following into a SQL query
Which tournament ended with a winning score of –27 (65-68-64-64=261)?
SELECT Tournament FROM table WHERE Winning score = –27 (65-68-64-64=261)
Translate the following into a SQL query
Who was the runner(s)-up for the Feb 18, 1996 tournament?
SELECT Runner(s)-up FROM table WHERE Date = feb 18, 1996
Translate the following into a SQL query
What is Oriol Servia's average Grid on races with more than 43 laps?
SELECT AVG Grid FROM table WHERE Laps > 43 AND Driver = oriol servia
Translate the following into a SQL query
How many laps were there in the race that netted the winner 19 points?
SELECT Laps FROM table WHERE Points = 19
Translate the following into a SQL query
In what Season is Necaxa an Opponent?
SELECT Season FROM table WHERE Opponent = necaxa
Translate the following into a SQL query
In what season is Victoria the Opponent?
SELECT Season FROM table WHERE Opponent = victoria
Translate the following into a SQL query
Name the authority when the decile is 6 for pongaroa school
SELECT Authority FROM table WHERE Decile = 6 AND Name = pongaroa school
Translate the following into a SQL query
Name the years for dannevirke south school
SELECT Years FROM table WHERE Name = dannevirke south school
Translate the following into a SQL query
Name the least decile for state authority and area of eketahuna with roll more than 44
SELECT MIN Decile FROM table WHERE Authority = state AND Area = eketahuna AND Roll > 44
Translate the following into a SQL query
Tell me the name with area of eketahuna
SELECT Name FROM table WHERE Area = eketahuna
Translate the following into a SQL query
Name what was completed on 12 april 1934
SELECT Completed FROM table WHERE Launched = 12 april 1934
Translate the following into a SQL query
Name the launched for 13 september 1934 completion
SELECT Launched FROM table WHERE Completed = 13 september 1934
Translate the following into a SQL query
Name the ship launched 29 may 1934
SELECT Ship FROM table WHERE Launched = 29 may 1934
Translate the following into a SQL query
Name the laid down for launched being 16 february 1934
SELECT Laid down FROM table WHERE Launched = 16 february 1934
Translate the following into a SQL query
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
SELECT Pennant number FROM table WHERE Launched = 29 march 1934 AND Completed = 30 october 1934
Translate the following into a SQL query
Name the laid down for completed of 22 october 1934
SELECT Laid down FROM table WHERE Completed = 22 october 1934
Translate the following into a SQL query
what is the candidates name who is ranked 8th?
SELECT Candidate's Name FROM table WHERE Rank = 8th
Translate the following into a SQL query
where is harold j. ludwig riding when the votes are more than 484?
SELECT Riding FROM table WHERE Votes > 484 AND Candidate's Name = harold j. ludwig
Translate the following into a SQL query
what is the gender of Ron Gray, ranked 5th?
SELECT Gender FROM table WHERE Rank = 5th AND Candidate's Name = ron gray
Translate the following into a SQL query
what is the lowest votes of the candidate ranked 5th and riding in victoria?
SELECT MIN Votes FROM table WHERE Rank = 5th AND Riding = victoria
Translate the following into a SQL query
Which home captian has aus by 295 runs as the result?
SELECT Home captain FROM table WHERE Result = aus by 295 runs
Translate the following into a SQL query
Which result has adelaide oval as the venue?
SELECT Result FROM table WHERE Venue = adelaide oval
Translate the following into a SQL query
Born in 1982, this guard has what listed as a height?
SELECT Height FROM table WHERE Position = guard AND Year born = 1982
Translate the following into a SQL query
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
SELECT Points Classification Navy Blue Jersey FROM table WHERE General Classification Yellow Jersey = graeme brown
Translate the following into a SQL query
What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil?
SELECT Intermediate Sprints Classification Red Jersey FROM table WHERE Mountains Classification Green Jersey = murilo antonio fischer AND Points Classification Navy Blue Jersey = jose joaquin rojas gil
Translate the following into a SQL query
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
SELECT General Classification Yellow Jersey FROM table WHERE Mountains Classification Green Jersey = murilo antonio fischer AND Team Classification = lampre-fondital
Translate the following into a SQL query
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner?
SELECT Points Classification Navy Blue Jersey FROM table WHERE Mountains Classification Green Jersey = yoann le boulanger AND Team Classification = gerolsteiner
Translate the following into a SQL query
What was the attendance on April 7?
SELECT SUM Attendance FROM table WHERE Date = april 7
Translate the following into a SQL query
Who wins the Northumberland Senior Cup, when the Northumberland Women's Cup is won by Whitley Bay Women, and when the Northumberland Senior Benevolent Bowl is won by Alnwick Town?
SELECT Northumberland Senior Cup FROM table WHERE Northumberland Women's Cup = whitley bay women AND Northumberland Senior Benevolent Bowl = alnwick town
Translate the following into a SQL query
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'?
SELECT Northumberland Senior Benevolent Bowl FROM table WHERE Northumberland Minor Cup = whitley bay 'a'
Translate the following into a SQL query
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Women's Cup was won by Blyth Spartans Ladies?
SELECT Northumberland Senior Benevolent Bowl FROM table WHERE Northumberland Women's Cup = blyth spartans ladies
Translate the following into a SQL query
Who won the Northumberland Women's Cup when the Northumberland Senior Benevolent Bowl was won by Percy Main Amateurs?
SELECT Northumberland Women's Cup FROM table WHERE Northumberland Senior Benevolent Bowl = percy main amateurs
Translate the following into a SQL query
What was the film nomination in the Netherlands?
SELECT Film title used in nomination FROM table WHERE Country = netherlands
Translate the following into a SQL query
Who directed Turks Fruit?
SELECT Director FROM table WHERE Original title = turks fruit
Translate the following into a SQL query
What director is from Poland?
SELECT Director FROM table WHERE Country = poland
Translate the following into a SQL query
Who directed the Romanian film?
SELECT Director FROM table WHERE Language = romanian
Translate the following into a SQL query
What placement gets more than $400?
SELECT Place FROM table WHERE Money ( $ ) > 400
Translate the following into a SQL query
What's the average payout of toney penna with a +2 par?
SELECT AVG Money ( $ ) FROM table WHERE To par = +2 AND Player = toney penna
Translate the following into a SQL query
What is the attendance number of the game on April 16?
SELECT COUNT Attendance FROM table WHERE Date = april 16
Translate the following into a SQL query
What was the average pick of northwestern state college under round 3?
SELECT AVG Pick FROM table WHERE Round < 3 AND College = northwestern state
Translate the following into a SQL query
Rutgers college holds what position?
SELECT Position FROM table WHERE College = rutgers
Translate the following into a SQL query
In what round smaller than 10, was the center les studdard picked in?
SELECT MIN Pick FROM table WHERE Position = center AND Name = les studdard AND Round < 10
Translate the following into a SQL query
Which college had rounds smaller than 2?
SELECT College FROM table WHERE Round < 2
Translate the following into a SQL query
What record was reached with a score of 7 - 2?
SELECT Record FROM table WHERE Score = 7 - 2
Translate the following into a SQL query
What is the name of the club with a rank of 5?
SELECT Club FROM table WHERE Rank = 5
Translate the following into a SQL query
What is the rank that shows 276 games?
SELECT Rank FROM table WHERE Games = 276
Translate the following into a SQL query
What is the rank that shows 426 games?
SELECT Rank FROM table WHERE Games = 426
Translate the following into a SQL query
What is the number of games for Roger Merrett?
SELECT Games FROM table WHERE Player = roger merrett
Translate the following into a SQL query
What Engine had a Finish of 27?
SELECT Engine FROM table WHERE Finish = 27
Translate the following into a SQL query
What Engine had a chassis of March 85c?
SELECT Engine FROM table WHERE Chassis = march 85c
Translate the following into a SQL query
What Engine has a Finish of 21?
SELECT Engine FROM table WHERE Finish = 21
Translate the following into a SQL query
On what platform does Mindark publish?
SELECT Platform FROM table WHERE Publisher = mindark
Translate the following into a SQL query
What year did Avatar Reality release a game?
SELECT Year FROM table WHERE Developer = avatar reality
Translate the following into a SQL query
What publisher created Crysis Warhead?
SELECT Publisher FROM table WHERE Title = crysis warhead