instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Name the most decile for roll of 428
SELECT MAX Decile FROM table WHERE Roll = 428
Translate the following into a SQL query
What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?
SELECT MAX Year FROM table WHERE Winners = hawthorn AND Season Result = preliminary finalist AND Crowd < 27,407
Translate the following into a SQL query
What scores did grand finalist hawthorn have?
SELECT Scores FROM table WHERE Grand Finalist = hawthorn
Translate the following into a SQL query
What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon?
SELECT Grand Finalist FROM table WHERE Year > 1979 AND Margin < 30 AND Winners = essendon
Translate the following into a SQL query
Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640
SELECT SUM Numer of Jamaicans granted British citizenship FROM table WHERE Year = 2004 AND Registration of a minor child > 640
Translate the following into a SQL query
What team played under 52 Reg GP, and picked 130?
SELECT Team (League) FROM table WHERE Reg GP < 52 AND Pick # = 130
Translate the following into a SQL query
What is the highest PL GP for a round greater than 9?
SELECT MAX Pl GP FROM table WHERE Rd # > 9
Translate the following into a SQL query
Which title has a length of 4:22?
SELECT Title FROM table WHERE Time = 4:22
Translate the following into a SQL query
Which composer has a track length of 2:50?
SELECT Composer(s) FROM table WHERE Time = 2:50
Translate the following into a SQL query
Which title has a Black Ice for a guest performer and a length of 5:49?
SELECT Title FROM table WHERE Guest performer = black ice AND Time = 5:49
Translate the following into a SQL query
Which guest performer has a track length of 5:49?
SELECT Guest performer FROM table WHERE Time = 5:49
Translate the following into a SQL query
What was the score when philadelphia visited?
SELECT Score FROM table WHERE Visitor = philadelphia
Translate the following into a SQL query
How many attended the game with weekes recording the decision?
SELECT Attendance FROM table WHERE Decision = weekes
Translate the following into a SQL query
What digital channel does Three Angels Broadcasting Network own?
SELECT Digital Channel FROM table WHERE Owner = three angels broadcasting network
Translate the following into a SQL query
What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6?
SELECT Championship FROM table WHERE Score = 6–3, 2–6, 3–6, 6–3, 3–6
Translate the following into a SQL query
What is the date of the game where Geelong was the away team?
SELECT Date FROM table WHERE Away team = geelong
Translate the following into a SQL query
What is the home team of the game where Geelong was the away team?
SELECT Home team FROM table WHERE Away team = geelong
Translate the following into a SQL query
What is the venue of the game where Geelong was the away team?
SELECT Venue FROM table WHERE Away team = geelong
Translate the following into a SQL query
What is the date of the game where St Kilda is the home team?
SELECT Date FROM table WHERE Home team = st kilda
Translate the following into a SQL query
What was the home team's score of the game where South Melbourne is the away team?
SELECT Home team score FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
What is the away team's score of the game where the away team is Geelong?
SELECT Away team score FROM table WHERE Away team = geelong
Translate the following into a SQL query
Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003?
SELECT Venue FROM table WHERE Competition = 2004 afc asian cup qualification AND Date = november 18, 2003
Translate the following into a SQL query
On what date did a friendly competition, hosted in Dubai, result in a draw?
SELECT Date FROM table WHERE Result = draw AND Competition = friendly AND Venue = dubai
Translate the following into a SQL query
What venue hosted a match with a 3-0 score on December 7, 2002?
SELECT Venue FROM table WHERE Score = 3-0 AND Date = december 7, 2002
Translate the following into a SQL query
What competition resulted in 2-0 score, hosted in Amman?
SELECT Competition FROM table WHERE Score = 2-0 AND Venue = amman
Translate the following into a SQL query
On what date was Kuwait City a venue?
SELECT Date FROM table WHERE Venue = kuwait city
Translate the following into a SQL query
Who did the Mariners play when their record was 26–32?
SELECT Opponent FROM table WHERE Record = 26–32
Translate the following into a SQL query
What Away team had a score of 12.11 (83)?
SELECT Away team FROM table WHERE Away team score = 12.11 (83)
Translate the following into a SQL query
What was the Vanwall time/retired with 49 laps?
SELECT Time/Retired FROM table WHERE Laps = 49 AND Constructor = vanwall
Translate the following into a SQL query
How many laps did the grid 1 engine have?
SELECT SUM Laps FROM table WHERE Time/Retired = engine AND Grid = 1
Translate the following into a SQL query
What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?
SELECT MAX Laps FROM table WHERE Grid > 13 AND Time/Retired = engine AND Driver = luigi piotti
Translate the following into a SQL query
What Cornerback has the lowest Pick # and Round of less than 1?
SELECT MIN Pick # FROM table WHERE Position = cornerback AND Round < 1
Translate the following into a SQL query
What is the Position of Pick #77?
SELECT Position FROM table WHERE Pick # = 77
Translate the following into a SQL query
How many attended the game on August 12?
SELECT COUNT Attendance FROM table WHERE Date = august 12
Translate the following into a SQL query
What is the largest crowd with Home team of hawthorn?
SELECT MAX Crowd FROM table WHERE Home team = hawthorn
Translate the following into a SQL query
What away team score also has a Home team score of 12.15 (87)?
SELECT Away team score FROM table WHERE Home team score = 12.15 (87)
Translate the following into a SQL query
What is the home team score with Fitzroy as away team?
SELECT Home team score FROM table WHERE Away team = fitzroy
Translate the following into a SQL query
What is glenferrie oval's home team?
SELECT Home team FROM table WHERE Venue = glenferrie oval
Translate the following into a SQL query
What is the Super G value for the season that has an Overall score of 16?
SELECT Super G FROM table WHERE Overall = 16
Translate the following into a SQL query
What is the oldest season that had a listed Super G score of 33?
SELECT MIN Season FROM table WHERE Super G = 33
Translate the following into a SQL query
What year's Season had an Overall of 77?
SELECT Season FROM table WHERE Overall = 77
Translate the following into a SQL query
What is the high rank for players earning over $533,929?
SELECT MAX Rank FROM table WHERE Earnings ( $ ) > 533,929
Translate the following into a SQL query
What player has 3 wins and ranks above 3rd?
SELECT Player FROM table WHERE Wins = 3 AND Rank > 3
Translate the following into a SQL query
What is the Time/Retired for emerson fittipaldi?
SELECT Time/Retired FROM table WHERE Driver = emerson fittipaldi
Translate the following into a SQL query
What is the long for the player with 26 carries?
SELECT Long FROM table WHERE Car. = 26
Translate the following into a SQL query
How many carries for the player with a 2 yard long?
SELECT COUNT Car. FROM table WHERE Long = 2
Translate the following into a SQL query
What is the long for the player with under 30 carries and 0 yards?
SELECT Long FROM table WHERE Car. < 30 AND Yards = 0
Translate the following into a SQL query
How many wins were there in the 2000 season in the central division with less than 81 losses?
SELECT AVG Wins FROM table WHERE Division = central AND Reds season < 2000 AND Losses < 81
Translate the following into a SQL query
What was the lowest percentages of wins in 1989 with a GB [c] of 17?
SELECT MIN Win% FROM table WHERE GB [c ] = 17 AND Reds season = 1989
Translate the following into a SQL query
How many losses did the 1943 MLB have?
SELECT AVG Losses FROM table WHERE MLB season = 1943
Translate the following into a SQL query
What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?
SELECT MIN Wins FROM table WHERE Finish = 7th AND Win% > 0.429 AND Reds season < 1915
Translate the following into a SQL query
In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]?
SELECT GB [c ] FROM table WHERE Win% < 0.457 AND Wins = 62 AND Reds season = 1900
Translate the following into a SQL query
Which record has a score of 7–6 (12)?
SELECT Record FROM table WHERE Score = 7–6 (12)
Translate the following into a SQL query
On what date was the record 59–59?
SELECT Date FROM table WHERE Record = 59–59
Translate the following into a SQL query
What loss occurred on August 21?
SELECT Loss FROM table WHERE Date = august 21
Translate the following into a SQL query
What is the highest 1985 value that has a 1990 value of 93?
SELECT MAX 1985 FROM table WHERE 1990 = 93
Translate the following into a SQL query
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
SELECT MAX 2000 FROM table WHERE 2010 = 82 AND 2005 < 74
Translate the following into a SQL query
What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67?
SELECT SUM 1995 FROM table WHERE Year = jiangxi AND 2008 > 67
Translate the following into a SQL query
What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?
SELECT MIN 2009 FROM table WHERE 2010 = 141 AND 1985 > 165
Translate the following into a SQL query
What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80?
SELECT SUM 1995 FROM table WHERE 2005 > 74 AND 2008 = 84 AND 2000 < 80
Translate the following into a SQL query
What is the date of the election where Sir Christopher William Codrington was elected as First Member and Robert Stayner Holford as the Second Member?
SELECT Election FROM table WHERE 1st Member = sir christopher william codrington AND 2nd Member = robert stayner holford
Translate the following into a SQL query
What is the Second Party where Sir Christopher William Codrington is the First Member and Hon. Francis Charteris is the Second Member?
SELECT 2nd Party FROM table WHERE 1st Member = sir christopher william codrington AND 2nd Member = hon. francis charteris
Translate the following into a SQL query
What is the date of the election where Sir Christopher William Codrington is elected First Member and the second party is Conservative?
SELECT Election FROM table WHERE 1st Member = sir christopher william codrington AND 2nd Party = conservative
Translate the following into a SQL query
What label is after 2004?
SELECT Label FROM table WHERE Year > 2004
Translate the following into a SQL query
What is the Format and Special Notes for of the pact: ...of the gods?
SELECT Format, Special Notes FROM table WHERE Title = the pact: ...of the gods
Translate the following into a SQL query
What movie has noxialicht as a track?
SELECT Title FROM table WHERE Tracks = noxialicht
Translate the following into a SQL query
What is the lowest gold medals of a rank 12 team?
SELECT MIN Gold FROM table WHERE Rank = 12
Translate the following into a SQL query
What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals?
SELECT COUNT Bronze FROM table WHERE Silver > 8 AND Total = 50
Translate the following into a SQL query
What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
SELECT AVG Gold FROM table WHERE Nation = uzbekistan AND Total < 24
Translate the following into a SQL query
Which open cup was after 1993?
SELECT Open Cup FROM table WHERE Year > 1993
Translate the following into a SQL query
Which year had playoffs of champion?
SELECT AVG Year FROM table WHERE Playoffs = champion
Translate the following into a SQL query
What divisions was in the year 1993?
SELECT Division FROM table WHERE Year = 1993
Translate the following into a SQL query
Which UK base has 441st tcg Troop carrier group and 14 as their seir serial?
SELECT UK Base FROM table WHERE Troop carrier Group = 441st tcg AND Serial = 14
Translate the following into a SQL query
What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s?
SELECT Drop Zone Time FROM table WHERE Troop carrier Group = 439th tcg AND # of C-47s > 36
Translate the following into a SQL query
What was the grid placement for the Maserati that completed 14 laps?
SELECT Grid FROM table WHERE Constructor = maserati AND Laps = 14
Translate the following into a SQL query
What company built the car driven by Tony Brooks?
SELECT Constructor FROM table WHERE Driver = tony brooks
Translate the following into a SQL query
What is the score on the date of May 2?
SELECT Score FROM table WHERE Date = may 2
Translate the following into a SQL query
What city was a visitor on the date of April 30?
SELECT Visitor FROM table WHERE Date = april 30
Translate the following into a SQL query
On the date of April 22, which city was a visitor?
SELECT Visitor FROM table WHERE Date = april 22
Translate the following into a SQL query
What visitor has Ottawa as a home and a date of April 26?
SELECT Visitor FROM table WHERE Home = ottawa AND Date = april 26
Translate the following into a SQL query
What is Paino Hehea's date of birth?
SELECT Date of Birth (Age) FROM table WHERE Player = paino hehea
Translate the following into a SQL query
I want to know the location that has a record of 3-0
SELECT Location FROM table WHERE Record = 3-0
Translate the following into a SQL query
Tell me the record for round more than 1
SELECT Record FROM table WHERE Round > 1
Translate the following into a SQL query
I want to know the method for opponent of jerry bohlander
SELECT Method FROM table WHERE Opponent = jerry bohlander
Translate the following into a SQL query
Who belongs to the Bologna Milan club?
SELECT Player FROM table WHERE Club = bologna milan
Translate the following into a SQL query
Who is the opponent on June 6?
SELECT Opponent FROM table WHERE Date = june 6
Translate the following into a SQL query
What is the date of the game at Commerce Bank Ballpark?
SELECT Date FROM table WHERE Field = commerce bank ballpark
Translate the following into a SQL query
What is the result of the game at Bishop Kearney Field on August 2?
SELECT Result FROM table WHERE Field = bishop kearney field AND Date = august 2
Translate the following into a SQL query
Who was the opponent of the game at Homewood field?
SELECT Opponent FROM table WHERE Field = homewood field
Translate the following into a SQL query
What is the result of the game at Bishop Kearney Field on August 2?
SELECT Result FROM table WHERE Field = bishop kearney field AND Date = august 2
Translate the following into a SQL query
What is the time of the rider with a speed of 102.962mph?
SELECT Time FROM table WHERE Speed = 102.962mph
Translate the following into a SQL query
Who is the rider who had the time of 1:27.37.22?
SELECT Rider FROM table WHERE Time = 1:27.37.22
Translate the following into a SQL query
Who is the rider who has a rank lower than 10, and a time of 1:26.31.20?
SELECT Rider FROM table WHERE Rank < 10 AND Time = 1:26.31.20
Translate the following into a SQL query
What date was the Circuit of Indianapolis?
SELECT Date FROM table WHERE Circuit = indianapolis
Translate the following into a SQL query
Who was the Constructor at the Argentine Grand Prix?
SELECT Constructor FROM table WHERE Race = argentine grand prix
Translate the following into a SQL query
What was the date of the Circuit of Indianapolis?
SELECT Date FROM table WHERE Circuit = indianapolis
Translate the following into a SQL query
Who was the winning driver of the Argentine Grand Prix?
SELECT Winning driver FROM table WHERE Race = argentine grand prix
Translate the following into a SQL query
What was Juan Manuel Fangio's reported pole position and the tire of C?
SELECT Report FROM table WHERE Pole position = juan manuel fangio AND Tyre = c
Translate the following into a SQL query
What was the Attendance when the Home team was Montreal, on the Date of March 24?
SELECT SUM Attendance FROM table WHERE Home = montreal AND Date = march 24
Translate the following into a SQL query
What was the Score on March 15?
SELECT Score FROM table WHERE Date = march 15