instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who had the high assists @ Dallas?
SELECT High assists FROM table WHERE Team = @ Dallas
Translate the following into a SQL query
Who had the high assists when the location attendance was Toyota Center 18,370?
SELECT High assists FROM table WHERE Location Attendance = Toyota Center 18,370
Translate the following into a SQL query
What was the record when the high rebounds was from Nick Collison (11)?
SELECT Record FROM table WHERE High rebounds = Nick Collison (11)
Translate the following into a SQL query
How many times was the final score l 96–123 (ot)?
SELECT COUNT Record FROM table WHERE Score = L 96–123 (OT)
Translate the following into a SQL query
How many times was the high assists earl watson (5) and the date of the game was december 2?
SELECT COUNT Score FROM table WHERE High assists = Earl Watson (5) AND Date = December 2
Translate the following into a SQL query
Whom did they play on game number 25?
SELECT Team FROM table WHERE Game = 25
Translate the following into a SQL query
What is the number of the leading scorer for keyarena 16,640?
SELECT COUNT Leading scorer FROM table WHERE Attendance = KeyArena 16,640
Translate the following into a SQL query
What is the number of leading scorer of february 21?
SELECT COUNT Leading scorer FROM table WHERE Date = February 21
Translate the following into a SQL query
What is the leading scorer on february 1?
SELECT Leading scorer FROM table WHERE Date = February 1
Translate the following into a SQL query
what's the score where record is 35–33
SELECT Score FROM table WHERE Record = 35–33
Translate the following into a SQL query
what's the home where date is march 27
SELECT Home FROM table WHERE Date = March 27
Translate the following into a SQL query
what's the date where visitor is phoenix suns and record is 31–30
SELECT Date FROM table WHERE Visitor = Phoenix Suns AND Record = 31–30
Translate the following into a SQL query
what's the home team where score is l 80–88
SELECT Home FROM table WHERE Score = L 80–88
Translate the following into a SQL query
what's the leading scorer on march 2
SELECT Leading scorer FROM table WHERE Date = March 2
Translate the following into a SQL query
what's the leading scorer where home is sacramento kings
SELECT Leading scorer FROM table WHERE Home = Sacramento Kings
Translate the following into a SQL query
what's the team where date is february 8
SELECT Team FROM table WHERE Date = February 8
Translate the following into a SQL query
what's the location attendance where high rebounds is nick collison (14)
SELECT Location Attendance FROM table WHERE High rebounds = Nick Collison (14)
Translate the following into a SQL query
what's the record where score is w 105–92 (ot)
SELECT Record FROM table WHERE Score = W 105–92 (OT)
Translate the following into a SQL query
what's the location attendance where record is 14–39
SELECT Location Attendance FROM table WHERE Record = 14–39
Translate the following into a SQL query
what is the maximum game where high points is mickaël gelabale (21)
SELECT MAX Game FROM table WHERE High points = Mickaël Gelabale (21)
Translate the following into a SQL query
what's the record where location attendance is keyarena 13,627
SELECT Record FROM table WHERE Location Attendance = KeyArena 13,627
Translate the following into a SQL query
What is the score for april 29?
SELECT Score FROM table WHERE Date = April 29
Translate the following into a SQL query
Name the minimum game
SELECT MIN Game FROM table
Translate the following into a SQL query
Name the high points for toyota center 18,269?
SELECT High points FROM table WHERE Location Attendance = Toyota Center 18,269
Translate the following into a SQL query
what's the preliminaries with average being 9.135
SELECT Preliminaries FROM table WHERE Average = 9.135
Translate the following into a SQL query
what's the evening gown with preliminaries being 9.212
SELECT Evening Gown FROM table WHERE Preliminaries = 9.212
Translate the following into a SQL query
what's the interview with swimsuit being 9.140
SELECT Interview FROM table WHERE Swimsuit = 9.140
Translate the following into a SQL query
what's the evening gown with swimsuit being 9.134
SELECT Evening Gown FROM table WHERE Swimsuit = 9.134
Translate the following into a SQL query
what's the preliminaries with average being 9.360
SELECT Preliminaries FROM table WHERE Average = 9.360
Translate the following into a SQL query
How many successors were seated in the New York 20th district?
SELECT COUNT Successor FROM table WHERE District = New York 20th
Translate the following into a SQL query
What playoff result happened during the season in which they finished 1st, southern?
SELECT Playoffs FROM table WHERE Reg. Season = 1st, Southern
Translate the following into a SQL query
How many teams placed 4th in the regular season?
SELECT COUNT Division FROM table WHERE Reg. Season = 4th
Translate the following into a SQL query
What was the result of the open cup when they finished 4th in the regular season?
SELECT Open Cup FROM table WHERE Reg. Season = 4th
Translate the following into a SQL query
How many open cups were hosted in 1993?
SELECT COUNT Open Cup FROM table WHERE Year = 1993
Translate the following into a SQL query
What year did they finish 1st, southern?
SELECT MAX Year FROM table WHERE Reg. Season = 1st, Southern
Translate the following into a SQL query
What was the playoff result for theteam in the apsl in 1992?
SELECT Playoffs FROM table WHERE League = APSL AND Year = 1992
Translate the following into a SQL query
What was the status of tropartic?
SELECT Status FROM table WHERE Car Name = TropArtic
Translate the following into a SQL query
What is the status of joe gibbs racing?
SELECT Status FROM table WHERE Entrant = Joe Gibbs Racing
Translate the following into a SQL query
What is the laops of marcis auto racing?
SELECT Laps FROM table WHERE Entrant = Marcis Auto Racing
Translate the following into a SQL query
what's the author / editor / source with index (year) being press freedom (2007)
SELECT Author / Editor / Source FROM table WHERE Index (Year) = Press Freedom (2007)
Translate the following into a SQL query
how many countries sampled with year of publication being 2007 and ranking l.a. (2) being 7th
SELECT COUNT Countries sampled FROM table WHERE Year of publication = 2007 AND Ranking L.A. (2) = 7th
Translate the following into a SQL query
what's the author / editor / source with world ranking (1) being 73rd
SELECT Author / Editor / Source FROM table WHERE World Ranking (1) = 73rd
Translate the following into a SQL query
How many losingteams were for the cup finaldate 20 August 1989?
SELECT COUNT LosingTeam FROM table WHERE Cup FinalDate = 20 August 1989
Translate the following into a SQL query
How many seasons was the losing team Adelaide City?
SELECT COUNT Season FROM table WHERE LosingTeam = Adelaide City
Translate the following into a SQL query
Who was the winning team in the 1989 season?
SELECT WinningTeam FROM table WHERE Season = 1989
Translate the following into a SQL query
Who won the womens doubles when wu jianqui won the womens singles?
SELECT Womens doubles FROM table WHERE Womens singles = Wu Jianqui
Translate the following into a SQL query
Who won the mixed doubles when ji xinpeng won the mens singles?
SELECT Mixed doubles FROM table WHERE Mens singles = Ji Xinpeng
Translate the following into a SQL query
How many womens singles winners were there when peter rasmussen won the mens singles?
SELECT COUNT Womens singles FROM table WHERE Mens singles = Peter Rasmussen
Translate the following into a SQL query
WHO WROTE THE STORY WITH THE PRODUCTION CODE OF 1ADK-03
SELECT Written by FROM table WHERE Production code = 1ADK-03
Translate the following into a SQL query
WHAT IS "DAVE MOVES OUT" PRODUCTION CODE?
SELECT Production code FROM table WHERE Title = "Dave Moves Out"
Translate the following into a SQL query
WHO WROTE "DAD'S DEAD"
SELECT Written by FROM table WHERE Title = "Dad's Dead"
Translate the following into a SQL query
WHO AUTHORED "RED ASPHALT"?
SELECT Written by FROM table WHERE Title = "Red Asphalt"
Translate the following into a SQL query
Name the number of titles written by adam i. lapidus
SELECT COUNT Title FROM table WHERE Written by = Adam I. Lapidus
Translate the following into a SQL query
What's the season number of the episode titled "Houseboat"?
SELECT No. in season FROM table WHERE Title = "Houseboat"
Translate the following into a SQL query
What's the season number of the episode titled "Grad school"?
SELECT No. in season FROM table WHERE Title = "Grad School"
Translate the following into a SQL query
Who directed the episode with a production code 3ADK-03?
SELECT Directed by FROM table WHERE Production code = 3ADK-03
Translate the following into a SQL query
When pinyin is xīnluó qū, what is the simplified value?
SELECT COUNT Simplified FROM table WHERE Pinyin = Xīnluó Qū
Translate the following into a SQL query
What is the pinyin for the English name Wuping County?
SELECT Pinyin FROM table WHERE English Name = Wuping County
Translate the following into a SQL query
What is the area of the English name Shanghang County?
SELECT Area FROM table WHERE English Name = Shanghang County
Translate the following into a SQL query
Which pinyin have a population of 374047?
SELECT Pinyin FROM table WHERE Population = 374047
Translate the following into a SQL query
How many NHL teams are there in the Phoenix, Arizona area?
SELECT COUNT NHL Team(s) FROM table WHERE Metropolitan Area = Phoenix, Arizona
Translate the following into a SQL query
What is the media market ranking for the Blackhawks?
SELECT COUNT Media Market Ranking FROM table WHERE NHL Team(s) = Blackhawks
Translate the following into a SQL query
What is the the name of the NHL team that is in the same market as the NBA team, Nuggets?
SELECT NHL Team(s) FROM table WHERE NBA Team(s) = Nuggets
Translate the following into a SQL query
What is the NHL team in the media market ranking number 7?
SELECT NHL Team(s) FROM table WHERE Media Market Ranking = 7
Translate the following into a SQL query
How many netflow version are there when the vendor and type is enterasys switches?
SELECT COUNT NetFlow Version FROM table WHERE Vendor and type = Enterasys Switches
Translate the following into a SQL query
What are the comments when the vendor and type is alcatel-lucent routers?
SELECT Comments FROM table WHERE Vendor and type = Alcatel-Lucent routers
Translate the following into a SQL query
What are the comments when vendor and type is enterasys switches?
SELECT Comments FROM table WHERE Vendor and type = Enterasys Switches
Translate the following into a SQL query
What is the netflow version when vendor and type is pc and servers?
SELECT NetFlow Version FROM table WHERE Vendor and type = PC and Servers
Translate the following into a SQL query
What are the comments when the implementation is software running on central processor module?
SELECT Comments FROM table WHERE Implementation = Software running on Central Processor Module
Translate the following into a SQL query
What is the implementation when the netflow version is v5, v8, v9, ipfix?
SELECT Implementation FROM table WHERE NetFlow Version = v5, v8, v9, IPFIX
Translate the following into a SQL query
Name the minimum for prohibition?
SELECT MIN For Prohibition FROM table
Translate the following into a SQL query
What is the number of jurisdiction for 57.3 percent?
SELECT COUNT Jurisdiction FROM table WHERE Percent For = 57.3
Translate the following into a SQL query
Name the max for prohibition.
SELECT MAX For Prohibition FROM table
Translate the following into a SQL query
What is the percent for when against prohibition is 2978?
SELECT Percent For FROM table WHERE Against Prohibition = 2978
Translate the following into a SQL query
What is the percent for in manitoba?
SELECT Percent For FROM table WHERE Jurisdiction = Manitoba
Translate the following into a SQL query
How many trains leave from puri?
SELECT COUNT Train Name FROM table WHERE Origin = Puri
Translate the following into a SQL query
What train number is heading to amritsar?
SELECT Train No. FROM table WHERE Destination = Amritsar
Translate the following into a SQL query
How often does a train leave sealdah?
SELECT Frequency FROM table WHERE Origin = Sealdah
Translate the following into a SQL query
Where does the bg express train end?
SELECT Destination FROM table WHERE Train Name = BG Express
Translate the following into a SQL query
What's the name of train number 15647/48?
SELECT Train Name FROM table WHERE Train No. = 15647/48
Translate the following into a SQL query
What is the number of nationality in 1992?
SELECT COUNT Nationality FROM table WHERE Year(s) = 1992
Translate the following into a SQL query
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
SELECT Academic & University Affairs FROM table WHERE Human Resources & Operations = N. Charles Hamilton
Translate the following into a SQL query
What year was communications and corporate affairs held by Jeff Rotman?
SELECT Year FROM table WHERE Communications and Corporate Affairs = Jeff Rotman
Translate the following into a SQL query
What was the built data for Knocklayd rebuild?
SELECT Built FROM table WHERE Name as rebuilt = Knocklayd
Translate the following into a SQL query
How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954?
SELECT COUNT Number FROM table WHERE Rebuilt = Cannot handle non-empty timestamp argument! 1929 AND Scrapped/Sold = Cannot handle non-empty timestamp argument! 1954
Translate the following into a SQL query
What is the built data on the scrapped information that is cannot handle non-empty timestamp argument! 1947?
SELECT Built FROM table WHERE Scrapped/Sold = Cannot handle non-empty timestamp argument! 1947
Translate the following into a SQL query
How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
SELECT COUNT Number FROM table WHERE Rebuilt = Cannot handle non-empty timestamp argument! 1934
Translate the following into a SQL query
What is the built data for number 34?
SELECT Built FROM table WHERE Number = 34
Translate the following into a SQL query
What is the highest number listed?
SELECT MAX Number FROM table
Translate the following into a SQL query
Who won the womens singles when Marc Zwiebler won the men's singles?
SELECT Womens singles FROM table WHERE Mens singles = Marc Zwiebler
Translate the following into a SQL query
The 1.6 Duratec model/engine has how many torque formulas?
SELECT COUNT Torque (Nm)/rpm FROM table WHERE Model/Engine = 1.6 Duratec
Translate the following into a SQL query
For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power?
SELECT Power/rpm FROM table WHERE Torque (Nm)/rpm = N·m (lb·ft)/*N·m (lb·ft) @1750
Translate the following into a SQL query
For the model/engine of 1.8 Duratec HE, what is the torque?
SELECT Torque (Nm)/rpm FROM table WHERE Model/Engine = 1.8 Duratec HE
Translate the following into a SQL query
How many capacities are possible for the 1.6 Duratec model/engine?
SELECT COUNT Capacity FROM table WHERE Model/Engine = 1.6 Duratec
Translate the following into a SQL query
What is the torque formula for the model/engine which has 1,753 cc capacity?
SELECT Torque (Nm)/rpm FROM table WHERE Capacity = 1,753 cc
Translate the following into a SQL query
What is the torque formula for the 1.6 Duratec ti-vct model/engine?
SELECT Torque (Nm)/rpm FROM table WHERE Model/Engine = 1.6 Duratec Ti-VCT
Translate the following into a SQL query
what's the date of birth with end of term being 2april1969
SELECT Date of birth FROM table WHERE End of term = 2April1969
Translate the following into a SQL query
who is the the president with date of inauguration being 4june1979
SELECT President FROM table WHERE Date of inauguration = 4June1979
Translate the following into a SQL query
how many president with date of inauguration being 4june1979
SELECT COUNT President FROM table WHERE Date of inauguration = 4June1979
Translate the following into a SQL query
what's the date of birth with end of term being 5july1978
SELECT Date of birth FROM table WHERE End of term = 5July1978