question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What number value has the Other transliteration of muoy roy? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text,
"notes" text
); | SELECT "value" FROM "numbers_from_100_10_000_000" WHERE "other"='muoy roy'; | 2-1270572-6 |
What is the word form for the ALA-LC transliteration of muay bân? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text,
"notes" text
); | SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "ala_lc"='muay bân'; | 2-1270572-6 |
Name the loss when the record is 76-81 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='76-81'; | 2-12206127-8 |
Which average bronze had a silver greater than 2 and a gold larger than 7? | CREATE TABLE "medal_table" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_table" WHERE "silver">2 AND "gold">7; | 2-12421856-3 |
When the total was 11 and silver was greater than 4 what was the highest gold? | CREATE TABLE "medal_table" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medal_table" WHERE "total"=11 AND "silver">4; | 2-12421856-3 |
How many bronze had a total less than 4 and gold bigger than 1? | CREATE TABLE "medal_table" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "total"<4 AND "gold">1; | 2-12421856-3 |
What is the enrollment associated with a capacity greater then 35,650? | CREATE TABLE "canada_west_football_conference_hardy_tr" (
"institution" text,
"team" text,
"city" text,
"province" text,
"first_season" real,
"head_coach" text,
"enrollment" real,
"endowment" text,
"football_stadium" text,
"capacity" real
); | SELECT MIN("enrollment") FROM "canada_west_football_conference_hardy_tr" WHERE "capacity">'35,650'; | 2-12896884-1 |
Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th? | CREATE TABLE "mc_gwire_s_rookie_record_49_home_runs" (
"home_run" real,
"game" real,
"date" text,
"inning" text,
"location" text,
"opposing_pitcher" text,
"team" text
); | SELECT "date" FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "opposing_pitcher"='jack morris' AND "inning"='4th'; | 2-12383263-7 |
Which average Home Run has a Game of 89? | CREATE TABLE "mc_gwire_s_rookie_record_49_home_runs" (
"home_run" real,
"game" real,
"date" text,
"inning" text,
"location" text,
"opposing_pitcher" text,
"team" text
); | SELECT AVG("home_run") FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "game"=89; | 2-12383263-7 |
Which team has a Home Run of 27? | CREATE TABLE "mc_gwire_s_rookie_record_49_home_runs" (
"home_run" real,
"game" real,
"date" text,
"inning" text,
"location" text,
"opposing_pitcher" text,
"team" text
); | SELECT "team" FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "home_run"=27; | 2-12383263-7 |
Which Assist/pass has a Score of 1-0, and a Goal of 5? | CREATE TABLE "international_goals" (
"goal" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
); | SELECT "assist_pass" FROM "international_goals" WHERE "score"='1-0' AND "goal"='5'; | 2-12265902-2 |
Which Assist/pass has a Result of 6-2? | CREATE TABLE "international_goals" (
"goal" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
); | SELECT "assist_pass" FROM "international_goals" WHERE "result"='6-2'; | 2-12265902-2 |
Which Assist/pass has a Goal of 5? | CREATE TABLE "international_goals" (
"goal" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
); | SELECT "assist_pass" FROM "international_goals" WHERE "goal"='5'; | 2-12265902-2 |
Which location has a Goal of 2? | CREATE TABLE "international_goals" (
"goal" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
); | SELECT "location" FROM "international_goals" WHERE "goal"='2'; | 2-12265902-2 |
Which lineup has a Location of usa virginia beach? | CREATE TABLE "international_goals" (
"goal" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
); | SELECT "lineup" FROM "international_goals" WHERE "location"='usa virginia beach'; | 2-12265902-2 |
Which date had a score of 5-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "score"='5-1'; | 2-12738014-1 |
What result had a score of 2-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "score"='2-1'; | 2-12738014-1 |
Which date had a score of 3-2? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "score"='3-2'; | 2-12738014-1 |
What is the oldest model Porsche v12 that has points less than or equal to 0. | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
); | SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "engine"='porsche v12' AND "pts"<0; | 2-1226329-2 |
Which design uses the theme alpine skiing? | CREATE TABLE "1992_winter_olympics" (
"date_of_issue" text,
"theme" text,
"denomination" text,
"printer" text,
"quantity" text,
"design" text,
"perforation" text,
"first_day_cover_cancellation" text
); | SELECT "design" FROM "1992_winter_olympics" WHERE "theme"='alpine skiing'; | 2-12726411-16 |
When did the Theme of bobsleigh release? | CREATE TABLE "1992_winter_olympics" (
"date_of_issue" text,
"theme" text,
"denomination" text,
"printer" text,
"quantity" text,
"design" text,
"perforation" text,
"first_day_cover_cancellation" text
); | SELECT "date_of_issue" FROM "1992_winter_olympics" WHERE "theme"='bobsleigh'; | 2-12726411-16 |
What is the highest pts after 1952 with connaught type a? | CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
); | SELECT MAX("pts") FROM "complete_world_championship_formula_one_" WHERE "year">1952 AND "chassis"='connaught type a'; | 2-1234953-1 |
Who did the Chiefs play in Week 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "week"=8; | 2-12536159-2 |
Which week was on October 11, 1970 and an attendance larger than 41,379. | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "week" FROM "schedule" WHERE "attendance">'41,379' AND "date"='october 11, 1970'; | 2-12536159-2 |
On what surface was the 26 August 2001 tournament played? | CREATE TABLE "doubles_runner_up_16" (
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_final" text,
"score" text
); | SELECT "surface" FROM "doubles_runner_up_16" WHERE "date"='26 august 2001'; | 2-12859623-3 |
What is the average capacity for 150 suites? | CREATE TABLE "project_overview" (
"project" text,
"year" text,
"location" text,
"capacity" real,
"suites" text,
"architect" text,
"cost" text
); | SELECT AVG("capacity") FROM "project_overview" WHERE "suites"='150'; | 2-12243387-1 |
Where is the Eren Talu bidding project located? | CREATE TABLE "project_overview" (
"project" text,
"year" text,
"location" text,
"capacity" real,
"suites" text,
"architect" text,
"cost" text
); | SELECT "location" FROM "project_overview" WHERE "project"='eren talu bidding project'; | 2-12243387-1 |
Which location has a capacity larger than 52,000? | CREATE TABLE "project_overview" (
"project" text,
"year" text,
"location" text,
"capacity" real,
"suites" text,
"architect" text,
"cost" text
); | SELECT "location" FROM "project_overview" WHERE "capacity">'52,000'; | 2-12243387-1 |
What is the highest capacity in Aslantepe in 2002-2005? | CREATE TABLE "project_overview" (
"project" text,
"year" text,
"location" text,
"capacity" real,
"suites" text,
"architect" text,
"cost" text
); | SELECT MAX("capacity") FROM "project_overview" WHERE "location"='aslantepe' AND "year"='2002-2005'; | 2-12243387-1 |
What is the UNGEGN, when the Khmer is greater than ១០០០០០០០០? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "ungegn" FROM "numbers_from_100_10_000_000" WHERE "khmer">'១០០០០០០០០'; | 2-1270572-7 |
What is the Value, when the Notes are literally "one hundred million"? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "value" FROM "numbers_from_100_10_000_000" WHERE "notes"='literally \"one hundred million\"'; | 2-1270572-7 |
What is the Word Form, when the Notes are literally "one hundred thousand"? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "notes"='literally \"one hundred thousand\"'; | 2-1270572-7 |
What is the Word Form, when the Khmer is greater than ១០០០០០, and the UNGEGN is (muŏy) dáb leăn? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "khmer">'១០០០០០' AND "ungegn"='(muŏy) dáb leăn'; | 2-1270572-7 |
What is the total amount of Khmer, when the Notes are literally "one hundred thousand"? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT COUNT("khmer") FROM "numbers_from_100_10_000_000" WHERE "notes"='literally \"one hundred thousand\"'; | 2-1270572-7 |
What is the UNGEGN, when the Value is 10 000? | CREATE TABLE "numbers_from_100_10_000_000" (
"value" text,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "ungegn" FROM "numbers_from_100_10_000_000" WHERE "value"='10 000'; | 2-1270572-7 |
Name the 2008 for wta premier mandatory tournaments of 2007 | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2007"='wta premier mandatory tournaments'; | 2-12472200-7 |
Name the tournament of beijing | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='beijing'; | 2-12472200-7 |
Name the 2009 for 2007 of 2r and tournament of wimbledon | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2007"='2r' AND "tournament"='wimbledon'; | 2-12472200-7 |
Name the 2011 for 2010 of olympic games | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "2010"='olympic games'; | 2-12472200-7 |
Name the 2011 for tokyo tournament | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='tokyo'; | 2-12472200-7 |
Name the 2009 for wta premier mandatory tournaments | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "tournament"='wta premier mandatory tournaments'; | 2-12472200-7 |
Who won Mixed Doubles the year that Marija Ulitina won the Women's Singles? | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "previous_winners" WHERE "women_s_singles"='marija ulitina'; | 2-12233235-1 |
Who won Men's singles the year that Hilde Themel won Women's singles? | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_singles" FROM "previous_winners" WHERE "women_s_singles"='hilde themel'; | 2-12233235-1 |
Who won Mixed doubles the year that Pablo Abian won Men's singles? | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_singles"='pablo abian'; | 2-12233235-1 |
Which year did Ray Crawford the Kurtis Kraft 500g chassis? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "year" FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 500g'; | 2-1252146-3 |
What city had a july high below 84, and a january low of 34.3? | CREATE TABLE "averages" (
"city" text,
"january_avg_high_f" text,
"january_avg_low_f" text,
"july_avg_high_f" real,
"july_avg_low_f" real
); | SELECT "city" FROM "averages" WHERE "july_avg_high_f"<84 AND "january_avg_low_f"='34.3'; | 2-13002617-3 |
What is the july average low associated with a january average high of 30.4? | CREATE TABLE "averages" (
"city" text,
"january_avg_high_f" text,
"january_avg_low_f" text,
"july_avg_high_f" real,
"july_avg_low_f" real
); | SELECT COUNT("july_avg_low_f") FROM "averages" WHERE "january_avg_high_f"='30.4'; | 2-13002617-3 |
Which class has an identifier of CBUA-FM? | CREATE TABLE "s_rebroadcaster_of_cfwh_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "class" FROM "s_rebroadcaster_of_cfwh_fm" WHERE "identifier"='cbua-fm'; | 2-12963840-1 |
What is the city of license for the frequency 90.1 FM? | CREATE TABLE "s_rebroadcaster_of_cfwh_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "city_of_license" FROM "s_rebroadcaster_of_cfwh_fm" WHERE "frequency"='90.1 fm'; | 2-12963840-1 |
What is the power when the city of license is Beaver Creek? | CREATE TABLE "s_rebroadcaster_of_cfwh_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "power" FROM "s_rebroadcaster_of_cfwh_fm" WHERE "city_of_license"='beaver creek'; | 2-12963840-1 |
What is the city of license when the class is LP and the identifier is CBDK? | CREATE TABLE "s_rebroadcaster_of_cfwh_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "city_of_license" FROM "s_rebroadcaster_of_cfwh_fm" WHERE "class"='lp' AND "identifier"='cbdk'; | 2-12963840-1 |
What is the class when the frequency is 560 AM? | CREATE TABLE "s_rebroadcaster_of_cfwh_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "class" FROM "s_rebroadcaster_of_cfwh_fm" WHERE "frequency"='560 am'; | 2-12963840-1 |
What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9? | CREATE TABLE "forbes_global_2000" (
"rank" real,
"company" text,
"revenues_us_billion" real,
"profit_us_billion" real,
"assets_us_billion" real,
"market_value_us_billion" real
); | SELECT MIN("assets_us_billion") FROM "forbes_global_2000" WHERE "company"='piraeus bank' AND "revenues_us_billion"<3.9; | 2-12113-9 |
What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1? | CREATE TABLE "forbes_global_2000" (
"rank" real,
"company" text,
"revenues_us_billion" real,
"profit_us_billion" real,
"assets_us_billion" real,
"market_value_us_billion" real
); | SELECT AVG("market_value_us_billion") FROM "forbes_global_2000" WHERE "revenues_us_billion">6.2 AND "company"='national bank of greece' AND "rank"<1; | 2-12113-9 |
Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? | CREATE TABLE "forbes_global_2000" (
"rank" real,
"company" text,
"revenues_us_billion" real,
"profit_us_billion" real,
"assets_us_billion" real,
"market_value_us_billion" real
); | SELECT "company" FROM "forbes_global_2000" WHERE "market_value_us_billion">1 AND "assets_us_billion"<10.7 AND "rank"<10 AND "revenues_us_billion"=9.3; | 2-12113-9 |
Tell me the venue with result of eng by 6 wkts | CREATE TABLE "west_indies_in_england" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "venue" FROM "west_indies_in_england" WHERE "result"='eng by 6 wkts'; | 2-12410929-52 |
Name the Home captain for venue of the oval | CREATE TABLE "west_indies_in_england" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "west_indies_in_england" WHERE "venue"='the oval'; | 2-12410929-52 |
Name the away captain with result of wi by 9 wkts | CREATE TABLE "west_indies_in_england" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "west_indies_in_england" WHERE "result"='wi by 9 wkts'; | 2-12410929-52 |
Name the venue for eng by 6 wkts | CREATE TABLE "west_indies_in_england" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "venue" FROM "west_indies_in_england" WHERE "result"='eng by 6 wkts'; | 2-12410929-52 |
What is the date of the last performance when the style is street dance and the name is George Maguire? | CREATE TABLE "billy_elliot" (
"status" text,
"name" text,
"first_performance" text,
"last_performance" text,
"style" text
); | SELECT "last_performance" FROM "billy_elliot" WHERE "style"='street dance' AND "name"='george maguire'; | 2-12586867-1 |
What is the date of the last performance for Liam Mower? | CREATE TABLE "billy_elliot" (
"status" text,
"name" text,
"first_performance" text,
"last_performance" text,
"style" text
); | SELECT "last_performance" FROM "billy_elliot" WHERE "name"='liam mower'; | 2-12586867-1 |
How many points did the Weslake v12 get in 1966? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "engine"='weslake v12' AND "year"<1966; | 2-1228236-1 |
What was the name of the team in 1965 driving the Ferrari 158? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"=1965 AND "chassis"='ferrari 158'; | 2-1228236-1 |
What Chassis had a Weslake v12 in it? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "engine"='weslake v12'; | 2-1228236-1 |
Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no | CREATE TABLE "summary_table" (
"interferon_beta_1a" text,
"betaseron_beta_1b" text,
"copaxone" text,
"mitoxantrone" text,
"tysabri" text,
"fingolimod_gylenya" text,
"teriflunomide" text
); | SELECT "copaxone" FROM "summary_table" WHERE "mitoxantrone"='no' AND "betaseron_beta_1b"='no'; | 2-13033422-1 |
Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? | 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 "tests">41 AND "catches">33 AND "total_dismissals"=147; | 2-12397222-1 |
What is the average dismissals of 83 test and catches less than 33? | CREATE TABLE "see_also" (
"player" text,
"test_career" text,
"tests" real,
"catches" real,
"stumpings" real,
"total_dismissals" real
); | SELECT AVG("total_dismissals") FROM "see_also" WHERE "tests"=83 AND "catches"<33; | 2-12397222-1 |
Which winner has a points classification of Tony Rominger at stage 17? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "winner" FROM "classification_leadership_by_stage" WHERE "points_classification"='tony rominger' AND "stage"='17'; | 2-12261872-2 |
Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "mountains_classification"='mariano piccoli' AND "points_classification"='mario cipollini' AND "winner"='laudelino cubino'; | 2-12261872-2 |
Who won stage 16? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "winner" FROM "classification_leadership_by_stage" WHERE "stage"='16'; | 2-12261872-2 |
Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "mountains_classification" FROM "classification_leadership_by_stage" WHERE "general_classification"='tony rominger' AND "winner"='maurizio fondriest'; | 2-12261872-2 |
What is the general classification at stage 18 that has a points classification of Tony Rominger? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "general_classification" FROM "classification_leadership_by_stage" WHERE "points_classification"='tony rominger' AND "stage"='18'; | 2-12261872-2 |
Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "mountains_classification"='mariano piccoli' AND "winner"='giuseppe citterio'; | 2-12261872-2 |
What is the year First elected when the Member is John Armitage? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "first_elected" FROM "see_also" WHERE "member"='john armitage'; | 2-1298238-1 |
Who is the Electorate, when the year for First elected is 1974, and when the Party is Country? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "electorate" FROM "see_also" WHERE "first_elected"='1974' AND "party"='country'; | 2-1298238-1 |
Who is the Member when the Party is Alp, and when the Electorate is Grey? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "member" FROM "see_also" WHERE "party"='alp' AND "electorate"='grey'; | 2-1298238-1 |
What is the State, when the year First elected is 1966, and when the Member is Alan Jarman? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "state" FROM "see_also" WHERE "first_elected"='1966' AND "member"='alan jarman'; | 2-1298238-1 |
What is the year First Elected, when the Party is Alp, and when the State is qld? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "first_elected" FROM "see_also" WHERE "party"='alp' AND "state"='qld'; | 2-1298238-1 |
What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "first_elected" FROM "see_also" WHERE "state"='vic' AND "member"='hon don chipp'; | 2-1298238-1 |
Which total number of starts has more than 2 wins and a money list rank greater than 1? | CREATE TABLE "european_tour_professional_career_summar" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" real
); | SELECT COUNT("starts") FROM "european_tour_professional_career_summar" WHERE "wins">2 AND "money_list_rank">1; | 2-12821159-14 |
What is the sum of number of wins that have earnings of more than (€)2,864,342 and money list rank of 3? | CREATE TABLE "european_tour_professional_career_summar" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" real
); | SELECT SUM("wins") FROM "european_tour_professional_career_summar" WHERE "earnings">'2,864,342' AND "money_list_rank"=3; | 2-12821159-14 |
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25? | CREATE TABLE "european_tour_professional_career_summar" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" real
); | SELECT SUM("top_10") FROM "european_tour_professional_career_summar" WHERE "wins">2 AND "top_25"<16; | 2-12821159-14 |
What is the greatest money list ranking that has a Top 25 higher than 2? | CREATE TABLE "european_tour_professional_career_summar" (
"year" text,
"starts" real,
"cuts_made" real,
"wins" real,
"top_10" real,
"top_25" real,
"earnings" real,
"money_list_rank" real
); | SELECT MAX("money_list_rank") FROM "european_tour_professional_career_summar" WHERE "top_25"<2; | 2-12821159-14 |
What Away team had an Attendance of 3,395? | CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "northern_section" WHERE "attendance"='3,395'; | 2-12962079-5 |
What Home team had an Attendance of 2,776? | CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "northern_section" WHERE "attendance"='2,776'; | 2-12962079-5 |
Which engine has more than 1 point after 1981? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_results" WHERE "points">1 AND "year">1981; | 2-1219697-2 |
Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_results" WHERE "entrant"='marlboro team alfa romeo' AND "chassis"='alfa romeo 179'; | 2-1219697-2 |
When has a surface of road and an event of half marathon? | CREATE TABLE "personal_bests" (
"surface" text,
"event" text,
"time_h_m_s" text,
"date" text,
"place" text
); | SELECT "date" FROM "personal_bests" WHERE "surface"='road' AND "event"='half marathon'; | 2-12988503-1 |
Which Surface has a Place of lappeenranta? | CREATE TABLE "personal_bests" (
"surface" text,
"event" text,
"time_h_m_s" text,
"date" text,
"place" text
); | SELECT "surface" FROM "personal_bests" WHERE "place"='lappeenranta'; | 2-12988503-1 |
What is the Date that has 1:01:42? | CREATE TABLE "personal_bests" (
"surface" text,
"event" text,
"time_h_m_s" text,
"date" text,
"place" text
); | SELECT "date" FROM "personal_bests" WHERE "time_h_m_s"='1:01:42'; | 2-12988503-1 |
What is the Time ( h : m : s ) on 13 october 2010 | CREATE TABLE "personal_bests" (
"surface" text,
"event" text,
"time_h_m_s" text,
"date" text,
"place" text
); | SELECT "time_h_m_s" FROM "personal_bests" WHERE "date"='13 october 2010'; | 2-12988503-1 |
What is the Place with Time 7:44.15? | CREATE TABLE "personal_bests" (
"surface" text,
"event" text,
"time_h_m_s" text,
"date" text,
"place" text
); | SELECT "place" FROM "personal_bests" WHERE "time_h_m_s"='7:44.15'; | 2-12988503-1 |
Which Class Pos have Laps smaller than 304, and a Year after 2001? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"class" text,
"tyres" text,
"team" text,
"co_drivers" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "laps"<304 AND "year">2001; | 2-12734682-2 |
What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"class" text,
"tyres" text,
"team" text,
"co_drivers" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT MIN("laps") FROM "24_hours_of_le_mans_results" WHERE "year">2002 AND "co_drivers"='alexander frei bruno besson'; | 2-12734682-2 |
How many people attended the score of w 7-6? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "crowd" FROM "regular_season" WHERE "score"='w 7-6'; | 2-13226865-4 |
Who lost that has a score of w 4-3? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "loss" FROM "regular_season" WHERE "score"='w 4-3'; | 2-13226865-4 |
Loss of schrom happened on what date? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "loss"='schrom'; | 2-13226865-4 |
Opponent of @mil, and a Record of 45-16 happened on what date? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "opponent"='@mil' AND "record"='45-16'; | 2-13226865-4 |
Loss of willis has what record? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "loss"='willis'; | 2-13226865-4 |
Loss of wilcox, and a Date of jun 18 had what opponent? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"crowd" text,
"record" text
); | SELECT "opponent" FROM "regular_season" WHERE "loss"='wilcox' AND "date"='jun 18'; | 2-13226865-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.