question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the Time/Retired for emerson fittipaldi? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "driver"='emerson fittipaldi'; | 2-1122583-1 |
What is the long for the player with 26 carries? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"td_s" real,
"long" text
); | SELECT "long" FROM "running_backs" WHERE "car"=26; | 2-11783481-3 |
How many carries for the player with a 2 yard long? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"td_s" real,
"long" text
); | SELECT COUNT("car") FROM "running_backs" WHERE "long"='2'; | 2-11783481-3 |
What is the long for the player with under 30 carries and 0 yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"td_s" real,
"long" text
); | SELECT "long" FROM "running_backs" WHERE "car"<30 AND "yards"='0'; | 2-11783481-3 |
How many wins were there in the 2000 season in the central division with less than 81 losses? | CREATE TABLE "seasons" (
"mlb_season" text,
"reds_season" real,
"league" text,
"division" text,
"finish" text,
"wins" real,
"losses" real,
"winpct" real,
"gb_c" text
); | SELECT AVG("wins") FROM "seasons" WHERE "division"='central' AND "reds_season"<2000 AND "losses"<81; | 2-11061755-3 |
What was the lowest percentages of wins in 1989 with a GB [c] of 17? | CREATE TABLE "seasons" (
"mlb_season" text,
"reds_season" real,
"league" text,
"division" text,
"finish" text,
"wins" real,
"losses" real,
"winpct" real,
"gb_c" text
); | SELECT MIN("winpct") FROM "seasons" WHERE "gb_c"='17' AND "reds_season"=1989; | 2-11061755-3 |
How many losses did the 1943 MLB have? | CREATE TABLE "seasons" (
"mlb_season" text,
"reds_season" real,
"league" text,
"division" text,
"finish" text,
"wins" real,
"losses" real,
"winpct" real,
"gb_c" text
); | SELECT AVG("losses") FROM "seasons" WHERE "mlb_season"='1943'; | 2-11061755-3 |
What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %? | CREATE TABLE "seasons" (
"mlb_season" text,
"reds_season" real,
"league" text,
"division" text,
"finish" text,
"wins" real,
"losses" real,
"winpct" real,
"gb_c" text
); | SELECT MIN("wins") FROM "seasons" WHERE "finish"='7th' AND "winpct">0.429 AND "reds_season"<1915; | 2-11061755-3 |
In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]? | CREATE TABLE "seasons" (
"mlb_season" text,
"reds_season" real,
"league" text,
"division" text,
"finish" text,
"wins" real,
"losses" real,
"winpct" real,
"gb_c" text
); | SELECT "gb_c" FROM "seasons" WHERE "winpct"<0.457 AND "wins"=62 AND "reds_season"=1900; | 2-11061755-3 |
Which record has a score of 7–6 (12)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='7–6 (12)'; | 2-11512983-6 |
On what date was the record 59–59? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='59–59'; | 2-11512983-6 |
What loss occurred on August 21? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "date"='august 21'; | 2-11512983-6 |
What is the highest 1985 value that has a 1990 value of 93? | CREATE TABLE "provincial_percentage_share_of_average_c" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
); | SELECT MAX("1985") FROM "provincial_percentage_share_of_average_c" WHERE "1990"=93; | 2-1145364-7 |
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74? | CREATE TABLE "provincial_percentage_share_of_average_c" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
); | SELECT MAX("2000") FROM "provincial_percentage_share_of_average_c" WHERE "2010"=82 AND "2005"<74; | 2-1145364-7 |
What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67? | CREATE TABLE "provincial_percentage_share_of_average_c" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
); | SELECT SUM("1995") FROM "provincial_percentage_share_of_average_c" WHERE "year"='jiangxi' AND "2008">67; | 2-1145364-7 |
What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165? | CREATE TABLE "provincial_percentage_share_of_average_c" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
); | SELECT MIN("2009") FROM "provincial_percentage_share_of_average_c" WHERE "2010"=141 AND "1985">165; | 2-1145364-7 |
What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80? | CREATE TABLE "provincial_percentage_share_of_average_c" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
); | SELECT SUM("1995") FROM "provincial_percentage_share_of_average_c" WHERE "2005">74 AND "2008"=84 AND "2000"<80; | 2-1145364-7 |
What is the date of the election where Sir Christopher William Codrington was elected as First Member and Robert Stayner Holford as the Second Member? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_member"='robert stayner holford'; | 2-1193191-1 |
What is the Second Party where Sir Christopher William Codrington is the First Member and Hon. Francis Charteris is the Second Member? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "2nd_party" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_member"='hon. francis charteris'; | 2-1193191-1 |
What is the date of the election where Sir Christopher William Codrington is elected First Member and the second party is Conservative? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_party"='conservative'; | 2-1193191-1 |
What label is after 2004? | CREATE TABLE "compilations" (
"year" real,
"tracks" text,
"title" text,
"format_special_notes" text,
"label" text
); | SELECT "label" FROM "compilations" WHERE "year">2004; | 2-1114006-3 |
What is the Format and Special Notes for of the pact: ...of the gods? | CREATE TABLE "compilations" (
"year" real,
"tracks" text,
"title" text,
"format_special_notes" text,
"label" text
); | SELECT "format_special_notes" FROM "compilations" WHERE "title"='the pact: ...of the gods'; | 2-1114006-3 |
What movie has noxialicht as a track? | CREATE TABLE "compilations" (
"year" real,
"tracks" text,
"title" text,
"format_special_notes" text,
"label" text
); | SELECT "title" FROM "compilations" WHERE "tracks"='noxialicht'; | 2-1114006-3 |
What is the lowest gold medals of a rank 12 team? | CREATE TABLE "medal_table_2006_2009" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_table_2006_2009" WHERE "rank"='12'; | 2-1175760-3 |
What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals? | CREATE TABLE "medal_table_2006_2009" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table_2006_2009" WHERE "silver">8 AND "total"=50; | 2-1175760-3 |
What is the average gold medals Uzbekistan, which has less than 24 total medals, has? | CREATE TABLE "medal_table_2006_2009" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table_2006_2009" WHERE "nation"='uzbekistan' AND "total"<24; | 2-1175760-3 |
Which open cup was after 1993? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "open_cup" FROM "year_by_year" WHERE "year">1993; | 2-12002388-1 |
Which year had playoffs of champion? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT AVG("year") FROM "year_by_year" WHERE "playoffs"='champion'; | 2-12002388-1 |
What divisions was in the year 1993? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "division" FROM "year_by_year" WHERE "year"=1993; | 2-12002388-1 |
Which UK base has 441st tcg Troop carrier group and 14 as their seir serial? | CREATE TABLE "air_movement_table_mission_albany" (
"serial" text,
"airborne_unit" text,
"troop_carrier_group" text,
"num_of_c_47s" real,
"uk_base" text,
"drop_zone" text,
"drop_zone_time" real
); | SELECT "uk_base" FROM "air_movement_table_mission_albany" WHERE "troop_carrier_group"='441st tcg' AND "serial"='14'; | 2-12026040-1 |
What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s? | CREATE TABLE "air_movement_table_mission_albany" (
"serial" text,
"airborne_unit" text,
"troop_carrier_group" text,
"num_of_c_47s" real,
"uk_base" text,
"drop_zone" text,
"drop_zone_time" real
); | SELECT "drop_zone_time" FROM "air_movement_table_mission_albany" WHERE "troop_carrier_group"='439th tcg' AND "num_of_c_47s">36; | 2-12026040-1 |
What was the grid placement for the Maserati that completed 14 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "grid" FROM "classification" WHERE "constructor"='maserati' AND "laps"=14; | 2-1122156-1 |
What company built the car driven by Tony Brooks? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "driver"='tony brooks'; | 2-1122156-1 |
What is the score on the date of May 2? | CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='may 2'; | 2-11293024-2 |
What city was a visitor on the date of April 30? | CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='april 30'; | 2-11293024-2 |
On the date of April 22, which city was a visitor? | CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='april 22'; | 2-11293024-2 |
What visitor has Ottawa as a home and a date of April 26? | CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "home"='ottawa' AND "date"='april 26'; | 2-11293024-2 |
What is Paino Hehea's date of birth? | CREATE TABLE "2007_rugby_world_cup_squads" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "date_of_birth_age" FROM "2007_rugby_world_cup_squads" WHERE "player"='paino hehea'; | 2-11783766-4 |
I want to know the location that has a record of 3-0 | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='3-0'; | 2-10880533-1 |
Tell me the record for round more than 1 | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "round">1; | 2-10880533-1 |
I want to know the method for opponent of jerry bohlander | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='jerry bohlander'; | 2-10880533-1 |
Who belongs to the Bologna Milan club? | CREATE TABLE "serie_a" (
"season" text,
"player" text,
"nationality" text,
"club" text,
"goals" text
); | SELECT "player" FROM "serie_a" WHERE "club"='bologna milan'; | 2-11362608-1 |
Who is the opponent on June 6? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='june 6'; | 2-12101799-1 |
What is the date of the game at Commerce Bank Ballpark? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "date" FROM "schedule" WHERE "field"='commerce bank ballpark'; | 2-12101799-1 |
What is the result of the game at Bishop Kearney Field on August 2? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "result" FROM "schedule" WHERE "field"='bishop kearney field' AND "date"='august 2'; | 2-12101799-1 |
Who was the opponent of the game at Homewood field? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "opponent" FROM "schedule" WHERE "field"='homewood field'; | 2-12101799-1 |
What is the result of the game at Bishop Kearney Field on August 2? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "result" FROM "schedule" WHERE "field"='bishop kearney field' AND "date"='august 2'; | 2-12101799-1 |
What is the time of the rider with a speed of 102.962mph? | CREATE TABLE "newcomers_race_a" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "time" FROM "newcomers_race_a" WHERE "speed"='102.962mph'; | 2-11972799-2 |
Who is the rider who had the time of 1:27.37.22? | CREATE TABLE "newcomers_race_a" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "rider" FROM "newcomers_race_a" WHERE "time"='1:27.37.22'; | 2-11972799-2 |
Who is the rider who has a rank lower than 10, and a time of 1:26.31.20? | CREATE TABLE "newcomers_race_a" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "rider" FROM "newcomers_race_a" WHERE "rank"<10 AND "time"='1:26.31.20'; | 2-11972799-2 |
What date was the Circuit of Indianapolis? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "circuit"='indianapolis'; | 2-1140114-1 |
Who was the Constructor at the Argentine Grand Prix? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "constructor" FROM "season_review" WHERE "race"='argentine grand prix'; | 2-1140114-1 |
What was the date of the Circuit of Indianapolis? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "circuit"='indianapolis'; | 2-1140114-1 |
Who was the winning driver of the Argentine Grand Prix? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "winning_driver" FROM "season_review" WHERE "race"='argentine grand prix'; | 2-1140114-1 |
What was Juan Manuel Fangio's reported pole position and the tire of C? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "report" FROM "season_review" WHERE "pole_position"='juan manuel fangio' AND "tyre"='c'; | 2-1140114-1 |
What was the Attendance when the Home team was Montreal, on the Date of March 24? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "march" WHERE "home"='montreal' AND "date"='march 24'; | 2-11801035-8 |
What was the Score on March 15? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "march" WHERE "date"='march 15'; | 2-11801035-8 |
What school does Dell Curry play for? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "c" WHERE "player"='dell curry'; | 2-11545282-3 |
What school does John Crotty play for? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "c" WHERE "player"='john crotty'; | 2-11545282-3 |
What school does Wayne Cooper play for? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "c" WHERE "player"='wayne cooper'; | 2-11545282-3 |
Who has greater than 8 Long and a 73 Yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"long" real
); | SELECT "player" FROM "running_backs" WHERE "long">8 AND "yards"='73'; | 2-11755831-2 |
Who has a highest Long with 26 Yards and less than 9 Car? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"long" real
); | SELECT MAX("long") FROM "running_backs" WHERE "yards"='26' AND "car"<9; | 2-11755831-2 |
Who has the highest Long with 59 Car? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" text,
"avg" text,
"long" real
); | SELECT MAX("long") FROM "running_backs" WHERE "car"=59; | 2-11755831-2 |
Tell me the team with a rank less than 13 and points more than 79 and previous rank of 4 | CREATE TABLE "individual_2007_uci_pro_tour_standings_a" (
"rank" real,
"previous_rank" text,
"name" text,
"nationality" text,
"team" text,
"points" real
); | SELECT "team" FROM "individual_2007_uci_pro_tour_standings_a" WHERE "rank"<13 AND "points">79 AND "previous_rank"='4'; | 2-10971065-12 |
I want to know the sum of points with a previous rank of 3 | CREATE TABLE "individual_2007_uci_pro_tour_standings_a" (
"rank" real,
"previous_rank" text,
"name" text,
"nationality" text,
"team" text,
"points" real
); | SELECT SUM("points") FROM "individual_2007_uci_pro_tour_standings_a" WHERE "previous_rank"='3'; | 2-10971065-12 |
Tell me the previous rank for italy with points more than 100 | CREATE TABLE "individual_2007_uci_pro_tour_standings_a" (
"rank" real,
"previous_rank" text,
"name" text,
"nationality" text,
"team" text,
"points" real
); | SELECT "previous_rank" FROM "individual_2007_uci_pro_tour_standings_a" WHERE "nationality"='italy' AND "points">100; | 2-10971065-12 |
Tell me the sum of rank for australia when points are less than 79 | CREATE TABLE "individual_2007_uci_pro_tour_standings_a" (
"rank" real,
"previous_rank" text,
"name" text,
"nationality" text,
"team" text,
"points" real
); | SELECT SUM("rank") FROM "individual_2007_uci_pro_tour_standings_a" WHERE "nationality"='australia' AND "points"<79; | 2-10971065-12 |
How many ships for the nation with grand total of 20? | CREATE TABLE "naval_forces_operation_mainbrace_1952_ci" (
"nato_member" text,
"aircraft_carriers" text,
"battleships" text,
"cruisers" text,
"escorts" text,
"submarines" text,
"torpedo_boat_squadrons" text,
"s_motor_ship_s_naval_trawler" text,
"grand_total" real
); | SELECT "s_motor_ship_s_naval_trawler" FROM "naval_forces_operation_mainbrace_1952_ci" WHERE "grand_total"=20; | 2-11599375-1 |
How many escorts does the nation with 6 cruisers have? | CREATE TABLE "naval_forces_operation_mainbrace_1952_ci" (
"nato_member" text,
"aircraft_carriers" text,
"battleships" text,
"cruisers" text,
"escorts" text,
"submarines" text,
"torpedo_boat_squadrons" text,
"s_motor_ship_s_naval_trawler" text,
"grand_total" real
); | SELECT "escorts" FROM "naval_forces_operation_mainbrace_1952_ci" WHERE "cruisers"='6'; | 2-11599375-1 |
Which address has 44 floors? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" real
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "floors"=44; | 2-11530524-3 |
What is the total for the person with 73.28 bodyweight and fewer snatches than 75? | CREATE TABLE "heavyweight_75_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT AVG("total_kg") FROM "heavyweight_75_kg" WHERE "bodyweight"=73.28 AND "snatch"<75; | 2-11279593-14 |
Which person has a bodyweight of 73.6? | CREATE TABLE "heavyweight_75_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT "name" FROM "heavyweight_75_kg" WHERE "bodyweight"=73.6; | 2-11279593-14 |
What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8? | CREATE TABLE "heavyweight_75_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT AVG("total_kg") FROM "heavyweight_75_kg" WHERE "snatch">87.5 AND "bodyweight">74.8; | 2-11279593-14 |
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5? | CREATE TABLE "heavyweight_75_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT SUM("bodyweight") FROM "heavyweight_75_kg" WHERE "clean_jerk"=82.5 AND "total_kg"<152.5; | 2-11279593-14 |
Name the home team when the away team was essendon | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team_score" FROM "round_10" WHERE "away_team"='essendon'; | 2-1204658-10 |
Name the away team score for home team of university | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "home_team"='university'; | 2-1204658-10 |
Name the venue for geelong away team | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "round_10" WHERE "away_team"='geelong'; | 2-1204658-10 |
Name the venue when the away team was richmond | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "round_10" WHERE "away_team"='richmond'; | 2-1204658-10 |
Name the away team score for geelong away team | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "away_team"='geelong'; | 2-1204658-10 |
When the venue was brunswick street oval what was the home teams score? | 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 "home_team_score" FROM "round_3" WHERE "venue"='brunswick street oval'; | 2-10809271-3 |
When the away team scored 10.15 (75) and the crowd was larger than 20,000 people, what was the home team playing? | 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 "home_team" FROM "round_3" WHERE "crowd">'20,000' AND "away_team_score"='10.15 (75)'; | 2-10809271-3 |
When the away team scored 7.8 (50), what was the opposing teams score? | 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 "home_team_score" FROM "round_3" WHERE "away_team_score"='7.8 (50)'; | 2-10809271-3 |
When the away team scored 14.14 (98), who was the Home team who played? | 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 "home_team" FROM "round_3" WHERE "away_team_score"='14.14 (98)'; | 2-10809271-3 |
If the home team scored 14.15 (99), who was the away team? | 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 "away_team" FROM "round_3" WHERE "home_team_score"='14.15 (99)'; | 2-10809271-3 |
How many draws feature artist wendy fierce? | CREATE TABLE "semi_final_2_14_february_1999" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT SUM("draw") FROM "semi_final_2_14_february_1999" WHERE "artist"='wendy fierce'; | 2-11021760-2 |
What song is later than place 2 and has a draw number of 1? | CREATE TABLE "semi_final_2_14_february_1999" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT "song" FROM "semi_final_2_14_february_1999" WHERE "place">2 AND "draw"=1; | 2-11021760-2 |
What day did Collingwood play as the home team? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_7" WHERE "home_team"='collingwood'; | 2-10823950-7 |
Who was the away team at Princes Park? | CREATE TABLE "round_7" (
"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_7" WHERE "venue"='princes park'; | 2-10823950-7 |
Who was Hawthorn's away opponent? | CREATE TABLE "round_7" (
"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_7" WHERE "home_team"='hawthorn'; | 2-10823950-7 |
Name the record that has a stream of l1 and score of l 95–111 | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
); | SELECT "record" FROM "march" WHERE "streak"='l1' AND "score"='l 95–111'; | 2-11964047-9 |
Name the attendance for when the washington wizards was visiting | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text,
"streak" text
); | SELECT "attendance" FROM "march" WHERE "visitor"='washington wizards'; | 2-11964047-9 |
What is the smallest grid for driver of juan pablo montoya? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("grid") FROM "race" WHERE "driver"='juan pablo montoya'; | 2-1123634-2 |
What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "time_retired"='+1 lap' AND "constructor"='bar - honda'; | 2-1123634-2 |
What is the Chinese title with a premiere rating of 31? | CREATE TABLE "highest_rating_drama_series_of_2008" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
); | SELECT "chinese_title" FROM "highest_rating_drama_series_of_2008" WHERE "premiere"=31; | 2-11926114-1 |
What is the premiere rating for a Chinese title of 野蠻奶奶大戰戈師奶, and a Peak smaller than 41? | CREATE TABLE "highest_rating_drama_series_of_2008" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
); | SELECT SUM("premiere") FROM "highest_rating_drama_series_of_2008" WHERE "chinese_title"='野蠻奶奶大戰戈師奶' AND "peak"<41; | 2-11926114-1 |
What is the premiere rating associated with an average of 35 ranked above 1? | CREATE TABLE "highest_rating_drama_series_of_2008" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
); | SELECT MIN("premiere") FROM "highest_rating_drama_series_of_2008" WHERE "average"=35 AND "rank">1; | 2-11926114-1 |
When was there a game at Arden Street Oval? | 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 "venue"='arden street oval'; | 2-10807253-5 |
How big was the crowd when Richmond 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 "crowd" FROM "round_5" WHERE "away_team"='richmond'; | 2-10807253-5 |
Which away team plays at Arden Street Oval? | 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 "venue"='arden street oval'; | 2-10807253-5 |
How many fans were at Essendon? | 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 COUNT("crowd") FROM "round_5" WHERE "home_team"='essendon'; | 2-10807253-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.