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 record for November 26, with the decision made by Prusek? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "november" WHERE "decision"='prusek' AND "date"='november 26'; | 2-13242342-4 |
What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "november" WHERE "visitor"='columbus' AND "decision"='denis' AND "home"='phoenix'; | 2-13242342-4 |
What is the record for November 4, with a decision made by Denis? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "november" WHERE "decision"='denis' AND "date"='november 4'; | 2-13242342-4 |
What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text,
"trofeo_fast_team" text
); | SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "points_classification"='fabrizio guidi' AND "winner"='nicolaj bo larsen'; | 2-12261926-2 |
What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text,
"trofeo_fast_team" text
); | SELECT "mountains_classification" FROM "classification_leadership_by_stage" WHERE "winner"='mario cipollini' AND "general_classification"='pavel tonkov'; | 2-12261926-2 |
What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='gewiss playbus' AND "points_classification"='fabrizio guidi' AND "winner"='fabiano fontanelli'; | 2-12261926-2 |
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "points_classification"='silvio martinello' AND "general_classification"='davide rebellin'; | 2-12261926-2 |
What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text,
"trofeo_fast_team" text
); | SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "points_classification"='silvio martinello' AND "stage"='6'; | 2-12261926-2 |
How many points did the Castres have? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "points_for" FROM "table" WHERE "club"='castres'; | 2-12755587-1 |
Who is the club that had 617 points and a draw of 0? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "club" FROM "table" WHERE "drawn"='0' AND "points_for"='617'; | 2-12755587-1 |
What number of bonus points did Stade Français? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "bonus_points" FROM "table" WHERE "club"='stade français'; | 2-12755587-1 |
Who was the opponent at the game when the record was 15–15? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='15–15'; | 2-12125069-4 |
Who was the opponent at the game attended by 23,203? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "attendance"='23,203'; | 2-12125069-4 |
What was the loss of the game when the record was 16–15? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='16–15'; | 2-12125069-4 |
What was the attendance at the game that had a score of 16–7? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "attendance" FROM "game_log" WHERE "score"='16–7'; | 2-12125069-4 |
What was the date of the game attended by 25,022? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "attendance"='25,022'; | 2-12125069-4 |
Which record has an attendance larger than 28,459? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance">'28,459'; | 2-12206211-4 |
When the record was 32-37 what was the score? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='32-37'; | 2-12206211-4 |
On the date of june 7 what was the score? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='june 7'; | 2-12206211-4 |
What was the score of the game when the record was 68-39? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='68-39'; | 2-12207474-6 |
What was the game of the game against the White Sox with a record of 81-48? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "opponent"='white sox' AND "record"='81-48'; | 2-12207474-6 |
What was the date of the game when the record was 66-38? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='66-38'; | 2-12207474-6 |
What category was Brian D'arcy James nominated for? | CREATE TABLE "original_broadway_production" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "category" FROM "original_broadway_production" WHERE "nominee"='brian d''arcy james' AND "result"='nominated'; | 2-12418981-2 |
What is the item "Moving to", when the Transfer fee is £300,000? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "moving_to" FROM "out" WHERE "transfer_fee"='£300,000'; | 2-12964478-7 |
What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "country" FROM "out" WHERE "transfer_fee"='loan' AND "name"='lynch'; | 2-12964478-7 |
What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='free' AND "name"='dugdale'; | 2-12964478-7 |
What is the Name, when the Transfer fee is "loan"? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "name" FROM "out" WHERE "transfer_fee"='loan'; | 2-12964478-7 |
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='free' AND "moving_to"='norwich city'; | 2-12964478-7 |
What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "out" WHERE "transfer_window"='winter' AND "moving_to"='northwich victoria'; | 2-12964478-7 |
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "time_retired"='collision' AND "grid"='11'; | 2-12551953-2 |
What shows as the Time/Retired for Grid 8? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "time_retired" FROM "race" WHERE "grid"='8'; | 2-12551953-2 |
What is the number of laps for Grid 3? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "grid"='3'; | 2-12551953-2 |
What company was the constructor when Nick Heidfeld was the driver/ | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "driver"='nick heidfeld'; | 2-12551953-2 |
What shows for laps when the Time/Retired was +1:08.577? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "time_retired"='+1:08.577'; | 2-12551953-2 |
What is the name of the constructor for Grid 1? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "grid"='1'; | 2-12551953-2 |
When was Mushfiqur Rahim's test career? | CREATE TABLE "see_also" (
"player" text,
"test_career" text,
"tests" real,
"catches" real,
"stumpings" real,
"total_dismissals" real
); | SELECT "test_career" FROM "see_also" WHERE "player"='mushfiqur rahim'; | 2-12415346-1 |
Name the sum of points for 1984 | CREATE TABLE "indycar_career_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT SUM("points") FROM "indycar_career_results" WHERE "year"<1984; | 2-1226454-4 |
Name the points for Engine of chevrolet 265c | CREATE TABLE "indycar_career_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "points" FROM "indycar_career_results" WHERE "engine"='chevrolet 265c'; | 2-1226454-4 |
Name the chassis of 147 points and engine of ford cosworth dfx | CREATE TABLE "indycar_career_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "chassis" FROM "indycar_career_results" WHERE "points"=147 AND "engine"='ford cosworth dfx'; | 2-1226454-4 |
Which term had a Democratic representative from district 7? | CREATE TABLE "state_house" (
"name" text,
"party" text,
"hometown" text,
"district" text,
"term" text,
"legislatures" text
); | SELECT "term" FROM "state_house" WHERE "district"='7' AND "party"='democratic'; | 2-12401254-2 |
What was the term of Bruce Biers Kendall whose hometown is Anchorage? | CREATE TABLE "state_house" (
"name" text,
"party" text,
"hometown" text,
"district" text,
"term" text,
"legislatures" text
); | SELECT "term" FROM "state_house" WHERE "hometown"='anchorage' AND "name"='bruce biers kendall'; | 2-12401254-2 |
What is the hometown of the representative that served the twenty-sixth legislature? | CREATE TABLE "state_house" (
"name" text,
"party" text,
"hometown" text,
"district" text,
"term" text,
"legislatures" text
); | SELECT "hometown" FROM "state_house" WHERE "legislatures"='twenty-sixth'; | 2-12401254-2 |
What is the qual with a 19 rank? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "rank"='19'; | 2-1236025-1 |
What rank has a 25 finish? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "finish"='25'; | 2-1236025-1 |
What finish has a 143.056 qual? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "qual"='143.056'; | 2-1236025-1 |
What rank had more than 165 laps and a finish of 5? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "laps">165 AND "finish"='5'; | 2-1236025-1 |
What was the record at the game against the Blue Jays with a loss of Batista (0–3)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "opponent"='blue jays' AND "loss"='batista (0–3)'; | 2-12278769-4 |
What was the loss of the game when the record was 14–8? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='14–8'; | 2-12278769-4 |
What was the score of the game when the record was 28–19? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='28–19'; | 2-12278769-4 |
What was the record at the game held on May 1st with a loss of Speier (1–3)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='may 1' AND "loss"='speier (1–3)'; | 2-12278769-4 |
How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? | CREATE TABLE "ppl_2005_final_standings" (
"team" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT "played" FROM "ppl_2005_final_standings" WHERE "lost"<12 AND "points">37 AND "drawn"=5; | 2-12751211-1 |
How many games lost for the team that drew 5 times and had over 41 points? | CREATE TABLE "ppl_2005_final_standings" (
"team" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT AVG("lost") FROM "ppl_2005_final_standings" WHERE "drawn"=5 AND "points">41; | 2-12751211-1 |
How many games played for the army team with over 51 points and under 5 games drawn? | CREATE TABLE "ppl_2005_final_standings" (
"team" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT COUNT("played") FROM "ppl_2005_final_standings" WHERE "drawn"<5 AND "team"='army' AND "points">51; | 2-12751211-1 |
How many points for the navy team that lost over 11? | CREATE TABLE "ppl_2005_final_standings" (
"team" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT SUM("points") FROM "ppl_2005_final_standings" WHERE "team"='navy' AND "lost">11; | 2-12751211-1 |
What class of car had the XI Coppa Acerbo title? | CREATE TABLE "race_winners" (
"year" text,
"driver_s" text,
"class" text,
"vehicle" text,
"race_title" text
); | SELECT "class" FROM "race_winners" WHERE "race_title"='xi coppa acerbo'; | 2-1222904-1 |
Who won the III Coppa Acerbo title? | CREATE TABLE "race_winners" (
"year" text,
"driver_s" text,
"class" text,
"vehicle" text,
"race_title" text
); | SELECT "driver_s" FROM "race_winners" WHERE "race_title"='iii coppa acerbo'; | 2-1222904-1 |
What's the name of the title for the Maserati A6GCS? | CREATE TABLE "race_winners" (
"year" text,
"driver_s" text,
"class" text,
"vehicle" text,
"race_title" text
); | SELECT "race_title" FROM "race_winners" WHERE "vehicle"='maserati a6gcs'; | 2-1222904-1 |
Who won the XXIV Gran Premio di Pescara in the sports car class? | CREATE TABLE "race_winners" (
"year" text,
"driver_s" text,
"class" text,
"vehicle" text,
"race_title" text
); | SELECT "driver_s" FROM "race_winners" WHERE "class"='sports car' AND "race_title"='xxiv gran premio di pescara'; | 2-1222904-1 |
What surface was the città di caltanissetta played on? | CREATE TABLE "doubles" (
"outcome" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles" WHERE "tournament"='città di caltanissetta'; | 2-12923427-4 |
What was the score in Volkswagen Challenger tournament? | CREATE TABLE "doubles" (
"outcome" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "doubles" WHERE "tournament"='volkswagen challenger'; | 2-12923427-4 |
what is the production in 2010 with 2011 production of 2,240,000? | CREATE TABLE "top_grape_producing_countries_by_years_i" (
"rank" text,
"country" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2010" FROM "top_grape_producing_countries_by_years_i" WHERE "2011"='2,240,000'; | 2-12436-2 |
what is the ranking for 2010 production of 2,903,000? | CREATE TABLE "top_grape_producing_countries_by_years_i" (
"rank" text,
"country" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "rank" FROM "top_grape_producing_countries_by_years_i" WHERE "2010"='2,903,000'; | 2-12436-2 |
what is the production in 2010 with rank of 8? | CREATE TABLE "top_grape_producing_countries_by_years_i" (
"rank" text,
"country" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2010" FROM "top_grape_producing_countries_by_years_i" WHERE "rank"='8'; | 2-12436-2 |
What club captain is John Hutchinson in? | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "club" FROM "marquee_player" WHERE "captain"='john hutchinson'; | 2-1301373-7 |
What team is Michael McGlinchey vice captain of? | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "international_marquee" FROM "marquee_player" WHERE "vice_captain"='michael mcglinchey'; | 2-1301373-7 |
What Australian Marquee team is Michael Beauchamp a captain of? | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "australian_marquee" FROM "marquee_player" WHERE "captain"='michael beauchamp'; | 2-1301373-7 |
What Junior Marquee team is Harry Kewell of? | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "junior_marquee_player" FROM "marquee_player" WHERE "captain"='harry kewell'; | 2-1301373-7 |
What is the name of call sign that uses a Frequency MHz of 91.1 fm? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "translators" WHERE "frequency_m_hz"='91.1 fm'; | 2-12472016-2 |
How much is the total ERP W for an 107.9 fm freqeuncy MHz? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT COUNT("erp_w") FROM "translators" WHERE "frequency_m_hz"='107.9 fm'; | 2-12472016-2 |
Can you tell me what is FCC info for harmony township, new jersey? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "city_of_license"='harmony township, new jersey'; | 2-12472016-2 |
What is the smallest ERP for allentown, pennsylvania? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MIN("erp_w") FROM "translators" WHERE "city_of_license"='allentown, pennsylvania'; | 2-12472016-2 |
Which grid has a time/retired of +3.9 secs in less than 96 laps? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT AVG("grid") FROM "race" WHERE "time_retired"='+3.9 secs' AND "laps"<96; | 2-12167074-2 |
Which driver has 7 points for team Australia? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT "driver" FROM "race" WHERE "points"=7 AND "team"='team australia'; | 2-12167074-2 |
What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MIN("laps") FROM "race" WHERE "team"='dale coyne racing' AND "time_retired"='mechanical' AND "points"<5; | 2-12167074-2 |
What is the highest points total scored by Dan Clarke in a grid higher than 10? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("points") FROM "race" WHERE "driver"='dan clarke' AND "grid">10; | 2-12167074-2 |
What is the earliest episode of the series that is set in Boston, Massachusetts? | CREATE TABLE "season_6" (
"ep_num" real,
"total" real,
"title" text,
"location" text,
"party_theme" text,
"airdate" text
); | SELECT MIN("total") FROM "season_6" WHERE "location"='boston, massachusetts'; | 2-12230265-7 |
How many people were surveyed in the poll from June 30, 2010? | CREATE TABLE "general_election" (
"poll_source" text,
"date_s_administered" text,
"sample_size" text,
"margin_of_error" text,
"jerry_brown_d" text,
"meg_whitman_r" text
); | SELECT "sample_size" FROM "general_election" WHERE "date_s_administered"='june 30, 2010'; | 2-12299351-3 |
What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get? | CREATE TABLE "general_election" (
"poll_source" text,
"date_s_administered" text,
"sample_size" text,
"margin_of_error" text,
"jerry_brown_d" text,
"meg_whitman_r" text
); | SELECT "meg_whitman_r" FROM "general_election" WHERE "margin_of_error"='± 3.3%'; | 2-12299351-3 |
How many people participated in the Rasmussen Reports poll on October 13, 2010? | CREATE TABLE "general_election" (
"poll_source" text,
"date_s_administered" text,
"sample_size" text,
"margin_of_error" text,
"jerry_brown_d" text,
"meg_whitman_r" text
); | SELECT "sample_size" FROM "general_election" WHERE "poll_source"='rasmussen reports' AND "date_s_administered"='october 13, 2010'; | 2-12299351-3 |
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. | CREATE TABLE "general_election" (
"poll_source" text,
"date_s_administered" text,
"sample_size" text,
"margin_of_error" text,
"jerry_brown_d" text,
"meg_whitman_r" text
); | SELECT "meg_whitman_r" FROM "general_election" WHERE "date_s_administered"='october 21, 2010'; | 2-12299351-3 |
What is the Prize, when the Event is Ept Deauville? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "prize" FROM "european_poker_tour" WHERE "event"='ept deauville'; | 2-1296513-9 |
What is the City, when the Prize is €880,000? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "city" FROM "european_poker_tour" WHERE "prize"='€880,000'; | 2-1296513-9 |
What is the City, when the Winner is Ruben Visser? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "city" FROM "european_poker_tour" WHERE "winner"='ruben visser'; | 2-1296513-9 |
Who is the Winner, when the Prize is €880,000? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "winner" FROM "european_poker_tour" WHERE "prize"='€880,000'; | 2-1296513-9 |
What is the City, when the Prize is $1,859,000? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "city" FROM "european_poker_tour" WHERE "prize"='$1,859,000'; | 2-1296513-9 |
What is the Prize, when the Event is Ept Sanremo? | CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "prize" FROM "european_poker_tour" WHERE "event"='ept sanremo'; | 2-1296513-9 |
On what date was the venue at Edgbaston? | CREATE TABLE "west_indies_in_england" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "west_indies_in_england" WHERE "venue"='edgbaston'; | 2-12410929-7 |
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean? | CREATE TABLE "reconstruction_in_the_british_museum" (
"image" real,
"smith" text,
"ashmolean" real,
"foster" real,
"hahland" real,
"dinsmoor" text,
"hofkes_brukker" text,
"harrison" text,
"cooper" text,
"bm_corbett" text
); | SELECT MIN("image") FROM "reconstruction_in_the_british_museum" WHERE "harrison"='20w' AND "ashmolean"<20; | 2-12202446-1 |
What is the number of Ashmolean with 14s Harrison, and image less than 542? | CREATE TABLE "reconstruction_in_the_british_museum" (
"image" real,
"smith" text,
"ashmolean" real,
"foster" real,
"hahland" real,
"dinsmoor" text,
"hofkes_brukker" text,
"harrison" text,
"cooper" text,
"bm_corbett" text
); | SELECT COUNT("ashmolean") FROM "reconstruction_in_the_british_museum" WHERE "harrison"='14s' AND "image"<542; | 2-12202446-1 |
What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? | CREATE TABLE "reconstruction_in_the_british_museum" (
"image" real,
"smith" text,
"ashmolean" real,
"foster" real,
"hahland" real,
"dinsmoor" text,
"hofkes_brukker" text,
"harrison" text,
"cooper" text,
"bm_corbett" text
); | SELECT "cooper" FROM "reconstruction_in_the_british_museum" WHERE "ashmolean"<21 AND "hahland"<4; | 2-12202446-1 |
What is the smith with a 16 ashmolean? | CREATE TABLE "reconstruction_in_the_british_museum" (
"image" real,
"smith" text,
"ashmolean" real,
"foster" real,
"hahland" real,
"dinsmoor" text,
"hofkes_brukker" text,
"harrison" text,
"cooper" text,
"bm_corbett" text
); | SELECT "smith" FROM "reconstruction_in_the_british_museum" WHERE "ashmolean"=16; | 2-12202446-1 |
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? | CREATE TABLE "rodentia" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
); | SELECT "order" FROM "rodentia" WHERE "species_authority"='hydrochaeris hydrochaeris (linnaeus, 1766)'; | 2-12334508-4 |
What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)? | CREATE TABLE "rodentia" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
); | SELECT MAX("red_list") FROM "rodentia" WHERE "family"='muridae' AND "species_authority"='microtus pinetorum (le conte, 1830)'; | 2-12334508-4 |
What is the name for the species Authority of sigmodon hispidus say & ord, 1825? | CREATE TABLE "rodentia" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
); | SELECT "name" FROM "rodentia" WHERE "species_authority"='sigmodon hispidus say & ord, 1825'; | 2-12334508-4 |
What is the largest total with a Silver of 1, and a Rank larger than 7? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "medal_standings" WHERE "silver"=1 AND "rank">7; | 2-12377104-4 |
How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_standings" WHERE "bronze"<3 AND "nation"='zimbabwe' AND "silver"<6; | 2-12377104-4 |
What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medal_standings" WHERE "bronze"<6 AND "total"=3 AND "rank"<9; | 2-12377104-4 |
How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("rank") FROM "medal_standings" WHERE "gold"=0 AND "nation"='namibia' AND "total"<1; | 2-12377104-4 |
How many totals have a Bronze of 0, and a Gold smaller than 0? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medal_standings" WHERE "bronze"=0 AND "gold"<0; | 2-12377104-4 |
What is the total silver with a Rank larger than 9, and a Total larger than 1? | CREATE TABLE "medal_standings" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("silver") FROM "medal_standings" WHERE "rank">9 AND "total">1; | 2-12377104-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.