question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the location attendance for utah | CREATE TABLE "regular_season" (
"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 "regular_season" WHERE "team"='Utah'; | 1-23211041-10 |
How many games were played against houston? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("game") FROM "regular_season" WHERE "team"='Houston'; | 1-23211041-5 |
What team was played on november 24? | CREATE TABLE "regular_season" (
"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 "regular_season" WHERE "date"='November 24'; | 1-23211041-5 |
Who had the most points in game 4? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "game"=4; | 1-23211041-5 |
Who had the highest points against new york? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "team"='New York'; | 1-23211041-5 |
Name the syrian christians for thiruvananthapuram | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "syrian_christians" FROM "indian_religions" WHERE "district"='Thiruvananthapuram'; | 1-23214055-2 |
Name the ezhavas for muslims being 5.4 | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "ezhavas" FROM "indian_religions" WHERE "muslims"='5.4'; | 1-23214055-2 |
Name the ezhavas and syrian christians being 26.2 | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "ezhavas" FROM "indian_religions" WHERE "syrian_christians"='26.2'; | 1-23214055-2 |
Name the syrian christians for kollam | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "syrian_christians" FROM "indian_religions" WHERE "district"='Kollam'; | 1-23214055-2 |
Name the district for others being 18.3 | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "district" FROM "indian_religions" WHERE "others"='18.3'; | 1-23214055-2 |
Name the district for nairs 8.2 | CREATE TABLE "indian_religions" (
"district" text,
"sc_st" text,
"nairs" text,
"ezhavas" text,
"syrian_christians" text,
"latin_christians" text,
"muslims" text,
"others" text,
"total" real
); | SELECT "district" FROM "indian_religions" WHERE "nairs"='8.2'; | 1-23214055-2 |
If the total points is 5, what is the 2005-2006 points total number? | CREATE TABLE "team_seedings" (
"rank" real,
"team" text,
"total_points" real,
"2008_09_points" real,
"2007_08_points" real,
"2006_07_points" real,
"2005_06_points" real
); | SELECT COUNT("2005_06_points") FROM "team_seedings" WHERE "total_points"=5; | 1-23215145-2 |
What is the 2006-2007 points minimum is the team is Overmach Parma? | CREATE TABLE "team_seedings" (
"rank" real,
"team" text,
"total_points" real,
"2008_09_points" real,
"2007_08_points" real,
"2006_07_points" real,
"2005_06_points" real
); | SELECT MIN("2006_07_points") FROM "team_seedings" WHERE "team"='Overmach Parma'; | 1-23215145-2 |
If the team is Worcester, what is the 2005-2006 points? | CREATE TABLE "team_seedings" (
"rank" real,
"team" text,
"total_points" real,
"2008_09_points" real,
"2007_08_points" real,
"2006_07_points" real,
"2005_06_points" real
); | SELECT "2005_06_points" FROM "team_seedings" WHERE "team"='Worcester'; | 1-23215145-2 |
What is the 2006-2007 points total number if the team is Saracens? | CREATE TABLE "team_seedings" (
"rank" real,
"team" text,
"total_points" real,
"2008_09_points" real,
"2007_08_points" real,
"2006_07_points" real,
"2005_06_points" real
); | SELECT COUNT("2006_07_points") FROM "team_seedings" WHERE "team"='Saracens'; | 1-23215145-2 |
If the points is 1, what is the total points minimum? | CREATE TABLE "team_seedings" (
"rank" real,
"team" text,
"total_points" real,
"2008_09_points" real,
"2007_08_points" real,
"2006_07_points" real,
"2005_06_points" real
); | SELECT MIN("total_points") FROM "team_seedings" WHERE "2005_06_points"=1; | 1-23215145-2 |
When spvgg vohenstrauß is the oberpfalz what is the season? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "season" FROM "southern_bavaria" WHERE "oberpfalz"='SpVgg Vohenstrauß'; | 1-23224961-1 |
When esv ingolstadt is the oberbayern b what is the niederbayern? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "niederbayern" FROM "southern_bavaria" WHERE "oberbayern_b"='ESV Ingolstadt'; | 1-23224961-1 |
When wacker burghausen is the oberbayern a what is the schwaben? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "schwaben" FROM "southern_bavaria" WHERE "oberbayern_a"='Wacker Burghausen'; | 1-23224961-1 |
When fc oberau is the oberbayern a what is the oberpfalz? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "oberpfalz" FROM "southern_bavaria" WHERE "oberbayern_a"='FC Oberau'; | 1-23224961-1 |
When tus rosenberg is the oberpfalz what is the oberbayern b? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "oberbayern_b" FROM "southern_bavaria" WHERE "oberpfalz"='TuS Rosenberg'; | 1-23224961-1 |
When fc schwandorf is the oberpfalz what is the oberbayern b? | CREATE TABLE "southern_bavaria" (
"season" text,
"oberbayern_a" text,
"oberbayern_b" text,
"niederbayern" text,
"schwaben" text,
"oberpfalz" text
); | SELECT "oberbayern_b" FROM "southern_bavaria" WHERE "oberpfalz"='FC Schwandorf'; | 1-23224961-1 |
What was the score in the final when the outcome was winner in 1989? | CREATE TABLE "singles_19_finals_8_titles_11_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_19_finals_8_titles_11_runner_ups" WHERE "outcome"='Winner' AND "year"=1989; | 1-23235546-1 |
What was the score in the final when Mats Wilander was the opponent in the Australian Open? | CREATE TABLE "singles_19_finals_8_titles_11_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_19_finals_8_titles_11_runner_ups" WHERE "championship"='Australian Open' AND "opponent_in_the_final"='Mats Wilander'; | 1-23235546-1 |
If the number in the season is 22, what is the original air date? | CREATE TABLE "table1_23225927_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_23225927_1" WHERE "no_in_season"=22; | 1-23225927-1 |
What is the maximum season number for the episode written by Jonathan Greene? | CREATE TABLE "table1_23225927_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT MAX("no_in_season") FROM "table1_23225927_1" WHERE "written_by"='Jonathan Greene'; | 1-23225927-1 |
Name the original air date for prod code 201 | CREATE TABLE "table1_2322716_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_air_dates" text,
"prod_code" real
); | SELECT "original_air_dates" FROM "table1_2322716_2" WHERE "prod_code"=201; | 1-2322716-2 |
Name the written by for prod code being 206 | CREATE TABLE "table1_2322716_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_air_dates" text,
"prod_code" real
); | SELECT "written_by" FROM "table1_2322716_2" WHERE "prod_code"=206; | 1-2322716-2 |
How many positions are there in Canadian Nascar? | CREATE TABLE "driver_standings" (
"position" real,
"driver" text,
"points" real,
"starts" real,
"wins" real,
"top_5s" real,
"top_10s" real,
"winnings" real
); | SELECT MAX("position") FROM "driver_standings"; | 1-23239946-3 |
How many drivers have 1942 points? | CREATE TABLE "driver_standings" (
"position" real,
"driver" text,
"points" real,
"starts" real,
"wins" real,
"top_5s" real,
"top_10s" real,
"winnings" real
); | SELECT COUNT("driver") FROM "driver_standings" WHERE "points"=1942; | 1-23239946-3 |
How many starts are there? | CREATE TABLE "driver_standings" (
"position" real,
"driver" text,
"points" real,
"starts" real,
"wins" real,
"top_5s" real,
"top_10s" real,
"winnings" real
); | SELECT MIN("starts") FROM "driver_standings"; | 1-23239946-3 |
How many wins did Andrew Ranger have? | CREATE TABLE "driver_standings" (
"position" real,
"driver" text,
"points" real,
"starts" real,
"wins" real,
"top_5s" real,
"top_10s" real,
"winnings" real
); | SELECT COUNT("wins") FROM "driver_standings" WHERE "driver"='Andrew Ranger'; | 1-23239946-3 |
What are the winnings for position 7? | CREATE TABLE "driver_standings" (
"position" real,
"driver" text,
"points" real,
"starts" real,
"wins" real,
"top_5s" real,
"top_10s" real,
"winnings" real
); | SELECT MAX("winnings") FROM "driver_standings" WHERE "position"=7; | 1-23239946-3 |
What number episode in the series was written by David Zuckerman? | CREATE TABLE "table1_23242958_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "no_in_series" FROM "table1_23242958_1" WHERE "written_by"='David Zuckerman'; | 1-23242958-1 |
What is the original air date of the episode written by David Zuckerman? | CREATE TABLE "table1_23242958_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_23242958_1" WHERE "written_by"='David Zuckerman'; | 1-23242958-1 |
What is the title of the episode directed by Rodney Clouden? | CREATE TABLE "table1_23242958_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_23242958_1" WHERE "directed_by"='Rodney Clouden'; | 1-23242958-1 |
How many millions of U.S. viewers watched the episode with the production code of 3AJN01? | CREATE TABLE "table1_23242958_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_23242958_1" WHERE "production_code"='3AJN01'; | 1-23242958-1 |
Who directed the episode that had 6.76 million U.S. viewers? | CREATE TABLE "table1_23242968_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_23242968_1" WHERE "u_s_viewers_millions"='6.76'; | 1-23242968-1 |
What episode number of the season was also number 75 in the series? | CREATE TABLE "table1_23242968_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MAX("no_in_season") FROM "table1_23242968_1" WHERE "no_in_series"=75; | 1-23242968-1 |
Who wrote the episode that had a production code of 3ajn20? | CREATE TABLE "table1_23242968_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_23242968_1" WHERE "production_code"='3AJN20'; | 1-23242968-1 |
Who directed the episode that was written by Jonathan Fener? | CREATE TABLE "table1_23242968_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_23242968_1" WHERE "written_by"='Jonathan Fener'; | 1-23242968-1 |
What was the name of the episode with a production code of 3ajn20? | CREATE TABLE "table1_23242968_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_23242968_1" WHERE "production_code"='3AJN20'; | 1-23242968-1 |
Who wrote the episode with production code 1AJN05? | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_23242933_2" WHERE "production_code"='1AJN05'; | 1-23242933-2 |
How many different series numbers are there for the episode seen by 7.84 million people in the US? | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("no_in_series") FROM "table1_23242933_2" WHERE "u_s_viewers_millions"='7.84'; | 1-23242933-2 |
How many millions of people in the US saw the episode titled "Francine's Flashback"? | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_23242933_2" WHERE "title"='\"Francine''s Flashback\"'; | 1-23242933-2 |
What's the series number of the episode written by Dan Vebber? | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MAX("no_in_series") FROM "table1_23242933_2" WHERE "written_by"='Dan Vebber'; | 1-23242933-2 |
How many different titles are there of episodes that have been seen by 7.84 million people in the US/ | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("title") FROM "table1_23242933_2" WHERE "u_s_viewers_millions"='7.84'; | 1-23242933-2 |
When did 6.09 million people in the US see the original airing of an episode of the show? | CREATE TABLE "table1_23242933_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_23242933_2" WHERE "u_s_viewers_millions"='6.09'; | 1-23242933-2 |
What's the season number of the episode titled "Dungeons and wagons"? | CREATE TABLE "table1_23242950_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_season") FROM "table1_23242950_1" WHERE "title"='\"Dungeons and Wagons\"'; | 1-23242950-1 |
What's the season number of the episode originally seen by 6.64 million people in the US? | CREATE TABLE "table1_23242950_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_season") FROM "table1_23242950_1" WHERE "u_s_viewers_millions"='6.64'; | 1-23242950-1 |
What's the production code of the episode seen by 7.49 million people in the US? | CREATE TABLE "table1_23242950_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "production_code" FROM "table1_23242950_1" WHERE "u_s_viewers_millions"='7.49'; | 1-23242950-1 |
What opponent got 44 points in their game? | CREATE TABLE "schedule" (
"date" text,
"location" text,
"opponent" text,
"sun_devils_points" real,
"opp_points" real,
"record" text
); | SELECT "opponent" FROM "schedule" WHERE "opp_points"=44; | 1-23243769-4 |
Where was the game with a 4-1 record played? | CREATE TABLE "schedule" (
"date" text,
"location" text,
"opponent" text,
"sun_devils_points" real,
"opp_points" real,
"record" text
); | SELECT "location" FROM "schedule" WHERE "record"='4-1'; | 1-23243769-4 |
Who did the high rebounds in the game where Larry Hughes (21) did the high ponts? | 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_rebounds" FROM "game_log" WHERE "high_points"='Larry Hughes (21)'; | 1-23248869-6 |
How many different people did different scores of high assists during the December 11 game? | 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("high_assists") FROM "game_log" WHERE "date"='December 11'; | 1-23248869-6 |
Who did the high assists in the game against Portland? | 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"='Portland'; | 1-23248869-6 |
What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0? | 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 "score" FROM "game_log" WHERE "location_attendance"='Madison Square Garden 19,763' AND "game"<80.0; | 1-23248869-10 |
What is every record for the team Boston? | 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 "team"='Boston'; | 1-23248869-10 |
How many values for high assists when the game is 81? | 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("high_assists") FROM "game_log" WHERE "game"=81; | 1-23248869-10 |
How many times was the high points david lee (30) | 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("date") FROM "game_log" WHERE "high_points"='David Lee (30)'; | 1-23248869-8 |
Who had the high assists when the score was l 85–118 (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 "high_assists" FROM "game_log" WHERE "score"='L 85–118 (OT)'; | 1-23248869-8 |
What was the record when the high rebounds was david lee (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 "record" FROM "game_log" WHERE "high_rebounds"='David Lee (8)'; | 1-23248869-8 |
How many times was the record 19–34 | 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 "record"='19–34'; | 1-23248869-8 |
What was the score when the record was 19–35 | 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 "score" FROM "game_log" WHERE "record"='19–35'; | 1-23248869-8 |
What was the game when high points was david lee (30) | 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 MIN("game") FROM "game_log" WHERE "high_points"='David Lee (30)'; | 1-23248869-8 |
If the population density is 7,447.32, what is the population total number? | CREATE TABLE "political" (
"city_municipality" text,
"no_of_barangays" real,
"area_km" text,
"population_2010_census" real,
"pop_density_per_km" text
); | SELECT COUNT("population_2010_census") FROM "political" WHERE "pop_density_per_km"='7,447.32'; | 1-232458-1 |
If the number of barangays is 19, what is the population density? | CREATE TABLE "political" (
"city_municipality" text,
"no_of_barangays" real,
"area_km" text,
"population_2010_census" real,
"pop_density_per_km" text
); | SELECT "pop_density_per_km" FROM "political" WHERE "no_of_barangays"=19; | 1-232458-1 |
If the area is 66.34, what is the minimum (2010 census) population? | CREATE TABLE "political" (
"city_municipality" text,
"no_of_barangays" real,
"area_km" text,
"population_2010_census" real,
"pop_density_per_km" text
); | SELECT MIN("population_2010_census") FROM "political" WHERE "area_km"='66.34'; | 1-232458-1 |
What is the name of the city/municipality if the population is 1,388.88? | CREATE TABLE "political" (
"city_municipality" text,
"no_of_barangays" real,
"area_km" text,
"population_2010_census" real,
"pop_density_per_km" text
); | SELECT "city_municipality" FROM "political" WHERE "pop_density_per_km"='1,388.88'; | 1-232458-1 |
When birkenhead is the city/town and merseyside is the county and england is the country how many ranks are there? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT COUNT("rank") FROM "cities_and_towns" WHERE "country"='England' AND "county"='Merseyside' AND "city_town"='Birkenhead'; | 1-23248420-1 |
When 2 is the rank what is the city/town? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT "city_town" FROM "cities_and_towns" WHERE "rank"=2; | 1-23248420-1 |
When 20 is the rank and north west is the region/province what is the county? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT "county" FROM "cities_and_towns" WHERE "region_province"='North West' AND "rank"=20; | 1-23248420-1 |
When fleetwood is the city/town how many sets of population are there? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT COUNT("population") FROM "cities_and_towns" WHERE "city_town"='Fleetwood'; | 1-23248420-1 |
When 142900 is the population what is the highest rank? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT MAX("rank") FROM "cities_and_towns" WHERE "population"=142900; | 1-23248420-1 |
When 31901 is the population what is the county? | CREATE TABLE "cities_and_towns" (
"rank" real,
"city_town" text,
"county" text,
"region_province" text,
"population" real,
"country" text
); | SELECT "county" FROM "cities_and_towns" WHERE "population"=31901; | 1-23248420-1 |
What was the score against the team with an 11-3 record against the Hawks? | 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 "score" FROM "game_log" WHERE "record"='11-3'; | 1-23248910-5 |
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks? | 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_rebounds" FROM "game_log" WHERE "record"='5-2'; | 1-23248910-5 |
What location and it's attendance was the game against the cavaliers? | 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 "team"='Cavaliers'; | 1-23248910-6 |
Who scored the highest points and how much against the raptors? | 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_points" FROM "game_log" WHERE "team"='Raptors'; | 1-23248910-6 |
What location and it's attendance was the game against the Nets? | 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 "team"='Nets'; | 1-23248910-6 |
List all players with highest assists from April 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 "high_assists" FROM "game_log" WHERE "date"='April 2'; | 1-23248910-10 |
List high points from the April 7 game. | 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_points" FROM "game_log" WHERE "date"='April 7'; | 1-23248910-10 |
What is every team on March 5? | 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"='March 5'; | 1-23248910-9 |
Who is every high points for the Pistons team? | 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_points" FROM "game_log" WHERE "team"='Pistons'; | 1-23248910-9 |
What is every score with a record of 46-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 "score" FROM "game_log" WHERE "record"='46-25'; | 1-23248910-9 |
How many people had high rebounds during the game with a record of 34-32? | 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("high_rebounds") FROM "game_log" WHERE "record"='34-32'; | 1-23248940-10 |
How many people led in assists on game 71? | 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("high_assists") FROM "game_log" WHERE "game"=71; | 1-23248940-10 |
What was the location and it's attendance when the Bobcats played against Washington? | 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 "team"='Washington'; | 1-23248940-10 |
Name the record for milwaukee | 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 "team"='Milwaukee'; | 1-23248940-7 |
Name the location attendance for 10-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 "record"='10-14'; | 1-23248940-7 |
Name the record for december 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 "record" FROM "game_log" WHERE "date"='December 8'; | 1-23248940-7 |
How did the game number 50 end? | 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 "score" FROM "game_log" WHERE "game"=50; | 1-23248940-9 |
How many different high assists results are there for the game played on February 24? | 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("high_assists") FROM "game_log" WHERE "date"='February 24'; | 1-23248940-9 |
Who did the most high assists during the game played on February 6? | 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 "date"='February 6'; | 1-23248940-9 |
Where was game number 55 played? | 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 "game"=55; | 1-23248940-9 |
What date was game 78 played on? | 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 "date" FROM "game_log" WHERE "game"=78; | 1-23248967-10 |
What is the final score of the game on April 9? | 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 "score" FROM "game_log" WHERE "date"='April 9'; | 1-23248967-10 |
Who scored the high points in game 78? | 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_points" FROM "game_log" WHERE "game"=78; | 1-23248967-10 |
What is the score when the game is bigger than 29.0? | 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 "score" FROM "game_log" WHERE "game">29.0; | 1-23249053-8 |
When rashard lewis (24) has the highest amount of points who is the team? | 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 "high_points"='Rashard Lewis (24)'; | 1-23249053-11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.