messages
stringlengths
82
562
__index_level_0__
int64
0
56.4k
Generate a SQL for the following text: Which province has a gdp of 38355€ million euros? SQL: SELECT Province FROM table WHERE GDP (2003, PPS in mil. € ) = 38355
400
Generate a SQL for the following text: What is the population estimate for the place that gad a 18496€ million euro gdp? SQL: SELECT Population (2004 estimate) FROM table WHERE GDP (2003, PPS in mil. € ) = 18496
401
Generate a SQL for the following text: What is the title when original air date is may15,2008? SQL: SELECT Title FROM table WHERE Original air date = May15,2008
402
Generate a SQL for the following text: What is the highest no. in season? SQL: SELECT MAX No. in season FROM table
403
Generate a SQL for the following text: Who directed the episode where u.s. viewers (million) is 12.90? SQL: SELECT Directed by FROM table WHERE U.S. viewers (million) = 12.90
404
Generate a SQL for the following text: How many episodes aired in Region 2 beginning May 26, 2008? SQL: SELECT MIN # of Ep FROM table WHERE Region 2 = May 26, 2008
405
Generate a SQL for the following text: What date did the DVD for season six come out in region 2? SQL: SELECT Region 2 FROM table WHERE DVD Name = Season Six
406
Generate a SQL for the following text: What is the least amount of season epidsodes? SQL: SELECT MIN # of Ep FROM table
407
Generate a SQL for the following text: What DVD season/name for region 2 was released August 22, 2010? SQL: SELECT DVD Name FROM table WHERE Region 2 = August 22, 2010
408
Generate a SQL for the following text: How many points for 2005? SQL: SELECT COUNT Points FROM table WHERE Season = 2005
409
Generate a SQL for the following text: what is the score for the dams? SQL: SELECT Points FROM table WHERE Team Name = DAMS
410
Generate a SQL for the following text: how many positions in 2009? SQL: SELECT COUNT Position FROM table WHERE Season = 2009
411
Generate a SQL for the following text: what is the least number of poles? SQL: SELECT MIN Poles FROM table
412
Generate a SQL for the following text: Which series with 62 points? SQL: SELECT Series FROM table WHERE Points = 62
413
Generate a SQL for the following text: What is the total for 10th position? SQL: SELECT COUNT Points FROM table WHERE Position = 10th
414
Generate a SQL for the following text: how many reports of races took place on october 16? SQL: SELECT COUNT Report FROM table WHERE Date = October 16
415
Generate a SQL for the following text: what is the name of the report that lists the race name as long beach grand prix? SQL: SELECT Report FROM table WHERE Race Name = Long Beach Grand Prix
416
Generate a SQL for the following text: what is the report called where the circuit took place at the nazareth speedway? SQL: SELECT Report FROM table WHERE Circuit = Nazareth Speedway
417
Generate a SQL for the following text: what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position? SQL: SELECT Race Name FROM table WHERE Winning team = Newman/Haas Racing AND Pole position = Rick Mears
418
Generate a SQL for the following text: meadowlands sports complex is the circuit at which city/location? SQL: SELECT City/Location FROM table WHERE Circuit = Meadowlands Sports Complex
419
Generate a SQL for the following text: What is the literacy rate for groups that grew 103.1% between 1991 and 2001? SQL: SELECT Literacy (%) FROM table WHERE Growth (1991–2001) = 103.1%
420
Generate a SQL for the following text: What is the lowest sex ratio in rural areas? SQL: SELECT MIN Sex ratio (rural) FROM table
421
Generate a SQL for the following text: What is the lowest child sex ratio in groups where employment is 31.3%? SQL: SELECT MIN Sex ratio (child) FROM table WHERE Work participation (%) = 31.3%
422
Generate a SQL for the following text: What is the population percentage of the group where the rural sex ratio is 953? SQL: SELECT Population % FROM table WHERE Sex ratio (rural) = 953
423
Generate a SQL for the following text: What is the original air date for the title "felonious monk"? SQL: SELECT Original air date FROM table WHERE Title = "Felonious Monk"
424
Generate a SQL for the following text: What is the title of the episode directed by Peter Markle and written by Jerry Stahl? SQL: SELECT Title FROM table WHERE Directed by = Peter Markle AND Written by = Jerry Stahl
425
Generate a SQL for the following text: How many episodes were titled "identity crisis"? SQL: SELECT COUNT Directed by FROM table WHERE Title = "Identity Crisis"
426
Generate a SQL for the following text: Who does the lap-by-lap in 2011? SQL: SELECT Lap-by-lap FROM table WHERE Year = 2011
427
Generate a SQL for the following text: Which network has Marty Reid as host and lap-by-lap broadcaster? SQL: SELECT Network FROM table WHERE Lap-by-lap = Marty Reid AND Host = Marty Reid
428
Generate a SQL for the following text: How many pre-race analysis occur when Allen Bestwick does the lap-by-lap? SQL: SELECT COUNT Pre-race analyst FROM table WHERE Lap-by-lap = Allen Bestwick
429
Generate a SQL for the following text: What's the highest season number of an episode in the series? SQL: SELECT MAX No. in season FROM table
430
Generate a SQL for the following text: When did the episode titled "Lucky Strike" air for the first time? SQL: SELECT Original air date FROM table WHERE Title = "Lucky Strike"
431
Generate a SQL for the following text: Who was the writer of the episode titled "One Hit Wonder"? SQL: SELECT Written by FROM table WHERE Title = "One Hit Wonder"
432
Generate a SQL for the following text: What's the date of the first airing of the episode with series number 63? SQL: SELECT Original air date FROM table WHERE No. in series = 63
433
Generate a SQL for the following text: How many titles got a viewership of 26.53 million? SQL: SELECT COUNT Title FROM table WHERE U.S. viewers (millions) = 26.53
434
Generate a SQL for the following text: How many viewers tuned into the show directed by Matt Earl Beesley? SQL: SELECT U.S. viewers (millions) FROM table WHERE Directed by = Matt Earl Beesley
435
Generate a SQL for the following text: Who wrote episode 94? SQL: SELECT Written by FROM table WHERE No. in series = 94
436
Generate a SQL for the following text: Which episode was the number in the season where the number in the season is 10? SQL: SELECT No. in series FROM table WHERE No. in season = 10
437
Generate a SQL for the following text: How many episodes were in the season that had the epiosde of "crow's feet"? SQL: SELECT No. in season FROM table WHERE Title = "Crow's Feet"
438
Generate a SQL for the following text: When did the 113 episode air? SQL: SELECT Original air date FROM table WHERE No. in series = 113
439
Generate a SQL for the following text: How many titles were there for the 113 episode? SQL: SELECT COUNT Title FROM table WHERE No. in series = 113
440
Generate a SQL for the following text: What is the number in the season that Marlene Meyer wrote and 20.49 million people watched? SQL: SELECT MAX No. in season FROM table WHERE Written by = Marlene Meyer AND U.S. viewers (millions) = 20.49
441
Generate a SQL for the following text: When did the no. 23 show originally air? SQL: SELECT Original air date FROM table WHERE No. in season = 23
442
Generate a SQL for the following text: Which circuits had a race on October 4? SQL: SELECT Circuit FROM table WHERE Date = October 4
443
Generate a SQL for the following text: In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team? SQL: SELECT Report FROM table WHERE Pole position = Michael Andretti AND Winning team = Galles-Kraco Racing
444
Generate a SQL for the following text: How many rounds were there of the Bosch Spark Plug Grand Prix? SQL: SELECT COUNT Rnd FROM table WHERE Race Name = Bosch Spark Plug Grand Prix
445
Generate a SQL for the following text: Which rounds were held on August 9? SQL: SELECT Rnd FROM table WHERE Date = August 9
446
Generate a SQL for the following text: On how many dates did the Michigan International Speedway hold a round? SQL: SELECT COUNT Date FROM table WHERE Circuit = Michigan International Speedway
447
Generate a SQL for the following text: Name the total number of bids of the sun belt conference SQL: SELECT COUNT # of Bids FROM table WHERE Conference = Sun Belt
448
Generate a SQL for the following text: Name the round of 32 in conference usa SQL: SELECT Round of 32 FROM table WHERE Conference = Conference USA
449
Generate a SQL for the following text: What is the record when round of 32 is 0 and metro atlantic conference? SQL: SELECT Record FROM table WHERE Round of 32 = 0 AND Conference = Metro Atlantic
450
Generate a SQL for the following text: What is the number of bids with elite eight larger than 1.0 SQL: SELECT COUNT # of Bids FROM table WHERE Elite Eight > 1.0
451
Generate a SQL for the following text: Who directed the episode with production code 7aff03? SQL: SELECT Directed by FROM table WHERE Production code = 7AFF03
452
Generate a SQL for the following text: What is the title of the episode wtih 10.34 million U.S viewers? SQL: SELECT Title FROM table WHERE U.S. viewers (millions) = 10.34
453
Generate a SQL for the following text: What place is the team that completed 6 races? SQL: SELECT Position FROM table WHERE Races = 6
454
Generate a SQL for the following text: how much did the british formula three called "fortec motorsport" score? SQL: SELECT Points FROM table WHERE Series = British Formula Three AND Team Name = Fortec Motorsport
455
Generate a SQL for the following text: how many races were in 2009 with 0 wins? SQL: SELECT Races FROM table WHERE Season = 2009 AND Wins = 0
456
Generate a SQL for the following text: What years did art grand prix compete? SQL: SELECT Season FROM table WHERE Team Name = ART Grand Prix
457
Generate a SQL for the following text: What year had a score of 9? SQL: SELECT Season FROM table WHERE Points = 9
458
Generate a SQL for the following text: what is the greatest number of wins by japanese formula three? SQL: SELECT MAX Wins FROM table WHERE Series = Japanese Formula Three
459
Generate a SQL for the following text: Who took test #4? SQL: SELECT Test-taker FROM table WHERE # = 4
460
Generate a SQL for the following text: What episode aired on 18 April 2007? SQL: SELECT MIN # FROM table WHERE Air Date = 18 April 2007
461
Generate a SQL for the following text: Who had the challenge of night driving? SQL: SELECT Test-taker FROM table WHERE Challenge = Night Driving
462
Generate a SQL for the following text: How many directors were there for the film Course Completed? SQL: SELECT COUNT Director FROM table WHERE Film title used in nomination = Course Completed
463
Generate a SQL for the following text: Who directed El Nido? SQL: SELECT Director FROM table WHERE Original title = El nido
464
Generate a SQL for the following text: Who directed Dulcinea? SQL: SELECT Director FROM table WHERE Original title = Dulcinea
465
Generate a SQL for the following text: What are the slovenian names of the villages that had 65.9% of slovenes in 1951? SQL: SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1951 = 65.9%
466
Generate a SQL for the following text: What are the slovenian names of the villages that had 16.7% of slovenes in 1991? SQL: SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1991 = 16.7%
467
Generate a SQL for the following text: How many villages had 21.7% of slovenes in 1991? SQL: SELECT COUNT Village (German) FROM table WHERE Percent of Slovenes 1991 = 21.7%
468
Generate a SQL for the following text: what percent of slovenes did the village called čahorče in slovenian have in 1991? SQL: SELECT Percent of Slovenes 1991 FROM table WHERE Village (Slovenian) = Čahorče
469
Generate a SQL for the following text: What is the slovenian name for the village that in german is known as st.margarethen? SQL: SELECT Village (Slovenian) FROM table WHERE Village (German) = St.Margarethen
470
Generate a SQL for the following text: For games on December 20, how many points did the scoring leaders get? SQL: SELECT High points FROM table WHERE Date = December 20
471
Generate a SQL for the following text: Who was the scoring leader and how many points did he get in games on December 23? SQL: SELECT High points FROM table WHERE Date = December 23
472
Generate a SQL for the following text: What is the pick # for the position de? SQL: SELECT Pick # FROM table WHERE Position = DE
473
Generate a SQL for the following text: Which player went to college at Saint Mary's? SQL: SELECT Player FROM table WHERE College = Saint Mary's
474
Generate a SQL for the following text: What is the position for the player with cfl team Winnipeg blue bombers? SQL: SELECT Position FROM table WHERE CFL Team = Winnipeg Blue Bombers
475
Generate a SQL for the following text: Which player went to college at Laval? SQL: SELECT Player FROM table WHERE College = Laval
476
Generate a SQL for the following text: What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)? SQL: SELECT College FROM table WHERE CFL Team = Edmonton Eskimos (via Calgary)
477
Generate a SQL for the following text: What's the team of the player from St. Francis Xavier College? SQL: SELECT CFL Team FROM table WHERE College = St. Francis Xavier
478
Generate a SQL for the following text: What player is on the Montreal Alouettes CFl team? SQL: SELECT Player FROM table WHERE CFL Team = Montreal Alouettes
479
Generate a SQL for the following text: What's the pick number of the player from Toronto Argonauts? SQL: SELECT MIN Pick # FROM table WHERE CFL Team = Toronto Argonauts
480
Generate a SQL for the following text: What's the pick number of the player whose position is CB? SQL: SELECT Pick # FROM table WHERE Position = CB
481
Generate a SQL for the following text: What's the pick number of the player from New Mexico? SQL: SELECT MAX Pick # FROM table WHERE College = New Mexico
482
Generate a SQL for the following text: What player went to Ohio State College? SQL: SELECT Player FROM table WHERE College = Ohio State
483
Generate a SQL for the following text: What is the minimum introduced value for the Departmental region? SQL: SELECT MIN Introduced FROM table WHERE Region = Departmental
484
Generate a SQL for the following text: What is the smallest introduced value? SQL: SELECT MIN Introduced FROM table
485
Generate a SQL for the following text: Which CFL Teams drafted an OL in 2006? SQL: SELECT CFL Team FROM table WHERE Position = OL
486
Generate a SQL for the following text: Which college is aligned to the Saskatchewan Roughriders? SQL: SELECT College FROM table WHERE CFL Team = Saskatchewan Roughriders
487
Generate a SQL for the following text: What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft. SQL: SELECT Position FROM table WHERE CFL Team = Hamilton Tiger-Cats (via Ottawa)
488
Generate a SQL for the following text: What is the earliest pick listed in the table. SQL: SELECT MIN Pick # FROM table
489
Generate a SQL for the following text: What episode number had production code e4423? SQL: SELECT MAX No. in season FROM table WHERE Production code = E4423
490
Generate a SQL for the following text: What's the latest episode in a season where the U.S. viewers totaled 14.37 million? SQL: SELECT MAX No. in season FROM table WHERE U.S. viewers (millions) = 14.37
491
Generate a SQL for the following text: Who directed the episode "Escape"? SQL: SELECT Directed by FROM table WHERE Title = "Escape"
492
Generate a SQL for the following text: How many seasons is the season finale on May 26, 2010? SQL: SELECT COUNT Season FROM table WHERE Season finale = May 26, 2010
493
Generate a SQL for the following text: What episodes are there where the season premier is September 23, 2009? SQL: SELECT Episodes FROM table WHERE Season premiere = September 23, 2009
494
Generate a SQL for the following text: What is the season finale for season 4? SQL: SELECT Season finale FROM table WHERE Season = 4
495
Generate a SQL for the following text: How many season premiers have a rank of #21? SQL: SELECT Season premiere FROM table WHERE Rank = #21
496
Generate a SQL for the following text: What are the seasons where September 26, 2007 is the season premier? SQL: SELECT TV season FROM table WHERE Season premiere = September 26, 2007
497
Generate a SQL for the following text: What max processor has a maximum memory of 256 gb? SQL: SELECT Max processors FROM table WHERE Max memory = 256 GB
498
Generate a SQL for the following text: What is the max memory of the t5120 model? SQL: SELECT Max memory FROM table WHERE Model = T5120
499