question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What's the smallest amount of Laps that had a finish of 7 with a start of 6?
|
CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
);
|
SELECT MIN("laps") FROM "indy_500_results" WHERE "finish"='7' AND "start"='6';
|
2-1236238-1
|
What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MIN("bronze") FROM "medal_table" WHERE "gold"<3 AND "silver">1 AND "rank"=6 AND "nation"='hungary';
|
2-12392545-3
|
What is the average bronze with a rank of 4 and less than 1 silver?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT AVG("bronze") FROM "medal_table" WHERE "rank"=4 AND "silver"<1;
|
2-12392545-3
|
Which silver has a Gold larger than 4, and a Rank of 1?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT "silver" FROM "medal_table" WHERE "gold">4 AND "rank"=1;
|
2-12392545-3
|
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MIN("bronze") FROM "medal_table" WHERE "total"=3 AND "nation"='hungary' AND "gold"<0;
|
2-12392545-3
|
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("gold") FROM "medal_table" WHERE "rank"=7 AND "bronze"=1 AND "silver"<0;
|
2-12392545-3
|
How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3?
|
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT COUNT("total") FROM "medal_table" WHERE "silver"<2 AND "nation"='ukraine' AND "gold"<3;
|
2-12392545-3
|
Which player played in 2007?
|
CREATE TABLE "best_figures_in_an_innings" (
"bowling" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
);
|
SELECT "player" FROM "best_figures_in_an_innings" WHERE "season"='2007';
|
2-12643669-12
|
What was Min Patel's bowling?
|
CREATE TABLE "best_figures_in_an_innings" (
"bowling" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
);
|
SELECT "bowling" FROM "best_figures_in_an_innings" WHERE "player"='min patel';
|
2-12643669-12
|
Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?
|
CREATE TABLE "table_of_nominations" (
"week_1" text,
"week_2" text,
"week_6" text,
"week_9" text,
"week_12" text
);
|
SELECT "week_1" FROM "table_of_nominations" WHERE "week_2"='piia jarkko';
|
2-13032664-2
|
Who was the week 12 nomination when the week 9 nomination walked (day 11)?
|
CREATE TABLE "table_of_nominations" (
"week_1" text,
"week_2" text,
"week_6" text,
"week_9" text,
"week_12" text
);
|
SELECT "week_12" FROM "table_of_nominations" WHERE "week_9"='walked (day 11)';
|
2-13032664-2
|
What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?
|
CREATE TABLE "table_of_nominations" (
"week_1" text,
"week_2" text,
"week_6" text,
"week_9" text,
"week_12" text
);
|
SELECT "week_12" FROM "table_of_nominations" WHERE "week_1"='maria maxine' AND "week_2"='henri satu';
|
2-13032664-2
|
Name the heightfor city of license of malone, ny
|
CREATE TABLE "stations" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"facility_id" real,
"erp_power_w" real,
"height_m_ft" text,
"class" text
);
|
SELECT "height_m_ft" FROM "stations" WHERE "city_of_license"='malone, ny';
|
2-12454334-1
|
Name the class with call sign of wmhn
|
CREATE TABLE "stations" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"facility_id" real,
"erp_power_w" real,
"height_m_ft" text,
"class" text
);
|
SELECT "class" FROM "stations" WHERE "call_sign"='wmhn';
|
2-12454334-1
|
Name the frequency with class of b
|
CREATE TABLE "stations" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"facility_id" real,
"erp_power_w" real,
"height_m_ft" text,
"class" text
);
|
SELECT "frequency" FROM "stations" WHERE "class"='b';
|
2-12454334-1
|
Name the city of license with frequency of 90.1 fm
|
CREATE TABLE "stations" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"facility_id" real,
"erp_power_w" real,
"height_m_ft" text,
"class" text
);
|
SELECT "city_of_license" FROM "stations" WHERE "frequency"='90.1 fm';
|
2-12454334-1
|
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430
|
CREATE TABLE "stations" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"facility_id" real,
"erp_power_w" real,
"height_m_ft" text,
"class" text
);
|
SELECT COUNT("erp_power_w") FROM "stations" WHERE "frequency"='89.3 fm' AND "facility_id"<40430;
|
2-12454334-1
|
What is the Engine(s) that has f Tyres in 1971?
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "tyres"='f' AND "year"=1971;
|
2-13091379-1
|
What was the attendance on June 27?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" real,
"record" text
);
|
SELECT MIN("att") FROM "game_log" WHERE "date"='june 27';
|
2-12278845-5
|
Name the surface for 12 september 2006
|
CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "surface" FROM "singles_titles" WHERE "date"='12 september 2006';
|
2-12762499-2
|
Name the score for opponent in the final being paul baccanello
|
CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "score" FROM "singles_titles" WHERE "opponent_in_the_final"='paul baccanello';
|
2-12762499-2
|
Name the surface for 20 march 2007
|
CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "surface" FROM "singles_titles" WHERE "date"='20 march 2007';
|
2-12762499-2
|
Name the date for opponent in the final being ignasi villacampa
|
CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "date" FROM "singles_titles" WHERE "opponent_in_the_final"='ignasi villacampa';
|
2-12762499-2
|
Name the tournament for grass surface and opponent in the final being paul baccanello
|
CREATE TABLE "singles_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "tournament" FROM "singles_titles" WHERE "surface"='grass' AND "opponent_in_the_final"='paul baccanello';
|
2-12762499-2
|
When is the earliest year in milan that guillermo vilas was champion?
|
CREATE TABLE "singles" (
"location" text,
"year" real,
"champion" text,
"runner_up" text,
"score" text
);
|
SELECT MIN("year") FROM "singles" WHERE "location"='milan' AND "champion"='guillermo vilas';
|
2-12943308-1
|
Where in 1985 was tim mayotte runner up?
|
CREATE TABLE "singles" (
"location" text,
"year" real,
"champion" text,
"runner_up" text,
"score" text
);
|
SELECT "location" FROM "singles" WHERE "year">1985 AND "runner_up"='tim mayotte';
|
2-12943308-1
|
What was the score when stefan edberg won after 1978?
|
CREATE TABLE "singles" (
"location" text,
"year" real,
"champion" text,
"runner_up" text,
"score" text
);
|
SELECT "score" FROM "singles" WHERE "year">1978 AND "champion"='stefan edberg';
|
2-12943308-1
|
What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?
|
CREATE TABLE "broadcast_translators_of_wpby" (
"station" text,
"city_of_license" text,
"channel" text,
"erp_k_w" real,
"haat_m_ft" text,
"facility_id" real
);
|
SELECT MAX("facility_id") FROM "broadcast_translators_of_wpby" WHERE "city_of_license"='wheeling' AND "erp_k_w"<4.5;
|
2-1278862-3
|
What is the City of license that has a ERP kW more than 4.5 and w23dr-d?
|
CREATE TABLE "broadcast_translators_of_wpby" (
"station" text,
"city_of_license" text,
"channel" text,
"erp_k_w" real,
"haat_m_ft" text,
"facility_id" real
);
|
SELECT "city_of_license" FROM "broadcast_translators_of_wpby" WHERE "erp_k_w">4.5 AND "station"='w23dr-d';
|
2-1278862-3
|
What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars?
|
CREATE TABLE "tower_remains" (
"church_name" text,
"location" text,
"rebuilt" text,
"date_of_demolition" real,
"subsuming_parish" text
);
|
SELECT "location" FROM "tower_remains" WHERE "date_of_demolition"=1940 AND "church_name"='christ church greyfriars';
|
2-13050399-2
|
How many dates of demolition are located on Wood Street?
|
CREATE TABLE "tower_remains" (
"church_name" text,
"location" text,
"rebuilt" text,
"date_of_demolition" real,
"subsuming_parish" text
);
|
SELECT COUNT("date_of_demolition") FROM "tower_remains" WHERE "location"='wood street';
|
2-13050399-2
|
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
|
CREATE TABLE "doubles_12_8_titles_4_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "score" FROM "doubles_12_8_titles_4_runners_up" WHERE "surface"='clay' AND "date"='19 may 2008';
|
2-12472200-5
|
What was Olga Govortsova's outcome when she played on a grass surface?
|
CREATE TABLE "doubles_12_8_titles_4_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "outcome" FROM "doubles_12_8_titles_4_runners_up" WHERE "surface"='grass';
|
2-12472200-5
|
What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012?
|
CREATE TABLE "doubles_12_8_titles_4_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "score" FROM "doubles_12_8_titles_4_runners_up" WHERE "surface"='clay' AND "date"='26 may 2012';
|
2-12472200-5
|
Which mountain range has a rank of 19?
|
CREATE TABLE "the_50_most_topographically_prominent_mo" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_range" FROM "the_50_most_topographically_prominent_mo" WHERE "rank"=19;
|
2-12679495-2
|
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
|
CREATE TABLE "the_50_most_topographically_prominent_mo" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "location" FROM "the_50_most_topographically_prominent_mo" WHERE "mountain_range"='coast mountains' AND "rank"<18 AND "mountain_peak"='skihist mountain';
|
2-12679495-2
|
Which mountain range includes Mount Hubbard?
|
CREATE TABLE "the_50_most_topographically_prominent_mo" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "mountain_range" FROM "the_50_most_topographically_prominent_mo" WHERE "mountain_peak"='mount hubbard';
|
2-12679495-2
|
Which province includes Axel Heiberg Island?
|
CREATE TABLE "the_50_most_topographically_prominent_mo" (
"rank" real,
"mountain_peak" text,
"province" text,
"mountain_range" text,
"location" text
);
|
SELECT "province" FROM "the_50_most_topographically_prominent_mo" WHERE "mountain_range"='axel heiberg island';
|
2-12679495-2
|
What are the notes of events that finished in 12th position?
|
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
);
|
SELECT "notes" FROM "achievements" WHERE "position"='12th';
|
2-12736549-1
|
Which venue was finished in 2nd position in 1985?
|
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
);
|
SELECT "venue" FROM "achievements" WHERE "position"='2nd' AND "year"=1985;
|
2-12736549-1
|
What is the average year of events that took place in Antwerp, Belgium?
|
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
);
|
SELECT AVG("year") FROM "achievements" WHERE "venue"='antwerp, belgium';
|
2-12736549-1
|
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?
|
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
);
|
SELECT MAX("year") FROM "achievements" WHERE "notes"='team competition' AND "venue"='antwerp, belgium';
|
2-12736549-1
|
What was the label's format LP and catalog of CH-9192?
|
CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
);
|
SELECT "label" FROM "release_history" WHERE "format"='lp' AND "catalog"='ch-9192';
|
2-12605791-1
|
When was Catalog CHD-9192 published?
|
CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
);
|
SELECT "date" FROM "release_history" WHERE "catalog"='chd-9192';
|
2-12605791-1
|
I need the FCC info on the radio Frequency MHz 107.5?
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
|
SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz"=107.5;
|
2-12503727-1
|
Give me the MHz Frequency of Allapattah, Florida.
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
|
SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='allapattah, florida';
|
2-12503727-1
|
What class does the w298ak sign belong to?
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
|
SELECT "class" FROM "translators" WHERE "call_sign"='w298ak';
|
2-12503727-1
|
What class is ERP W of 800?
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
|
SELECT "class" FROM "translators" WHERE "erp_w"=800;
|
2-12503727-1
|
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?
|
CREATE TABLE "apertura_2002_standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
|
SELECT SUM("goals_conceded") FROM "apertura_2002_standings" WHERE "points"<21 AND "lost"<8;
|
2-13013383-1
|
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?
|
CREATE TABLE "apertura_2002_standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
|
SELECT SUM("lost") FROM "apertura_2002_standings" WHERE "points">28 AND "draw"=5 AND "place"<1;
|
2-13013383-1
|
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa?
|
CREATE TABLE "apertura_2002_standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
|
SELECT SUM("goals_scored") FROM "apertura_2002_standings" WHERE "points"<27 AND "team"='c.d. atlético balboa';
|
2-13013383-1
|
What is listed as the Highest Played and that has a Place that is larger than 10?
|
CREATE TABLE "apertura_2002_standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
|
SELECT MAX("played") FROM "apertura_2002_standings" WHERE "place">10;
|
2-13013383-1
|
What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5?
|
CREATE TABLE "apertura_2002_standings" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
|
SELECT MAX("played") FROM "apertura_2002_standings" WHERE "points"=17 AND "draw"<5;
|
2-13013383-1
|
When was the game that ended with a score of 6-4?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "score"='6-4';
|
2-12206689-6
|
What was the score on April 8?
|
CREATE TABLE "april" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "april" WHERE "date"='april 8';
|
2-13034488-9
|
What was the decision in Minnesota?
|
CREATE TABLE "april" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
|
SELECT "decision" FROM "april" WHERE "home"='minnesota';
|
2-13034488-9
|
Which score has a record of 58–15–8?
|
CREATE TABLE "april" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "april" WHERE "record"='58–15–8';
|
2-13034488-9
|
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
|
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text
);
|
SELECT "section" FROM "season_to_season" WHERE "level"='tier 3' AND "position"='6th' AND "season"='1937-38';
|
2-12220421-1
|
Which section is in the 6th position?
|
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text
);
|
SELECT "section" FROM "season_to_season" WHERE "position"='6th';
|
2-12220421-1
|
Name the attendance with date of june 11
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "attendance" FROM "game_log" WHERE "date"='june 11';
|
2-12205689-5
|
Which partnership has a run number of 27?
|
CREATE TABLE "highest_partnerships_for_each_wicket" (
"wicket" text,
"runs" text,
"partnerships" text,
"venue" text,
"date" text
);
|
SELECT "partnerships" FROM "highest_partnerships_for_each_wicket" WHERE "runs"='27';
|
2-13219504-10
|
What venue did the parntership of shoaib malik / misbah-ul-haq occur?
|
CREATE TABLE "highest_partnerships_for_each_wicket" (
"wicket" text,
"runs" text,
"partnerships" text,
"venue" text,
"date" text
);
|
SELECT "venue" FROM "highest_partnerships_for_each_wicket" WHERE "partnerships"='shoaib malik / misbah-ul-haq';
|
2-13219504-10
|
What venue did the partnership of herschelle gibbs / justin kemp happen?
|
CREATE TABLE "highest_partnerships_for_each_wicket" (
"wicket" text,
"runs" text,
"partnerships" text,
"venue" text,
"date" text
);
|
SELECT "venue" FROM "highest_partnerships_for_each_wicket" WHERE "partnerships"='herschelle gibbs / justin kemp';
|
2-13219504-10
|
What is the number Played that has 310 Points for?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "played" FROM "2010_2011_table" WHERE "points_for"='310';
|
2-12886178-2
|
What Losing bonus has a Points against of 588?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "losing_bonus" FROM "2010_2011_table" WHERE "points_against"='588';
|
2-12886178-2
|
What Tries against has a Losing bonus of 7?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "tries_against" FROM "2010_2011_table" WHERE "losing_bonus"='7';
|
2-12886178-2
|
What Try bonus has a Points against of 488?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "try_bonus" FROM "2010_2011_table" WHERE "points_against"='488';
|
2-12886178-2
|
What Points for has a Try bonus of 140?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "points_for" FROM "2010_2011_table" WHERE "try_bonus"='140';
|
2-12886178-2
|
What Drawn has a Tries against of 0?
|
CREATE TABLE "2010_2011_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text
);
|
SELECT "drawn" FROM "2010_2011_table" WHERE "tries_against"='0';
|
2-12886178-2
|
What is the days held the champion with a reign larger than 3 and 1 defense has?
|
CREATE TABLE "list_of_champions" (
"name" text,
"reign" real,
"days_held" text,
"location" text,
"defenses" real
);
|
SELECT "days_held" FROM "list_of_champions" WHERE "reign">3 AND "defenses"=1;
|
2-12484424-1
|
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
|
CREATE TABLE "list_of_champions" (
"name" text,
"reign" real,
"days_held" text,
"location" text,
"defenses" real
);
|
SELECT "days_held" FROM "list_of_champions" WHERE "reign">3 AND "defenses"<1;
|
2-12484424-1
|
What is the average defenses a champion with 404 days held and a reign larger than 1 has?
|
CREATE TABLE "list_of_champions" (
"name" text,
"reign" real,
"days_held" text,
"location" text,
"defenses" real
);
|
SELECT AVG("defenses") FROM "list_of_champions" WHERE "days_held"='404' AND "reign">1;
|
2-12484424-1
|
What is the lowest defense a champion with 345 days held has?
|
CREATE TABLE "list_of_champions" (
"name" text,
"reign" real,
"days_held" text,
"location" text,
"defenses" real
);
|
SELECT MIN("defenses") FROM "list_of_champions" WHERE "days_held"='345';
|
2-12484424-1
|
On what date was there a record of 76-72?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "record"='76-72';
|
2-12206000-9
|
What was the attendance that had a loss of Ponson (1-5)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "attendance" FROM "game_log" WHERE "loss"='ponson (1-5)';
|
2-12206234-4
|
On which day was there a record of 36-39?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "record"='36-39';
|
2-12206234-4
|
On what day was the record 30-31?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "record"='30-31';
|
2-12206234-4
|
Who was the opponent at the game that had a loss of Leonard (7–8)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "loss"='leonard (7–8)';
|
2-12207755-6
|
What was the score of the game when the record was 18–43?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "record"='18–43';
|
2-12207755-6
|
What was the score of the game against the Royals when the record was 24–52?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "opponent"='royals' AND "record"='24–52';
|
2-12207755-6
|
What was the score of the game when the record was 22–46?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "record"='22–46';
|
2-12207755-6
|
What is the real name of the person whose primary military specialty is shock paratrooper?
|
CREATE TABLE "characters" (
"code_name" text,
"function_figure" text,
"real_name" text,
"birthplace" text,
"serial_number" text,
"primary_military_speciality" text,
"secondary_military_speciality" text
);
|
SELECT "real_name" FROM "characters" WHERE "primary_military_speciality"='shock paratrooper';
|
2-12881774-1
|
What is the birthplace of Pete Sanderson?
|
CREATE TABLE "characters" (
"code_name" text,
"function_figure" text,
"real_name" text,
"birthplace" text,
"serial_number" text,
"primary_military_speciality" text,
"secondary_military_speciality" text
);
|
SELECT "birthplace" FROM "characters" WHERE "real_name"='pete sanderson';
|
2-12881774-1
|
What role did Jean-Luc Bouvier serve?
|
CREATE TABLE "characters" (
"code_name" text,
"function_figure" text,
"real_name" text,
"birthplace" text,
"serial_number" text,
"primary_military_speciality" text,
"secondary_military_speciality" text
);
|
SELECT "function_figure" FROM "characters" WHERE "real_name"='jean-luc bouvier';
|
2-12881774-1
|
What is the real name of the person who is a pilot of the silent attack kayak?
|
CREATE TABLE "characters" (
"code_name" text,
"function_figure" text,
"real_name" text,
"birthplace" text,
"serial_number" text,
"primary_military_speciality" text,
"secondary_military_speciality" text
);
|
SELECT "real_name" FROM "characters" WHERE "function_figure"='pilot of the silent attack kayak';
|
2-12881774-1
|
What is the code name of the person born in Liverpool?
|
CREATE TABLE "characters" (
"code_name" text,
"function_figure" text,
"real_name" text,
"birthplace" text,
"serial_number" text,
"primary_military_speciality" text,
"secondary_military_speciality" text
);
|
SELECT "code_name" FROM "characters" WHERE "birthplace"='liverpool';
|
2-12881774-1
|
What is the names for the medalist in the sport of canoeing?
|
CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
);
|
SELECT "name" FROM "list_of_medalists" WHERE "sport"='canoeing';
|
2-12817264-1
|
What games had the women's half middleweight event?
|
CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
);
|
SELECT "games" FROM "list_of_medalists" WHERE "event"='women''s half middleweight';
|
2-12817264-1
|
Who received the bronze medal in the 2000 Sydney games?
|
CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
);
|
SELECT "name" FROM "list_of_medalists" WHERE "medal"='bronze' AND "games"='2000 sydney';
|
2-12817264-1
|
How many people attended when opponent was twins?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT COUNT("attendance") FROM "game_log" WHERE "opponent"='twins';
|
2-12206127-5
|
Which date has a Record of 41-46?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "record"='41-46';
|
2-12206127-5
|
Which score has a Record of 48-55?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "record"='48-55';
|
2-12206127-5
|
Which score has a Record of 44-49?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "record"='44-49';
|
2-12206127-5
|
Which score has an Attendance larger than 16,571, and a Loss of mcdowell (0-1)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "attendance">'16,571' AND "loss"='mcdowell (0-1)';
|
2-12206356-1
|
Which score has an Opponent of white sox, and a Record of 2-0?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "score" FROM "game_log" WHERE "opponent"='white sox' AND "record"='2-0';
|
2-12206356-1
|
How many votes did candice sjostrom receive?
|
CREATE TABLE "results_in_federal_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
);
|
SELECT AVG("popular_votes") FROM "results_in_federal_elections" WHERE "candidate"='candice sjostrom';
|
2-1238577-1
|
What percentage did chris wright receive?
|
CREATE TABLE "results_in_federal_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
);
|
SELECT "percentage" FROM "results_in_federal_elections" WHERE "candidate"='chris wright';
|
2-1238577-1
|
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
|
CREATE TABLE "results_in_federal_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
);
|
SELECT AVG("popular_votes") FROM "results_in_federal_elections" WHERE "office"='us representative 4' AND "percentage"='1.59%' AND "year">1992;
|
2-1238577-1
|
What years did J. Smith Young serve as a Representative?
|
CREATE TABLE "external_links" (
"representative" text,
"years" text,
"state" text,
"party" text,
"lifespan" text
);
|
SELECT "years" FROM "external_links" WHERE "representative"='j. smith young';
|
2-12601321-1
|
Which party did Thomas L. Young belong to?
|
CREATE TABLE "external_links" (
"representative" text,
"years" text,
"state" text,
"party" text,
"lifespan" text
);
|
SELECT "party" FROM "external_links" WHERE "representative"='thomas l. young';
|
2-12601321-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.