Instruction: text to sql

Input: When 11 is the episode what is the air date?

Output: SELECT First Air Date FROM table WHERE Episode = 11


Instruction: text to sql

Input: When there are  10.02 million viewers what is the rating (18-49)?

Output: SELECT Rating (18–49) FROM table WHERE Viewers (millions) = 10.02


Instruction: text to sql

Input: When there are 9.28 million viewers what is the share (18-49)?

Output: SELECT Share (18–49) FROM table WHERE Viewers (millions) = 9.28


Instruction: text to sql

Input: When 4 is the episode what is the air date?

Output: SELECT First Air Date FROM table WHERE Episode = 4


Instruction: text to sql

Input: How many different results were there for the scores 6–7 (2–7) , 6–2, 7–6 (7–3)?

Output: SELECT COUNT Result FROM table WHERE Score = 6–7 (2–7) , 6–2, 7–6 (7–3)


Instruction: text to sql

Input: Who was the writer for episode 3?

Output: SELECT Writer FROM table WHERE Episode = 3


Instruction: text to sql

Input: What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki

Output: SELECT Original airdate FROM table WHERE Writer = Daisuke Habara AND Director = Akimitsu Sasaki


Instruction: text to sql

Input: What episode did tomoyuki furumaya

Output: SELECT Title FROM table WHERE Director = Tomoyuki Furumaya


Instruction: text to sql

Input: What is the earliest round where collingswood lost by 36 points?

Output: SELECT MIN Round FROM table WHERE Result (includes margin) = Lost by 36 points


Instruction: text to sql

Input: What was the score on saturday, 26 june 7:10pm?

Output: SELECT Score (Collingwoods score is in bold) FROM table WHERE Date = Saturday, 26 June 7:10pm


Instruction: text to sql

Input: What is the round number of the round against melbourne on saturday, 4 april 2:10pm?

Output: SELECT MIN Round FROM table WHERE Opponent = Melbourne AND Date = Saturday, 4 April 2:10pm


Instruction: text to sql

Input: Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?

Output: SELECT Venue FROM table WHERE Opponent = Essendon AND Position on Ladder = 3rd


Instruction: text to sql

Input: Was the round where they were in 6th at home or away?

Output: SELECT Home/Away FROM table WHERE Position on Ladder = 6th


Instruction: text to sql

Input: What was the previous school for the forward with a height of  ft5in (m)?

Output: SELECT Previous School FROM table WHERE Height = ft5in (m) AND Position = Forward


Instruction: text to sql

Input: What is the lowest listed number for a player?

Output: SELECT MIN # FROM table


Instruction: text to sql

Input: Who previously attended south kent school / brentwood hs?

Output: SELECT Name FROM table WHERE Previous School = South Kent School / Brentwood HS


Instruction: text to sql

Input: What is the highest number a guard from brophy college prep wore?

Output: SELECT MAX # FROM table WHERE Position = Guard AND Previous School = Brophy College Prep


Instruction: text to sql

Input: How many directed by entries have UK viewership over 6.16 million?

Output: SELECT COUNT Directed by FROM table WHERE UK viewers (million) = 6.16


Instruction: text to sql

Input: Who directed the episode with a UK viewership of exactly 5.77 million?

Output: SELECT Directed by FROM table WHERE UK viewers (million) = 5.77


Instruction: text to sql

Input: What was the airdate of the episode with a UK viewership of 6.02 million?

Output: SELECT Original air date FROM table WHERE UK viewers (million) = 6.02


Instruction: text to sql

Input: Who directed the episode with UK viewership of 6.09 million?

Output: SELECT Directed by FROM table WHERE UK viewers (million) = 6.09


Instruction: text to sql

Input: Name the general classification for mauricio soler

Output: SELECT General classification FROM table WHERE Winner = Mauricio Soler


Instruction: text to sql

Input: Name the general classification for steven kruijswijk

Output: SELECT General classification FROM table WHERE Winner = Steven Kruijswijk


Instruction: text to sql

Input: Name the points classification for levi leipheimer

Output: SELECT Points classification FROM table WHERE General classification = Levi Leipheimer


Instruction: text to sql

Input: Name the mountains classification for rabobank and damiano cunego

Output: SELECT Mountains Classification FROM table WHERE Team Classification = Rabobank AND General classification = Damiano Cunego


Instruction: text to sql

Input: Name the team classification for thomas de gendt

Output: SELECT Team Classification FROM table WHERE Winner = Thomas De Gendt


Instruction: text to sql

Input: What is listed in built for when the original number is 24d?

Output: SELECT Built for FROM table WHERE Original no. = 24D


Instruction: text to sql

Input: What is the original air date when the title is "be prepared"?

Output: SELECT Original air date FROM table WHERE Title = "Be Prepared"


Instruction: text to sql

Input: What is the season # when ther are 5.3 million U.S viewers?

Output: SELECT MAX Season # FROM table WHERE U.S. viewers (millions) = 5.3


Instruction: text to sql

Input: What dat did "The changeling" originally air?

Output: SELECT Original air date FROM table WHERE Title = "The Changeling"


Instruction: text to sql

Input: What date did "the eye of the phoenix" originally air?

Output: SELECT Original air date FROM table WHERE Title = "The Eye of the Phoenix"


Instruction: text to sql

Input: What episode number of the series is "the coming of arthur (part 1)"?

Output: SELECT No. for series FROM table WHERE Title = "The Coming of Arthur (Part 1)"


Instruction: text to sql

Input: What are the titles of episodes written by Eric Trueheart?

Output: SELECT Title FROM table WHERE Written by = Eric Trueheart


Instruction: text to sql

Input: What is the highest numbered episode where the title is "The Ruff Ruff Bunch"?

Output: SELECT MAX Series # FROM table WHERE Title = "The Ruff Ruff Bunch"


Instruction: text to sql

Input: Who were the writers of episode/s first aired in the US on June 9, 2012?

Output: SELECT Written by FROM table WHERE United States Original Airdate = June 9, 2012


Instruction: text to sql

Input: When was the episode titled "The Fraud Princess" first aired in the United States?

Output: SELECT United States Original Airdate FROM table WHERE Title = "The Fraud Princess"


Instruction: text to sql

Input: Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?

Output: SELECT Written by FROM table WHERE Directed by = Greg Sullivan AND United States Original Airdate = July 21, 2012


Instruction: text to sql

Input: Which episode/s were written by Evan Gore?

Output: SELECT Series # FROM table WHERE Written by = Evan Gore


Instruction: text to sql

Input: How many home teams are there when the away team score was 4.2 (26) and away team was footscray?

Output: SELECT COUNT Home team score FROM table WHERE Away team score = 4.2 (26) AND Away team = Footscray


Instruction: text to sql

Input: Which team was the away team when home team was essendon?

Output: SELECT Away team FROM table WHERE Home team = Essendon


Instruction: text to sql

Input: How many scores were there for the home team when the  away team was fitzroy?

Output: SELECT COUNT Home team score FROM table WHERE Away team = Fitzroy


Instruction: text to sql

Input: Which team was the away team when the home team was north melbourne?

Output: SELECT Away team FROM table WHERE Home team = North Melbourne


Instruction: text to sql

Input: What is the date of the game when the home team is melbourne?

Output: SELECT Date FROM table WHERE Home team = Melbourne


Instruction: text to sql

Input: What is the date when the  home team score is 2.4 (16)?

Output: SELECT Date FROM table WHERE Home team score = 2.4 (16)


Instruction: text to sql

Input: Name the singer for 1.45m

Output: SELECT Singer(s) FROM table WHERE Ratings = 1.45m


Instruction: text to sql

Input: Name the singer for joe wilkinson

Output: SELECT Singer(s) FROM table WHERE Comedian = Joe Wilkinson


Instruction: text to sql

Input: Name the singer for bruce forsyth

Output: SELECT Singer(s) FROM table WHERE Guest(s) = Bruce Forsyth


Instruction: text to sql

Input: Name the number of ratings for bruce forsyth

Output: SELECT COUNT Ratings FROM table WHERE Guest(s) = Bruce Forsyth


Instruction: text to sql

Input: Name the guest for 1.64m ratings

Output: SELECT Guest(s) FROM table WHERE Ratings = 1.64m


Instruction: text to sql

Input: What was the constructor in the Belgian Grand Prix round?

Output: SELECT Constructor FROM table WHERE Grand Prix = Belgian Grand Prix


Instruction: text to sql

Input: Who had the fastest lap in round 15?

Output: SELECT Fastest Lap FROM table WHERE Rd. = 15


Instruction: text to sql

Input: When was the home team Essendon?

Output: SELECT Date FROM table WHERE Home team = Essendon


Instruction: text to sql

Input: When Richmond played as the away team, what was the ground?

Output: SELECT Ground FROM table WHERE Away team = Richmond


Instruction: text to sql

Input: When did Fitzroy play as the home team?

Output: SELECT Date FROM table WHERE Home team = Fitzroy


Instruction: text to sql

Input: what was the result on 01x06

Output: SELECT Scores FROM table WHERE Episode = 01x06


Instruction: text to sql

Input: what was the size when tom daley appeared

Output: SELECT Episode FROM table WHERE Jamie and Johns guest = Tom Daley


Instruction: text to sql

Input: Who was Andrew and Georgie's gues when Jamie and John's guest was Phil Taylor?

Output: SELECT Andrew and Georgies guest FROM table WHERE Jamie and Johns guest Dermot OLeary replaced Jamie Redknapp as team captain for one week in series 3, episode 8. = Phil Taylor


Instruction: text to sql

Input: Which episode had Jamie and John's guest as Mike Tindall?

Output: SELECT Episode FROM table WHERE Jamie and Johns guest Dermot OLeary replaced Jamie Redknapp as team captain for one week in series 3, episode 8. = Mike Tindall


Instruction: text to sql

Input: How many scores had an episode of 03x06?

Output: SELECT COUNT Scores FROM table WHERE Episode = 03x06


Instruction: text to sql

Input: Who was Andrew and Georgie's guest when Jamie and John's guest was Amy Williams?

Output: SELECT Andrew and Georgies guest FROM table WHERE Jamie and Johns guest Dermot OLeary replaced Jamie Redknapp as team captain for one week in series 3, episode 8. = Amy Williams


Instruction: text to sql

Input: What was the score for the episode when Jamie and John's guest was Boris Becker?

Output: SELECT Scores FROM table WHERE Jamie and Johns guest Dermot OLeary replaced Jamie Redknapp as team captain for one week in series 3, episode 8. = Boris Becker


Instruction: text to sql

Input: When id the episode broadcast with Mark Webber as Jamie and John's guest?

Output: SELECT First broadcast FROM table WHERE Jamie and Johns guest = Mark Webber


Instruction: text to sql

Input: What date did the episode with Andy Murray as Jamie and John's guest first broadcast?

Output: SELECT First broadcast FROM table WHERE Jamie and Johns guest = Andy Murray


Instruction: text to sql

Input: How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04?

Output: SELECT COUNT Andrew and Georgies guest Lee Mack replaced Andrew Flintoff as team captain for one week in series 4, episode 2. FROM table WHERE Episode = 04x04


Instruction: text to sql

Input: who guest starred on the episode with a 1.44m rating

Output: SELECT Guest(s) FROM table WHERE Ratings = 1.44m


Instruction: text to sql

Input: when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted

Output: SELECT Broadcast date FROM table WHERE Guest(s) = Barbara Windsor and Heston Blumenthal


Instruction: text to sql

Input: how many broadcaste dates features the overtones

Output: SELECT COUNT Broadcast date FROM table WHERE Singer(s) = The Overtones


Instruction: text to sql

Input: how many guest stars did the episode that was broadcasted 11september2012 have

Output: SELECT COUNT Guest(s) FROM table WHERE Broadcast date = 11September2012


Instruction: text to sql

Input: when was the episode guest starring michael mcintyre and alex james broadcasted

Output: SELECT Broadcast date FROM table WHERE Guest(s) = Michael McIntyre and Alex James


Instruction: text to sql

Input: which episode did sarah millican and grayson perry appear in

Output: SELECT MIN Episode FROM table WHERE Guest(s) = Sarah Millican and Grayson Perry


Instruction: text to sql

Input: When were episodes first broadcast with jessica ennis as andrew and jacks guest?

Output: SELECT First broadcast FROM table WHERE Andrew and Jacks guest = Jessica Ennis


Instruction: text to sql

Input: Who directed the episode that is written by Eli Attie and production code is 2t5018?

Output: SELECT Directed by FROM table WHERE Written by = Eli Attie AND Production code = 2T5018


Instruction: text to sql

Input: How many episodes are 122 in the series?

Output: SELECT COUNT No. in season FROM table WHERE No. in series = 122


Instruction: text to sql

Input: What was the score for the episode with Matt Smith as Andrew and Jack's guest?

Output: SELECT Scores FROM table WHERE Andrew and Jacks guest = Matt Smith


Instruction: text to sql

Input: When was the episode with Amy Williams as Andrew and Jack's guest broadcast?

Output: SELECT First broadcast FROM table WHERE Andrew and Jacks guest = Amy Williams


Instruction: text to sql

Input: What is the last episode in the season that had 3.91 million viewers in the US?

Output: SELECT MIN Season no. FROM table WHERE U.S. viewers (millions) = 3.91


Instruction: text to sql

Input: What are the episode numbers in season that were titled "The Consoler"?

Output: SELECT Season no. FROM table WHERE Title = "The Consoler"


Instruction: text to sql

Input: How many episodes were written by Warren Leight?

Output: SELECT COUNT Season no. FROM table WHERE Written by = Warren Leight


Instruction: text to sql

Input: How many million viewers in the US did the episode titled "Cadaver" have?

Output: SELECT U.S. viewers (millions) FROM table WHERE Title = "Cadaver"


Instruction: text to sql

Input: What is the number in season of the episode titled "Cadaver"?

Output: SELECT Season no. FROM table WHERE Title = "Cadaver"


Instruction: text to sql

Input: Who was the regular season winner of the 1999 Big Sky Men's Basketball Tournament was the conference tournament?

Output: SELECT Regular Season Winner FROM table WHERE Conference Tournament = 1999 Big Sky Men's Basketball Tournament


Instruction: text to sql

Input: How many championships were there where the score was  4–6, 7–6 (7–5) , [5–10]?

Output: SELECT COUNT Championship FROM table WHERE Score = 4–6, 7–6 (7–5) , [5–10]


Instruction: text to sql

Input: On what surface was it the year when the score was 6–1, 4–6, [12–10]?

Output: SELECT Surface FROM table WHERE Score = 6–1, 4–6, [12–10]


Instruction: text to sql

Input: How many times has the score been 6–4, 3–6, [11–13]?

Output: SELECT COUNT Opponent FROM table WHERE Score = 6–4, 3–6, [11–13]


Instruction: text to sql

Input: Who are the outgoing head coaches whose manner of departure is Gardening Leave 1?

Output: SELECT Outgoing Head Coach FROM table WHERE Manner of departure = Gardening leave 1


Instruction: text to sql

Input: Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job?

Output: SELECT Incoming Head Coach FROM table WHERE Outgoing Head Coach = Wan Jamak Wan Hassan


Instruction: text to sql

Input: Who had the fastest lap in round 1?

Output: SELECT Fastest Lap FROM table WHERE Round = 1


Instruction: text to sql

Input: Who had the pole position when matt davies had the fastest lap?

Output: SELECT Pole Position FROM table WHERE Fastest Lap = Matt Davies


Instruction: text to sql

Input: Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?

Output: SELECT Pole Position FROM table WHERE Winning Rider = Rob Guiver AND Fastest Lap = Kyle Ryde


Instruction: text to sql

Input: What is the earliest year in which the result is championship US Open (2)?

Output: SELECT MIN Year FROM table WHERE Championship = US Open (2)


Instruction: text to sql

Input: Who was Bob Bryan's partner in the Championship where the result is US Open (2)?

Output: SELECT Partner FROM table WHERE Championship = US Open (2)


Instruction: text to sql

Input: What are the results of those matches where the championship is French Open?

Output: SELECT Score FROM table WHERE Championship = French Open


Instruction: text to sql

Input: on how many days did the episode written by harold hayes jr. & craig s. phillips originally air

Output: SELECT COUNT Original Air date FROM table WHERE Written by = Harold Hayes Jr. & Craig S. Phillips


Instruction: text to sql

Input: who directed "grampires"(part 1)

Output: SELECT Directed by FROM table WHERE Title = "Grampires"(Part 1)


Instruction: text to sql

Input: how many episodes originally aired january19,2013

Output: SELECT COUNT No. in series FROM table WHERE Original Air date = January19,2013


Instruction: text to sql

Input: which episode of the season aired on october20,2012

Output: SELECT MAX No. in season FROM table WHERE Original Air date = October20,2012


Instruction: text to sql

Input: Which team was the opponent in game 5?

Output: SELECT Team FROM table WHERE Game = 5


Instruction: text to sql

Input: When did the official rating 4+ reach 4 633 925?

Output: SELECT Date FROM table WHERE Official rating 4+ = 4 633 925


Instruction: text to sql

Input: Lis the series for game 5.

Output: SELECT Series FROM table WHERE Game = 5


Instruction: text to sql

Input: What was the final in the game that boris diaw (34) scored the most points?

Output: SELECT Score FROM table WHERE High points = Boris Diaw (34)


Instruction: text to sql

Input: What is the figure for December 28 for ang tanging ina mo (last na 'to!)?

Output: SELECT December 28 FROM table WHERE Movies = Ang Tanging Ina Mo (Last na 'To!)


Instruction: text to sql

Input: What is the figure for December 27 for ang tanging ina mo (last na 'to!)?

Output: SELECT December 27 FROM table WHERE Movies = Ang Tanging Ina Mo (Last na 'To!)


Instruction: text to sql

Input: How many figures are provided for December 28 for Rosario?

Output: SELECT COUNT December 28 FROM table WHERE Movies = Rosario


Instruction: text to sql

Input: What is the figure for December 25 for the film that totalled p15.3 million for December 25-28 total?

Output: SELECT December 25 FROM table WHERE December 25-28 total = P15.3 million


Instruction: text to sql

Input: What film earmed p3.2 million on December 25?

Output: SELECT Movies FROM table WHERE December 25 = P3.2 million


Instruction: text to sql

Input: What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?

Output: SELECT Fri 3 June FROM table WHERE Thurs 2 June = 20' 50.45 108.623mph


Instruction: text to sql

Input: What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2?

Output: SELECT Wed 1 June FROM table WHERE Thurs 2 June = 21' 05.87 107.300mph


Instruction: text to sql

Input: How many people wrote episode 9 in the season that was directed by Ernest Dickerson?

Output: SELECT COUNT Written by FROM table WHERE Directed by = Ernest Dickerson AND No. in season = 9


Instruction: text to sql

Input: Who wrote the episode that was directed by Milan Cheylov?

Output: SELECT Written by FROM table WHERE Directed by = Milan Cheylov


Instruction: text to sql

Input: How many episodes in the season had the title, "first blood"?

Output: SELECT COUNT No. in season FROM table WHERE Title = "First Blood"


Instruction: text to sql

Input: Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?

Output: SELECT EP Winning Team FROM table WHERE CP Winning Team = Dave Clark AND GM Winning Team = Stuart Northrup


Instruction: text to sql

Input: Who was the CM winning team when the FM winning team was #17 Elva - Ford?

Output: SELECT CM Winning Team FROM table WHERE FM Winning Team = #17 Elva - Ford


Instruction: text to sql

Input: Who the GM winning team when the EP winning team was #37 Porsche?

Output: SELECT GM Winning Team FROM table WHERE EP Winning Team = #37 Porsche


Instruction: text to sql

Input: Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?

Output: SELECT EP Winning Team FROM table WHERE FM Winning Team = Brabham - Ford AND HM Winning Team = Osca


Instruction: text to sql

Input: Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?

Output: SELECT HP Winning Team FROM table WHERE EP Winning Team = Hans Zereis AND GM Winning Team = Charles Gibson


Instruction: text to sql

Input: what was the name of the team opponent to elfsborg

Output: SELECT Team FROM table WHERE Opponent = Elfsborg


Instruction: text to sql

Input: what is the score in the 1st leg where the contest and round was in europa league play off round

Output: SELECT COUNT 1st leg score* FROM table WHERE Contest and round = Europa League Play Off Round


Instruction: text to sql

Input: what is the name of the team which aggregate score is l 1–2

Output: SELECT Team FROM table WHERE Aggregate score = L 1–2


Instruction: text to sql

Input: what is the aggregate score for the europa league play off round contest and round

Output: SELECT Aggregate score FROM table WHERE Contest and round = Europa League Play Off Round


Instruction: text to sql

Input: How many dollars is listed under Sydney when the distance is 10km?

Output: SELECT Sydney FROM table WHERE Distance = 10km


Instruction: text to sql

Input: How many distance places have brisbane at $3.80?

Output: SELECT COUNT Distance FROM table WHERE Brisbane = $3.80


Instruction: text to sql

Input: How many listings under Melbourne has a distance at 15km?

Output: SELECT COUNT Melbourne FROM table WHERE Distance = 15km


Instruction: text to sql

Input: What is the distance when brisbane is $4.80?

Output: SELECT Distance FROM table WHERE Brisbane = $4.80


Instruction: text to sql

Input: What is the distance when brisbane is $5.20?

Output: SELECT Distance FROM table WHERE Brisbane = $5.20


Instruction: text to sql

Input: How many scores did Helen Sildna give when Iiris Vesik gave a 3?

Output: SELECT COUNT Helen Sildna FROM table WHERE Iiris Vesik = 3


Instruction: text to sql

Input: What is the maximum points received when Peeter Vähl gave a 9?

Output: SELECT MIN Points FROM table WHERE Peeter Vähi = 9


Instruction: text to sql

Input: Who is the manager for the fc inter club?

Output: SELECT Manager FROM table WHERE Club = FC Inter


Instruction: text to sql

Input: Which club is at the location of kuopio?

Output: SELECT Club FROM table WHERE Location = Kuopio


Instruction: text to sql

Input: How many stadiums have haka as the club?

Output: SELECT COUNT Stadium FROM table WHERE Club = Haka


Instruction: text to sql

Input: Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?

Output: SELECT Artist 2 FROM table WHERE Artist 1 = Sparfunk & D-Code


Instruction: text to sql

Input: Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee?

Output: SELECT Mix artist FROM table WHERE Setlist = Closing Party AND Artist 1 = Dillinja and Skibadee


Instruction: text to sql

Input: Who is the artist 1 on the setlist where the song 1 title is "Bounce (Remix)"?

Output: SELECT Artist 1 FROM table WHERE Song 1 title = "Bounce (Remix)"


Instruction: text to sql

Input: On how many different dates was the episode written by Charlie Day aired for the first time?

Output: SELECT COUNT Original air date FROM table WHERE Written by = Charlie Day


Instruction: text to sql

Input: Who are the writers of the episode with production code IP02009?

Output: SELECT Written by FROM table WHERE Production code = IP02009


Instruction: text to sql

Input: Who are the writers of the episode titled "Mac Bangs Dennis' Mom"?

Output: SELECT Written by FROM table WHERE Title = "Mac Bangs Dennis' Mom"


Instruction: text to sql

Input: How many different titles does the episode with production code IP02003 have?

Output: SELECT COUNT Title FROM table WHERE Production code = IP02003


Instruction: text to sql

Input: Who wrote the episode with a production code of ip03007?

Output: SELECT Written by FROM table WHERE Production code = IP03007


Instruction: text to sql

Input: What is the name of episode number 29 in the series?

Output: SELECT Title FROM table WHERE No. in series = 29


Instruction: text to sql

Input: Who wrote the episode with ip03012 as the production code?

Output: SELECT Written by FROM table WHERE Production code = IP03012


Instruction: text to sql

Input: Who directed the episode with production code ip03010?

Output: SELECT Directed by FROM table WHERE Production code = IP03010


Instruction: text to sql

Input: What is the least amount in each season?

Output: SELECT MIN No. in season FROM table


Instruction: text to sql

Input: What is the least number in a season?

Output: SELECT MIN No. in season FROM table


Instruction: text to sql

Input: Who directed an episode with 1.19 million?

Output: SELECT Directed by FROM table WHERE U.S. viewers (million) = 1.19


Instruction: text to sql

Input: At what location was the March 17 race held?

Output: SELECT Location FROM table WHERE Date = March 17


Instruction: text to sql

Input: What location did Zach Veach have the fastest lap?

Output: SELECT Location FROM table WHERE Fastest lap = Zach Veach


Instruction: text to sql

Input: Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?

Output: SELECT Location FROM table WHERE Fastest lap = Luke Ellery AND Winning driver = Wayne Boyd


Instruction: text to sql

Input: When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared?

Output: SELECT Area (km²) FROM table WHERE Income Classification = 1st Class AND Population (2010) = 318676


Instruction: text to sql

Input: When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?

Output: SELECT COUNT Population (2010) FROM table WHERE Income Classification = 1st Class AND City/Municipality = Itogon, Benguet


Instruction: text to sql

Input: When 82.74 is the area in kilometers squared what is the pop.density (per km2)?

Output: SELECT Pop. density (per km²) FROM table WHERE Area (km²) = 82.74


Instruction: text to sql

Input: When 106 is the area in kilometers squared what is the city/municipality?

Output: SELECT City/Municipality FROM table WHERE Area (km²) = 106


Instruction: text to sql

Input: How many episodes have the production code ip04004?

Output: SELECT COUNT Title FROM table WHERE Production code = IP04004


Instruction: text to sql

Input: What season number is the episode "The Gang Cracks The Liberty Bell"?

Output: SELECT MIN No. in season FROM table WHERE Title = "The Gang Cracks the Liberty Bell"


Instruction: text to sql

Input: How many people wrote "Paddy's Pub: The Worst Bar in Philadelphia"?

Output: SELECT COUNT Written by FROM table WHERE Title = "Paddy's Pub: The Worst Bar in Philadelphia"


Instruction: text to sql

Input: Who wrote episode number 11?

Output: SELECT Written by FROM table WHERE No. in season = 11


Instruction: text to sql

Input: Who wrote the episode "The Gang Gets Extreme: Home Makeover Edition"?

Output: SELECT Written by FROM table WHERE Title = "The Gang Gets Extreme: Home Makeover Edition"


Instruction: text to sql

Input: Who was the challenger when guillaume brahimi was the iron chef?

Output: SELECT Challenger FROM table WHERE Iron Chef = Guillaume Brahimi


Instruction: text to sql

Input: Who was the iron chef when herb Faust was the challenger?

Output: SELECT Iron Chef FROM table WHERE Challenger = Herb Faust


Instruction: text to sql

Input: What date did the episode air when guy grossi won?

Output: SELECT Airdate FROM table WHERE Winner = Guy Grossi


Instruction: text to sql

Input: In the 2010 revival, who played the character that was played by Morgan Albrecht in the New Zealand 2012 production?

Output: SELECT Revival Cast, 2010 FROM table WHERE New Zealand Cast, 2012 = Morgan Albrecht


Instruction: text to sql

Input: In the 2012 production in Wales, who played the character that Owen Little played in Australia?

Output: SELECT Wales Cast, 2012 FROM table WHERE Australian Cast, 2012 = Owen Little


Instruction: text to sql

Input: Who played Lily Cahill in the Australian 2012 production?

Output: SELECT Australian Cast, 2012 FROM table WHERE Character = Lily Cahill


Instruction: text to sql

Input: In the 2012 Wales production, who played the character that Clementine Mills played in Australia?

Output: SELECT Wales Cast, 2012 FROM table WHERE Australian Cast, 2012 = Clementine Mills


Instruction: text to sql

Input: In the original cast, who played the character portrayed by Edward Franklin in the revival?

Output: SELECT Original Cast, 2009 FROM table WHERE Revival Cast, 2010 = Edward Franklin


Instruction: text to sql

Input: In the original cast, who played the character portrayed by Christopher Harris in Wales?

Output: SELECT Original Cast, 2009 FROM table WHERE Wales Cast, 2012 = Christopher Harris


Instruction: text to sql

Input: which tournament was the champion nick saviano florin segărceanu 6–3, 6–4?

Output: SELECT Tournament FROM table WHERE Champion = Nick Saviano Florin Segărceanu 6–3, 6–4


Instruction: text to sql

Input: Which tournament was runner-up  paul annacone eric korita?

Output: SELECT Tournament FROM table WHERE Runner-up = Paul Annacone Eric Korita


Instruction: text to sql

Input: Who were the semifinalists when sammy giammalva was  runner-up?

Output: SELECT Semifinalists FROM table WHERE Runner-up = Sammy Giammalva


Instruction: text to sql

Input: which tournament was the champion pat cash 4–6, 6–4, 6–3?

Output: SELECT Tournament FROM table WHERE Champion = Pat Cash 4–6, 6–4, 6–3


Instruction: text to sql

Input: Which tournament was on the week of  24 october and champion is matt doyle 1–6, 6–1, 6–2?

Output: SELECT Tournament FROM table WHERE Week of = 24 October AND Champion = Matt Doyle 1–6, 6–1, 6–2


Instruction: text to sql

Input: How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2?

Output: SELECT COUNT Runner-up FROM table WHERE Tournament = Cologne , Germany Carpet – $75,000 – S32/D16 AND Champion = Matt Doyle 1–6, 6–1, 6–2


Instruction: text to sql

Input: which train number departs pune at 13:00

Output: SELECT Train Number FROM table WHERE Departure Pune = 13:00


Instruction: text to sql

Input: which train number arrives in lonavla at 17:45

Output: SELECT Train Number FROM table WHERE Arrival Lonavla = 17:45


Instruction: text to sql

Input: which train name arrives in lonavla at 17:45

Output: SELECT Train Name FROM table WHERE Arrival Lonavla = 17:45


Instruction: text to sql

Input: how many trains run daily to lonavla and arrive at 12:25

Output: SELECT COUNT Train Number FROM table WHERE Frequency = Daily AND Arrival Lonavla = 12:25


Instruction: text to sql

Input: how many trains have the number 99808

Output: SELECT COUNT Train Name FROM table WHERE Train Number = 99808


Instruction: text to sql

Input: what time does the train that arrives in lonavla at 22:22 depart pune

Output: SELECT Departure Pune FROM table WHERE Arrival Lonavla = 22:22


Instruction: text to sql

Input: Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up?

Output: SELECT Champion FROM table WHERE Runner-up = Marty Davis


Instruction: text to sql

Input: Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2?

Output: SELECT Quarterfinalists FROM table WHERE Champion = Terry Moor 3-6, 7-6, 6-2


Instruction: text to sql

Input: Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up?

Output: SELECT Champion FROM table WHERE Runner-up = Scott Davis Chris Dunk


Instruction: text to sql

Input: Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?

Output: SELECT Semifinalists FROM table WHERE Champion = Mats Wilander 7-6, 6-3


Instruction: text to sql

Input: How many years saw 3 hurricanes wherein the strongest storm was level three?

Output: SELECT COUNT Year FROM table WHERE Number of hurricanes = 3 AND Strongest storm = Three


Instruction: text to sql

Input: What is the largest overall number of major hurricanes?

Output: SELECT MAX Number of major hurricanes FROM table


Instruction: text to sql

Input: When the death is none what is the number of major hurricanes?

Output: SELECT COUNT Number of major hurricanes FROM table WHERE Deaths = None


Instruction: text to sql

Input: What is the lowest overall number of hurricanes?

Output: SELECT MIN Number of hurricanes FROM table


Instruction: text to sql

Input: What country offered a prize of 66400 US dollars?

Output: SELECT Country FROM table WHERE Prize Money (USD) = 66400


Instruction: text to sql

Input: What country does the player named Mark Cox play for?

Output: SELECT Country FROM table WHERE Name = Mark Cox


Instruction: text to sql

Input: How many deaths did the eyar with exactly 6 hurricanes have?

Output: SELECT COUNT Deaths FROM table WHERE Number of hurricanes = 6


Instruction: text to sql

Input: What is the maximum number of tropical storms in the year that had exactly 34 deaths?

Output: SELECT MAX Number of tropical storms FROM table WHERE Deaths = 34


Instruction: text to sql

Input: How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have?

Output: SELECT Deaths FROM table WHERE Number of hurricanes = 10 AND Number of major hurricanes = 1


Instruction: text to sql

Input: Name the number of episodes that jim barnes wrote for 1.82 million viewers

Output: SELECT COUNT No. FROM table WHERE Written by = Jim Barnes AND U.S. viewers (million) = 1.82


Instruction: text to sql

Input: Name the least number for production code 3x6266

Output: SELECT MIN No. FROM table WHERE Production code = 3X6266


Instruction: text to sql

Input: How many characters does Maurice Dean Wint play in the movie Cube?

Output: SELECT COUNT Status FROM table WHERE Played by = Maurice Dean Wint


Instruction: text to sql

Input: What is Joan Leaven's occupation?

Output: SELECT Occupation FROM table WHERE Name = Joan Leaven


Instruction: text to sql

Input: What gender is Quentin?

Output: SELECT Gender FROM table WHERE Name = Quentin


Instruction: text to sql

Input: Who played the mathematics student?

Output: SELECT Played by FROM table WHERE Occupation = Mathematics Student


Instruction: text to sql

Input: How many prisons is Joan Leaven connected with?

Output: SELECT COUNT Prison connection FROM table WHERE Name = Joan Leaven


Instruction: text to sql

Input: What is aggressive rider Richie Porte's team classifaction?

Output: SELECT Team Classification FROM table WHERE Aggressive Rider = Richie Porte


Instruction: text to sql

Input: Thomas de Gendt performed on what stage as aggressive rider?

Output: SELECT MAX Stage FROM table WHERE Aggressive Rider = Thomas De Gendt


Instruction: text to sql

Input: Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?

Output: SELECT Young Rider Classification FROM table WHERE Aggressive Rider = Luke Durbridge


Instruction: text to sql

Input: Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?

Output: SELECT General Classification FROM table WHERE Winner = Ben Swift AND Young Rider Classification = Cameron Meyer


Instruction: text to sql

Input: Who is the sprint classification where Francisco Ventoso wins?

Output: SELECT Sprint Classification FROM table WHERE Winner = Francisco Ventoso


Instruction: text to sql

Input: In the week of what was the runner-up Pat Du Pré?

Output: SELECT Week of FROM table WHERE Runner-up = Pat Du Pré


Instruction: text to sql

Input: Who were the semifinalists when the runner-up was Peter Feigl?

Output: SELECT Semifinalists FROM table WHERE Runner-up = Peter Feigl


Instruction: text to sql

Input: Who were the semifinalists when the runner-up was Pat Du Pré?

Output: SELECT Semifinalists FROM table WHERE Runner-up = Pat Du Pré


Instruction: text to sql

Input: Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pré?

Output: SELECT Semifinalists FROM table WHERE Week of = 13 November AND Runner-up = Pat Du Pré


Instruction: text to sql

Input: What are the quarterfinalists when the runner up is andrew pattison?

Output: SELECT Quarterfinalists FROM table WHERE Runner-up = Andrew Pattison


Instruction: text to sql

Input: When indonesia is the country what is the rank of  2010?

Output: SELECT Rank 2010 FROM table WHERE Country = Indonesia


Instruction: text to sql

Input: When 5 is the rank of 2011 what is the country?

Output: SELECT Country FROM table WHERE Rank 2011 = 5


Instruction: text to sql

Input: When sweden is the country what is the highest production in 2010 (1,000 ton)?

Output: SELECT MAX Production in 2010 (1,000 ton) FROM table WHERE Country = Sweden


Instruction: text to sql

Input: When 75849 is the production in 2010 (1,000 ton) what is the production in 2011 (1,000 ton)?

Output: SELECT Production in 2011 (1,000 ton) FROM table WHERE Production in 2010 (1,000 ton) = 75849


Instruction: text to sql

Input: Valmir Benavides won pole position at which circuit?

Output: SELECT Circuit FROM table WHERE Pole Position = Valmir Benavides


Instruction: text to sql

Input: Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?

Output: SELECT Winning driver FROM table WHERE Pole Position = Roberval Andrade AND Fastest Lap = Felipe Giaffone AND Winning team = RVR Corinthians Motorsport


Instruction: text to sql

Input: What is the fewest number of 2005 subscribers for Vodafone?

Output: SELECT MIN Subscribers (2005) (thousands) FROM table WHERE Provider = Vodafone


Instruction: text to sql

Input: What is the maximum number of 2006 subscribers for Glo Mobile?

Output: SELECT MAX Subscribers (2006) (thousands) FROM table WHERE Provider = Glo Mobile


Instruction: text to sql

Input: What is the maximum number of 2006 subscribers for Mobilis?

Output: SELECT MAX Subscribers (2006) (thousands) FROM table WHERE Provider = Mobilis


Instruction: text to sql

Input: How many subscribers, in 2006, does Glo Mobile have?

Output: SELECT Subscribers (2006) (thousands) FROM table WHERE Provider = Glo Mobile


Instruction: text to sql

Input: How many 2006 subscribers are named Vodafone?

Output: SELECT COUNT Subscribers (2006) (thousands) FROM table WHERE Provider = Vodafone


Instruction: text to sql

Input: Name the number of captains for barcelona

Output: SELECT COUNT Captain FROM table WHERE Team = Barcelona


Instruction: text to sql

Input: Name the chairman for iker casillas

Output: SELECT Chairman FROM table WHERE Captain = Iker Casillas


Instruction: text to sql

Input: Name the team for javier clemente

Output: SELECT Team FROM table WHERE Head Coach = Javier Clemente


Instruction: text to sql

Input: What is the season # for the production code 3.89?

Output: SELECT Season # FROM table WHERE Production code = 3.89


Instruction: text to sql

Input: What is the series # for the episode titled "words"?

Output: SELECT MAX Series # FROM table WHERE Title = "Words"


Instruction: text to sql

Input: Who wrote the episode that was directed by Kevin Inch?

Output: SELECT Written by FROM table WHERE Directed by = Kevin Inch


Instruction: text to sql

Input: What is the original air date for the season# 2?

Output: SELECT Original air date FROM table WHERE Season # = 2


Instruction: text to sql

Input: What is the production code for the episode whose original air date was May15,2000?

Output: SELECT Production code FROM table WHERE Original air date = May15,2000


Instruction: text to sql

Input: Who directed the episode titled "who nose"?

Output: SELECT Directed by FROM table WHERE Title = "Who Nose"


Instruction: text to sql

Input: What is the former school of the player from Detroit, MI?

Output: SELECT Former school FROM table WHERE Hometown = Detroit, MI


Instruction: text to sql

Input: What is the hometown of Jarrid Famous?

Output: SELECT Hometown FROM table WHERE Name = Jarrid Famous


Instruction: text to sql

Input: What number is the player whose hometown is Tampa, FL?

Output: SELECT # FROM table WHERE Hometown = Tampa, FL


Instruction: text to sql

Input: What year is the player whose number is 31?

Output: SELECT Year FROM table WHERE # = 31


Instruction: text to sql

Input: What is the height of Anthony Crater?

Output: SELECT Height FROM table WHERE Name = Anthony Crater


Instruction: text to sql

Input: What is the former school of the player from North Port, FL?

Output: SELECT Former school FROM table WHERE Hometown = North Port, FL


Instruction: text to sql

Input: how many countries have remittances in 2008 of 9.07?

Output: SELECT COUNT Country FROM table WHERE Remittances 2008 = 9.07


Instruction: text to sql

Input: how many remittances in 2010 where the remittances is 19.73?

Output: SELECT COUNT Remittances 2010 FROM table WHERE Remittances 2009 = 19.73


Instruction: text to sql

Input: how many remittances in 2010 for nigeria?

Output: SELECT Remittances 2010 FROM table WHERE Country = Nigeria


Instruction: text to sql

Input: how many countiers had 2009 remittances of 6.02?

Output: SELECT COUNT Country FROM table WHERE Remittances 2009 = 6.02


Instruction: text to sql

Input: What is the highest year with field reporter Steve Lyons?

Output: SELECT MAX Year FROM table WHERE s Field reporter = Steve Lyons


Instruction: text to sql

Input: What is every pregame analyst with Chris Rose as trophy presenter?

Output: SELECT Pregame analysts FROM table WHERE Trophy presentation = Chris Rose


Instruction: text to sql

Input: Who is every play-by-play announcer when Chris Rose is the trophy presenter?

Output: SELECT Play-by-play announcer FROM table WHERE Trophy presentation = Chris Rose


Instruction: text to sql

Input: Who directed "I am Dick Pentameter!"?

Output: SELECT Directed by FROM table WHERE Title = "I Am Dick Pentameter!"


Instruction: text to sql

Input: How many episodes are titled "dick's big giant headache (part 1)"?

Output: SELECT COUNT No. in season FROM table WHERE Title = "Dick's Big Giant Headache (Part 1)"


Instruction: text to sql

Input: What is the episode number od "Dick Vs. Strudwick"?

Output: SELECT MAX No. in series FROM table WHERE Title = "Dick vs. Strudwick"


Instruction: text to sql

Input: How many teams came in fourth when Otsuka Pharmaceuticals won?

Output: SELECT COUNT Fourth place FROM table WHERE Winner = Otsuka Pharmaceuticals


Instruction: text to sql

Input: Who was the runner up the season that Sagawa Express came in fourth?

Output: SELECT Runner-up FROM table WHERE Fourth place = Sagawa Express


Instruction: text to sql

Input: How many seasons did Otsuka Pharmaceuticals come in third?

Output: SELECT COUNT Season FROM table WHERE Third place = Otsuka Pharmaceuticals


Instruction: text to sql

Input: How many episodes were written by Gregg Mettler?

Output: SELECT COUNT No. in series FROM table WHERE Written by = Gregg Mettler


Instruction: text to sql

Input: What date did episode 4 in the season originally air?

Output: SELECT Original air date FROM table WHERE No. in season = 4


Instruction: text to sql

Input: What date did "the big giant head returns again (part 1)" originally air?

Output: SELECT Original air date FROM table WHERE Title = "The Big Giant Head Returns Again (Part 1)"


Instruction: text to sql

Input: What is the production code when the title is "you don't know dick"?

Output: SELECT MIN Production code FROM table WHERE Title = "You Don't Know Dick"


Instruction: text to sql

Input: Who are all the major users of the Gordon Close-Support Weapon System?

Output: SELECT Major users FROM table WHERE Name/ designation = Gordon Close-Support Weapon System


Instruction: text to sql

Input: What country made the Flieger-Doppelpistole 1919?

Output: SELECT Country of origin FROM table WHERE Name/ designation = Flieger-Doppelpistole 1919


Instruction: text to sql

Input: How many years of introduction does the Neal Submachine Gun have?

Output: SELECT COUNT Year of intro FROM table WHERE Name/ designation = Neal submachine gun


Instruction: text to sql

Input: Who are the major users from Australia?

Output: SELECT Major users FROM table WHERE Country of origin = Australia


Instruction: text to sql

Input: Who are all the major users of the Saturn Machine Pistol?

Output: SELECT Major users FROM table WHERE Name/ designation = Saturn machine pistol


Instruction: text to sql

Input: in how many of the arkansas colomel the county was pope

Output: SELECT COUNT Colonel FROM table WHERE County = Pope


Instruction: text to sql

Input: what is the name of the coloneo of the 35th regiment

Output: SELECT Colonel FROM table WHERE Regiment = 35th Regiment


Instruction: text to sql

Input: which regiment was in the Fulton County

Output: SELECT Regiment FROM table WHERE County = Fulton


Instruction: text to sql

Input: what is he name of the county where the 2nd division and the 41st regiment was

Output: SELECT County FROM table WHERE Division = 2nd Division AND Regiment = 41st Regiment


Instruction: text to sql

Input: which regimen was in the arkansas county

Output: SELECT Regiment FROM table WHERE County = Arkansas


Instruction: text to sql

Input: When nicole dubuc duane capizzi is the writer who is the director?

Output: SELECT Director FROM table WHERE Writer(s) = Nicole Dubuc Duane Capizzi


Instruction: text to sql

Input: When "speed metal" is the episode title what is the lowest number?

Output: SELECT MIN No. FROM table WHERE Episode title = "Speed Metal"


Instruction: text to sql

Input: When 22 is the number what is the episode title?

Output: SELECT Episode title FROM table WHERE No. = 22


Instruction: text to sql

Input: When the # is 9 what is the U.S original airdate?

Output: SELECT U.S. original airdate FROM table WHERE # = 9


Instruction: text to sql

Input: how many representatives from hanover twp were first elected in 2008

Output: SELECT COUNT Representative FROM table WHERE First Elected = 2008 AND Residence = Hanover Twp


Instruction: text to sql

Input: when was al landis first elected

Output: SELECT First Elected FROM table WHERE Representative = Al Landis


Instruction: text to sql

Input: which representative is from willowick

Output: SELECT Representative FROM table WHERE Residence = Willowick


Instruction: text to sql

Input: which district does andy thompson represent

Output: SELECT COUNT District FROM table WHERE Representative = Andy Thompson


Instruction: text to sql

Input: which party is the newark representative from

Output: SELECT Party FROM table WHERE Residence = Newark


Instruction: text to sql

Input: who is beavercreek's representative

Output: SELECT Representative FROM table WHERE Residence = Beavercreek


Instruction: text to sql

Input: What was Reid's rolex ranking in the year that her money list rank was 3?

Output: SELECT MAX Rolex ranking FROM table WHERE Money list rank = 3


Instruction: text to sql

Input: What was the money list rank for Reid in the year that she had 0 top 10s?

Output: SELECT Money list rank FROM table WHERE Top 10s = 0


Instruction: text to sql

Input: How many cuts did Reid make in the year when her earnings were n/a?

Output: SELECT MAX Cuts made FROM table WHERE Earnings ( € ) = n/a


Instruction: text to sql

Input: In what year were Reid's earnings €4,050 1?

Output: SELECT MIN Year FROM table WHERE Earnings ( € ) = 4,050 1


Instruction: text to sql

Input: What is the best finish for the player whose earnings was $421050?

Output: SELECT Best finish FROM table WHERE Earnings ($) = 421050


Instruction: text to sql

Input: What is the maximum start record for player of Jeff Brehaut?

Output: SELECT MAX Starts FROM table WHERE Player = Jeff Brehaut


Instruction: text to sql

Input: What is the best finish record for Carl Paulson?

Output: SELECT Best finish FROM table WHERE Player = Carl Paulson


Instruction: text to sql

Input: What is the best finish record for Sean O'hair?

Output: SELECT Best finish FROM table WHERE Player = Sean O'Hair


Instruction: text to sql

Input: What is the money list rank for player Doug Barron?

Output: SELECT MAX Money list rank FROM table WHERE Player = Doug Barron


Instruction: text to sql

Input: How many athletes were named federico muller?

Output: SELECT COUNT Quarterfinals FROM table WHERE Athlete = Federico Muller


Instruction: text to sql

Input: What was the round of 16 result for felipe saucedo?

Output: SELECT Round of 16 FROM table WHERE Athlete = Felipe Saucedo


Instruction: text to sql

Input: The Ring of Steel possesses what ISBN?

Output: SELECT ISBN FROM table WHERE Title = The Ring Of Steel


Instruction: text to sql

Input: THe audio book with ISBN 978-1-4084-6879-1 is read by whom?

Output: SELECT Read by FROM table WHERE ISBN = ISBN 978-1-4084-6879-1


Instruction: text to sql

Input: The Empty House audiobook has what #?

Output: SELECT # FROM table WHERE Title = The Empty House


Instruction: text to sql

Input: How many people directed episode 2?

Output: SELECT COUNT Directed by FROM table WHERE No. = 2


Instruction: text to sql

Input: What date did "stanley" originally air?

Output: SELECT Original air date FROM table WHERE Title = "Stanley"


Instruction: text to sql

Input: What is the title of the episode that featured Abbud Siddiqui?

Output: SELECT Title FROM table WHERE Featured character(s) = Abbud Siddiqui


Instruction: text to sql

Input: How many million U.S. viewers was written by Matt Pelfrey?

Output: SELECT U.S. viewers (millions) FROM table WHERE Written by = Matt Pelfrey


Instruction: text to sql

Input: When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there?

Output: SELECT COUNT Tonnes of CO2 Saved FROM table WHERE % electricity reduction = 8.9%


Instruction: text to sql

Input: When 1522 is the tonnes of co2 saved what is the year?

Output: SELECT Year FROM table WHERE Tonnes of CO2 Saved = 1522


Instruction: text to sql

Input: When £337,000 is £ saved what is the percentage of electricity reduction?

Output: SELECT % electricity reduction FROM table WHERE £ Saved = £337,000


Instruction: text to sql

Input: When 8.9% is the electricity reduction percentage what is the £ saved?

Output: SELECT £ Saved FROM table WHERE % electricity reduction = 8.9%


Instruction: text to sql

Input: When 10% is the percentage of electricity reduction how many sets of universities are there?

Output: SELECT COUNT Universities FROM table WHERE % electricity reduction = 10%


Instruction: text to sql

Input: What is maximum loss record when the pa record is 47?

Output: SELECT MAX L FROM table WHERE PA = 47


Instruction: text to sql

Input: What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0?

Output: SELECT MIN Ends Lost FROM table WHERE Stolen Ends = 6 AND L > 5.0


Instruction: text to sql

Input: What is the minimum stolen ends record where the pa record is 40?

Output: SELECT MIN Stolen Ends FROM table WHERE PA = 40


Instruction: text to sql

Input: When 39 is the amount of ends won who is the skip (club)?

Output: SELECT Skip (Club) FROM table WHERE Ends Won = 39


Instruction: text to sql

Input: When nicole backe (nanaimo curling club) is the skip (club) how many sets of w's are there?

Output: SELECT COUNT W FROM table WHERE Skip (Club) = Nicole Backe (Nanaimo Curling Club)


Instruction: text to sql

Input: When 36 is the amount of ends won how many sets of pf's are there?

Output: SELECT COUNT PF FROM table WHERE Ends Won = 36


Instruction: text to sql

Input: What is the lowest overall amount of w's?

Output: SELECT MIN W FROM table


Instruction: text to sql

Input: What is the highest L of the tournament?

Output: SELECT MAX L FROM table


Instruction: text to sql

Input: What is the highest W of the 0 L?

Output: SELECT MAX W FROM table WHERE L = 0


Instruction: text to sql

Input: Name the least pa for w being 2

Output: SELECT MIN PA FROM table WHERE W = 2


Instruction: text to sql

Input: Name the least ends lost for joëlle belley (glenmore)

Output: SELECT MIN Ends Lost FROM table WHERE Skip (Club) = Joëlle Belley (Glenmore)


Instruction: text to sql

Input: Which skip (club) had 28 PA?

Output: SELECT Skip (Club) FROM table WHERE PA = 28


Instruction: text to sql

Input: What is the most amount of stolen ends for a skip with 1 W?

Output: SELECT MAX Stolen Ends FROM table WHERE W = 1


Instruction: text to sql

Input: Which skip (club) had 31 PA and 9 blank ends?

Output: SELECT Skip (Club) FROM table WHERE PA = 31 AND Blank Ends = 9


Instruction: text to sql

Input: What is the least amount of blank ends for a skip who has 44 PF?

Output: SELECT MIN Blank Ends FROM table WHERE PF = 44


Instruction: text to sql

Input: How many high points occur with the team Umass?

Output: SELECT COUNT High points FROM table WHERE Team = UMass


Instruction: text to sql

Input: When la salle is the team who has the highest amount of points?

Output: SELECT High points FROM table WHERE Team = La Salle


Instruction: text to sql

Input: When allen/moore/wyatt – 4 have the highest amount of assists what is the highest game?

Output: SELECT MAX Game FROM table WHERE High assists = Allen/Moore/Wyatt – 4


Instruction: text to sql

Input: When dayton is the team what is the record?

Output: SELECT Record FROM table WHERE Team = Dayton


Instruction: text to sql

Input: What the title of the song when the result is to the live shows?

Output: SELECT Song title FROM table WHERE Result (Placement) = to the Live Shows


Instruction: text to sql

Input: What is the episode when the original performaer is diana ross?

Output: SELECT Episode FROM table WHERE Original performer = Diana Ross


Instruction: text to sql

Input: Who is the original performer when the episode is casting?

Output: SELECT Original performer FROM table WHERE Episode = Casting


Instruction: text to sql

Input: What is the pa listed when the ends won is 21?

Output: SELECT MAX PA FROM table WHERE Ends Won = 21


Instruction: text to sql

Input: How many times is there an entry in stolen ends when skip (club) is listed as debbie folk (nutana)?

Output: SELECT COUNT Stolen Ends FROM table WHERE Skip (Club) = Debbie Folk (Nutana)


Instruction: text to sql

Input: What is the total mumber of skip (club) entries when the pf is 40?

Output: SELECT COUNT Skip (Club) FROM table WHERE PF = 40


Instruction: text to sql

Input: What is the number of ends won entries when the skip (club) is chantelle eberle (tartan)?

Output: SELECT COUNT Ends Won FROM table WHERE Skip (Club) = Chantelle Eberle (Tartan)


Instruction: text to sql

Input: What horse had a starting price of 66/1?

Output: SELECT Name FROM table WHERE Starting price = 66/1


Instruction: text to sql

Input: Who is listed under skip (club) when the ends won is 43?

Output: SELECT Skip (Club) FROM table WHERE Ends Won = 43


Instruction: text to sql

Input: What is the L when the skip club is Jeff Richard (kelowna)?

Output: SELECT MAX L FROM table WHERE Skip (Club) = Jeff Richard (Kelowna)


Instruction: text to sql

Input: What is the L when the W is 4?

Output: SELECT MIN L FROM table WHERE W = 4


Instruction: text to sql

Input: What is the largest number in L?

Output: SELECT MAX L FROM table


Instruction: text to sql

Input: What is the PA when the PF is 73?

Output: SELECT MIN PA FROM table WHERE PF = 73


Instruction: text to sql

Input: What is the blank ends record when the win record is higher than 6.0?

Output: SELECT Blank Ends FROM table WHERE W > 6.0


Instruction: text to sql

Input: What is the win record where the pa record is 62?

Output: SELECT W FROM table WHERE PA = 62


Instruction: text to sql

Input: What is listed under L when the stolen ends is 1?

Output: SELECT L FROM table WHERE Stolen Ends = 1


Instruction: text to sql

Input: What is listed under W when the ends won is 22?

Output: SELECT MIN W FROM table WHERE Ends Won = 22


Instruction: text to sql

Input: What is listed under L when the ends won is 21?

Output: SELECT MAX L FROM table WHERE Ends Won = 21


Instruction: text to sql

Input: How many rank entries are there when new points are 1155?

Output: SELECT COUNT Rank FROM table WHERE New points = 1155


Instruction: text to sql

Input: What is listed in new points when status is second round lost to xavier malisse?

Output: SELECT MIN New points FROM table WHERE Status = Second round lost to Xavier Malisse


Instruction: text to sql

Input: What is the status when points is 4595?

Output: SELECT Status FROM table WHERE Points = 4595


Instruction: text to sql

Input: What is the status when the rank is 2?

Output: SELECT Status FROM table WHERE Rank = 2


Instruction: text to sql

Input: How many points are listed when the rank is 17?

Output: SELECT MAX Points FROM table WHERE Rank = 17


Instruction: text to sql

Input: How many seed entries are there when points are 2175?

Output: SELECT COUNT Seed FROM table WHERE Points = 2175


Instruction: text to sql

Input: How many clubs remained when there were 4 winners from the previous round?

Output: SELECT Clubs remaining FROM table WHERE Winners from previous round = 4


Instruction: text to sql

Input: What is the maximum number of clubs remaining when the league entering at this round was allsvenskan?

Output: SELECT MIN Clubs remaining FROM table WHERE Leagues entering at this round = Allsvenskan


Instruction: text to sql

Input: How many different values of clubs involved were there when the league entering at this round was allsvenskan?

Output: SELECT COUNT Clubs involved FROM table WHERE Leagues entering at this round = Allsvenskan


Instruction: text to sql

Input: Which programs were originally broadcast on CITV?

Output: SELECT Programme FROM table WHERE Original channel(s) = CITV


Instruction: text to sql

Input: What is the date of return for the program for the program "Big Brother"?

Output: SELECT Date of return FROM table WHERE Programme = Big Brother


Instruction: text to sql

Input: How many episodes are directed by Jamie Payne?

Output: SELECT COUNT Episode FROM table WHERE Directed by = Jamie Payne


Instruction: text to sql

Input: How many millions of viewers are listed when the share is 10.8?

Output: SELECT UK viewers (million) FROM table WHERE Share (%) = 10.8


Instruction: text to sql

Input: Who is the director when there are 2.70 million viewers?

Output: SELECT Directed by FROM table WHERE UK viewers (million) = 2.70


Instruction: text to sql

Input: How many episodes have the title "episode 2"?

Output: SELECT MIN Episode FROM table WHERE Title = "Episode 2"


Instruction: text to sql

Input: How many episodes hve 4.50 million viewers?

Output: SELECT Episode FROM table WHERE UK viewers (million) = 4.50


Instruction: text to sql

Input: Who is the director when the share is 11.8?

Output: SELECT Directed by FROM table WHERE Share (%) = 11.8


Instruction: text to sql

Input: Who wrote the episode with production code 57376?

Output: SELECT Written by FROM table WHERE Production code = 57376


Instruction: text to sql

Input: What is the smallest numbered production code listed?

Output: SELECT MIN Production code FROM table


Instruction: text to sql

Input: What date did the episode that was directed by Christian i. nyby ii originally air on?

Output: SELECT Original air date FROM table WHERE Directed by = Christian I. Nyby II


Instruction: text to sql

Input: What is the original air date of the episode that was number 31 in the series?

Output: SELECT Original air date FROM table WHERE No. in series = 31


Instruction: text to sql

Input: What is the original air date of the episode that was directed by Bruce Seth Green?

Output: SELECT Original air date FROM table WHERE Directed by = Bruce Seth Green


Instruction: text to sql

Input: Who wrote the episode titled "Goliath (Part 2)"?

Output: SELECT Written by FROM table WHERE Title = "Goliath (Part 2)"


Instruction: text to sql

Input: What number episode in the season was titled "K.I.T.T. the Cat"?

Output: SELECT MAX No. in season FROM table WHERE Title = "K.I.T.T. the Cat"


Instruction: text to sql

Input: How many times is the couple kerry & daniel?

Output: SELECT COUNT Place FROM table WHERE Couple = Kerry & Daniel


Instruction: text to sql

Input: how many times is the total points 128.0?

Output: SELECT COUNT Couple FROM table WHERE Total points = 128.0


Instruction: text to sql

Input: How many times is the couple laura and colin?

Output: SELECT COUNT Place FROM table WHERE Couple = Laura and Colin


Instruction: text to sql

Input: what is the average when the place is 16?

Output: SELECT Average FROM table WHERE Place = 16


Instruction: text to sql

Input: How many times is the rank by average 4?

Output: SELECT COUNT Place FROM table WHERE Rank by average = 4


Instruction: text to sql

Input: How many different season numbers does the episode "The Nineteenth Hole" have?

Output: SELECT COUNT No. in season FROM table WHERE Title = "The Nineteenth Hole"


Instruction: text to sql

Input: How many different pairs of writers wrote the episode with series number 56?

Output: SELECT COUNT Written by FROM table WHERE No. in series = 56


Instruction: text to sql

Input: what is the school for chris mcnamara?

Output: SELECT Last School/College FROM table WHERE Name = Chris McNamara


Instruction: text to sql

Input: how many hometowns for faisal aden?

Output: SELECT COUNT Hometown FROM table WHERE Name = Faisal Aden


Instruction: text to sql

Input: what year is chris mcnamara?

Output: SELECT Year FROM table WHERE Name = Chris McNamara


Instruction: text to sql

Input: what is the height of columbia river hs?

Output: SELECT Height FROM table WHERE Last School/College = Columbia River HS


Instruction: text to sql

Input: what is the hometown for mike ladd?

Output: SELECT Hometown FROM table WHERE Name = Mike Ladd


Instruction: text to sql

Input: How many seasons did Apocalypstix place 2nd?

Output: SELECT COUNT Season FROM table WHERE Apocalypstix = 2nd


Instruction: text to sql

Input: What season did the Sake Tuyas come in 1st place?

Output: SELECT Season FROM table WHERE Sake Tuyas = 1st


Instruction: text to sql

Input: What is the most recent season where the Denim Demons placed 3rd?

Output: SELECT MAX Season FROM table WHERE Denim Demons = 3rd


Instruction: text to sql

Input: What place did the Sake Tuyas come in when the Denim Demons were 4th?

Output: SELECT Sake Tuyas FROM table WHERE Denim Demons = 4th


Instruction: text to sql

Input: List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.

Output: SELECT Apocalypstix FROM table WHERE Denim Demons = 2nd


Instruction: text to sql

Input: Which team has a midfielder of konrad warzycha?

Output: SELECT MLS team FROM table WHERE Position = Midfielder AND Player = Konrad Warzycha


Instruction: text to sql

Input: What is the pick number for the team toronto fc and affiliation is ldu quito?

Output: SELECT MAX Pick # FROM table WHERE MLS team = Toronto FC AND Affiliation = LDU Quito


Instruction: text to sql

Input: Which MLS team picked player Jason Herrick?

Output: SELECT MLS team FROM table WHERE Player = Jason Herrick


Instruction: text to sql

Input: What position did the team new york red bulls pick?

Output: SELECT Position FROM table WHERE MLS team = New York Red Bulls


Instruction: text to sql

Input: What was the position when the affiliation is ldu quito?

Output: SELECT Position FROM table WHERE Affiliation = LDU Quito


Instruction: text to sql

Input: how many peaks where for the chinese episode named 萬凰之王

Output: SELECT COUNT Peak FROM table WHERE Chinese title = 萬凰之王


Instruction: text to sql

Input: what is the number of the average of the drama titled  魚躍在花見

Output: SELECT MAX Average FROM table WHERE Chinese title = 魚躍在花見


Instruction: text to sql

Input: how many milion of viewers where in the episode called in english "is a great way to care"

Output: SELECT HK viewers FROM table WHERE English title = A Great Way to Care


Instruction: text to sql

Input: what is the number of the premiere for the 34 peak

Output: SELECT Premiere FROM table WHERE Peak = 34


Instruction: text to sql

Input: In what week was the first game played?

Output: SELECT MIN Week FROM table


Instruction: text to sql

Input: How many object dates have origin in Samoa?

Output: SELECT COUNT Object Date FROM table WHERE Origin = Samoa


Instruction: text to sql

Input: How many origins have titles of Samoan cricket bats?

Output: SELECT COUNT Origin FROM table WHERE Title & Link to Episode on YouTube = Samoan Cricket Bats


Instruction: text to sql

Input: How many object dates does episode #16 have?

Output: SELECT COUNT Object Date FROM table WHERE Episode Number = 16


Instruction: text to sql

Input: Which films participated in the 61st Berlin international film festival?

Output: SELECT Participants/Recipients FROM table WHERE Film Festival = 61st Berlin International Film Festival


Instruction: text to sql

Input: What was the result when competing in the Opening NIght Film category?

Output: SELECT Result FROM table WHERE Category = Opening Night Film


Instruction: text to sql

Input: Which films participated in the 30th Hawaii International Film Festival?

Output: SELECT Participants/Recipients FROM table WHERE Film Festival = 30th Hawaii International Film Festival


Instruction: text to sql

Input: Which films participated when the category was Best Newcomer?

Output: SELECT Participants/Recipients FROM table WHERE Category = Best Newcomer


Instruction: text to sql

Input: in which year the season was in 5th position

Output: SELECT Season FROM table WHERE Position = 5th


Instruction: text to sql

Input: what is the name of the movement in the 7th position

Output: SELECT Movements FROM table WHERE Position = 7th


Instruction: text to sql

Input: what is the name of the level for the 7th position

Output: SELECT Level FROM table WHERE Position = 7th


Instruction: text to sql

Input: how many sections are for the season of 2008

Output: SELECT COUNT Section FROM table WHERE Season = 2008


Instruction: text to sql

Input: in what year the position was the 9th

Output: SELECT Season FROM table WHERE Position = 9th


Instruction: text to sql

Input: Who was eliminated a person at 18:48?

Output: SELECT Eliminated by FROM table WHERE Time = 18:48


Instruction: text to sql

Input: How many entries are shown for entered at 21:09?

Output: SELECT COUNT Entered FROM table WHERE Time = 21:09


Instruction: text to sql

Input: Who was eliminated by being pinned after a spear at  22:50?

Output: SELECT Wrestler FROM table WHERE Method of elimination = Pinned after a spear AND Time = 22:50


Instruction: text to sql

Input: What number was the person eliminated at 22:50?

Output: SELECT Eliminated FROM table WHERE Time = 22:50


Instruction: text to sql

Input: what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?

Output: SELECT Circuit FROM table WHERE Fastest Lap = Sam Lowes AND Winning Rider = Luca Scassa


Instruction: text to sql

Input: what is the round wher the fabien foret had the fastest lap and david salom was the pole position?

Output: SELECT Round FROM table WHERE Fastest Lap = Fabien Foret AND Pole Position = David Salom


Instruction: text to sql

Input: who had the fastest lap for round 1?

Output: SELECT Fastest Lap FROM table WHERE Round = 1


Instruction: text to sql

Input: what is the pole position for france?

Output: SELECT Pole Position FROM table WHERE Country = France


Instruction: text to sql

Input: what is the maximum round and fabien foret had the pole position?

Output: SELECT MAX Round FROM table WHERE Pole Position = Fabien Foret


Instruction: text to sql

Input: How many values of attendance occur when ave. on previous season is +645?

Output: SELECT COUNT Ave. Attendance FROM table WHERE +/- ave. on prev. season = +645


Instruction: text to sql

Input: What is the lowest value of average attendance when average on previous season is -459?

Output: SELECT MIN Ave. Attendance FROM table WHERE +/- ave. on prev. season = -459


Instruction: text to sql

Input: What is the least value for average attendance when average on previous season is +644?

Output: SELECT MIN Ave. Attendance FROM table WHERE +/- ave. on prev. season = +644


Instruction: text to sql

Input: What is every value for average on previous season if the competition is league two?

Output: SELECT +/- ave. on prev. season FROM table WHERE Competition = League Two


Instruction: text to sql

Input: What is the least w?

Output: SELECT MIN W FROM table


Instruction: text to sql

Input: What is the most stolen ends?

Output: SELECT MAX Stolen Ends FROM table


Instruction: text to sql

Input: What is the total appearances when the total goals is 289?

Output: SELECT MIN Total appearances FROM table WHERE Total goals = 289


Instruction: text to sql

Input: What is the league goals when the total goals is 179?

Output: SELECT MAX League goals FROM table WHERE Total goals = 179


Instruction: text to sql

Input: How many  total appearances are there when the league appearances is 192?

Output: SELECT COUNT Total appearances FROM table WHERE League appearances = 192


Instruction: text to sql

Input: Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska?

Output: SELECT Away Team FROM table WHERE Competition = 1st ``Republic of Srpska Football Day`` AND Home Team = U 14 Republic of Srpska


Instruction: text to sql

Input: What were the competitions when the away team was fk kozara gradiska?

Output: SELECT Competition FROM table WHERE Away Team = FK Kozara Gradiska


Instruction: text to sql

Input: What are the names of players from the dr congo?

Output: SELECT Name FROM table WHERE Country = DR Congo


Instruction: text to sql

Input: How many is the high assist total for players from panama?

Output: SELECT MAX Assists FROM table WHERE Country = Panama


Instruction: text to sql

Input: What was the result of the home match against FK Rudar Ugljevik?

Output: SELECT Result FROM table WHERE Away Team = FK Rudar Ugljevik


Instruction: text to sql

Input: Where was the home match against FK Rudar Ugljevik played?

Output: SELECT Location FROM table WHERE Away Team = FK Rudar Ugljevik


Instruction: text to sql

Input: When 1971 is the year what is the la roche?

Output: SELECT La Roche FROM table WHERE Year = 1971


Instruction: text to sql

Input: When deutsche grammophon is the label how many clairons are there?

Output: SELECT COUNT Clairon FROM table WHERE Label = Deutsche Grammophon


Instruction: text to sql

Input: When hermann uhde is the count who is the conductor?

Output: SELECT Conductor FROM table WHERE Count = Hermann Uhde


Instruction: text to sql

Input: When dietrich fischer-dieskau is the olivier who is the conductor?

Output: SELECT Conductor FROM table WHERE Olivier = Dietrich Fischer-Dieskau


Instruction: text to sql

Input: When karl ridderbusch is the la roche who is the olivier?

Output: SELECT Olivier FROM table WHERE La Roche = Karl Ridderbusch


Instruction: text to sql

Input: What are the works numbers where the year is 1929 and the driver diameter is 60"/1520mm?

Output: SELECT Works No. FROM table WHERE Year = 1929 AND Driver Diameter = 60"/1520mm


Instruction: text to sql

Input: For what year is the SAR no. 874?

Output: SELECT Year FROM table WHERE SAR No. = 874


Instruction: text to sql

Input: Who is the writer when the director is bob berlinger?

Output: SELECT Written by FROM table WHERE Directed by = Bob Berlinger


Instruction: text to sql

Input: How many millions of U.S viewers are there when the director is andy wolk?

Output: SELECT U.S. viewers (million) FROM table WHERE Directed by = Andy Wolk


Instruction: text to sql

Input: What is the series # when the director is john showalter?

Output: SELECT Series # FROM table WHERE Directed by = John Showalter


Instruction: text to sql

Input: Who is the director when the title is "believers"?

Output: SELECT Directed by FROM table WHERE Title = "Believers"


Instruction: text to sql

Input: What is the title when the series # is 7?

Output: SELECT Title FROM table WHERE Series # = 7


Instruction: text to sql

Input: Which episode had a share 16-19 of 23,22%?

Output: SELECT MAX Episode FROM table WHERE Share 16-39 = 23,22%


Instruction: text to sql

Input: What was the official rating 16-39 of episode 9?

Output: SELECT Official rating 16-39 FROM table WHERE Episode = 9


Instruction: text to sql

Input: What is the intro date for the interface that equals pci?

Output: SELECT Intro Date FROM table WHERE Interface = PCI


Instruction: text to sql

Input: What is the intro date for the throughput of 16 mbit/s?

Output: SELECT Intro Date FROM table WHERE Throughput = 16 Mbit/s


Instruction: text to sql

Input: How many intro dates have the price of 686€?

Output: SELECT COUNT Intro Date FROM table WHERE Price = 686€


Instruction: text to sql

Input: What is the price for the manufacturer LETech?

Output: SELECT Price FROM table WHERE Manufacturer = LETech


Instruction: text to sql

Input: What is the price (usd) for the model pq32mu?

Output: SELECT MIN Price (USD) FROM table WHERE Model = PQ32MU


Instruction: text to sql

Input: Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?

Output: SELECT Manufacturer FROM table WHERE Intro Date = 2006 AND Throughput = 4 Mbit/s


Instruction: text to sql

Input: What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)?

Output: SELECT Lok Sabha FROM table WHERE Vidhan Sabha Constituency = Karakat (Vidhan Sabha constituency)


Instruction: text to sql

Input: How many were in the Kargahar (vidhan sabha constituency)?

Output: SELECT MIN Constituency No. FROM table WHERE Vidhan Sabha Constituency = Kargahar (Vidhan Sabha constituency)


Instruction: text to sql

Input: What district has 213 constituents?

Output: SELECT COUNT District FROM table WHERE Constituency No. = 213


Instruction: text to sql

Input: How many Lok Sabha are in the one with 216 constituents?

Output: SELECT Lok Sabha FROM table WHERE Constituency No. = 216


Instruction: text to sql

Input: How many countries spent at least $51.0 billion in international tourism in 2012?

Output: SELECT MAX Rank 2012 FROM table WHERE International tourism expenditure 2011 = $51.0 billion


Instruction: text to sql

Input: How many countries spent $83.7 billion on international tourism in 2012?

Output: SELECT COUNT % change FROM table WHERE International tourism expenditure 2012 = $83.7 billion


Instruction: text to sql

Input: What was the percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion in 2011?

Output: SELECT % change FROM table WHERE International tourism expenditure 2011 = $85.9 billion


Instruction: text to sql

Input: Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012?

Output: SELECT Country FROM table WHERE % change = 5.7


Instruction: text to sql

Input: Name the most other apps for league goals being 1

Output: SELECT MAX Other Apps FROM table WHERE League Goals = 1


Instruction: text to sql

Input: Name the most fa cup apps for league apps being 27

Output: SELECT MAX FA Cup Apps FROM table WHERE League Apps = 27


Instruction: text to sql

Input: Name the total number of division for fa cups being 9

Output: SELECT COUNT Division FROM table WHERE FA Cup Apps = 9


Instruction: text to sql

Input: How many international tourists visited Russia in 2012?

Output: SELECT International tourist arrivals (2012) FROM table WHERE Country = Russia


Instruction: text to sql

Input: What was the premiere date for the episode whose alternate title was miłość i przeznaczenie?

Output: SELECT Series premiere FROM table WHERE Alternante title = Miłość i przeznaczenie


Instruction: text to sql

Input: Which TV network had its series finale on May 7, 2012?

Output: SELECT TV Network(s) FROM table WHERE Series finale = May 7, 2012


Instruction: text to sql

Input: What was the date of the series premiere whose TV network was TV3?

Output: SELECT Series premiere FROM table WHERE TV Network(s) = TV3


Instruction: text to sql

Input: Which TV network has a country of origin of Iran?

Output: SELECT TV Network(s) FROM table WHERE Country = Iran


Instruction: text to sql

Input: What was the date of series premiere for the novela whose alternate title was miłość i przeznaczenie?

Output: SELECT Series premiere FROM table WHERE Alternante title = Miłość i przeznaczenie


Instruction: text to sql

Input: What was the date of the series finale for Peru?

Output: SELECT Series finale FROM table WHERE Country = Peru


Instruction: text to sql

Input: What is every original air date with U.S. viewers of 0.23 million?

Output: SELECT Original air date FROM table WHERE U.S. viewers (million) = 0.23


Instruction: text to sql

Input: What is the lowest number in series when U.S. viewers is 0.23 million?

Output: SELECT MIN No. in series FROM table WHERE U.S. viewers (million) = 0.23


Instruction: text to sql

Input: What were the total apps for Dunne in season where he had 0 league goals?

Output: SELECT Total Apps FROM table WHERE League Goals = 0


Instruction: text to sql

Input: How many league goals did Dunne have in the season where he had 2 league apps?

Output: SELECT League Goals FROM table WHERE League Apps = 2


Instruction: text to sql

Input: How many other goals did Dunne have in the season where he had 1 league goal?

Output: SELECT Other Goals FROM table WHERE League Goals = 1


Instruction: text to sql

Input: When boston university is the team what is the record?

Output: SELECT Record FROM table WHERE Team = Boston University


Instruction: text to sql

Input: What is the subject when the highest mark is 79?

Output: SELECT Subject FROM table WHERE Highest mark = 79


Instruction: text to sql

Input: How many lowest mark entries are there when % passed is 76?

Output: SELECT COUNT Lowest mark FROM table WHERE % Pass = 76


Instruction: text to sql

Input: if the flm winning team is no. 99 jmb racing what is the name of the  lmp2 winning team

Output: SELECT LMP2 Winning Team FROM table WHERE FLM Winning Team = No. 99 JMB Racing


Instruction: text to sql

Input: Who is every high rebound when the team is Mount St. Mary's?

Output: SELECT High rebounds FROM table WHERE Team = Mount St. Mary's


Instruction: text to sql

Input: What position was serena abrami in?

Output: SELECT Position FROM table WHERE Singer = Serena Abrami


Instruction: text to sql

Input: How many singers got 2nd place in the 4th evening?

Output: SELECT COUNT 2nd Evening FROM table WHERE 4th Evening = 2nd place


Instruction: text to sql

Input: Who got 3rd place on the 4th evening?

Output: SELECT Singer FROM table WHERE 4th Evening = 3rd place


Instruction: text to sql

Input: Who went out on the 2nd evening?

Output: SELECT Singer FROM table WHERE 2nd Evening = Out


Instruction: text to sql

Input: What was gabriella ferrone's result on the 5th evening?

Output: SELECT 5th Evening FROM table WHERE Singer = Gabriella Ferrone


Instruction: text to sql

Input: What is the maximum overall number?

Output: SELECT MAX # FROM table


Instruction: text to sql

Input: When the number is 2 what is the lowest amount of al-wedhat wins?

Output: SELECT MIN Al-Wehdat Wins FROM table WHERE # = 2


Instruction: text to sql

Input: When jordan fa cup is the tournament how many draws?

Output: SELECT COUNT Draws FROM table WHERE Tournament = Jordan FA Cup


Instruction: text to sql

Input: What is the highest value of area when capital is San Juan?

Output: SELECT MAX Area (km²) FROM table WHERE Capital = San Juan


Instruction: text to sql

Input: How many entries for area correspond to a population density of 207.9?

Output: SELECT COUNT Area (km²) FROM table WHERE Population density (per km²) = 207.9


Instruction: text to sql

Input: What is every entry for area if capital is Port-au-Prince?

Output: SELECT Area (km²) FROM table WHERE Capital = Port-au-Prince


Instruction: text to sql

Input: What is every country with a flag with population of 11346670?

Output: SELECT Country with flag FROM table WHERE Population (1 July 2005 est.) = 11346670


Instruction: text to sql

Input: What is the highest value for population when area is 9104?

Output: SELECT MAX Population (1 July 2005 est.) FROM table WHERE Area (km²) = 9104


Instruction: text to sql

Input: What many times was the victoria derby raced?

Output: SELECT COUNT Date FROM table WHERE Race = Victoria Derby


Instruction: text to sql

Input: What is the autumn classic weight?

Output: SELECT Weight (kg) FROM table WHERE Race = Autumn Classic


Instruction: text to sql

Input: Who directed the episode that had 3.55 million viewers?

Output: SELECT Directed by FROM table WHERE U.S. viewers (million) = 3.55


Instruction: text to sql

Input: What are the dimensions of the coin worth ₩200?

Output: SELECT Dimensions FROM table WHERE Value = ₩200


Instruction: text to sql

Input: How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?

Output: SELECT COUNT Date of issue FROM table WHERE Obverse = Kumsusan Memorial Palace


Instruction: text to sql

Input: What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse?

Output: SELECT Dimensions FROM table WHERE Obverse = Kim Il-sung AND Date of issue = 1992


Instruction: text to sql

Input: What is on the reverse side of the ₩500 coin?

Output: SELECT Reverse FROM table WHERE Value = ₩500


Instruction: text to sql

Input: What is on the reverse side of the ₩100 coin?

Output: SELECT Reverse FROM table WHERE Value = ₩100


Instruction: text to sql

Input: What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?

Output: SELECT Dimensions FROM table WHERE Reverse = Western sea barrage and locks at Taedong Gang


Instruction: text to sql

Input: What are all the name(namesakes) for the entire chart?

Output: SELECT Name (Namesake) FROM table


Instruction: text to sql

Input: What are the names(namesakes) through out the entire chart?

Output: SELECT Name (Namesake) FROM table


Instruction: text to sql

Input: What season was the finale that aired on May 23, 2004?

Output: SELECT TV season FROM table WHERE Season finale = May 23, 2004


Instruction: text to sql

Input: What TV season was the 1st season?

Output: SELECT TV season FROM table WHERE Season = 1st


Instruction: text to sql

Input: When was the 3rd season premiere originally aired?

Output: SELECT Season premiere FROM table WHERE Season = 3rd


Instruction: text to sql

Input: What was the 2nd's season's ranking?

Output: SELECT Ranking FROM table WHERE Season = 2nd


Instruction: text to sql

Input: When did the season premiere that saw 8.4 million viewers first air?

Output: SELECT Season premiere FROM table WHERE Viewers (in millions) = 8.4


Instruction: text to sql

Input: When did the season finale for the January 9, 2000 season premiere first air?

Output: SELECT Season finale FROM table WHERE Season premiere = January 9, 2000


Instruction: text to sql

Input: Who directed the episode that was watched by 2.97 million U.S. viewers?

Output: SELECT Directed by FROM table WHERE U.S. viewers (million) = 2.97


Instruction: text to sql

Input: What is the original air date of the episode written by Liz Feldman?

Output: SELECT Original air date FROM table WHERE Written by = Liz Feldman


Instruction: text to sql

Input: Who wrote the episode that was watched by 2.97 million U.S. viewers?

Output: SELECT Written by FROM table WHERE U.S. viewers (million) = 2.97


Instruction: text to sql

Input: How many millions of U.S viewers watched the episode written by Liz Feldman?

Output: SELECT U.S. viewers (million) FROM table WHERE Written by = Liz Feldman


Instruction: text to sql

Input: How many people attended the uefa champions league competition?

Output: SELECT Attendance FROM table WHERE Competition = UEFA Champions League


Instruction: text to sql

Input: How many women has reached the title of Miss International representing the country ranked as number 1?

Output: SELECT MIN Miss International FROM table WHERE Rank = 1


Instruction: text to sql

Input: How many women has got the first runner-up position in representation of Philippines?

Output: SELECT 1st Runner-up FROM table WHERE Country/Territory = Philippines


Instruction: text to sql

Input: What is the lowest value in the miss international column?

Output: SELECT MIN Miss International FROM table


Instruction: text to sql

Input: What is the smallest quantity displayed under the title "first runner-up"?

Output: SELECT MIN 1st Runner-up FROM table


Instruction: text to sql

Input: How many women from Uruguay has become third runner-up in this pageant?

Output: SELECT MAX 3rd Runner-up FROM table WHERE Country/Territory = Uruguay


Instruction: text to sql

Input: What year was player number 10?

Output: SELECT Year FROM table WHERE # = 10


Instruction: text to sql

Input: How many hometowns are there when Charis Prep was the previous school?

Output: SELECT COUNT Hometown FROM table WHERE Previous School = Charis Prep


Instruction: text to sql

Input: How many different items appear in the weight column when Pittsburgh, PA is the hometown?

Output: SELECT COUNT Weight ( lb. ) FROM table WHERE Hometown = Pittsburgh, PA


Instruction: text to sql

Input: Which episode is number 3 in the season?

Output: SELECT Episode FROM table WHERE No. for season = 3


Instruction: text to sql

Input: What is the episode name for series number 45?

Output: SELECT Episode FROM table WHERE No. for series = 45


Instruction: text to sql

Input: What is the highest total for any country/territory?

Output: SELECT MAX Total FROM table


Instruction: text to sql

Input: How many semifinalists has Romania had?

Output: SELECT Semifinalists FROM table WHERE Country/Territory = Romania


Instruction: text to sql

Input: How many Miss Waters has Canada had?

Output: SELECT MAX Miss Water FROM table WHERE Country/Territory = Canada


Instruction: text to sql

Input: What is the most Miss Fires any country has had?

Output: SELECT MAX Miss Fire FROM table


Instruction: text to sql

Input: What is the least amount of Miss Airs any country has had?

Output: SELECT MIN Miss Air FROM table


Instruction: text to sql

Input: what re the high assists for january 29?

Output: SELECT High assists FROM table WHERE Date = January 29


Instruction: text to sql

Input: What team did the suns play on April 21?

Output: SELECT Team FROM table WHERE Date = April 21


Instruction: text to sql

Input: In what game was the attendance at the America West Arena 18,756?

Output: SELECT MAX Game FROM table WHERE Location Attendance = America West Arena 18,756


Instruction: text to sql

Input: What is the official name of the municipality whose name in Basque is Bilar?

Output: SELECT Official name FROM table WHERE Name in Basque = Bilar


Instruction: text to sql

Input: What is the official name of the municipality whose name in Spanish is Cripán?

Output: SELECT Official name FROM table WHERE Name in Spanish = Cripán


Instruction: text to sql

Input: What is the official name of the municipality whose name in Spanish is Vitoria?

Output: SELECT Official name FROM table WHERE Name in Spanish = Vitoria


Instruction: text to sql

Input: What is the name in Basque of the municipality whose official name is Kuartango?

Output: SELECT Name in Basque FROM table WHERE Official name = Kuartango


Instruction: text to sql

Input: What is the INE code of the municipality whose official name is Berantevilla?

Output: SELECT MAX INE code FROM table WHERE Official name = Berantevilla


Instruction: text to sql

Input: What is every reference for type and usage of Germanium small-signal RF transistor?

Output: SELECT Reference FROM table WHERE Type and usage = Germanium small-signal RF transistor


Instruction: text to sql

Input: What is every equivalent for the example of asy28?

Output: SELECT Equivalent FROM table WHERE Example = ASY28


Instruction: text to sql

Input: What is every reference for the example of AF117?

Output: SELECT Reference FROM table WHERE Example = AF117


Instruction: text to sql

Input: What is every prefix class for the equivalent of NTE160?

Output: SELECT Prefix class FROM table WHERE Equivalent = NTE160


Instruction: text to sql

Input: What is every prefix class for the equivalent of NTE101?

Output: SELECT Prefix class FROM table WHERE Equivalent = NTE101


Instruction: text to sql

Input: What is every example for the equivalent of NTE160?

Output: SELECT Example FROM table WHERE Equivalent = NTE160


Instruction: text to sql

Input: How many manhunt beauty contets have been held in france?

Output: SELECT Manhunt International FROM table WHERE Country/Territory = France


Instruction: text to sql

Input: How many semifinalists where from peru?

Output: SELECT Semifinalists FROM table WHERE Country/Territory = Peru


Instruction: text to sql

Input: How many first place participants where from croatia?

Output: SELECT 3rd runner-up FROM table WHERE Country/Territory = Croatia


Instruction: text to sql

Input: What is the minimum sum?

Output: SELECT MIN Total FROM table


Instruction: text to sql

Input: What is the minimum manhunt beauty  contest?

Output: SELECT MIN Manhunt International FROM table


Instruction: text to sql

Input: Who wrote "yielding"?

Output: SELECT Written by FROM table WHERE Title = "Yielding"


Instruction: text to sql

Input: How many people wrote the episode directed by Arvin Brown?

Output: SELECT COUNT Written by FROM table WHERE Directed by = Arvin Brown


Instruction: text to sql

Input: How many million viewers watched "night moves"?

Output: SELECT Viewers (million) FROM table WHERE Title = "Night Moves"


Instruction: text to sql

Input: When included ram (mib) is the model what is the sonnet?

Output: SELECT Sonnet FROM table WHERE model = Included RAM (MiB)


Instruction: text to sql

Input: When 4 mb is the sonnet what is the apple?

Output: SELECT Apple FROM table WHERE Sonnet = 4 MB


Instruction: text to sql

Input: When 0,4, or 8 mb is the nupowr 117 what is the sonnet?

Output: SELECT Sonnet FROM table WHERE NUpowr 117 = 0,4, or 8 MB


Instruction: text to sql

Input: When maker is the model what is the nupowr 167?

Output: SELECT NUpowr 167 FROM table WHERE model = Maker


Instruction: text to sql

Input: When 0,4, or 8 mb is the nupowr 117 what is the nupowr 183?

Output: SELECT NUpowr 183 FROM table WHERE NUpowr 117 = 0,4, or 8 MB


Instruction: text to sql

Input: What is the name of the episode written by glen mazzara?

Output: SELECT Title FROM table WHERE Written by = Glen Mazzara


Instruction: text to sql

Input: How many titles are there with the original air date of august3,2010?

Output: SELECT COUNT Title FROM table WHERE Original air date = August3,2010


Instruction: text to sql

Input: Who directed the episdoe veiwed by 3.24  million viewers?

Output: SELECT Directed by FROM table WHERE Viewers (million) = 3.24


Instruction: text to sql

Input: What dated the episode written by is adam e. fierro & glen mazzara air?

Output: SELECT Original air date FROM table WHERE Written by = Adam E. Fierro & Glen Mazzara


Instruction: text to sql

Input: in which date the strea was w 2

Output: SELECT Date FROM table WHERE Streak = W 2


Instruction: text to sql

Input: in april 13 what was the streak

Output: SELECT Streak FROM table WHERE Date = April 13


Instruction: text to sql

Input: in april 13 who made the high rebounds

Output: SELECT High rebounds FROM table WHERE Date = April 13


Instruction: text to sql

Input: Name the game for  l 111–126

Output: SELECT Game FROM table WHERE Score = L 111–126


Instruction: text to sql

Input: Name the score for march 8

Output: SELECT Score FROM table WHERE Date = March 8


Instruction: text to sql

Input: in the detroit team who made the high points

Output: SELECT High points FROM table WHERE Team = Detroit


Instruction: text to sql

Input: what is the score in the philadelphia team

Output: SELECT COUNT Score FROM table WHERE Team = Philadelphia


Instruction: text to sql

Input: in december 7 who made the high points

Output: SELECT High points FROM table WHERE Date = December 7


Instruction: text to sql

Input: in how many dates the game was 2

Output: SELECT COUNT Date FROM table WHERE Game = 2


Instruction: text to sql

Input: in the milwaukee team who made the high points

Output: SELECT High points FROM table WHERE Team = Milwaukee


Instruction: text to sql

Input: What was the location and it's corresponding attendance during the game against Los Angeles?

Output: SELECT Location Attendance FROM table WHERE Team = Los Angeles


Instruction: text to sql

Input: what is the km from wellington where the metlink code is mast?

Output: SELECT km from Wellington FROM table WHERE Metlink code = MAST


Instruction: text to sql

Input: what is the name of the station where the metlink code is mata?

Output: SELECT Station FROM table WHERE Metlink code = MATA


Instruction: text to sql

Input: what is the metlink code that opened in 1908?

Output: SELECT Metlink code FROM table WHERE Opened = 1908


Instruction: text to sql

Input: How many teams did inge – 6 have the high assists with?

Output: SELECT COUNT Team FROM table WHERE High assists = Inge – 6


Instruction: text to sql

Input: What is the record for december 3?

Output: SELECT Record FROM table WHERE Date = December 3


Instruction: text to sql

Input: How many entries are there for  high rebounds when high points is inge – 19?

Output: SELECT COUNT High rebounds FROM table WHERE High points = Inge – 19


Instruction: text to sql

Input: How many games are shown when the is  location attendance is phog allen fieldhouse , lawrence, ks (16,300)?

Output: SELECT COUNT Game FROM table WHERE Location Attendance = Phog Allen Fieldhouse , Lawrence, KS (16,300)


Instruction: text to sql

Input: how many high assits have a date of february 5?

Output: SELECT High assists FROM table WHERE Date = February 5


Instruction: text to sql

Input: What is shown for fri 26 aug when mon 22 aug is —— no time?

Output: SELECT Fri 26 Aug FROM table WHERE Mon 22 Aug = —— No Time


Instruction: text to sql

Input: What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph?

Output: SELECT Sat 20 Aug FROM table WHERE Fri 26 Aug = 19' 30.70 116.023mph


Instruction: text to sql

Input: What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph?

Output: SELECT Mon 22 Aug FROM table WHERE Wed 24 Aug = 19' 56.16 113.553mph


Instruction: text to sql

Input: What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph?

Output: SELECT Thurs 25 Aug FROM table WHERE Wed 24 Aug = 19' 59.73 113.216mph


Instruction: text to sql

Input: What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?

Output: SELECT Thurs 25 Aug FROM table WHERE Fri 26 Aug = 19' 30.70 116.023mph


Instruction: text to sql

Input: What's the best rank possible?

Output: SELECT MIN Rank FROM table


Instruction: text to sql

Input: List all GT4 Cup winners played on the Spa-Francorchamps Report.

Output: SELECT GT4 Cup Winner FROM table WHERE Circuit = Spa-Francorchamps Report


Instruction: text to sql

Input: Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one?

Output: SELECT GT3 Pro / Am Cup Winner FROM table WHERE GT3 Pro Cup Winner = No. 1 Vita4One


Instruction: text to sql

Input: What is the highest numbered event?

Output: SELECT MAX Event FROM table


Instruction: text to sql

Input: What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph?

Output: SELECT Tues 23 Aug FROM table WHERE Wed 24 Aug = 22' 23.29 101.116mph


Instruction: text to sql

Input: What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph?

Output: SELECT Sat 27 Aug FROM table WHERE Thurs 25 Aug = 23' 56.90 94.528mph


Instruction: text to sql

Input: What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph?

Output: SELECT Fri 26 Aug FROM table WHERE Wed 24 Aug = 23' 52.67 94.807mph


Instruction: text to sql

Input: When  david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length?

Output: SELECT Length FROM table WHERE Round = 1 AND GT3 Winner = David Ashburn Richard Westbrook


Instruction: text to sql

Input: When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner?

Output: SELECT GT4 Winner FROM table WHERE Circuit = Donington Park AND GT3 Winner = Charles Bateman Michael Lyons


Instruction: text to sql

Input: When charles bateman michael lyons is the gt3 winner and 9 is the round who is the gt4 winner?

Output: SELECT GT4 Winner FROM table WHERE Round = 9 AND GT3 Winner = Charles Bateman Michael Lyons


Instruction: text to sql

Input: When  tim bridgman gregor fisken is the pole position who is the gt3 winner?

Output: SELECT GT3 Winner FROM table WHERE Pole Position = Tim Bridgman Gregor Fisken


Instruction: text to sql

Input: List the rider for the doncaster handicap compeition.

Output: SELECT Jockey FROM table WHERE Race = Doncaster Handicap


Instruction: text to sql

Input: Name the number of troops for troops per $1 billion being 2.45

Output: SELECT COUNT Number of Troops FROM table WHERE Troops per $1 billion ( USD ) GDP = 2.45


Instruction: text to sql

Input: Name the total number of troops per one million being 2.76

Output: SELECT COUNT Troops per one million population FROM table WHERE Troops per $1 billion ( USD ) GDP = 2.76


Instruction: text to sql

Input: Name the country for troops per one million being 54.9

Output: SELECT Country FROM table WHERE Troops per one million population = 54.9


Instruction: text to sql

Input: Which player(s) played at Howard college?

Output: SELECT Player FROM table WHERE College = Howard