question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which stage has a Winner of lucien van impe? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "winner"='lucien van impe'; | 2-11303288-2 |
Which Trofeo Fast Team has a Winner of alessandro paganessi? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"trofeo_fast_team" text
); | SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "winner"='alessandro paganessi'; | 2-11303288-2 |
Which General classification has a Stage of 7? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"trofeo_fast_team" text
); | SELECT "general_classification" FROM "classification_leadership_by_stage" WHERE "stage"='7'; | 2-11303288-2 |
Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"trofeo_fast_team" text
); | SELECT "winner" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='metauro mobili-pinarello' AND "general_classification"='giuseppe saronni'; | 2-11303288-2 |
What's the report for the mosport park circuit? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "report" FROM "season_review" WHERE "circuit"='mosport park'; | 2-1140096-1 |
Who has the pole position for the nürburgring circuit? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "pole_position" FROM "season_review" WHERE "circuit"='nürburgring'; | 2-1140096-1 |
When was pedro rodríguez the winning driver? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "winning_driver"='pedro rodríguez'; | 2-1140096-1 |
What's the report for the mexican grand prix? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "report" FROM "season_review" WHERE "race"='mexican grand prix'; | 2-1140096-1 |
What is nigel mansell's time/retired? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "driver"='nigel mansell'; | 2-1122972-1 |
What team was the away team at Junction Oval? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_11" WHERE "venue"='junction oval'; | 2-10789881-11 |
What is the home team when the visiting team is the Mavericks? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "november" WHERE "visitor"='mavericks'; | 2-11961051-3 |
What was the average year for a coin that had a mintage smaller than 10,000? | CREATE TABLE "nhl_goalie_mask_coins" (
"year" real,
"theme" text,
"artist" text,
"mintage" real,
"issue_price" real,
"special_notes" text
); | SELECT AVG("year") FROM "nhl_goalie_mask_coins" WHERE "mintage"<'10,000'; | 2-11916083-47 |
What is he Atsushi Aoki when the Black Tiger V is ibushi (16:35)? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "atsushi_aoki" FROM "2009" WHERE "black_tiger_v"='ibushi (16:35)'; | 2-10979732-33 |
What is the Akira when Tiger Mask IV is Akira (10:05)? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "akira" FROM "2009" WHERE "tiger_mask_iv"='akira (10:05)'; | 2-10979732-33 |
What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "akira" FROM "2009" WHERE "milano_collection_a_t"='milano (10:29)'; | 2-10979732-33 |
What is Block A when Prince Devitt is Devitt (9:53)? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "block_a" FROM "2009" WHERE "prince_devitt"='devitt (9:53)'; | 2-10979732-33 |
What is the Akira when Prince Devitt is Devitt (7:20)? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "akira" FROM "2009" WHERE "prince_devitt"='devitt (7:20)'; | 2-10979732-33 |
What is the Prince Devitt when Block A is Yamato? | CREATE TABLE "2009" (
"block_a" text,
"akira" text,
"atsushi_aoki" text,
"black_tiger_v" text,
"jado" text,
"milano_collection_a_t" text,
"prince_devitt" text,
"tiger_mask_iv" text
); | SELECT "prince_devitt" FROM "2009" WHERE "block_a"='yamato'; | 2-10979732-33 |
I want the league one/second division for club of millwall | CREATE TABLE "winners_by_club" (
"club" text,
"premier_league" text,
"championship_first_division" text,
"league_one_second_division" text,
"league_two_third_division" text
); | SELECT "league_one_second_division" FROM "winners_by_club" WHERE "club"='millwall'; | 2-10855131-13 |
What was the score of the home team when they played carlton? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_10" WHERE "away_team"='carlton'; | 2-10806592-10 |
How many points did the visiting team score at south melbourne? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "home_team"='south melbourne'; | 2-10806592-10 |
Which Date has a Crowd that is larger than 18,000 with a Home team score of 14.13 (97)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_4" WHERE "crowd">'18,000' AND "home_team_score"='14.13 (97)'; | 2-10809142-4 |
Which Date has an Away team score of 11.7 (73)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_4" WHERE "away_team_score"='11.7 (73)'; | 2-10809142-4 |
What is the total Crowd number for the Away team of Hawthorn? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_4" WHERE "away_team"='hawthorn'; | 2-10809142-4 |
What did the team score when playing against home in geelong? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_10" WHERE "away_team"='geelong'; | 2-10809444-10 |
How many people watched when st kilda played at home? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_10" WHERE "home_team"='st kilda'; | 2-10809444-10 |
Who was the away team when the crowd was larger than 41,451? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_22" WHERE "crowd">'41,451'; | 2-1164217-22 |
Who was the home team when the venue was Junction Oval? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_22" WHERE "venue"='junction oval'; | 2-1164217-22 |
What is the average crowd size when the home team score was 8.11 (59)? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_22" WHERE "home_team_score"='8.11 (59)'; | 2-1164217-22 |
I want to know the time which has attendance of 66,772 | CREATE TABLE "schedule" (
"week" text,
"opponent" text,
"result" text,
"game_site" text,
"time" text,
"attendance" text
); | SELECT "time" FROM "schedule" WHERE "attendance"='66,772'; | 2-10996372-1 |
Name the opponent that has attendance of 76,965 | CREATE TABLE "schedule" (
"week" text,
"opponent" text,
"result" text,
"game_site" text,
"time" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='76,965'; | 2-10996372-1 |
Tell me the week that has an attendance of 78,301 | CREATE TABLE "schedule" (
"week" text,
"opponent" text,
"result" text,
"game_site" text,
"time" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "attendance"='78,301'; | 2-10996372-1 |
I want to know the opponent that ha a week of 3 | CREATE TABLE "schedule" (
"week" text,
"opponent" text,
"result" text,
"game_site" text,
"time" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"='3'; | 2-10996372-1 |
How many were in attendance on 14 April 2007? | CREATE TABLE "premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "premier_league" WHERE "date"='14 april 2007'; | 2-11959894-2 |
What is the venue where there are more than 52,302 in attendance and the result is 2-0? | CREATE TABLE "premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "venue" FROM "premier_league" WHERE "attendance">'52,302' AND "result"='2-0'; | 2-11959894-2 |
What is catcher Josh Donaldson's pick number? | CREATE TABLE "supplemental_first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
); | SELECT "pick" FROM "supplemental_first_round_selections" WHERE "position"='catcher' AND "player"='josh donaldson'; | 2-11289628-2 |
Which players plays at Akron College? | CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_two" WHERE "college"='akron'; | 2-10812938-2 |
Which college does the player jon hameister-ries play for? | CREATE TABLE "round_two" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_two" WHERE "player"='jon hameister-ries'; | 2-10812938-2 |
What is the nationality of the player with a pick larger than 21 from the College of the Sequoias? | CREATE TABLE "selections" (
"draft" real,
"round" real,
"pick" real,
"nationality" text,
"college_high_school_club" text
); | SELECT "nationality" FROM "selections" WHERE "pick">21 AND "college_high_school_club"='college of the sequoias'; | 2-11442053-2 |
I want the result for goals which has goals of deacon 6/6 | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "result" FROM "challenge_cup" WHERE "goals"='deacon 6/6'; | 2-10814478-6 |
Which competition was at wilderspool? | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "challenge_cup" WHERE "venue"='wilderspool'; | 2-10814478-6 |
Tell me the venue for score of 82-0 | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "venue" FROM "challenge_cup" WHERE "score"='82-0'; | 2-10814478-6 |
I want the date with the venue of mcalpine stadium | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "date" FROM "challenge_cup" WHERE "venue"='mcalpine stadium'; | 2-10814478-6 |
Tell me the goals for score of 38-28 | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "goals" FROM "challenge_cup" WHERE "score"='38-28'; | 2-10814478-6 |
Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67 | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MIN("grid") FROM "race" WHERE "points">11 AND "driver"='sébastien bourdais' AND "laps"<67; | 2-11912223-2 |
Name the most laps for grid more than 9 and the driver being jan heylen | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("laps") FROM "race" WHERE "grid">9 AND "driver"='jan heylen'; | 2-11912223-2 |
How many voted in queens for the canddiate with all write-in votes and 26 staten island votes? | CREATE TABLE "2009" (
"2009_democratic_primary" text,
"manhattan" text,
"the_bronx" text,
"brooklyn" text,
"queens" text,
"staten_island" text,
"total" real
); | SELECT "queens" FROM "2009" WHERE "2009_democratic_primary"='all write-in votes' AND "staten_island"='26'; | 2-1108394-8 |
What is the grid when the laps were 24? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("grid") FROM "classification" WHERE "laps"=24; | 2-1122404-1 |
Who constructed Chris Amon's car? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "driver"='chris amon'; | 2-1122404-1 |
What was Jack Brabham's highest grid when his laps were more than 90? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("grid") FROM "classification" WHERE "driver"='jack brabham' AND "laps">90; | 2-1122404-1 |
What was CHris Amon's highest lap when his grid was 4? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "classification" WHERE "driver"='chris amon' AND "grid"<4; | 2-1122404-1 |
Where did Hawthorn have their away match against North Melbourne? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_12" WHERE "away_team"='hawthorn'; | 2-10807990-12 |
What was the home team score at Richmond's away game against Footscray? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_12" WHERE "away_team"='richmond'; | 2-10807990-12 |
On what date did the away team score 14.4 (88)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "away_team_score"='14.4 (88)'; | 2-10806194-5 |
What is the size of the crowd for the home team of Footscray? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_5" WHERE "home_team"='footscray'; | 2-10806194-5 |
What is the Time/Retired for the car going 42 Laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "laps"=42; | 2-1123338-2 |
How many laps for alexander wurz with a grid under 12? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "race" WHERE "grid"<12 AND "driver"='alexander wurz'; | 2-1123338-2 |
What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has? | CREATE TABLE "preliminary_competition" (
"state" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT MIN("evening_gown") FROM "preliminary_competition" WHERE "average"<8.23 AND "interview"=8.11 AND "swimsuit">7.84; | 2-11884814-2 |
What is the total interview score a contestant from Indiana with an average smaller than 8.3 has? | CREATE TABLE "preliminary_competition" (
"state" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT COUNT("interview") FROM "preliminary_competition" WHERE "state"='indiana' AND "average"<8.3; | 2-11884814-2 |
What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has? | CREATE TABLE "preliminary_competition" (
"state" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT MAX("swimsuit") FROM "preliminary_competition" WHERE "average">8.48 AND "interview">8.58 AND "evening_gown">8.82 AND "state"='kansas'; | 2-11884814-2 |
What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82? | CREATE TABLE "preliminary_competition" (
"state" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT AVG("interview") FROM "preliminary_competition" WHERE "evening_gown"<8.82 AND "state"='louisiana'; | 2-11884814-2 |
What prefix has Haloalkane as the chemical class? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "prefix" FROM "groups_containing_halogens" WHERE "chemical_class"='haloalkane'; | 2-10911-2 |
Which example has rx as the formula? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "example" FROM "groups_containing_halogens" WHERE "formula"='rx'; | 2-10911-2 |
Which chemical class uses the example Chloroethane (ethyl chloride)? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "chemical_class" FROM "groups_containing_halogens" WHERE "example"='chloroethane (ethyl chloride)'; | 2-10911-2 |
What prefix has Bromo as the group? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "prefix" FROM "groups_containing_halogens" WHERE "group"='bromo'; | 2-10911-2 |
What is the chemical class for ri? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "chemical_class" FROM "groups_containing_halogens" WHERE "formula"='ri'; | 2-10911-2 |
What prefix has chemical class Iodoalkane? | CREATE TABLE "groups_containing_halogens" (
"chemical_class" text,
"group" text,
"formula" text,
"prefix" text,
"suffix" text,
"example" text
); | SELECT "prefix" FROM "groups_containing_halogens" WHERE "chemical_class"='iodoalkane'; | 2-10911-2 |
What is the highest rank of the player with earnings of $6,715,649? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT MAX("rank") FROM "leaders" WHERE "earnings"='6,715,649'; | 2-11621873-4 |
What is the rank of Lee Trevino, who had less than 27 wins? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT SUM("rank") FROM "leaders" WHERE "player"='lee trevino' AND "wins"<27; | 2-11621873-4 |
Who is the player with more than $6,570,797 in earnings and less than 27 wins? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT "player" FROM "leaders" WHERE "earnings">'6,570,797' AND "wins"<27; | 2-11621873-4 |
What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air? | CREATE TABLE "season_2_2007_08" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "season_2_2007_08" WHERE "series_no">40 AND "production_code"<213 AND "season_no">11; | 2-11630008-4 |
Who wrote the series number 49 with a season larger than 4? | CREATE TABLE "season_2_2007_08" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "season_2_2007_08" WHERE "season_no">4 AND "series_no"=49; | 2-11630008-4 |
What was the latest gross 75,50,00,000? | CREATE TABLE "list_of_highest_grossing_bollywood_films" (
"year" real,
"movie" text,
"record_held" text,
"studio_s" text,
"nett_gross" real
); | SELECT MAX("year") FROM "list_of_highest_grossing_bollywood_films" WHERE "nett_gross"='75,50,00,000'; | 2-11872185-12 |
What is the total count of net gross in 1957? | CREATE TABLE "list_of_highest_grossing_bollywood_films" (
"year" real,
"movie" text,
"record_held" text,
"studio_s" text,
"nett_gross" real
); | SELECT COUNT("nett_gross") FROM "list_of_highest_grossing_bollywood_films" WHERE "year"=1957; | 2-11872185-12 |
What is the total End term with a Title of prince regent of bavaria? | CREATE TABLE "royal_bavaria" (
"name" text,
"title" text,
"start_term" real,
"end_term" real,
"house" text
); | SELECT SUM("end_term") FROM "royal_bavaria" WHERE "title"='prince regent of bavaria'; | 2-1119712-1 |
What is the smallest End term with a Start term of 1913, and a Name of ludwig iii? | CREATE TABLE "royal_bavaria" (
"name" text,
"title" text,
"start_term" real,
"end_term" real,
"house" text
); | SELECT MIN("end_term") FROM "royal_bavaria" WHERE "start_term"=1913 AND "name"='ludwig iii'; | 2-1119712-1 |
Which Title has an 1825 end term? | CREATE TABLE "royal_bavaria" (
"name" text,
"title" text,
"start_term" real,
"end_term" real,
"house" text
); | SELECT "title" FROM "royal_bavaria" WHERE "end_term"=1825; | 2-1119712-1 |
What is the average Start term with a 1912 end term? | CREATE TABLE "royal_bavaria" (
"name" text,
"title" text,
"start_term" real,
"end_term" real,
"house" text
); | SELECT AVG("start_term") FROM "royal_bavaria" WHERE "end_term"=1912; | 2-1119712-1 |
What date were the high rebounds Evans (14)? | 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 "date" FROM "playoffs" WHERE "high_rebounds"='evans (14)'; | 2-11960196-3 |
Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)? | 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 MAX("game") FROM "playoffs" WHERE "high_rebounds"='evans (7)' AND "high_assists"='evans, ollie (3)'; | 2-11960196-3 |
What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52? | CREATE TABLE "sheffield_united_career" (
"division" text,
"league_apps_sub" real,
"league_goals" real,
"fa_cup_apps_sub" text,
"fa_cup_goals" real,
"fl_cup_apps_sub" real,
"fl_cup_goals" real,
"other_apps" real,
"other_goals" real,
"total_apps_sub" text,
"total_goals" real
); | SELECT MAX("fa_cup_goals") FROM "sheffield_united_career" WHERE "total_apps_sub"='52' AND "total_goals"<5; | 2-1112176-1 |
What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0? | CREATE TABLE "sheffield_united_career" (
"division" text,
"league_apps_sub" real,
"league_goals" real,
"fa_cup_apps_sub" text,
"fa_cup_goals" real,
"fl_cup_apps_sub" real,
"fl_cup_goals" real,
"other_apps" real,
"other_goals" real,
"total_apps_sub" text,
"total_goals" real
); | SELECT AVG("fl_cup_apps_sub") FROM "sheffield_united_career" WHERE "fl_cup_goals">0 AND "other_apps"<0; | 2-1112176-1 |
What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0? | CREATE TABLE "sheffield_united_career" (
"division" text,
"league_apps_sub" real,
"league_goals" real,
"fa_cup_apps_sub" text,
"fa_cup_goals" real,
"fl_cup_apps_sub" real,
"fl_cup_goals" real,
"other_apps" real,
"other_goals" real,
"total_apps_sub" text,
"total_goals" real
); | SELECT COUNT("fl_cup_goals") FROM "sheffield_united_career" WHERE "division"='one' AND "other_apps">3 AND "fa_cup_goals">0; | 2-1112176-1 |
What is Division One's average Other Apps, with a League Goal less than 1? | CREATE TABLE "sheffield_united_career" (
"division" text,
"league_apps_sub" real,
"league_goals" real,
"fa_cup_apps_sub" text,
"fa_cup_goals" real,
"fl_cup_apps_sub" real,
"fl_cup_goals" real,
"other_apps" real,
"other_goals" real,
"total_apps_sub" text,
"total_goals" real
); | SELECT AVG("other_apps") FROM "sheffield_united_career" WHERE "division"='one' AND "league_goals"<1; | 2-1112176-1 |
Who plays at Victoria Park? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_11" WHERE "venue"='victoria park'; | 2-10790397-11 |
What is the score against the indians after game 2? | CREATE TABLE "postseason_game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "postseason_game_log" WHERE "game">2 AND "opponent"='indians'; | 2-11633481-17 |
What is the average grid for piers courage? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT AVG("grid") FROM "classification" WHERE "driver"='piers courage'; | 2-1122414-1 |
Who drove 53 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "laps"=53; | 2-1122414-1 |
What is the lap total for george eaton, with a grid under 17 retiring due to gearbox? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "classification" WHERE "time_retired"='gearbox' AND "driver"='george eaton' AND "grid"<17; | 2-1122414-1 |
How many laps for denny hulme with under 4 on the grid? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "classification" WHERE "driver"='denny hulme' AND "grid"<4; | 2-1122414-1 |
How many people were in the crowd when the home team scored 13.10 (88)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_5" WHERE "home_team_score"='13.10 (88)'; | 2-10807990-5 |
What is the sum of the crowd when the away team score was 12.11 (83)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_5" WHERE "away_team_score"='12.11 (83)'; | 2-10807990-5 |
What was the score of the home team when there were more than 5,500 people in the crowd? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_5" WHERE "crowd">'5,500'; | 2-10807990-5 |
What is the sum of Crowd when Essendon was the home team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_5" WHERE "home_team"='essendon'; | 2-10807990-5 |
What was the home team score when North Melbourne was the away team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_5" WHERE "away_team"='north melbourne'; | 2-10807990-5 |
What is the U.S. Hot 100 chart number of the single off of the 2002 album west coast bad boyz, vol. 3: poppin' collars? | CREATE TABLE "collaboration_singles" (
"year" real,
"u_s_hot_100" text,
"u_s_r_b" text,
"u_s_rap" text,
"album" text
); | SELECT "u_s_hot_100" FROM "collaboration_singles" WHERE "year"=2002 AND "album"='west coast bad boyz, vol. 3: poppin'' collars'; | 2-12034669-10 |
What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars? | CREATE TABLE "collaboration_singles" (
"year" real,
"u_s_hot_100" text,
"u_s_r_b" text,
"u_s_rap" text,
"album" text
); | SELECT "u_s_rap" FROM "collaboration_singles" WHERE "album"='west coast bad boyz, vol. 3: poppin'' collars'; | 2-12034669-10 |
What is the top round for the baltimore bullets with a Pick larger than 6? | CREATE TABLE "draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"team" text,
"college" text
); | SELECT MAX("round") FROM "draft" WHERE "team"='baltimore bullets' AND "pick">6; | 2-12093691-3 |
What team was the away team when the home team scored 12.8 (80)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_5" WHERE "home_team_score"='12.8 (80)'; | 2-10808089-5 |
What team was the away team when the home team scored 9.10 (64)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_5" WHERE "home_team_score"='9.10 (64)'; | 2-10808089-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.