question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
I want the time/retired for grid of 24 | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "grid"=24; | 2-1123154-2 |
I want the driver for ferrari who made Laps less than 26 and grids more than 9 | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid">9 AND "laps"<26 AND "constructor"='ferrari'; | 2-1123154-2 |
Tell me the total number of grid for laps of 52 | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("grid") FROM "race" WHERE "laps"=52; | 2-1123154-2 |
What's the record for january 10? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "january" WHERE "date"='january 10'; | 2-11786815-6 |
What's the score on january 5 with a hasek decision? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "january" WHERE "decision"='hasek' AND "date"='january 5'; | 2-11786815-6 |
What Club team has an average of 8, plays kaj linna, and has an overall larger than 131? | CREATE TABLE "1995_draft_picks" (
"round" real,
"overall" real,
"player" text,
"nationality" text,
"club_team" text
); | SELECT "club_team" FROM "1995_draft_picks" WHERE "overall">131 AND "round"=8 AND "player"='kaj linna'; | 2-11803648-4 |
What round does Bryan Berard do? | CREATE TABLE "1995_draft_picks" (
"round" real,
"overall" real,
"player" text,
"nationality" text,
"club_team" text
); | SELECT "round" FROM "1995_draft_picks" WHERE "player"='bryan berard'; | 2-11803648-4 |
Tell me the average gross tonnage for april 1919 entered service | CREATE TABLE "ships_of_the_great_eastern_railway" (
"ship_s_name" text,
"entered_service" text,
"ended_service" text,
"gross_tonnage" real,
"type_of_vessel" text
); | SELECT AVG("gross_tonnage") FROM "ships_of_the_great_eastern_railway" WHERE "entered_service"='april 1919'; | 2-11662133-1 |
I want the total number of gross tonnage when entered service was 1903 | CREATE TABLE "ships_of_the_great_eastern_railway" (
"ship_s_name" text,
"entered_service" text,
"ended_service" text,
"gross_tonnage" real,
"type_of_vessel" text
); | SELECT COUNT("gross_tonnage") FROM "ships_of_the_great_eastern_railway" WHERE "entered_service"='1903'; | 2-11662133-1 |
what is the rank when the player is henry shefflin and the matches is higher than 4? | CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT SUM("rank") FROM "season" WHERE "player"='henry shefflin' AND "matches">4; | 2-11190568-4 |
what is the rank when the total is 39 in the county of dublin and the matches is less than 4? | CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT AVG("rank") FROM "season" WHERE "total"=39 AND "county"='dublin' AND "matches"<4; | 2-11190568-4 |
Who was the opponent on November 12, 1972? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "date"='november 12, 1972'; | 2-11159638-2 |
Who built the train in 1966 with over 40 produced? | CREATE TABLE "emd" (
"prr_class" text,
"builder_s_model" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"service" text,
"power_output" text
); | SELECT "builder_s_model" FROM "emd" WHERE "total_produced">40 AND "build_date"='1966'; | 2-1140522-4 |
What is the PRR class of the freight train built in 1967 with a b-b wheel arrangement? | CREATE TABLE "emd" (
"prr_class" text,
"builder_s_model" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"service" text,
"power_output" text
); | SELECT "prr_class" FROM "emd" WHERE "wheel_arrangement"='b-b' AND "service"='freight' AND "build_date"='1967'; | 2-1140522-4 |
What PRR class has a Wheel arrangement of a1a-a1a? | CREATE TABLE "emd" (
"prr_class" text,
"builder_s_model" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"service" text,
"power_output" text
); | SELECT "prr_class" FROM "emd" WHERE "wheel_arrangement"='a1a-a1a'; | 2-1140522-4 |
Which Zone is the lowest when Managed By Southern and has Platforms under 2? | CREATE TABLE "c" (
"stations" text,
"place" text,
"managed_by" text,
"platforms" real,
"zone" real
); | SELECT MIN("zone") FROM "c" WHERE "managed_by"='southern' AND "platforms"<2; | 2-11802780-3 |
What would be the highest Platforms for the Centrale Tram Stop Stations? | CREATE TABLE "c" (
"stations" text,
"place" text,
"managed_by" text,
"platforms" real,
"zone" real
); | SELECT MAX("platforms") FROM "c" WHERE "stations"='centrale tram stop'; | 2-11802780-3 |
How many grids had more than 61 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "classification" WHERE "laps">61; | 2-1122977-1 |
When parnell dickinson was the player and the rounds were under 7, what's the highest pick? | CREATE TABLE "nfl_draft" (
"pick" real,
"round" real,
"player" text,
"position" text,
"school" text
); | SELECT MAX("pick") FROM "nfl_draft" WHERE "player"='parnell dickinson' AND "round"<7; | 2-11391448-1 |
When the school picking is utah state for the position of linebacker, what's the sum of those rounds? | CREATE TABLE "nfl_draft" (
"pick" real,
"round" real,
"player" text,
"position" text,
"school" text
); | SELECT SUM("round") FROM "nfl_draft" WHERE "position"='linebacker' AND "school"='utah state'; | 2-11391448-1 |
what is the laps when the grid is less than 2? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "laps" FROM "classification" WHERE "grid"<2; | 2-1122967-1 |
who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "grid">23 AND "driver"='piercarlo ghinzani'; | 2-1122967-1 |
When is the latest year the venue is in gothenburg, sweden? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT MAX("year") FROM "achievements" WHERE "venue"='gothenburg, sweden'; | 2-11503769-1 |
When is the earliest year the venue is in gothenburg, sweden? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT MIN("year") FROM "achievements" WHERE "venue"='gothenburg, sweden'; | 2-11503769-1 |
What is the result of the european indoor championships after 1974? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "result" FROM "achievements" WHERE "tournament"='european indoor championships' AND "year">1974; | 2-11503769-1 |
In Western Oval, what was the away team score? | 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_score" FROM "round_5" WHERE "venue"='western oval'; | 2-1164217-5 |
What is the place number for adrian vasile with less than 127.74 points? | CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"places" real
); | SELECT SUM("places") FROM "men" WHERE "name"='adrian vasile' AND "points"<127.74; | 2-11025881-1 |
What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15? | CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"places" real
); | SELECT MAX("sp_fs") FROM "men" WHERE "points"=131.02 AND "rank">15; | 2-11025881-1 |
What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have? | CREATE TABLE "final_competition_scores" (
"country" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT MAX("evening_gown") FROM "final_competition_scores" WHERE "interview">9.36 AND "country"='tennessee' AND "average">9.75; | 2-11884814-3 |
What is the average of the contestant with a swimsuit less than 9.32? | CREATE TABLE "final_competition_scores" (
"country" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT SUM("average") FROM "final_competition_scores" WHERE "swimsuit"<9.32; | 2-11884814-3 |
What is the highest swimsuit score of the contestant with a higher than 9.55 interview score, and evening gown of 9.75, and an average higher than 9.67? | CREATE TABLE "final_competition_scores" (
"country" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT MAX("swimsuit") FROM "final_competition_scores" WHERE "interview">9.55 AND "evening_gown"=9.75 AND "average">9.67; | 2-11884814-3 |
What is the country of the contestant with a swimsuit of 9.46? | CREATE TABLE "final_competition_scores" (
"country" text,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT "country" FROM "final_competition_scores" WHERE "swimsuit"=9.46; | 2-11884814-3 |
On what date did Goal 24 take place? | CREATE TABLE "shunsuke_nakamura_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "shunsuke_nakamura_international_goals" WHERE "goal"=24; | 2-1094987-3 |
What is the team 2 for team 1 of Valletta? | CREATE TABLE "first_qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "first_qualifying_round" WHERE "team_1"='valletta'; | 2-11399628-5 |
Who played defensive when the rookie Craig Point was playing during week 6? | CREATE TABLE "weekly_awards" (
"month" text,
"week" real,
"overall" text,
"offensive" text,
"defensive" text,
"transition" text,
"rookie" text
); | SELECT "defensive" FROM "weekly_awards" WHERE "rookie"='craig point' AND "week"=6; | 2-11127407-3 |
What was the first week that had a transition with Pat Mccready? | CREATE TABLE "weekly_awards" (
"month" text,
"week" real,
"overall" text,
"offensive" text,
"defensive" text,
"transition" text,
"rookie" text
); | SELECT MIN("week") FROM "weekly_awards" WHERE "transition"='pat mccready'; | 2-11127407-3 |
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive? | CREATE TABLE "weekly_awards" (
"month" text,
"week" real,
"overall" text,
"offensive" text,
"defensive" text,
"transition" text,
"rookie" text
); | SELECT "rookie" FROM "weekly_awards" WHERE "defensive"='matt vinc' AND "offensive"='pat maddalena'; | 2-11127407-3 |
Who played as overall when Josh Sims was transition? | CREATE TABLE "weekly_awards" (
"month" text,
"week" real,
"overall" text,
"offensive" text,
"defensive" text,
"transition" text,
"rookie" text
); | SELECT "overall" FROM "weekly_awards" WHERE "transition"='josh sims'; | 2-11127407-3 |
How large was the crowd at Glenferrie Oval? | 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 SUM("crowd") FROM "round_4" WHERE "venue"='glenferrie oval'; | 2-10809351-4 |
who is the actor of the character ariadne oliver? | CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
); | SELECT "actor" FROM "regular_cast" WHERE "character"='ariadne oliver'; | 2-10831820-1 |
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("grid") FROM "classification" WHERE "driver"='ralph firman' AND "laps"<18; | 2-1123502-2 |
What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid">3 AND "driver"='kimi räikkönen'; | 2-1123502-2 |
What is the score on December 31? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
); | SELECT "score" FROM "december" WHERE "date"='december 31'; | 2-11964047-6 |
What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.? | CREATE TABLE "second_round" (
"team_1" real,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT MIN("team_1") FROM "second_round" WHERE "agg"='asolo fonte (veneto b)'; | 2-11095811-61 |
What is the grid total for kazuyoshi hoshino with under 71 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "classification" WHERE "driver"='kazuyoshi hoshino' AND "laps"<71; | 2-1122714-1 |
What driver has grid 2 and over 72 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "laps">72 AND "grid"=2; | 2-1122714-1 |
What is the time/retired for grid 23? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid"=23; | 2-1122714-1 |
What is the average of the top-25 of those with less than 35 events in the Open Championship? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_25") FROM "summary" WHERE "events"<35 AND "tournament"='the open championship'; | 2-11475534-1 |
What is the total number of events the Open Championship has with less than 0 cuts? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("events") FROM "summary" WHERE "tournament"='the open championship' AND "cuts_made"<0; | 2-11475534-1 |
What is the total number of events with a top-25 less than 0? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("events") FROM "summary" WHERE "top_25"<0; | 2-11475534-1 |
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("top_25") FROM "summary" WHERE "top_10">2 AND "cuts_made"<29; | 2-11475534-1 |
What is the lowest number of events the Open Championship has with a less than 0 top-10? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("events") FROM "summary" WHERE "tournament"='the open championship' AND "top_10"<0; | 2-11475534-1 |
What is the score for the away team when they played Hawthorn? | CREATE TABLE "round_19" (
"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_19" WHERE "home_team"='hawthorn'; | 2-10809271-19 |
Who was the home team when the away team scored 8.7 (55)? | 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 "home_team" FROM "round_4" WHERE "away_team_score"='8.7 (55)'; | 2-10783853-4 |
Who did Footscray play against when they scored 14.12 (96)? | 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 "away_team" FROM "round_4" WHERE "home_team_score"='14.12 (96)'; | 2-10783853-4 |
How many were in attendance when the away team scored 8.13 (61)? | 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 SUM("crowd") FROM "round_4" WHERE "away_team_score"='8.13 (61)'; | 2-10783853-4 |
Which result has a Score of 30-44? | CREATE TABLE "2001_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "result" FROM "2001_fixtures_and_results" WHERE "score"='30-44'; | 2-10814471-4 |
Which venue has h.paul 8/9 goals? | CREATE TABLE "2001_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "venue" FROM "2001_fixtures_and_results" WHERE "goals"='h.paul 8/9'; | 2-10814471-4 |
What is the score at valley parade on 10/6/01? | CREATE TABLE "2001_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "score" FROM "2001_fixtures_and_results" WHERE "venue"='valley parade' AND "date"='10/6/01'; | 2-10814471-4 |
Which competition has a Date of 16/4/01? | CREATE TABLE "2001_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "2001_fixtures_and_results" WHERE "date"='16/4/01'; | 2-10814471-4 |
What is the occupation of the candidate that has a riding of labrador? | CREATE TABLE "7_seats" (
"riding" text,
"candidate" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "occupation" FROM "7_seats" WHERE "riding"='labrador'; | 2-10953705-1 |
What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105? | CREATE TABLE "notable_sinclair_totals_throughout_the_h" (
"weight_class_kg" real,
"world_record_kg" text,
"sinclair_coefficient" real,
"sinclair_total" real,
"rank" real
); | SELECT AVG("sinclair_coefficient") FROM "notable_sinclair_totals_throughout_the_h" WHERE "sinclair_total"=477.2772023 AND "weight_class_kg">105; | 2-11072011-1 |
Name the least attendance for may 6 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT MIN("attendance") FROM "game_log" WHERE "date"='may 6'; | 2-11512659-4 |
Which ESPN international sports owner speaks English? | CREATE TABLE "satellite_television" (
"channel" real,
"name" text,
"language" text,
"owner" text,
"group" text,
"type" text
); | SELECT "owner" FROM "satellite_television" WHERE "language"='english' AND "name"='espn international sports'; | 2-1092619-1 |
Which type is filed under the Group Animated? | CREATE TABLE "satellite_television" (
"channel" real,
"name" text,
"language" text,
"owner" text,
"group" text,
"type" text
); | SELECT "type" FROM "satellite_television" WHERE "group"='animated'; | 2-1092619-1 |
Which Date has an Opponent of newcastle united, and a Result of 2–1? | CREATE TABLE "fa_premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "fa_premier_league" WHERE "opponent"='newcastle united' AND "result"='2–1'; | 2-11849464-2 |
Which Date has an Opponent of manchester united, and a Venue A? | CREATE TABLE "fa_premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "fa_premier_league" WHERE "opponent"='manchester united' AND "venue"='a'; | 2-11849464-2 |
In the game where Collingwood is the home team what is the score of the away team? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='collingwood'; | 2-10809444-9 |
What is the home teamscore for Richmond? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='richmond'; | 2-10809444-9 |
What contestant had a starting BMI of 42.2? | CREATE TABLE "at_home_prize" (
"season" text,
"contestant" text,
"height" text,
"start_bmi" real,
"start_weight" real,
"recent_bmi" text
); | SELECT "contestant" FROM "at_home_prize" WHERE "start_bmi"=42.2; | 2-1151047-4 |
What is the recent BMI on season 8 for the person who's BMI started under 46.3? | CREATE TABLE "at_home_prize" (
"season" text,
"contestant" text,
"height" text,
"start_bmi" real,
"start_weight" real,
"recent_bmi" text
); | SELECT "recent_bmi" FROM "at_home_prize" WHERE "start_bmi"<46.3 AND "season"='season 8'; | 2-1151047-4 |
Which college has a pick below 6 for the PBA team the Shell Turbo Chargers? | CREATE TABLE "round_1" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT "college" FROM "round_1" WHERE "pick"<6 AND "pba_team"='shell turbo chargers'; | 2-10810530-2 |
What's the crowd population of the home team located in Richmond? | 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 SUM("crowd") FROM "round_11" WHERE "home_team"='richmond'; | 2-10809823-11 |
What is the visiting team that has a home team related to footscray? | 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 "home_team"='footscray'; | 2-10809823-11 |
Which Venue has a Home team score of 13.13 (91)? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_18" WHERE "home_team_score"='13.13 (91)'; | 2-10869537-18 |
Which Home team has an Away team of fitzroy? | CREATE TABLE "round_18" (
"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_18" WHERE "away_team"='fitzroy'; | 2-10869537-18 |
Where did the home team score 13.14 (92)? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_17" WHERE "home_team_score"='13.14 (92)'; | 2-1164217-17 |
Who is the away team that scored 12.17 (89)? | CREATE TABLE "round_17" (
"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_17" WHERE "away_team_score"='12.17 (89)'; | 2-1164217-17 |
Where did the home team score 14.21 (105) with a crowd larger than 13,828? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_17" WHERE "crowd">'13,828' AND "home_team_score"='14.21 (105)'; | 2-1164217-17 |
What did the home team score when the away team was South Melbourne? | CREATE TABLE "round_17" (
"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_17" WHERE "away_team"='south melbourne'; | 2-1164217-17 |
What did the home team score when the away team was Hawthorn and there was a crowd larger than 20,851? | CREATE TABLE "round_17" (
"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_17" WHERE "crowd">'20,851' AND "away_team"='hawthorn'; | 2-1164217-17 |
What venue is the home field of Richmond? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_18" WHERE "home_team"='richmond'; | 2-10885968-18 |
What was the score of the away team in the match at Princes Park? | CREATE TABLE "round_18" (
"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_18" WHERE "venue"='princes park'; | 2-10885968-18 |
What was the score of the home team in the match at Western Oval? | CREATE TABLE "round_18" (
"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_18" WHERE "venue"='western oval'; | 2-10885968-18 |
Who had an Iflop of 2.5%? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "party" FROM "polling" WHERE "ifop_5_30_09"='2.5%'; | 2-11728067-4 |
When BVA was 3%, what was the Ipsos? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "ipsos_5_30_09" FROM "polling" WHERE "bva_6_1_09"='3%'; | 2-11728067-4 |
Who had an Ipsos of 27%? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "party" FROM "polling" WHERE "ipsos_6_3_09"='27%'; | 2-11728067-4 |
What was the TNS-Sofres when the Iflop was 5%? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "tns_sofres_6_2_09" FROM "polling" WHERE "ifop_5_30_09"='5%'; | 2-11728067-4 |
Who had 0.00% in 2004? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "party" FROM "polling" WHERE "results_2004"='0.00%'; | 2-11728067-4 |
What's the TNS-Sofres when Ipsos was 27%? | CREATE TABLE "polling" (
"party" text,
"results_2004" text,
"csa_5_28_09" text,
"ifop_5_30_09" text,
"ipsos_5_30_09" text,
"bva_6_1_09" text,
"tns_sofres_6_2_09" text,
"opinion_way_6_3_09" text,
"ipsos_6_3_09" text,
"tns_sofres_6_4_09" text,
"csa_6_4_09" text,
"ifop_6_4_09" text
); | SELECT "tns_sofres_6_2_09" FROM "polling" WHERE "ipsos_6_3_09"='27%'; | 2-11728067-4 |
In the match that had an away score of 11.19 (85), what was the date? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_3" WHERE "away_team_score"='11.19 (85)'; | 2-10887680-3 |
In the match where fitzroy was the away team, where was the venue? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_3" WHERE "away_team"='fitzroy'; | 2-10887680-3 |
Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "stage_winner" FROM "jersey_progress" WHERE "general_classification"='vladimir karpets' AND "team_classification"='relax-gam' AND "points_classification"='denis menchov'; | 2-11355733-20 |
Which Team classification has a General classification of Vladimir Karpets and a Mountains classification of No Award? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "jersey_progress" WHERE "general_classification"='vladimir karpets' AND "mountains_classification"='no award'; | 2-11355733-20 |
What Sprints classification has the Points classification, Mark Cavendish and Team classification, Caisse D'epargne? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "sprints_classification" FROM "jersey_progress" WHERE "points_classification"='mark cavendish' AND "team_classification"='caisse d''epargne'; | 2-11355733-20 |
How many in the From category had thirds of exactly 2 and an Until stat of 2002? | CREATE TABLE "women" (
"place" real,
"name" text,
"from" real,
"until" real,
"titles" text,
"seconds" text,
"thirds" text
); | SELECT COUNT("from") FROM "women" WHERE "thirds"='2' AND "until"=2002; | 2-11775329-4 |
What is the second number when from is prior to 2006 and the thirds number was 4? | CREATE TABLE "women" (
"place" real,
"name" text,
"from" real,
"until" real,
"titles" text,
"seconds" text,
"thirds" text
); | SELECT "seconds" FROM "women" WHERE "from"<2006 AND "thirds"='4'; | 2-11775329-4 |
What is the total Until when the Titles was 5? | CREATE TABLE "women" (
"place" real,
"name" text,
"from" real,
"until" real,
"titles" text,
"seconds" text,
"thirds" text
); | SELECT SUM("until") FROM "women" WHERE "titles"='5'; | 2-11775329-4 |
When Team 1 is Aalborg BK, what is the 1st Leg? | CREATE TABLE "second_qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_qualifying_round" WHERE "team_1"='aalborg bk'; | 2-11399628-6 |
When Partizan is Team 2, what is the Agg? | CREATE TABLE "second_qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "second_qualifying_round" WHERE "team_2"='partizan'; | 2-11399628-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.