instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
On what date is Hawthorn the home team?
SELECT Date FROM table WHERE Home team = hawthorn
Translate the following into a SQL query
On what date is St Kilda the away team?
SELECT Date FROM table WHERE Away team = st kilda
Translate the following into a SQL query
Who did the Browns play on October 13, 1968?
SELECT Opponent FROM table WHERE Date = october 13, 1968
Translate the following into a SQL query
Which game is named tsegay kebede category:articles with hcards?
SELECT Games FROM table WHERE Name = tsegay kebede category:articles with hcards
Translate the following into a SQL query
Which event in the 2000 Sydney games was in the category gete wami category:articles with hcards?
SELECT Event FROM table WHERE Games = 2000 sydney AND Name = gete wami category:articles with hcards
Translate the following into a SQL query
Which event in the 2008 Beijing Games had a bronze medal?
SELECT Event FROM table WHERE Games = 2008 beijing AND Medal = bronze
Translate the following into a SQL query
What is the medal named fatuma roba category:articles with hcards for?
SELECT Medal FROM table WHERE Name = fatuma roba category:articles with hcards
Translate the following into a SQL query
What is the game named derartu tulu category:articles with hcards?
SELECT Games FROM table WHERE Name = derartu tulu category:articles with hcards
Translate the following into a SQL query
What is the fastest time for the Kentucky Derby race?
SELECT Time FROM table WHERE Race = kentucky derby
Translate the following into a SQL query
Which track does the Woodward Stakes race take place on?
SELECT Track FROM table WHERE Race = woodward stakes
Translate the following into a SQL query
What grade did jockey Robby Albarado get when racing with Ravens Pass?
SELECT Grade FROM table WHERE Jockey = robby albarado AND Runner up/Winner = ravens pass
Translate the following into a SQL query
In which Age Category is Marco Manenti?
SELECT Age category FROM table WHERE Name = marco manenti
Translate the following into a SQL query
Which year has a Time of 13:23:43?
SELECT Year FROM table WHERE Time = 13:23:43
Translate the following into a SQL query
What score has 3-7 as the record?
SELECT Score FROM table WHERE Record = 3-7
Translate the following into a SQL query
What loss has 16,458 as an Att.?
SELECT Loss FROM table WHERE Att. = 16,458
Translate the following into a SQL query
What date has 5-3 as the score, and holt (1-1) as a loss?
SELECT Date FROM table WHERE Score = 5-3 AND Loss = holt (1-1)
Translate the following into a SQL query
What is the sector of the company with an incorporated date before 1983?
SELECT Sector FROM table WHERE Incorporated < 1983
Translate the following into a SQL query
What is the average incorporataed year of the Air India Charters company?
SELECT AVG Incorporated FROM table WHERE Company = air india charters
Translate the following into a SQL query
How many votes were tallied in 1956 with a % of national vote larger than 11.47?
SELECT SUM Votes FROM table WHERE Date = 1956 AND % of national vote > 11.47
Translate the following into a SQL query
How many candidates were nominated in 1952 with under 305,133 votes?
SELECT SUM Candidates nominated FROM table WHERE Date = 1952 AND Votes < 305,133
Translate the following into a SQL query
How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated?
SELECT COUNT Votes FROM table WHERE % of national vote = 13.11 AND Candidates nominated > 39
Translate the following into a SQL query
Who is the visitor with a record of 14–17–5?
SELECT Visitor FROM table WHERE Record = 14–17–5
Translate the following into a SQL query
How many in attendance when Penguins were home with a record of 14–19–6 with less than 34 points?
SELECT COUNT Attendance FROM table WHERE Home = penguins AND Record = 14–19–6 AND Points < 34
Translate the following into a SQL query
Which Format has a Catalog of 561 445-1?
SELECT Format FROM table WHERE Catalog = 561 445-1
Translate the following into a SQL query
Which Region has a Date of early september 1999?
SELECT Region FROM table WHERE Date = early september 1999
Translate the following into a SQL query
Which Region has a Date of early september 1999?
SELECT Region FROM table WHERE Date = early september 1999
Translate the following into a SQL query
What was the date of the game with a loss of White (4-5)?
SELECT Date FROM table WHERE Loss = white (4-5)
Translate the following into a SQL query
what score has a location and attendance of montreal forum and the date of may 10?
SELECT Score FROM table WHERE Location/Attendance = montreal forum AND Date = may 10
Translate the following into a SQL query
Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27
SELECT SUM Interview FROM table WHERE Province = monte cristi AND Swimsuit > 7.27
Translate the following into a SQL query
WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98?
SELECT AVG Evening Gown FROM table WHERE Swimsuit < 7.99 AND Interview > 7.98
Translate the following into a SQL query
Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38?
SELECT SUM Interview FROM table WHERE Swimsuit > 7.6 AND Province = la vega AND Average < 8.38
Translate the following into a SQL query
Which items in segment A have a segment D of marble sculptures?
SELECT Segment A FROM table WHERE Segment D = marble sculptures
Translate the following into a SQL query
Which segment A also has a segment D of kitchen shears?
SELECT Segment A FROM table WHERE Segment D = kitchen shears
Translate the following into a SQL query
Which items in segment C is episode 160?
SELECT Segment C FROM table WHERE Episode = 160
Translate the following into a SQL query
Which season last aired on May 6, 1987?
SELECT Season FROM table WHERE Last airdate = may 6, 1987
Translate the following into a SQL query
What is the Nielsen ranking for Season 8?
SELECT Nielsen ranking FROM table WHERE Season = season 8
Translate the following into a SQL query
What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38?
SELECT First airdate FROM table WHERE Episodes < 24 AND Nielsen ranking = #38
Translate the following into a SQL query
How many episodes were in the season that first aired on September 22, 1989?
SELECT Episodes FROM table WHERE First airdate = september 22, 1989
Translate the following into a SQL query
How many episodes were in the season that ended on April 29, 1986?
SELECT AVG Episodes FROM table WHERE Last airdate = april 29, 1986
Translate the following into a SQL query
Where the ship is Dahlgren what is the build as?
SELECT Built As FROM table WHERE Ship = dahlgren
Translate the following into a SQL query
Where the NRV link is CGN38, what is the reclassified as?
SELECT Reclassified As FROM table WHERE NVR link = cgn38
Translate the following into a SQL query
Where the built as is DLG-23, what is the class?
SELECT Class FROM table WHERE Built As = dlg-23
Translate the following into a SQL query
What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?
SELECT SUM Total FROM table WHERE Rank = 6 AND Bronze < 2
Translate the following into a SQL query
How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals?
SELECT COUNT Gold FROM table WHERE Bronze > 12 AND Total < 124
Translate the following into a SQL query
December smaller than 21, and a Opponent of buffalo sabres had what score?
SELECT Score FROM table WHERE December < 21 AND Opponent = buffalo sabres
Translate the following into a SQL query
Score of 8 - 1 happened on what day in December?
SELECT December FROM table WHERE Score = 8 - 1
Translate the following into a SQL query
December larger than 21, and a Opponent of Pittsburgh penguins had what average game?
SELECT AVG Game FROM table WHERE December > 21 AND Opponent = pittsburgh penguins
Translate the following into a SQL query
December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?
SELECT Opponent FROM table WHERE December < 14 AND Game < 28 AND Score = 6 - 6
Translate the following into a SQL query
What is the date that the item was laid down if it was launched on 1899-04-25?
SELECT Laid down FROM table WHERE Launched = 1899-04-25
Translate the following into a SQL query
Which builder is associated with ikazuchi "thunder"?
SELECT Builder FROM table WHERE Name (Translation) = ikazuchi "thunder"
Translate the following into a SQL query
Which builder has the the kanji of 曙?
SELECT Builder FROM table WHERE Kanji = 曙
Translate the following into a SQL query
Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?
SELECT MIN Density per km² FROM table WHERE Number (map) < 13 AND Area in km² = 11.1
Translate the following into a SQL query
Which Area in km² has a Population Canada 2011 Census larger than 18,097, and a Borough of verdun?
SELECT Area in km² FROM table WHERE Population Canada 2011 Census > 18,097 AND Borough = verdun
Translate the following into a SQL query
How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038?
SELECT COUNT Number (map) FROM table WHERE Area in km² > 13.5 AND Population Canada 2011 Census = 134,038
Translate the following into a SQL query
Which Number (map) is the lowest one that has a Area in km² of 9.7, and a Population Canada 2011 Census larger than 66,158?
SELECT MIN Number (map) FROM table WHERE Area in km² = 9.7 AND Population Canada 2011 Census > 66,158
Translate the following into a SQL query
Attendance of 19,741 had what average week?
SELECT AVG Week FROM table WHERE Attendance = 19,741
Translate the following into a SQL query
Attendance of 29,000 occurred on what date?
SELECT Date FROM table WHERE Attendance = 29,000
Translate the following into a SQL query
Opponent of Philadelphia eagles had what attendance?
SELECT Attendance FROM table WHERE Opponent = philadelphia eagles
Translate the following into a SQL query
What day did Alex Best exit?
SELECT Exited FROM table WHERE Celebrity = alex best
Translate the following into a SQL query
What place did the celebrity who is famous for being an athlete finish?
SELECT Finished FROM table WHERE Famous for = athlete
Translate the following into a SQL query
What place did the singer in atomic kitten finish?
SELECT Finished FROM table WHERE Famous for = singer in atomic kitten
Translate the following into a SQL query
Who was the celebrity who exited on day 13?
SELECT Celebrity FROM table WHERE Exited = day 13
Translate the following into a SQL query
Who was the celebrity who finished in 7th place?
SELECT Celebrity FROM table WHERE Finished = 7th
Translate the following into a SQL query
Name of gilmar, and a Caps smaller than 94 had how many highest goals?
SELECT MAX Goals FROM table WHERE Name = gilmar AND Caps < 94
Translate the following into a SQL query
Caps of 93 had how many goals?
SELECT Goals FROM table WHERE Caps = 93
Translate the following into a SQL query
Latest cap of september 5, 2011 had how many goals?
SELECT Goals FROM table WHERE Latest cap = september 5, 2011
Translate the following into a SQL query
Name of rivelino had how many highest caps?
SELECT MAX Caps FROM table WHERE Name = rivelino
Translate the following into a SQL query
Which athlete played at the Birmingham venue?
SELECT Athlete FROM table WHERE Venue = birmingham
Translate the following into a SQL query
Which Frequency has a Webcast of •, and a Callsign of xemr?
SELECT AVG Frequency FROM table WHERE Webcast = • AND Callsign = xemr
Translate the following into a SQL query
Which Website has a Frequency smaller than 760 and a Callsign of kkyx?
SELECT Website FROM table WHERE Frequency < 760 AND Callsign = kkyx
Translate the following into a SQL query
Which Webcast has a Callsign of kgbt?
SELECT Webcast FROM table WHERE Callsign = kgbt
Translate the following into a SQL query
Which Frequency has a Website of •, and a Webcast of •in san antonio?
SELECT AVG Frequency FROM table WHERE Website = • AND Webcast = • AND City of License = san antonio
Translate the following into a SQL query
What years did the player play when he scored 78 points and 22 goals?
SELECT Years FROM table WHERE Points = 78 AND Goals = 22
Translate the following into a SQL query
How many goals did Joey Worthen have when he had 15 assists?
SELECT Goals FROM table WHERE Assists = 15 AND Player = joey worthen
Translate the following into a SQL query
How many goals were scored when 158 points were collected?
SELECT Goals FROM table WHERE Points = 158
Translate the following into a SQL query
What years had players who scored 36 goals?
SELECT Years FROM table WHERE Goals = 36
Translate the following into a SQL query
What was the rank of the player who had 13 assists?
SELECT Rank FROM table WHERE Assists = 13
Translate the following into a SQL query
What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance?
SELECT SUM Week FROM table WHERE Opponent = houston oilers AND Attendance > 54,582
Translate the following into a SQL query
What is the highest attendance for week 1?
SELECT MAX Attendance FROM table WHERE Week < 1
Translate the following into a SQL query
What is the total number in attendance for the game after week 8 that was on November 25, 1979?
SELECT COUNT Attendance FROM table WHERE Week > 8 AND Date = november 25, 1979
Translate the following into a SQL query
Which Surface has a Score of 2009 wta tour?
SELECT Surface FROM table WHERE Score = 2009 wta tour
Translate the following into a SQL query
Which Round has a Ranking of 2008 wta tour?
SELECT Round FROM table WHERE Ranking = 2008 wta tour
Translate the following into a SQL query
Which Surface has a Round of 4th round, and a Player of maria sharapova?
SELECT Surface FROM table WHERE Round = 4th round AND Player = maria sharapova
Translate the following into a SQL query
Which Player has a Score of 6–4, 7–6 (7–5)?
SELECT Player FROM table WHERE Score = 6–4, 7–6 (7–5)
Translate the following into a SQL query
Which Round has a Player of anna chakvetadze?
SELECT Round FROM table WHERE Player = anna chakvetadze
Translate the following into a SQL query
Record of 89-67 had what loss?
SELECT Loss FROM table WHERE Record = 89-67
Translate the following into a SQL query
Score of 3 - 2 had what record?
SELECT Record FROM table WHERE Score = 3 - 2
Translate the following into a SQL query
Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
SELECT Record FROM table WHERE Opponent = @ blue jays AND Loss = lyon (5-4)
Translate the following into a SQL query
Loss of lyon (5-4) had what score?
SELECT Score FROM table WHERE Loss = lyon (5-4)
Translate the following into a SQL query
Loss of finley (8-7) had what record?
SELECT Record FROM table WHERE Loss = finley (8-7)
Translate the following into a SQL query
Opponent of @ blue jays, and a Date of october 6 had what score?
SELECT Score FROM table WHERE Opponent = @ blue jays AND Date = october 6
Translate the following into a SQL query
What is the score for game 5?
SELECT Score FROM table WHERE Game = 5
Translate the following into a SQL query
What is the score that has a game greater than 3, with buffalo sabres as the opponent?
SELECT Score FROM table WHERE Game > 3 AND Opponent = buffalo sabres
Translate the following into a SQL query
What score has may 9 as the date?
SELECT Score FROM table WHERE Date = may 9
Translate the following into a SQL query
What was the score on October 16, 1983?
SELECT Score FROM table WHERE Date = october 16, 1983
Translate the following into a SQL query
What was the score when she was a runner-up?
SELECT Score FROM table WHERE Outcome = runner-up
Translate the following into a SQL query
What tournament was being played on August 11, 1984?
SELECT Tournament FROM table WHERE Date = august 11, 1984
Translate the following into a SQL query
What was the Venue on June 8, 2005?
SELECT Venue FROM table WHERE Date = june 8, 2005
Translate the following into a SQL query
On what Date was the Venue Los Angeles?
SELECT Date FROM table WHERE Venue = los angeles
Translate the following into a SQL query
What was the Score on September 29, 2003?
SELECT Score FROM table WHERE Date = september 29, 2003