messages
stringlengths 82
562
| __index_level_0__
int64 0
56.4k
|
---|---|
Generate a SQL for the following text:
Who is the director and what number is the episode for episode #1 of Are You Afraid of the Dark season 3?
SQL:
SELECT COUNT Director FROM table WHERE # = 1 | 300 |
Generate a SQL for the following text:
Who is the director of the episode whom Scott Peters is the writer?
SQL:
SELECT Director FROM table WHERE Writer = Scott Peters | 301 |
Generate a SQL for the following text:
Who is the villain in episode #7?
SQL:
SELECT Villains FROM table WHERE # = 7 | 302 |
Generate a SQL for the following text:
Who wrote episode #1 in season 7?
SQL:
SELECT COUNT Writer FROM table WHERE # = 1 | 303 |
Generate a SQL for the following text:
When did the episode written by Jim Morris air?
SQL:
SELECT US air date FROM table WHERE Writer = Jim Morris | 304 |
Generate a SQL for the following text:
What was Datsun Twin 200's fastest lap?
SQL:
SELECT Fastest Lap FROM table WHERE Name = Datsun Twin 200 | 305 |
Generate a SQL for the following text:
In the Datsun Twin 200 race, what was the fastest lap?
SQL:
SELECT Fastest Lap FROM table WHERE Name = Datsun Twin 200 | 306 |
Generate a SQL for the following text:
What's the report for the True Value 500?
SQL:
SELECT Report FROM table WHERE Name = True Value 500 | 307 |
Generate a SQL for the following text:
What was Johnny Rutherford's fastest lap while Al Unser was the pole position?
SQL:
SELECT Fastest Lap FROM table WHERE Winning driver = Johnny Rutherford AND Pole Position = Al Unser | 308 |
Generate a SQL for the following text:
What's the report on Penske Racing winning while the pole position was Al Unser?
SQL:
SELECT COUNT Report FROM table WHERE Pole Position = Al Unser AND Winning team = Penske Racing | 309 |
Generate a SQL for the following text:
Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?
SQL:
SELECT Country FROM table WHERE Year current Scouting organization joined WOSM = 1930 AND Year member organization was founded = 1926 | 310 |
Generate a SQL for the following text:
Does Venezuela admit only boys, only girls, or both?
SQL:
SELECT Admits boys/girls FROM table WHERE Country = Venezuela | 311 |
Generate a SQL for the following text:
Which organizations were founded in 1972, but became WOSM members until 1977?
SQL:
SELECT Name of member organization FROM table WHERE Year member organization was founded = 1972 AND Year current Scouting organization joined WOSM = 1977 | 312 |
Generate a SQL for the following text:
Does the Scout Association of Hong Kong admit boys, girls, or both?
SQL:
SELECT Admits boys/girls FROM table WHERE Name of member organization = The Scout Association of Hong Kong | 313 |
Generate a SQL for the following text:
Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?
SQL:
SELECT Admits boys/girls FROM table WHERE Year member organization was founded = 1912 AND Name of member organization = The Ghana Scout Association | 314 |
Generate a SQL for the following text:
What is the model number introduced May 1999?
SQL:
SELECT MAX Model FROM table WHERE Introduction = May 1999 | 315 |
Generate a SQL for the following text:
What is the print resolution (FPI) for December 2002?
SQL:
SELECT Print resolution (DPI) Resolution is given in dots per inch (DPI) FROM table WHERE Introduction = December 2002 | 316 |
Generate a SQL for the following text:
What is the maximum memory for the model discontinued in November 2001?
SQL:
SELECT Maximum memory FROM table WHERE Discontinued = November 2001 | 317 |
Generate a SQL for the following text:
What is main presenters of La Granja?
SQL:
SELECT Main presenters FROM table WHERE Local title = La Granja | 318 |
Generate a SQL for the following text:
What is the main presenter of bulgaria?
SQL:
SELECT Main presenters FROM table WHERE Region/country = Bulgaria | 319 |
Generate a SQL for the following text:
How many winners are there of farma?
SQL:
SELECT COUNT Winners FROM table WHERE Local title = Farma | 320 |
Generate a SQL for the following text:
What is the most cup goals for seasson 1911-12?
SQL:
SELECT MAX Cup Goals FROM table WHERE Season = 1911-12 | 321 |
Generate a SQL for the following text:
What is the league apps for season 1923-24?
SQL:
SELECT League Apps FROM table WHERE Season = 1923-24 | 322 |
Generate a SQL for the following text:
What is the team for season 1911-12?
SQL:
SELECT Team FROM table WHERE Season = 1911-12 | 323 |
Generate a SQL for the following text:
what's the minimum attendance with score 10.16 (76) – 9.22 (76)
SQL:
SELECT MIN Attendance FROM table WHERE Score = 10.16 (76) – 9.22 (76) | 324 |
Generate a SQL for the following text:
who's the premier with in 1970
SQL:
SELECT Premier FROM table WHERE Season = 1970 | 325 |
Generate a SQL for the following text:
who are all the runner-up for premier in richmond
SQL:
SELECT Runner-up FROM table WHERE Premier = Richmond | 326 |
Generate a SQL for the following text:
what is the minimum attendance with score 8.16 (64) – 8.12 (60)
SQL:
SELECT MIN Attendance FROM table WHERE Score = 8.16 (64) – 8.12 (60) | 327 |
Generate a SQL for the following text:
How many mileposts are there on Anne Street?
SQL:
SELECT COUNT Milepost FROM table WHERE Street Names = Anne Street | 328 |
Generate a SQL for the following text:
Which street is 12.2 miles long?
SQL:
SELECT Street Names FROM table WHERE Milepost = 12.2 | 329 |
Generate a SQL for the following text:
Where does Route 24 intersect?
SQL:
SELECT Location FROM table WHERE Roads Intersected = Route 24 | 330 |
Generate a SQL for the following text:
Where is milepost 12.8?
SQL:
SELECT Location FROM table WHERE Milepost = 12.8 | 331 |
Generate a SQL for the following text:
What is the minimum amount for wool for 2001-02?
SQL:
SELECT MIN 2001-02 FROM table WHERE Commodity = Wool | 332 |
Generate a SQL for the following text:
Who were the operational owners during the construction date of April 1892?
SQL:
SELECT Operational owner(s) FROM table WHERE Build date = April 1892 | 333 |
Generate a SQL for the following text:
Where can you find Colorado and Southern Railway #9?
SQL:
SELECT Disposition FROM table WHERE Operational owner(s) = Colorado and Southern Railway #9 | 334 |
Generate a SQL for the following text:
What is the wheel arrangement for the train in Riverdale, Georgia?
SQL:
SELECT Wheel arrangement ( Whyte notation ) FROM table WHERE Disposition = Riverdale, Georgia | 335 |
Generate a SQL for the following text:
When was the train 2053 built?
SQL:
SELECT Build date FROM table WHERE Serial number = 2053 | 336 |
Generate a SQL for the following text:
How many wheels does the train owned by Texas and New Orleans Railroad #319 have?
SQL:
SELECT COUNT Wheel arrangement ( Whyte notation ) FROM table WHERE Operational owner(s) = Texas and New Orleans Railroad #319 | 337 |
Generate a SQL for the following text:
Which college has the men's nickname of the blazers?
SQL:
SELECT Institution FROM table WHERE Men’s Nickname = Blazers | 338 |
Generate a SQL for the following text:
Name the joined for the wolfpack women's nickname
SQL:
SELECT Joined FROM table WHERE Women’s Nickname = Wolfpack | 339 |
Generate a SQL for the following text:
Name the left of the Lady Pilots.
SQL:
SELECT Left FROM table WHERE Women’s Nickname = Lady Pilots | 340 |
Generate a SQL for the following text:
Name the women's nickname when the enrollment is 1500 in mobile, Alabama.
SQL:
SELECT Women’s Nickname FROM table WHERE Enrollment = 1500 AND Location = Mobile, Alabama | 341 |
Generate a SQL for the following text:
Which conference is in Jackson, Mississippi?
SQL:
SELECT Current Conference FROM table WHERE Location = Jackson, Mississippi | 342 |
Generate a SQL for the following text:
What is the men's nickname at the school that has the lady wildcats women's nickname?
SQL:
SELECT Men’s Nickname FROM table WHERE Women’s Nickname = Lady Wildcats | 343 |
Generate a SQL for the following text:
What is the Mens Nickname for the member location of Jacksonville, florida?
SQL:
SELECT Mens Nickname FROM table WHERE Location = Jacksonville, Florida | 344 |
Generate a SQL for the following text:
What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?
SQL:
SELECT MAX Enrollment FROM table WHERE Founded = 1866 AND Type = Private/(African Methodist) | 345 |
Generate a SQL for the following text:
That is the year founded for the institution location of Nashville, Tennessee?
SQL:
SELECT MIN Founded FROM table WHERE Location = Nashville, Tennessee | 346 |
Generate a SQL for the following text:
What is the year the institution Tougaloo College joined?
SQL:
SELECT Joined FROM table WHERE Institution = Tougaloo College | 347 |
Generate a SQL for the following text:
What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
SQL:
SELECT Date of vacancy FROM table WHERE Date of appointment = 28 November 2007 AND Replaced by = Alex McLeish | 348 |
Generate a SQL for the following text:
What is the date of appointment when the date of vacancy is 21 december 2007?
SQL:
SELECT Date of appointment FROM table WHERE Date of vacancy = 21 December 2007 | 349 |
Generate a SQL for the following text:
Who replaced when team is wigan athletic?
SQL:
SELECT Replaced by FROM table WHERE Team = Wigan Athletic | 350 |
Generate a SQL for the following text:
What is the date of vacancy when the team is manchester city and replaced by is mark hughes?
SQL:
SELECT Date of vacancy FROM table WHERE Team = Manchester City AND Replaced by = Mark Hughes | 351 |
Generate a SQL for the following text:
What is the date of appointment when replaced by is roy hodgson?
SQL:
SELECT Date of appointment FROM table WHERE Replaced by = Roy Hodgson | 352 |
Generate a SQL for the following text:
Who replaced when position in table is pre-season?
SQL:
SELECT Replaced by FROM table WHERE Position in table = Pre-season | 353 |
Generate a SQL for the following text:
How many games had a score value of 813.5 in post-season play?
SQL:
SELECT COUNT Play-off FROM table WHERE Points = 813.5 | 354 |
Generate a SQL for the following text:
Did any team score games that totaled up to 860.5?
SQL:
SELECT Play-off FROM table WHERE Points = 860.5 | 355 |
Generate a SQL for the following text:
What was the score of the game when the team reached a record of 6-9?
SQL:
SELECT Score FROM table WHERE Record = 6-9 | 356 |
Generate a SQL for the following text:
What type institution is point park university
SQL:
SELECT Type FROM table WHERE Institution = Point Park University | 357 |
Generate a SQL for the following text:
How many institutions are located in wilmore, kentucky and private
SQL:
SELECT MAX Founded FROM table WHERE Type = Private AND Location = Wilmore, Kentucky | 358 |
Generate a SQL for the following text:
point park university is what type of institution
SQL:
SELECT Type FROM table WHERE Institution = Point Park University | 359 |
Generate a SQL for the following text:
how many founded dates are listed for carlow university 1
SQL:
SELECT COUNT Founded FROM table WHERE Institution = Carlow University 1 | 360 |
Generate a SQL for the following text:
Who wrote the episode titled "black"?
SQL:
SELECT Written by FROM table WHERE Title = "Black" | 361 |
Generate a SQL for the following text:
Who are the writers for the episode "solo"?
SQL:
SELECT Written by FROM table WHERE Title = "Solo" | 362 |
Generate a SQL for the following text:
what is the original air date of the episode no in season 9?
SQL:
SELECT Original air date FROM table WHERE No. in season = 9 | 363 |
Generate a SQL for the following text:
What is the title of the episode written by denis leary, peter tolan and evan reilly?
SQL:
SELECT Title FROM table WHERE Written by = Denis Leary, Peter Tolan and Evan Reilly | 364 |
Generate a SQL for the following text:
How many episodes were titles "voicemail"?
SQL:
SELECT COUNT Directed by FROM table WHERE Title = "Voicemail" | 365 |
Generate a SQL for the following text:
When was Kamba active?
SQL:
SELECT Dates active FROM table WHERE Name = Kamba | 366 |
Generate a SQL for the following text:
What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?
SQL:
SELECT Pressure FROM table WHERE Deaths = 95km/h (60mph) | 367 |
Generate a SQL for the following text:
What were the active dates for the storm that had 185km/h (115mph) deaths?
SQL:
SELECT Dates active FROM table WHERE Deaths = 185km/h (115mph) | 368 |
Generate a SQL for the following text:
What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?
SQL:
SELECT Damage (USD) FROM table WHERE Pressure = 1003hPa (29.62inHg) | 369 |
Generate a SQL for the following text:
what's the average where high score is 120
SQL:
SELECT Average FROM table WHERE High Score = 120 | 370 |
Generate a SQL for the following text:
what's the player where 50 is 2 and n/o is 0
SQL:
SELECT Player FROM table WHERE 50 = 2 AND N/O = 0 | 371 |
Generate a SQL for the following text:
what's the player where inns is 21
SQL:
SELECT Player FROM table WHERE Inns = 21 | 372 |
Generate a SQL for the following text:
Which general election had a pq majority and a 44.75% of the popular vote?
SQL:
SELECT General election FROM table WHERE Result = PQ majority AND % of popular vote = 44.75% | 373 |
Generate a SQL for the following text:
What is the least number of candidates running were there when 80 seats were won?
SQL:
SELECT MIN # of candidates FROM table WHERE # of seats won = 80 | 374 |
Generate a SQL for the following text:
How many seats were won in the election with 125 candidates?
SQL:
SELECT COUNT # of seats won FROM table WHERE # of candidates = 125 | 375 |
Generate a SQL for the following text:
How many weeks are there?
SQL:
SELECT MAX Week FROM table | 376 |
Generate a SQL for the following text:
How many people attended the game against the indianapolis colts?
SQL:
SELECT COUNT Attendance FROM table WHERE Opponent = Indianapolis Colts | 377 |
Generate a SQL for the following text:
On december 16, 1985, all the records were what?
SQL:
SELECT Record FROM table WHERE Date = December 16, 1985 | 378 |
Generate a SQL for the following text:
How many results are there for the 0-4 record?
SQL:
SELECT COUNT Result FROM table WHERE Record = 0-4 | 379 |
Generate a SQL for the following text:
How many weeks are there that include the date October 11, 1969.
SQL:
SELECT COUNT Week FROM table WHERE Date = October 11, 1969 | 380 |
Generate a SQL for the following text:
How many weeks are there that include the date November 9, 1969.
SQL:
SELECT COUNT Week FROM table WHERE Date = November 9, 1969 | 381 |
Generate a SQL for the following text:
How many records are there at the War Memorial Stadium?
SQL:
SELECT COUNT Record FROM table WHERE Stadium = War Memorial Stadium | 382 |
Generate a SQL for the following text:
What was the minimum attendance on December 7, 1969?
SQL:
SELECT MIN Attendance FROM table WHERE Date = December 7, 1969 | 383 |
Generate a SQL for the following text:
What week corresponds to the last one to be played at the memorial stadium?
SQL:
SELECT MAX Week FROM table WHERE Stadium = Memorial Stadium | 384 |
Generate a SQL for the following text:
In which stadium is the week 5 game played?
SQL:
SELECT Stadium FROM table WHERE Week = 5 | 385 |
Generate a SQL for the following text:
In Penney's game what is the probability where the 1st player wins if the probability of a draw is 8.28% and the 2nd player chooses B BR?
SQL:
SELECT Probability 1st player wins FROM table WHERE Probability of a draw = 8.28% AND 2nd players choice = B BR | 386 |
Generate a SQL for the following text:
If the first player chooses RB B, what is the second player's choices?
SQL:
SELECT 2nd players choice FROM table WHERE 1st players choice = RB B | 387 |
Generate a SQL for the following text:
What is the probability where the second player wins where their choice is R RB and the first player has a 5.18% chance of winning?
SQL:
SELECT Probability 2nd player wins FROM table WHERE 2nd players choice = R RB AND Probability 1st player wins = 5.18% | 388 |
Generate a SQL for the following text:
What are the chances the first player will win if the 2nd player has an 80.11% chance of winning with the choice of R RB?
SQL:
SELECT Probability 1st player wins FROM table WHERE Probability 2nd player wins = 80.11% AND 2nd players choice = R RB | 389 |
Generate a SQL for the following text:
What are the chances that player 2 wins if player 1's choice is BB R?
SQL:
SELECT Probability 2nd player wins FROM table WHERE 1st players choice = BB R | 390 |
Generate a SQL for the following text:
How high is the chance that player 1 wins if player 2 has an 88.29% chance of winning with the choice of R RB?
SQL:
SELECT Probability 1st player wins FROM table WHERE Probability 2nd player wins = 88.29% AND 2nd players choice = R RB | 391 |
Generate a SQL for the following text:
what is the nfl team where player is thane gash
SQL:
SELECT NFL Team FROM table WHERE Player = Thane Gash | 392 |
Generate a SQL for the following text:
what is the maximum pick # where player is anthony blaylock
SQL:
SELECT MAX Pick # FROM table WHERE Player = Anthony Blaylock | 393 |
Generate a SQL for the following text:
what's the nfl team where player is clifford charlton
SQL:
SELECT NFL Team FROM table WHERE Player = Clifford Charlton | 394 |
Generate a SQL for the following text:
what's the position where player is anthony blaylock
SQL:
SELECT Position FROM table WHERE Player = Anthony Blaylock | 395 |
Generate a SQL for the following text:
what is the minimum pick # where position is defensive tackle
SQL:
SELECT MIN Pick # FROM table WHERE Position = Defensive Tackle | 396 |
Generate a SQL for the following text:
Which province has a density of 971.4?
SQL:
SELECT Province FROM table WHERE Density = 971.4 | 397 |
Generate a SQL for the following text:
What is Friesland's gdp per capita?
SQL:
SELECT MIN GDP per cap. (2003, in €) FROM table WHERE Province = Friesland | 398 |
Generate a SQL for the following text:
What is the area of the place that has a population density of 331.4?
SQL:
SELECT MAX Area (km²) FROM table WHERE Density = 331.4 | 399 |