messages
stringlengths
82
562
__index_level_0__
int64
0
56.4k
Generate a SQL for the following text: What was the constructor for round 15? SQL: SELECT Constructor FROM table WHERE Rnd = 15
900
Generate a SQL for the following text: Who won the Brands Hatch circuit? SQL: SELECT Winning driver FROM table WHERE Circuit = Brands Hatch
901
Generate a SQL for the following text: Who constructed the I Italian Republic Grand Prix? SQL: SELECT Constructor FROM table WHERE Race Name = I Italian Republic Grand Prix
902
Generate a SQL for the following text: What race was held at Oulton Park? SQL: SELECT Race Name FROM table WHERE Circuit = Oulton Park
903
Generate a SQL for the following text: Did the I Brazilian Grand Prix have a report? SQL: SELECT Report FROM table WHERE Race Name = I Brazilian Grand Prix
904
Generate a SQL for the following text: what is the race where the pole position is niki lauda and the date is 27 april? SQL: SELECT Race FROM table WHERE Pole Position = Niki Lauda AND Date = 27 April
905
Generate a SQL for the following text: what is the date where the constructor is ferrari and the location is anderstorp? SQL: SELECT Date FROM table WHERE Constructor = Ferrari AND Location = Anderstorp
906
Generate a SQL for the following text: how many times is the pole position niki lauda and the race is monaco grand prix? SQL: SELECT COUNT Rnd FROM table WHERE Pole Position = Niki Lauda AND Race = Monaco Grand Prix
907
Generate a SQL for the following text: what is the report where the location is kyalami? SQL: SELECT Report FROM table WHERE Location = Kyalami
908
Generate a SQL for the following text: who is the pole position for the rnd 3 SQL: SELECT Pole Position FROM table WHERE Rnd = 3
909
Generate a SQL for the following text: what is the race where the fastest lap is by jean-pierre jarier? SQL: SELECT Race FROM table WHERE Fastest Lap = Jean-Pierre Jarier
910
Generate a SQL for the following text: What circuit did Clay Regazzoni win? SQL: SELECT Circuit FROM table WHERE Winning driver = Clay Regazzoni
911
Generate a SQL for the following text: What was the date when Chris Amon won? SQL: SELECT Date FROM table WHERE Winning driver = Chris Amon
912
Generate a SQL for the following text: What circuit is the Vi Rhein-Pokalrennen race in? SQL: SELECT Circuit FROM table WHERE Race Name = VI Rhein-Pokalrennen
913
Generate a SQL for the following text: What date is listed at place 13 SQL: SELECT Date FROM table WHERE # = 13
914
Generate a SQL for the following text: What date has a solitudering circuit SQL: SELECT Date FROM table WHERE Circuit = Solitudering
915
Generate a SQL for the following text: How many dates have silverstone circuit SQL: SELECT COUNT Date FROM table WHERE Circuit = Silverstone
916
Generate a SQL for the following text: How many constructors are listed for the XVI BRDC international trophy race SQL: SELECT COUNT Constructor FROM table WHERE Race Name = XVI BRDC International Trophy
917
Generate a SQL for the following text: What is the name of the circuit in which the race name is ii danish grand prix? SQL: SELECT Circuit FROM table WHERE Race Name = II Danish Grand Prix
918
Generate a SQL for the following text: What is te name of the constructors dated 26 march? SQL: SELECT Constructor FROM table WHERE Date = 26 March
919
Generate a SQL for the following text: What is the total amount of circuts dated 22 april? SQL: SELECT COUNT Circuit FROM table WHERE Date = 22 April
920
Generate a SQL for the following text: what is the name of the constructor that has the circuit zeltweg airfield? SQL: SELECT Constructor FROM table WHERE Circuit = Zeltweg Airfield
921
Generate a SQL for the following text: What is the name of the winning driver where the circuit name is posillipo? SQL: SELECT Winning driver FROM table WHERE Circuit = Posillipo
922
Generate a SQL for the following text: What is the name of the circuit where the race xi Syracuse grand prix was held? SQL: SELECT Circuit FROM table WHERE Race Name = XI Syracuse Grand Prix
923
Generate a SQL for the following text: What kind of report is for the Pau circuit? SQL: SELECT Report FROM table WHERE Circuit = Pau
924
Generate a SQL for the following text: How many different kinds of reports are there for races that Juan Manuel Fangio won? SQL: SELECT COUNT Report FROM table WHERE Winning driver = Juan Manuel Fangio
925
Generate a SQL for the following text: Who constructed the Syracuse circuit? SQL: SELECT Constructor FROM table WHERE Circuit = Syracuse
926
Generate a SQL for the following text: What is the name of the race in the Modena circuit? SQL: SELECT Race Name FROM table WHERE Circuit = Modena
927
Generate a SQL for the following text: What is the race name in the Monza circuit? SQL: SELECT Race Name FROM table WHERE Circuit = Monza
928
Generate a SQL for the following text: When does V Madgwick Cup take place? SQL: SELECT Date FROM table WHERE Race Name = V Madgwick Cup
929
Generate a SQL for the following text: Which driver won the race xiv eläintarhanajot? SQL: SELECT Winning driver FROM table WHERE Race Name = XIV Eläintarhanajot
930
Generate a SQL for the following text: Who won the Modena circuit? SQL: SELECT Winning driver FROM table WHERE Circuit = Modena
931
Generate a SQL for the following text: How many constructors won the III Redex Trophy? SQL: SELECT COUNT Constructor FROM table WHERE Race Name = III RedeX Trophy
932
Generate a SQL for the following text: What was the report of Mike Hawthorn's winning race? SQL: SELECT Report FROM table WHERE Winning driver = Mike Hawthorn
933
Generate a SQL for the following text: What was the name of the race in Bordeaux? SQL: SELECT Race Name FROM table WHERE Circuit = Bordeaux
934
Generate a SQL for the following text: What is the report for the race name V Ulster Trophy? SQL: SELECT Report FROM table WHERE Race Name = V Ulster Trophy
935
Generate a SQL for the following text: What is the constructor for the Silverstone circuit? SQL: SELECT Constructor FROM table WHERE Circuit = Silverstone
936
Generate a SQL for the following text: What's the report for the Silverstone circuit? SQL: SELECT Report FROM table WHERE Circuit = Silverstone
937
Generate a SQL for the following text: What's the report for the race name, XIII Grand Prix de l'Albigeois? SQL: SELECT Report FROM table WHERE Race Name = XIII Grand Prix de l'Albigeois
938
Generate a SQL for the following text: Which date did the race name XII Pau Grand Prix take place on? SQL: SELECT Date FROM table WHERE Race Name = XII Pau Grand Prix
939
Generate a SQL for the following text: Who was the winning driver for the goodwood circuit? SQL: SELECT Winning driver FROM table WHERE Circuit = Goodwood
940
Generate a SQL for the following text: How many millions of U.S. viewers whatched episodes written by Krystal Houghton? SQL: SELECT U.S. viewers (millions) FROM table WHERE Written by = Krystal Houghton
941
Generate a SQL for the following text: How many titles were directed in series 79? SQL: SELECT COUNT Directed by FROM table WHERE No. in series = 79
942
Generate a SQL for the following text: Who wrote an episode watched by 19.01 million US viewers? SQL: SELECT Written by FROM table WHERE U.S. viewers (millions) = 19.01
943
Generate a SQL for the following text: What are the titles of the episodes where Rodman Flender is the director? SQL: SELECT Episode title FROM table WHERE Director = Rodman Flender
944
Generate a SQL for the following text: What is the original air date of the Jamie Babbit directed episode? SQL: SELECT Original air date FROM table WHERE Director = Jamie Babbit
945
Generate a SQL for the following text: What is the original air date when there were 12.81 million u.s viewers? SQL: SELECT Original air date FROM table WHERE U.S. viewers (millions) = 12.81
946
Generate a SQL for the following text: When did Shelia Lawrence join the series? SQL: SELECT MIN Series # FROM table WHERE Writer(s) = Shelia Lawrence
947
Generate a SQL for the following text: Who was the director when there were 13.66 million u.s viewers? SQL: SELECT Director FROM table WHERE U.S. viewers (millions) = 13.66
948
Generate a SQL for the following text: Name the percentage where the amount won was 25 SQL: SELECT Pct % FROM table WHERE Won = 25
949
Generate a SQL for the following text: How many games were won with 2nd oha was standing and there were 62 games? SQL: SELECT Won FROM table WHERE Standing = 2nd OHA AND Games = 62
950
Generate a SQL for the following text: What is the Liscumb when Gauthier is 34? SQL: SELECT Liscumb FROM table WHERE Gauthier = 34
951
Generate a SQL for the following text: What is the Bello when Ben-Tahir is 296? SQL: SELECT Bello FROM table WHERE Ben-Tahir = 296
952
Generate a SQL for the following text: What is Ben-Tahir when Bello is 51? SQL: SELECT Ben-Tahir FROM table WHERE Bello = 51
953
Generate a SQL for the following text: What is Haydon when Larter is 11 and Libweshya is 4? SQL: SELECT Haydon FROM table WHERE Larter = 11 AND Libweshya = 4
954
Generate a SQL for the following text: What is Liscumb when Haydon is 1632? SQL: SELECT Liscumb FROM table WHERE Haydon = 1632
955
Generate a SQL for the following text: What is Doucet when Lawrance is 36? SQL: SELECT Doucet FROM table WHERE Lawrance = 36
956
Generate a SQL for the following text: Which tv had the date december 7, 1986? SQL: SELECT TV FROM table WHERE Date = December 7, 1986
957
Generate a SQL for the following text: Which kickoff has the opponent at new orleans saints? SQL: SELECT Kickoff [a ] FROM table WHERE Opponent = at New Orleans Saints
958
Generate a SQL for the following text: How many houses are green? SQL: SELECT COUNT House Name FROM table WHERE Colours = Green
959
Generate a SQL for the following text: What year was the house named gongola made? SQL: SELECT Founded FROM table WHERE House Name = Gongola
960
Generate a SQL for the following text: What is the name of the green house? SQL: SELECT House Name FROM table WHERE Colours = Green
961
Generate a SQL for the following text: What is the green house made of? SQL: SELECT Composition FROM table WHERE Colours = Green
962
Generate a SQL for the following text: What is the benue house made of? SQL: SELECT Composition FROM table WHERE House Name = Benue
963
Generate a SQL for the following text: In which week was the game against a team with a record of 3-6 played? SQL: SELECT COUNT Week FROM table WHERE Record = 3-6
964
Generate a SQL for the following text: Which channel had the game against the Minnesota Vikings? SQL: SELECT TV FROM table WHERE Opponent = Minnesota Vikings
965
Generate a SQL for the following text: How many opponents were there at the game with 64,087 people in attendance? SQL: SELECT COUNT Opponent FROM table WHERE Attendance = 64,087
966
Generate a SQL for the following text: Where was the game played when the team's record was 1-3? SQL: SELECT Game site FROM table WHERE Record = 1-3
967
Generate a SQL for the following text: How many times was there a kickoff in the September 4, 1988 game? SQL: SELECT COUNT Kickoff [a ] FROM table WHERE Date = September 4, 1988
968
Generate a SQL for the following text: How many crowds watched the game where the record was 1-3? SQL: SELECT COUNT Attendance FROM table WHERE Record = 1-3
969
Generate a SQL for the following text: What year finished with Daniel Zueras as the runner-up? SQL: SELECT COUNT Year FROM table WHERE Runner-up = Daniel Zueras
970
Generate a SQL for the following text: How many people hosted the show in the year when Chenoa ended up in fourth place? SQL: SELECT COUNT Host FROM table WHERE Fourth place = Chenoa
971
Generate a SQL for the following text: How many fourth places were there in 2003? SQL: SELECT COUNT Fourth place FROM table WHERE Year = 2003
972
Generate a SQL for the following text: What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:? SQL: SELECT engine type FROM table WHERE max. torque at rpm = N·m ( lbf·ft ) @ 4,800
973
Generate a SQL for the following text: What is the engine configuration $notes 0-100km/h for the engine type b5244 t2? SQL: SELECT engine configuration & notes 0-100km/h FROM table WHERE engine type = B5244 T2
974
Generate a SQL for the following text: What is the engine displacement for the engine type b5254 t? SQL: SELECT engine displacement FROM table WHERE engine type = B5254 T
975
Generate a SQL for the following text: How many have are model 2.4 awd? SQL: SELECT COUNT engine type FROM table WHERE model = 2.4 AWD
976
Generate a SQL for the following text: How many engine b5204 t3? SQL: SELECT COUNT engine displacement FROM table WHERE engine type = B5204 T3
977
Generate a SQL for the following text: How many engine b5234 t3? SQL: SELECT COUNT model FROM table WHERE engine type = B5234 T3
978
Generate a SQL for the following text: how many power (ps) with torque (nm@rpm) being 240@2200-5000 SQL: SELECT COUNT Power (ps) FROM table WHERE Torque (Nm@rpm) = 240@2200-5000
979
Generate a SQL for the following text: what's the comment with model name being 2.4 (2001-2007) SQL: SELECT Comment FROM table WHERE Model name = 2.4 (2001-2007)
980
Generate a SQL for the following text: what's the model name with engine code being b5204 t5 SQL: SELECT Model name FROM table WHERE Engine code = B5204 T5
981
Generate a SQL for the following text: what's the dbeingplacement (cm³) with torque (nm@rpm) being 350@1800-6000 SQL: SELECT Displacement (cm³) FROM table WHERE Torque (Nm@rpm) = 350@1800-6000
982
Generate a SQL for the following text: what's the model name with torque (nm@rpm) being 230@4500 SQL: SELECT Model name FROM table WHERE Torque (Nm@rpm) = 230@4500
983
Generate a SQL for the following text: what's the model name with engine code being b5254 t4 SQL: SELECT Model name FROM table WHERE Engine code = B5254 T4
984
Generate a SQL for the following text: Name the torque of the engine is d5244 t5 SQL: SELECT Torque (Nm@rpm) FROM table WHERE Engine code = D5244 T5
985
Generate a SQL for the following text: What is the model of the engine d5244 t? SQL: SELECT Model name FROM table WHERE Engine code = D5244 T
986
Generate a SQL for the following text: What is the model of the enginge d5252 t? SQL: SELECT Model name FROM table WHERE Engine code = D5252 T
987
Generate a SQL for the following text: What is the model of the engine d5244 t7? SQL: SELECT Model name FROM table WHERE Engine code = D5244 T7
988
Generate a SQL for the following text: What is the position of number 47? SQL: SELECT Position FROM table WHERE No. = 47
989
Generate a SQL for the following text: Name the position of Turkey SQL: SELECT Position FROM table WHERE Nationality = Turkey
990
Generate a SQL for the following text: Who is player number 51? SQL: SELECT Player FROM table WHERE No. = 51
991
Generate a SQL for the following text: What is the position for the years 1998-99 SQL: SELECT Position FROM table WHERE Years for Jazz = 1998-99
992
Generate a SQL for the following text: How many positions are for creighton? SQL: SELECT COUNT Position FROM table WHERE School/Club Team = Creighton
993
Generate a SQL for the following text: Which player is from Marshall and played 1974-75? SQL: SELECT Player FROM table WHERE Years for Jazz = 1974-75 AND School/Club Team = Marshall
994
Generate a SQL for the following text: Which country is the player that went to Oregon? SQL: SELECT Nationality FROM table WHERE School/Club Team = Oregon
995
Generate a SQL for the following text: Which country is Jim Les from? SQL: SELECT Nationality FROM table WHERE Player = Jim Les
996
Generate a SQL for the following text: Which number is the player from Minnesota? SQL: SELECT MAX No. FROM table WHERE School/Club Team = Minnesota
997
Generate a SQL for the following text: Which player played for years 2000-02 SQL: SELECT Player FROM table WHERE Years for Jazz = 2000-02
998
Generate a SQL for the following text: Which school is Kirk Snyder from? SQL: SELECT School/Club Team FROM table WHERE Player = Kirk Snyder
999