question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Who had the high assists @ Dallas?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_assists" FROM "game_log" WHERE "team"='@ Dallas';
|
1-11964154-11
|
Who had the high assists when the location attendance was Toyota Center 18,370?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='Toyota Center 18,370';
|
1-11964154-11
|
What was the record when the high rebounds was from Nick Collison (11)?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "high_rebounds"='Nick Collison (11)';
|
1-11964154-11
|
How many times was the final score l 96–123 (ot)?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT COUNT("record") FROM "game_log" WHERE "score"='L 96–123 (OT)';
|
1-11964154-7
|
How many times was the high assists earl watson (5) and the date of the game was december 2?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT COUNT("score") FROM "game_log" WHERE "high_assists"='Earl Watson (5)' AND "date"='December 2';
|
1-11964154-7
|
Whom did they play on game number 25?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "team" FROM "game_log" WHERE "game"=25;
|
1-11964154-7
|
What is the number of the leading scorer for keyarena 16,640?
|
CREATE TABLE "february" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT COUNT("leading_scorer") FROM "february" WHERE "attendance"='KeyArena 16,640';
|
1-11964047-8
|
What is the number of leading scorer of february 21?
|
CREATE TABLE "february" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT COUNT("leading_scorer") FROM "february" WHERE "date"='February 21';
|
1-11964047-8
|
What is the leading scorer on february 1?
|
CREATE TABLE "february" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "leading_scorer" FROM "february" WHERE "date"='February 1';
|
1-11964047-8
|
what's the score where record is 35–33
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "score" FROM "march" WHERE "record"='35–33';
|
1-11964047-9
|
what's the home where date is march 27
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "home" FROM "march" WHERE "date"='March 27';
|
1-11964047-9
|
what's the date where visitor is phoenix suns and record is 31–30
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "date" FROM "march" WHERE "visitor"='Phoenix Suns' AND "record"='31–30';
|
1-11964047-9
|
what's the home team where score is l 80–88
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "home" FROM "march" WHERE "score"='L 80–88';
|
1-11964047-9
|
what's the leading scorer on march 2
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "leading_scorer" FROM "march" WHERE "date"='March 2';
|
1-11964047-9
|
what's the leading scorer where home is sacramento kings
|
CREATE TABLE "march" (
"num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
);
|
SELECT "leading_scorer" FROM "march" WHERE "home"='Sacramento Kings';
|
1-11964047-9
|
what's the team where date is february 8
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "team" FROM "game_log" WHERE "date"='February 8';
|
1-11964154-9
|
what's the location attendance where high rebounds is nick collison (14)
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "location_attendance" FROM "game_log" WHERE "high_rebounds"='Nick Collison (14)';
|
1-11964154-9
|
what's the record where score is w 105–92 (ot)
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "score"='W 105–92 (OT)';
|
1-11964154-9
|
what's the location attendance where record is 14–39
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "location_attendance" FROM "game_log" WHERE "record"='14–39';
|
1-11964154-9
|
what is the maximum game where high points is mickaël gelabale (21)
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT MAX("game") FROM "game_log" WHERE "high_points"='Mickaël Gelabale (21)';
|
1-11964154-9
|
what's the record where location attendance is keyarena 13,627
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "location_attendance"='KeyArena 13,627';
|
1-11964154-9
|
What is the score for april 29?
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT "score" FROM "playoffs" WHERE "date"='April 29';
|
1-11964263-13
|
Name the minimum game
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT MIN("game") FROM "playoffs";
|
1-11964263-13
|
Name the high points for toyota center 18,269?
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT "high_points" FROM "playoffs" WHERE "location_attendance"='Toyota Center 18,269';
|
1-11964263-13
|
what's the preliminaries with average being 9.135
|
CREATE TABLE "scores" (
"country" text,
"preliminaries" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"average" text
);
|
SELECT "preliminaries" FROM "scores" WHERE "average"='9.135';
|
1-11970261-2
|
what's the evening gown with preliminaries being 9.212
|
CREATE TABLE "scores" (
"country" text,
"preliminaries" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"average" text
);
|
SELECT "evening_gown" FROM "scores" WHERE "preliminaries"='9.212';
|
1-11970261-2
|
what's the interview with swimsuit being 9.140
|
CREATE TABLE "scores" (
"country" text,
"preliminaries" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"average" text
);
|
SELECT "interview" FROM "scores" WHERE "swimsuit"='9.140';
|
1-11970261-2
|
what's the evening gown with swimsuit being 9.134
|
CREATE TABLE "scores" (
"country" text,
"preliminaries" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"average" text
);
|
SELECT "evening_gown" FROM "scores" WHERE "swimsuit"='9.134';
|
1-11970261-2
|
what's the preliminaries with average being 9.360
|
CREATE TABLE "scores" (
"country" text,
"preliminaries" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"average" text
);
|
SELECT "preliminaries" FROM "scores" WHERE "average"='9.360';
|
1-11970261-2
|
How many successors were seated in the New York 20th district?
|
CREATE TABLE "table1_1199219_2" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
|
SELECT COUNT("successor") FROM "table1_1199219_2" WHERE "district"='New York 20th';
|
1-1199219-2
|
What playoff result happened during the season in which they finished 1st, southern?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "playoffs" FROM "year_by_year" WHERE "reg_season"='1st, Southern';
|
1-12002388-1
|
How many teams placed 4th in the regular season?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT COUNT("division") FROM "year_by_year" WHERE "reg_season"='4th';
|
1-12002388-1
|
What was the result of the open cup when they finished 4th in the regular season?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "open_cup" FROM "year_by_year" WHERE "reg_season"='4th';
|
1-12002388-1
|
How many open cups were hosted in 1993?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT COUNT("open_cup") FROM "year_by_year" WHERE "year"=1993;
|
1-12002388-1
|
What year did they finish 1st, southern?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MAX("year") FROM "year_by_year" WHERE "reg_season"='1st, Southern';
|
1-12002388-1
|
What was the playoff result for theteam in the apsl in 1992?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "playoffs" FROM "year_by_year" WHERE "league"='APSL' AND "year"=1992;
|
1-12002388-1
|
What was the status of tropartic?
|
CREATE TABLE "box_score" (
"finish" real,
"start" real,
"car_no" real,
"driver" text,
"car_name" text,
"car_make" text,
"entrant" text,
"laps" real,
"status" text
);
|
SELECT "status" FROM "box_score" WHERE "car_name"='TropArtic';
|
1-12001616-4
|
What is the status of joe gibbs racing?
|
CREATE TABLE "box_score" (
"finish" real,
"start" real,
"car_no" real,
"driver" text,
"car_name" text,
"car_make" text,
"entrant" text,
"laps" real,
"status" text
);
|
SELECT "status" FROM "box_score" WHERE "entrant"='Joe Gibbs Racing';
|
1-12001616-4
|
What is the laops of marcis auto racing?
|
CREATE TABLE "box_score" (
"finish" real,
"start" real,
"car_no" real,
"driver" text,
"car_name" text,
"car_make" text,
"entrant" text,
"laps" real,
"status" text
);
|
SELECT "laps" FROM "box_score" WHERE "entrant"='Marcis Auto Racing';
|
1-12001616-4
|
what's the author / editor / source with index (year) being press freedom (2007)
|
CREATE TABLE "table" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
|
SELECT "author_editor_source" FROM "table" WHERE "index_year"='Press Freedom (2007)';
|
1-12000368-1
|
how many countries sampled with year of publication being 2007 and ranking l.a. (2) being 7th
|
CREATE TABLE "table" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
|
SELECT COUNT("countries_sampled") FROM "table" WHERE "year_of_publication"='2007' AND "ranking_l_a_2"='7th';
|
1-12000368-1
|
what's the author / editor / source with world ranking (1) being 73rd
|
CREATE TABLE "table" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
|
SELECT "author_editor_source" FROM "table" WHERE "world_ranking_1"='73rd';
|
1-12000368-1
|
How many losingteams were for the cup finaldate 20 August 1989?
|
CREATE TABLE "nsl_cup_winners" (
"season" text,
"cup_final_date" text,
"winning_team" text,
"score" text,
"losing_team" text,
"location" text,
"cup_final_attendance" real
);
|
SELECT COUNT("losing_team") FROM "nsl_cup_winners" WHERE "cup_final_date"='20 August 1989';
|
1-12028543-3
|
How many seasons was the losing team Adelaide City?
|
CREATE TABLE "nsl_cup_winners" (
"season" text,
"cup_final_date" text,
"winning_team" text,
"score" text,
"losing_team" text,
"location" text,
"cup_final_attendance" real
);
|
SELECT COUNT("season") FROM "nsl_cup_winners" WHERE "losing_team"='Adelaide City';
|
1-12028543-3
|
Who was the winning team in the 1989 season?
|
CREATE TABLE "nsl_cup_winners" (
"season" text,
"cup_final_date" text,
"winning_team" text,
"score" text,
"losing_team" text,
"location" text,
"cup_final_attendance" real
);
|
SELECT "winning_team" FROM "nsl_cup_winners" WHERE "season"='1989';
|
1-12028543-3
|
Who won the womens doubles when wu jianqui won the womens singles?
|
CREATE TABLE "table1_12027364_1" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
|
SELECT "womens_doubles" FROM "table1_12027364_1" WHERE "womens_singles"='Wu Jianqui';
|
1-12027364-1
|
Who won the mixed doubles when ji xinpeng won the mens singles?
|
CREATE TABLE "table1_12027364_1" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
|
SELECT "mixed_doubles" FROM "table1_12027364_1" WHERE "mens_singles"='Ji Xinpeng';
|
1-12027364-1
|
How many womens singles winners were there when peter rasmussen won the mens singles?
|
CREATE TABLE "table1_12027364_1" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
|
SELECT COUNT("womens_singles") FROM "table1_12027364_1" WHERE "mens_singles"='Peter Rasmussen';
|
1-12027364-1
|
WHO WROTE THE STORY WITH THE PRODUCTION CODE OF 1ADK-03
|
CREATE TABLE "table1_12033013_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "written_by" FROM "table1_12033013_1" WHERE "production_code"='1ADK-03';
|
1-12033013-1
|
WHAT IS "DAVE MOVES OUT" PRODUCTION CODE?
|
CREATE TABLE "table1_12033013_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "production_code" FROM "table1_12033013_1" WHERE "title"='\"Dave Moves Out\"';
|
1-12033013-1
|
WHO WROTE "DAD'S DEAD"
|
CREATE TABLE "table1_12033013_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "written_by" FROM "table1_12033013_1" WHERE "title"='\"Dad''s Dead\"';
|
1-12033013-1
|
WHO AUTHORED "RED ASPHALT"?
|
CREATE TABLE "table1_12033013_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "written_by" FROM "table1_12033013_1" WHERE "title"='\"Red Asphalt\"';
|
1-12033013-1
|
Name the number of titles written by adam i. lapidus
|
CREATE TABLE "table1_12030612_9" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT COUNT("title") FROM "table1_12030612_9" WHERE "written_by"='Adam I. Lapidus';
|
1-12030612-9
|
What's the season number of the episode titled "Houseboat"?
|
CREATE TABLE "table1_12033013_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "no_in_season" FROM "table1_12033013_3" WHERE "title"='\"Houseboat\"';
|
1-12033013-3
|
What's the season number of the episode titled "Grad school"?
|
CREATE TABLE "table1_12033013_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "no_in_season" FROM "table1_12033013_3" WHERE "title"='\"Grad School\"';
|
1-12033013-3
|
Who directed the episode with a production code 3ADK-03?
|
CREATE TABLE "table1_12033013_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
|
SELECT "directed_by" FROM "table1_12033013_3" WHERE "production_code"='3ADK-03';
|
1-12033013-3
|
When pinyin is xīnluó qū, what is the simplified value?
|
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"hakka" text,
"area" real,
"population" real,
"density" real
);
|
SELECT COUNT("simplified") FROM "administration" WHERE "pinyin"='Xīnluó Qū';
|
1-1204998-2
|
What is the pinyin for the English name Wuping County?
|
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"hakka" text,
"area" real,
"population" real,
"density" real
);
|
SELECT "pinyin" FROM "administration" WHERE "english_name"='Wuping County';
|
1-1204998-2
|
What is the area of the English name Shanghang County?
|
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"hakka" text,
"area" real,
"population" real,
"density" real
);
|
SELECT "area" FROM "administration" WHERE "english_name"='Shanghang County';
|
1-1204998-2
|
Which pinyin have a population of 374047?
|
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"hakka" text,
"area" real,
"population" real,
"density" real
);
|
SELECT "pinyin" FROM "administration" WHERE "population"=374047;
|
1-1204998-2
|
How many NHL teams are there in the Phoenix, Arizona area?
|
CREATE TABLE "overview_by_city" (
"metropolitan_area" text,
"media_market_ranking" real,
"hosted_4_teams_since" real,
"nfl_team_s" text,
"mlb_team_s" text,
"nba_team_s" text,
"nhl_team_s" text
);
|
SELECT COUNT("nhl_team_s") FROM "overview_by_city" WHERE "metropolitan_area"='Phoenix, Arizona';
|
1-1205598-1
|
What is the media market ranking for the Blackhawks?
|
CREATE TABLE "overview_by_city" (
"metropolitan_area" text,
"media_market_ranking" real,
"hosted_4_teams_since" real,
"nfl_team_s" text,
"mlb_team_s" text,
"nba_team_s" text,
"nhl_team_s" text
);
|
SELECT COUNT("media_market_ranking") FROM "overview_by_city" WHERE "nhl_team_s"='Blackhawks';
|
1-1205598-1
|
What is the the name of the NHL team that is in the same market as the NBA team, Nuggets?
|
CREATE TABLE "overview_by_city" (
"metropolitan_area" text,
"media_market_ranking" real,
"hosted_4_teams_since" real,
"nfl_team_s" text,
"mlb_team_s" text,
"nba_team_s" text,
"nhl_team_s" text
);
|
SELECT "nhl_team_s" FROM "overview_by_city" WHERE "nba_team_s"='Nuggets';
|
1-1205598-1
|
What is the NHL team in the media market ranking number 7?
|
CREATE TABLE "overview_by_city" (
"metropolitan_area" text,
"media_market_ranking" real,
"hosted_4_teams_since" real,
"nfl_team_s" text,
"mlb_team_s" text,
"nba_team_s" text,
"nhl_team_s" text
);
|
SELECT "nhl_team_s" FROM "overview_by_city" WHERE "media_market_ranking"=7;
|
1-1205598-1
|
How many netflow version are there when the vendor and type is enterasys switches?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT COUNT("net_flow_version") FROM "table1_1206114_2" WHERE "vendor_and_type"='Enterasys Switches';
|
1-1206114-2
|
What are the comments when the vendor and type is alcatel-lucent routers?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT "comments" FROM "table1_1206114_2" WHERE "vendor_and_type"='Alcatel-Lucent routers';
|
1-1206114-2
|
What are the comments when vendor and type is enterasys switches?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT "comments" FROM "table1_1206114_2" WHERE "vendor_and_type"='Enterasys Switches';
|
1-1206114-2
|
What is the netflow version when vendor and type is pc and servers?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT "net_flow_version" FROM "table1_1206114_2" WHERE "vendor_and_type"='PC and Servers';
|
1-1206114-2
|
What are the comments when the implementation is software running on central processor module?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT "comments" FROM "table1_1206114_2" WHERE "implementation"='Software running on Central Processor Module';
|
1-1206114-2
|
What is the implementation when the netflow version is v5, v8, v9, ipfix?
|
CREATE TABLE "table1_1206114_2" (
"vendor_and_type" text,
"models" text,
"net_flow_version" text,
"implementation" text,
"comments" text
);
|
SELECT "implementation" FROM "table1_1206114_2" WHERE "net_flow_version"='v5, v8, v9, IPFIX';
|
1-1206114-2
|
Name the minimum for prohibition?
|
CREATE TABLE "results_of_the_national_referendum_on_pr" (
"jurisdiction" text,
"for_prohibition" real,
"percent_for" text,
"against_prohibition" real,
"percent_against" text
);
|
SELECT MIN("for_prohibition") FROM "results_of_the_national_referendum_on_pr";
|
1-120778-1
|
What is the number of jurisdiction for 57.3 percent?
|
CREATE TABLE "results_of_the_national_referendum_on_pr" (
"jurisdiction" text,
"for_prohibition" real,
"percent_for" text,
"against_prohibition" real,
"percent_against" text
);
|
SELECT COUNT("jurisdiction") FROM "results_of_the_national_referendum_on_pr" WHERE "percent_for"='57.3';
|
1-120778-1
|
Name the max for prohibition.
|
CREATE TABLE "results_of_the_national_referendum_on_pr" (
"jurisdiction" text,
"for_prohibition" real,
"percent_for" text,
"against_prohibition" real,
"percent_against" text
);
|
SELECT MAX("for_prohibition") FROM "results_of_the_national_referendum_on_pr";
|
1-120778-1
|
What is the percent for when against prohibition is 2978?
|
CREATE TABLE "results_of_the_national_referendum_on_pr" (
"jurisdiction" text,
"for_prohibition" real,
"percent_for" text,
"against_prohibition" real,
"percent_against" text
);
|
SELECT "percent_for" FROM "results_of_the_national_referendum_on_pr" WHERE "against_prohibition"=2978;
|
1-120778-1
|
What is the percent for in manitoba?
|
CREATE TABLE "results_of_the_national_referendum_on_pr" (
"jurisdiction" text,
"for_prohibition" real,
"percent_for" text,
"against_prohibition" real,
"percent_against" text
);
|
SELECT "percent_for" FROM "results_of_the_national_referendum_on_pr" WHERE "jurisdiction"='Manitoba';
|
1-120778-1
|
How many trains leave from puri?
|
CREATE TABLE "train_services" (
"train_no" text,
"train_name" text,
"origin" text,
"destination" text,
"frequency" text
);
|
SELECT COUNT("train_name") FROM "train_services" WHERE "origin"='Puri';
|
1-12095519-1
|
What train number is heading to amritsar?
|
CREATE TABLE "train_services" (
"train_no" text,
"train_name" text,
"origin" text,
"destination" text,
"frequency" text
);
|
SELECT "train_no" FROM "train_services" WHERE "destination"='Amritsar';
|
1-12095519-1
|
How often does a train leave sealdah?
|
CREATE TABLE "train_services" (
"train_no" text,
"train_name" text,
"origin" text,
"destination" text,
"frequency" text
);
|
SELECT "frequency" FROM "train_services" WHERE "origin"='Sealdah';
|
1-12095519-1
|
Where does the bg express train end?
|
CREATE TABLE "train_services" (
"train_no" text,
"train_name" text,
"origin" text,
"destination" text,
"frequency" text
);
|
SELECT "destination" FROM "train_services" WHERE "train_name"='BG Express';
|
1-12095519-1
|
What's the name of train number 15647/48?
|
CREATE TABLE "train_services" (
"train_no" text,
"train_name" text,
"origin" text,
"destination" text,
"frequency" text
);
|
SELECT "train_name" FROM "train_services" WHERE "train_no"='15647/48';
|
1-12095519-1
|
What is the number of nationality in 1992?
|
CREATE TABLE "table1_12086015_7" (
"player" text,
"nationality" text,
"finals" real,
"win_loss" text,
"year_s" text
);
|
SELECT COUNT("nationality") FROM "table1_12086015_7" WHERE "year_s"='1992';
|
1-12086015-7
|
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
|
CREATE TABLE "executive_commissioners" (
"year" text,
"communications_and_corporate_affairs" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
);
|
SELECT "academic_university_affairs" FROM "executive_commissioners" WHERE "human_resources_operations"='N. Charles Hamilton';
|
1-12113818-1
|
What year was communications and corporate affairs held by Jeff Rotman?
|
CREATE TABLE "executive_commissioners" (
"year" text,
"communications_and_corporate_affairs" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
);
|
SELECT "year" FROM "executive_commissioners" WHERE "communications_and_corporate_affairs"='Jeff Rotman';
|
1-12113818-1
|
What was the built data for Knocklayd rebuild?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT "built" FROM "building_and_withdrawal_data" WHERE "name_as_rebuilt"='Knocklayd';
|
1-12113888-1
|
How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT COUNT("number") FROM "building_and_withdrawal_data" WHERE "rebuilt"='Cannot handle non-empty timestamp argument! 1929' AND "scrapped_sold"='Cannot handle non-empty timestamp argument! 1954';
|
1-12113888-1
|
What is the built data on the scrapped information that is cannot handle non-empty timestamp argument! 1947?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT "built" FROM "building_and_withdrawal_data" WHERE "scrapped_sold"='Cannot handle non-empty timestamp argument! 1947';
|
1-12113888-1
|
How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT COUNT("number") FROM "building_and_withdrawal_data" WHERE "rebuilt"='Cannot handle non-empty timestamp argument! 1934';
|
1-12113888-1
|
What is the built data for number 34?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT "built" FROM "building_and_withdrawal_data" WHERE "number"=34;
|
1-12113888-1
|
What is the highest number listed?
|
CREATE TABLE "building_and_withdrawal_data" (
"number" real,
"builder" text,
"built" text,
"rebuilt" text,
"name_as_rebuilt" text,
"scrapped_sold" text
);
|
SELECT MAX("number") FROM "building_and_withdrawal_data";
|
1-12113888-1
|
Who won the womens singles when Marc Zwiebler won the men's singles?
|
CREATE TABLE "21st_century" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
|
SELECT "womens_singles" FROM "21st_century" WHERE "mens_singles"='Marc Zwiebler';
|
1-12121208-1
|
The 1.6 Duratec model/engine has how many torque formulas?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT COUNT("torque_nm_rpm") FROM "engines_and_transmissions" WHERE "model_engine"='1.6 Duratec';
|
1-1212189-1
|
For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT "power_rpm" FROM "engines_and_transmissions" WHERE "torque_nm_rpm"='N·m (lb·ft)/*N·m (lb·ft) @1750';
|
1-1212189-1
|
For the model/engine of 1.8 Duratec HE, what is the torque?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT "torque_nm_rpm" FROM "engines_and_transmissions" WHERE "model_engine"='1.8 Duratec HE';
|
1-1212189-1
|
How many capacities are possible for the 1.6 Duratec model/engine?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT COUNT("capacity") FROM "engines_and_transmissions" WHERE "model_engine"='1.6 Duratec';
|
1-1212189-1
|
What is the torque formula for the model/engine which has 1,753 cc capacity?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT "torque_nm_rpm" FROM "engines_and_transmissions" WHERE "capacity"='1,753 cc';
|
1-1212189-1
|
What is the torque formula for the 1.6 Duratec ti-vct model/engine?
|
CREATE TABLE "engines_and_transmissions" (
"model_engine" text,
"capacity" text,
"cylinders_valves" text,
"power_rpm" text,
"torque_nm_rpm" text
);
|
SELECT "torque_nm_rpm" FROM "engines_and_transmissions" WHERE "model_engine"='1.6 Duratec Ti-VCT';
|
1-1212189-1
|
what's the date of birth with end of term being 2april1969
|
CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
);
|
SELECT "date_of_birth" FROM "ghanaian_presidents_ages" WHERE "end_of_term"='2April1969';
|
1-12134383-1
|
who is the the president with date of inauguration being 4june1979
|
CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
);
|
SELECT "president" FROM "ghanaian_presidents_ages" WHERE "date_of_inauguration"='4June1979';
|
1-12134383-1
|
how many president with date of inauguration being 4june1979
|
CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
);
|
SELECT COUNT("president") FROM "ghanaian_presidents_ages" WHERE "date_of_inauguration"='4June1979';
|
1-12134383-1
|
what's the date of birth with end of term being 5july1978
|
CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
);
|
SELECT "date_of_birth" FROM "ghanaian_presidents_ages" WHERE "end_of_term"='5July1978';
|
1-12134383-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.