question stringlengths 16 239 | table_name stringlengths 3 43 | columns listlengths 5 20 | column_types listlengths 5 20 | gold_sql stringlengths 35 209 | db_id stringclasses 1
value | source stringclasses 1
value |
|---|---|---|---|---|---|---|
what's the evening gown where state is south dakota | miss_teen_usa_1986 | [
"state",
"preliminaries",
"interview",
"swimsuit",
"evening_gown",
"average"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "evening_gown" FROM miss_teen_usa_1986 WHERE "state" = 'South Dakota' | dev | wikisql |
what is the total number of average where evening gown is 8.988 | miss_teen_usa_1986 | [
"state",
"preliminaries",
"interview",
"swimsuit",
"evening_gown",
"average"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("average") FROM miss_teen_usa_1986 WHERE "evening_gown" = '8.988' | dev | wikisql |
Name the men's singles of marina yakusheva elena shimko | scottish_open_badminton | [
"year",
"mens_singles",
"womens_singles",
"mens_doubles",
"womens_doubles",
"mixed_doubles"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "mens_singles" FROM scottish_open_badminton WHERE "womens_doubles" = 'Marina Yakusheva Elena Shimko' | dev | wikisql |
What are the womens singles of imam sodikin irawan andi tandaputra? | scottish_open_badminton | [
"year",
"mens_singles",
"womens_singles",
"mens_doubles",
"womens_doubles",
"mixed_doubles"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "womens_singles" FROM scottish_open_badminton WHERE "mens_doubles" = 'Imam Sodikin Irawan Andi Tandaputra' | dev | wikisql |
What are the womens singles of naoko fukuman kurumi yonao? | scottish_open_badminton | [
"year",
"mens_singles",
"womens_singles",
"mens_doubles",
"womens_doubles",
"mixed_doubles"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "womens_singles" FROM scottish_open_badminton WHERE "womens_doubles" = 'Naoko Fukuman Kurumi Yonao' | dev | wikisql |
What is the womens singles of marcus ellis gabrielle white? | scottish_open_badminton | [
"year",
"mens_singles",
"womens_singles",
"mens_doubles",
"womens_doubles",
"mixed_doubles"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "womens_singles" FROM scottish_open_badminton WHERE "mixed_doubles" = 'Marcus Ellis Gabrielle White' | dev | wikisql |
What is the mens singles of 2008? | scottish_open_badminton | [
"year",
"mens_singles",
"womens_singles",
"mens_doubles",
"womens_doubles",
"mixed_doubles"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "mens_singles" FROM scottish_open_badminton WHERE "year" = 2008 | dev | wikisql |
what is the gdp ( bn ) where capital is capital? | greek_regions | [
"no",
"region",
"capital",
"area_km",
"area_sq_mi",
"population",
"gdp_bn"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "gdp_bn" FROM greek_regions WHERE "capital" = 'Capital' | dev | wikisql |
what is the population where the area (sq. mi.) is area (sq. mi.)? | greek_regions | [
"no",
"region",
"capital",
"area_km",
"area_sq_mi",
"population",
"gdp_bn"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "population" FROM greek_regions WHERE "area_sq_mi" = 'Area (sq. mi.)' | dev | wikisql |
What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "light_vehicle" FROM huguenot_toll_plaza WHERE "heavy_vehicle_2_axles" = 'R87.00' | dev | wikisql |
What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "name" FROM huguenot_toll_plaza WHERE "heavy_vehicle_2_axles" = 'R87.00' | dev | wikisql |
What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "heavy_vehicle_3_4_axles" FROM huguenot_toll_plaza WHERE "name" = 'Verkeerdevlei Toll Plaza' | dev | wikisql |
What is the location of the Carousel toll plaza? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "location" FROM huguenot_toll_plaza WHERE "name" = 'Carousel Toll Plaza' | dev | wikisql |
What is the toll for light vehicles at the plaza between bela bela and modimolle? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "light_vehicle" FROM huguenot_toll_plaza WHERE "location" = 'between Bela Bela and Modimolle' | dev | wikisql |
What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? | huguenot_toll_plaza | [
"name",
"location",
"light_vehicle",
"heavy_vehicle_2_axles",
"heavy_vehicle_3_4_axles",
"heavy_vehicle_5_axles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "name" FROM huguenot_toll_plaza WHERE "heavy_vehicle_2_axles" = 'R20.50' | dev | wikisql |
What is the inclination when the alt name is OPS-1584? | satellite_data | [
"name",
"alt_name",
"launch_date",
"id",
"mass_kg",
"decay_date",
"perigee_km",
"apogee_km",
"inclination"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT "inclination" FROM satellite_data WHERE "alt_name" = 'OPS-1584' | dev | wikisql |
What is the maximum apogee for samos f3-3? | satellite_data | [
"name",
"alt_name",
"launch_date",
"id",
"mass_kg",
"decay_date",
"perigee_km",
"apogee_km",
"inclination"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT MAX("apogee_km") FROM satellite_data WHERE "name" = 'SAMOS F3-3' | dev | wikisql |
What was the maximum perigee on 1969-01-09? | satellite_data | [
"name",
"alt_name",
"launch_date",
"id",
"mass_kg",
"decay_date",
"perigee_km",
"apogee_km",
"inclination"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT MAX("perigee_km") FROM satellite_data WHERE "decay_date" = '1969-01-09' | dev | wikisql |
How many alt names does 1964-011a have? | satellite_data | [
"name",
"alt_name",
"launch_date",
"id",
"mass_kg",
"decay_date",
"perigee_km",
"apogee_km",
"inclination"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT COUNT("alt_name") FROM satellite_data WHERE "id" = '1964-011A' | dev | wikisql |
Who played SS when paul konerko played 1st base? | dodgers_seasons | [
"year",
"catcher",
"first_baseman",
"second_baseman",
"shortstop",
"third_baseman",
"rightfielder",
"centerfielder",
"leftfielder",
"starting_pitcher"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "shortstop" FROM dodgers_seasons WHERE "first_baseman" = 'Paul Konerko' | dev | wikisql |
Who played 2nd base when nomar garciaparra was at 1st base? | dodgers_seasons | [
"year",
"catcher",
"first_baseman",
"second_baseman",
"shortstop",
"third_baseman",
"rightfielder",
"centerfielder",
"leftfielder",
"starting_pitcher"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "second_baseman" FROM dodgers_seasons WHERE "first_baseman" = 'Nomar Garciaparra' | dev | wikisql |
Who was the RF when the SP was vicente padilla? | dodgers_seasons | [
"year",
"catcher",
"first_baseman",
"second_baseman",
"shortstop",
"third_baseman",
"rightfielder",
"centerfielder",
"leftfielder",
"starting_pitcher"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "rightfielder" FROM dodgers_seasons WHERE "starting_pitcher" = 'Vicente Padilla' | dev | wikisql |
Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP. | dodgers_seasons | [
"year",
"catcher",
"first_baseman",
"second_baseman",
"shortstop",
"third_baseman",
"rightfielder",
"centerfielder",
"leftfielder",
"starting_pitcher"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "shortstop" FROM dodgers_seasons WHERE "second_baseman" = 'Jim Lefebvre' AND "centerfielder" = 'Willie Davis' AND "starting_pitcher" = 'Don Drysdale' | dev | wikisql |
Who is the top scorer where gf is 41? | football_club_stats | [
"season",
"league",
"rank",
"games",
"points",
"gf",
"ga",
"manager",
"top_scorer",
"goals"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"real"
] | SELECT "top_scorer" FROM football_club_stats WHERE "gf" = 41 | dev | wikisql |
How many goals were scored in the 2005-06 season? | football_club_stats | [
"season",
"league",
"rank",
"games",
"points",
"gf",
"ga",
"manager",
"top_scorer",
"goals"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"real"
] | SELECT "goals" FROM football_club_stats WHERE "season" = '2005-06' | dev | wikisql |
How many seasons had a rank of 16? | football_club_stats | [
"season",
"league",
"rank",
"games",
"points",
"gf",
"ga",
"manager",
"top_scorer",
"goals"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"real"
] | SELECT COUNT("season") FROM football_club_stats WHERE "rank" = 16 | dev | wikisql |
Who is the manager whose rank is 16? | football_club_stats | [
"season",
"league",
"rank",
"games",
"points",
"gf",
"ga",
"manager",
"top_scorer",
"goals"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"real"
] | SELECT "manager" FROM football_club_stats WHERE "rank" = 16 | dev | wikisql |
What is the rank of manager Rob Mcdonald? | football_club_stats | [
"season",
"league",
"rank",
"games",
"points",
"gf",
"ga",
"manager",
"top_scorer",
"goals"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"real"
] | SELECT COUNT("rank") FROM football_club_stats WHERE "manager" = 'Rob McDonald' | dev | wikisql |
What's the order number of the song originally performed by Rickie Lee Jones? | carly_rae_jepsen_singing | [
"episode",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "order" FROM carly_rae_jepsen_singing WHERE "original_artist" = 'Rickie Lee Jones' | dev | wikisql |
What was the result of the Top 3 episode? | carly_rae_jepsen_singing | [
"episode",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "result" FROM carly_rae_jepsen_singing WHERE "episode" = 'Top 3' | dev | wikisql |
What's the total number of songs originally performed by Anna Nalick? | carly_rae_jepsen_singing | [
"episode",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("song_choice") FROM carly_rae_jepsen_singing WHERE "original_artist" = 'Anna Nalick' | dev | wikisql |
Which one of the songs was originally performed by Rickie Lee Jones? | carly_rae_jepsen_singing | [
"episode",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "song_choice" FROM carly_rae_jepsen_singing WHERE "original_artist" = 'Rickie Lee Jones' | dev | wikisql |
What's the original artist of the song performed in the top 3 episode? | carly_rae_jepsen_singing | [
"episode",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "original_artist" FROM carly_rae_jepsen_singing WHERE "episode" = 'Top 3' | dev | wikisql |
What is the # of seats one for the election in 1974? | election_results | [
"election",
"of_candidates_nominated",
"of_seats_won",
"of_total_votes",
"of_popular_vote"
] | [
"real",
"real",
"real",
"real",
"text"
] | SELECT "of_seats_won" FROM election_results WHERE "election" = 1974 | dev | wikisql |
How many times was the # of total votes 2582322? | election_results | [
"election",
"of_candidates_nominated",
"of_seats_won",
"of_total_votes",
"of_popular_vote"
] | [
"real",
"real",
"real",
"real",
"text"
] | SELECT COUNT("of_seats_won") FROM election_results WHERE "of_total_votes" = 2582322 | dev | wikisql |
What year was the election when the # of seats won was 65? | election_results | [
"election",
"of_candidates_nominated",
"of_seats_won",
"of_total_votes",
"of_popular_vote"
] | [
"real",
"real",
"real",
"real",
"text"
] | SELECT "election" FROM election_results WHERE "of_seats_won" = 65 | dev | wikisql |
What is the election year when the # of candidates nominated was 262? | election_results | [
"election",
"of_candidates_nominated",
"of_seats_won",
"of_total_votes",
"of_popular_vote"
] | [
"real",
"real",
"real",
"real",
"text"
] | SELECT COUNT("election") FROM election_results WHERE "of_candidates_nominated" = 262 | dev | wikisql |
What was the lowest # of total votes? | election_results | [
"election",
"of_candidates_nominated",
"of_seats_won",
"of_total_votes",
"of_popular_vote"
] | [
"real",
"real",
"real",
"real",
"text"
] | SELECT MIN("of_total_votes") FROM election_results | dev | wikisql |
What is the strongs words compounded when the english spelling is jonadab? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "strongs_words_compounded" FROM theophoric WHERE "english_spelling" = 'Jonadab' | dev | wikisql |
What is the strong words compounded when the strongs transliteration is yowyariyb? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "strongs_words_compounded" FROM theophoric WHERE "strongs_transliteration" = 'Yowyariyb' | dev | wikisql |
What is the english spelling of the word that has the strongs trasliteration of y e howram? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "english_spelling" FROM theophoric WHERE "strongs_transliteration" = 'Y e howram' | dev | wikisql |
What is the strongs # of the english spelling word jehojakin? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "strongs" FROM theophoric WHERE "english_spelling" = 'Jehojakin' | dev | wikisql |
What is the strongs transliteration of the hebrew word יוֹחָנָן? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "strongs_transliteration" FROM theophoric WHERE "hebrew_word" = 'יוֹחָנָן' | dev | wikisql |
How many strongs transliteration of the english spelling of the work jehojakin? | theophoric | [
"strongs",
"hebrew_word",
"strongs_transliteration",
"strongs_words_compounded",
"english_spelling"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT COUNT("strongs_transliteration") FROM theophoric WHERE "english_spelling" = 'Jehojakin' | dev | wikisql |
Kaluvanchikudy is the main town in what DS division? | ds_division_stats | [
"ds_division",
"main_town",
"divisional_secretary",
"gn_divisions",
"area_km_2",
"sri_lankan_tamil",
"sri_lankan_moors",
"sinhalese",
"burgher",
"other",
"total",
"population_density_km_2"
] | [
"text",
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT "ds_division" FROM ds_division_stats WHERE "main_town" = 'Kaluvanchikudy' | dev | wikisql |
What DS division has S. L. M. Haneefa as the divisional secretary? | ds_division_stats | [
"ds_division",
"main_town",
"divisional_secretary",
"gn_divisions",
"area_km_2",
"sri_lankan_tamil",
"sri_lankan_moors",
"sinhalese",
"burgher",
"other",
"total",
"population_density_km_2"
] | [
"text",
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT "ds_division" FROM ds_division_stats WHERE "divisional_secretary" = 'S. L. M. Haneefa' | dev | wikisql |
What is the name of the DS division where the divisional secretary is S. H. Muzammil? | ds_division_stats | [
"ds_division",
"main_town",
"divisional_secretary",
"gn_divisions",
"area_km_2",
"sri_lankan_tamil",
"sri_lankan_moors",
"sinhalese",
"burgher",
"other",
"total",
"population_density_km_2"
] | [
"text",
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT "ds_division" FROM ds_division_stats WHERE "divisional_secretary" = 'S. H. Muzammil' | dev | wikisql |
How many figures are given for the region's total in 1947? | region_populations | [
"year",
"population_region_total",
"population_mareeba",
"population_atherton",
"population_herberton",
"population_eacham"
] | [
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT COUNT("population_region_total") FROM region_populations WHERE "year" = 1947 | dev | wikisql |
What was the smallest population figure for Mareeba? | region_populations | [
"year",
"population_region_total",
"population_mareeba",
"population_atherton",
"population_herberton",
"population_eacham"
] | [
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT MIN("population_mareeba") FROM region_populations | dev | wikisql |
How many millions of U.S. viewers watched the episode "Buzzkill"? | tv_episode_data_2 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"u_s_viewers_millions"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("u_s_viewers_millions") FROM tv_episode_data_2 WHERE "title" = '"Buzzkill"' | dev | wikisql |
How many episodes were watched by 12.72 million U.S. viewers? | tv_episode_data_2 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"u_s_viewers_millions"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("written_by") FROM tv_episode_data_2 WHERE "u_s_viewers_millions" = '12.72' | dev | wikisql |
How many millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey? | tv_episode_data_2 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"u_s_viewers_millions"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "u_s_viewers_millions" FROM tv_episode_data_2 WHERE "directed_by" = 'Rob Bailey' AND "written_by" = 'Pam Veasey' | dev | wikisql |
How many persons had immunity in the episode when Wanda was eliminated? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("immunity") FROM survivor_episode WHERE "eliminated" = 'Wanda' | dev | wikisql |
What is the name of the episode in which Jenn is eliminated? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "episode_title" FROM survivor_episode WHERE "eliminated" = 'Jenn' | dev | wikisql |
What was the vote tally on the episode aired May 5, 2005? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "vote" FROM survivor_episode WHERE "air_date" = 'May 5, 2005' | dev | wikisql |
Who received the reward on the episode where the finish was "3rd voted out day 8"? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "reward" FROM survivor_episode WHERE "finish" = '3rd Voted Out Day 8' | dev | wikisql |
What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "vote" FROM survivor_episode WHERE "finish" = '10th Voted Out 3rd Jury Member Day 30' | dev | wikisql |
How many votes were taken when the outcome was "6th voted out day 12"? | survivor_episode | [
"episode_title",
"air_date",
"reward",
"immunity",
"eliminated",
"vote",
"finish"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("vote") FROM survivor_episode WHERE "finish" = '6th Voted Out Day 12' | dev | wikisql |
What is the short stem for garbitzen? | basque_verbs | [
"perfect_stem",
"future_stem",
"imperfect_stem",
"short_stem",
"meaning"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "short_stem" FROM basque_verbs WHERE "imperfect_stem" = 'garbitzen' | dev | wikisql |
What is the perfect stem for pozten? | basque_verbs | [
"perfect_stem",
"future_stem",
"imperfect_stem",
"short_stem",
"meaning"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "perfect_stem" FROM basque_verbs WHERE "imperfect_stem" = 'pozten' | dev | wikisql |
Name the perfect stem for jo | basque_verbs | [
"perfect_stem",
"future_stem",
"imperfect_stem",
"short_stem",
"meaning"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("perfect_stem") FROM basque_verbs WHERE "short_stem" = 'jo' | dev | wikisql |
What is the number for future stem for poztu? | basque_verbs | [
"perfect_stem",
"future_stem",
"imperfect_stem",
"short_stem",
"meaning"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("future_stem") FROM basque_verbs WHERE "perfect_stem" = 'poztu' | dev | wikisql |
Name the try bonus of points against at 430 | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "try_bonus" FROM rugby_stats WHERE "points_against" = '430' | dev | wikisql |
Name the losing bonus of 96 points | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "losing_bonus" FROM rugby_stats WHERE "points" = '96' | dev | wikisql |
Name the points against for 51 points | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "points_against" FROM rugby_stats WHERE "points" = '51' | dev | wikisql |
Name the tries against for 87 points | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "tries_against" FROM rugby_stats WHERE "points" = '87' | dev | wikisql |
Name the tries against for drawn | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("tries_against") FROM rugby_stats WHERE "drawn" = 'Drawn' | dev | wikisql |
Name the losing bonus for 27 | rugby_stats | [
"club",
"played",
"won",
"drawn",
"lost",
"points_for",
"points_against",
"tries_for",
"tries_against",
"try_bonus",
"losing_bonus",
"points"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "losing_bonus" FROM rugby_stats WHERE "tries_for" = '27' | dev | wikisql |
What is the rear sight in the Cole model no. 735? | ar15_variants | [
"colt_model_no",
"name",
"stock",
"fire_control",
"rear_sight",
"forward_assist",
"case_deflector",
"barrel_length",
"barrel_profile",
"barrel_twist",
"hand_guards",
"bayonet_lug",
"muzzle_device"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "rear_sight" FROM ar15_variants WHERE "colt_model_no" = '735' | dev | wikisql |
What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation? | ar15_variants | [
"colt_model_no",
"name",
"stock",
"fire_control",
"rear_sight",
"forward_assist",
"case_deflector",
"barrel_length",
"barrel_profile",
"barrel_twist",
"hand_guards",
"bayonet_lug",
"muzzle_device"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "colt_model_no" FROM ar15_variants WHERE "bayonet_lug" = 'No' AND "stock" = '2nd Generation' AND "case_deflector" = 'No' AND "name" = 'GAU-5A/A' | dev | wikisql |
What's the type of muzzle devices on the models with round hand guards? | ar15_variants | [
"colt_model_no",
"name",
"stock",
"fire_control",
"rear_sight",
"forward_assist",
"case_deflector",
"barrel_length",
"barrel_profile",
"barrel_twist",
"hand_guards",
"bayonet_lug",
"muzzle_device"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "muzzle_device" FROM ar15_variants WHERE "hand_guards" = 'Round' | dev | wikisql |
Clubs involved is 8, what number would you find from winners from previous round? | coppa_italia_phases | [
"phase",
"round",
"clubs_remaining",
"clubs_involved",
"winners_from_previous_round",
"new_entries_this_round",
"leagues_entering_at_this_round"
] | [
"text",
"text",
"real",
"real",
"text",
"text",
"text"
] | SELECT "winners_from_previous_round" FROM coppa_italia_phases WHERE "clubs_involved" = 8 | dev | wikisql |
From the round name of third round; what would the new entries this round that would be found? | coppa_italia_phases | [
"phase",
"round",
"clubs_remaining",
"clubs_involved",
"winners_from_previous_round",
"new_entries_this_round",
"leagues_entering_at_this_round"
] | [
"text",
"text",
"real",
"real",
"text",
"text",
"text"
] | SELECT "new_entries_this_round" FROM coppa_italia_phases WHERE "round" = 'Third Round' | dev | wikisql |
When looking at new entries this round and seeing 8; what number in total is there for clubs remaining? | coppa_italia_phases | [
"phase",
"round",
"clubs_remaining",
"clubs_involved",
"winners_from_previous_round",
"new_entries_this_round",
"leagues_entering_at_this_round"
] | [
"text",
"text",
"real",
"real",
"text",
"text",
"text"
] | SELECT COUNT("clubs_remaining") FROM coppa_italia_phases WHERE "new_entries_this_round" = '8' | dev | wikisql |
During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round? | coppa_italia_phases | [
"phase",
"round",
"clubs_remaining",
"clubs_involved",
"winners_from_previous_round",
"new_entries_this_round",
"leagues_entering_at_this_round"
] | [
"text",
"text",
"real",
"real",
"text",
"text",
"text"
] | SELECT "winners_from_previous_round" FROM coppa_italia_phases WHERE "phase" = 'First Phase' AND "clubs_involved" = 16 | dev | wikisql |
The new entries this round was shown to be 12, in which phase would you find this? | coppa_italia_phases | [
"phase",
"round",
"clubs_remaining",
"clubs_involved",
"winners_from_previous_round",
"new_entries_this_round",
"leagues_entering_at_this_round"
] | [
"text",
"text",
"real",
"real",
"text",
"text",
"text"
] | SELECT "phase" FROM coppa_italia_phases WHERE "new_entries_this_round" = '12' | dev | wikisql |
What country submitted miehen työ? | film_nomination | [
"submitting_country",
"film_title_used_in_nomination",
"original_title",
"language_s",
"director_s",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "submitting_country" FROM film_nomination WHERE "original_title" = 'Miehen työ' | dev | wikisql |
What was the title of the movie from lebanon? | film_nomination | [
"submitting_country",
"film_title_used_in_nomination",
"original_title",
"language_s",
"director_s",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "film_title_used_in_nomination" FROM film_nomination WHERE "submitting_country" = 'Lebanon' | dev | wikisql |
What country submitted the movie the orphanage? | film_nomination | [
"submitting_country",
"film_title_used_in_nomination",
"original_title",
"language_s",
"director_s",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "submitting_country" FROM film_nomination WHERE "film_title_used_in_nomination" = 'The Orphanage' | dev | wikisql |
What year did University of Saskatchewan have their first season? | canadian_football_teams | [
"institution",
"team",
"city",
"province",
"first_season",
"head_coach",
"enrollment",
"endowment",
"football_stadium",
"capacity"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"text",
"text",
"real"
] | SELECT MAX("first_season") FROM canadian_football_teams WHERE "institution" = 'University of Saskatchewan' | dev | wikisql |
What football stadium has a school enrollment of 43579? | canadian_football_teams | [
"institution",
"team",
"city",
"province",
"first_season",
"head_coach",
"enrollment",
"endowment",
"football_stadium",
"capacity"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"text",
"text",
"real"
] | SELECT "football_stadium" FROM canadian_football_teams WHERE "enrollment" = 43579 | dev | wikisql |
How many endowments does Mosaic Stadium have? | canadian_football_teams | [
"institution",
"team",
"city",
"province",
"first_season",
"head_coach",
"enrollment",
"endowment",
"football_stadium",
"capacity"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"text",
"text",
"real"
] | SELECT COUNT("endowment") FROM canadian_football_teams WHERE "football_stadium" = 'Mosaic Stadium' | dev | wikisql |
What is the enrollment for Foote Field? | canadian_football_teams | [
"institution",
"team",
"city",
"province",
"first_season",
"head_coach",
"enrollment",
"endowment",
"football_stadium",
"capacity"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"text",
"text",
"real"
] | SELECT MAX("enrollment") FROM canadian_football_teams WHERE "football_stadium" = 'Foote Field' | dev | wikisql |
How many cities have an enrollment of 19082? | canadian_football_teams | [
"institution",
"team",
"city",
"province",
"first_season",
"head_coach",
"enrollment",
"endowment",
"football_stadium",
"capacity"
] | [
"text",
"text",
"text",
"text",
"real",
"text",
"real",
"text",
"text",
"real"
] | SELECT COUNT("city") FROM canadian_football_teams WHERE "enrollment" = 19082 | dev | wikisql |
Name the number of points for south korea | fedex_cup_2007 | [
"col",
"player",
"country",
"score",
"to_par",
"points",
"winnings"
] | [
"text",
"text",
"text",
"text",
"real",
"real",
"real"
] | SELECT COUNT("points") FROM fedex_cup_2007 WHERE "country" = 'South Korea' | dev | wikisql |
How many dismissals did the player Peter McGlashan have? | twenty20_records | [
"rank",
"dismissals",
"player",
"innings",
"catches",
"stumpings"
] | [
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT "dismissals" FROM twenty20_records WHERE "player" = 'Peter McGlashan' | dev | wikisql |
How many stumpings did the player Tim Latham have? | twenty20_records | [
"rank",
"dismissals",
"player",
"innings",
"catches",
"stumpings"
] | [
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MAX("stumpings") FROM twenty20_records WHERE "player" = 'Tim Latham' | dev | wikisql |
List the ranks of all dismissals with a value of 4 | twenty20_records | [
"rank",
"dismissals",
"player",
"innings",
"catches",
"stumpings"
] | [
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT "rank" FROM twenty20_records WHERE "dismissals" = 4 | dev | wikisql |
How many innings had a total of 2 catches and 0 stumpings? | twenty20_records | [
"rank",
"dismissals",
"player",
"innings",
"catches",
"stumpings"
] | [
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT COUNT("innings") FROM twenty20_records WHERE "catches" = 2 AND "stumpings" = 0 | dev | wikisql |
In what district was the incumbent Steve Chabot? | election_results_2 | [
"district",
"incumbent",
"party",
"first_elected",
"result",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "district" FROM election_results_2 WHERE "incumbent" = 'Steve Chabot' | dev | wikisql |
Incumbent Deborah Pryce was a member of what party? | election_results_2 | [
"district",
"incumbent",
"party",
"first_elected",
"result",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "party" FROM election_results_2 WHERE "incumbent" = 'Deborah Pryce' | dev | wikisql |
Who were the candidates in the election where Saxby Chambliss was the incumbent? | election_results_1998 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "candidates" FROM election_results_1998 WHERE "incumbent" = 'Saxby Chambliss' | dev | wikisql |
What party does William J. Jefferson? | election_results_1998_3 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "party" FROM election_results_1998_3 WHERE "incumbent" = 'William J. Jefferson' | dev | wikisql |
What were the results for incumbent Jim McCrery? | election_results_1998_3 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "results" FROM election_results_1998_3 WHERE "incumbent" = 'Jim McCrery' | dev | wikisql |
How many candidates were elected first in 1980? | election_results_1998_3 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT COUNT("candidates") FROM election_results_1998_3 WHERE "first_elected" = 1980 | dev | wikisql |
What district does John Cooksey represent? | election_results_1998_3 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "district" FROM election_results_1998_3 WHERE "incumbent" = 'John Cooksey' | dev | wikisql |
What district was John Porter elected in? | election_results_1998_2 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "district" FROM election_results_1998_2 WHERE "incumbent" = 'John Porter' | dev | wikisql |
What was the result in Illinois 7? | election_results_1998_2 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "results" FROM election_results_1998_2 WHERE "district" = 'Illinois 7' | dev | wikisql |
Who were the candidates in the district where Jerry Costello won? | election_results_1998_2 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "candidates" FROM election_results_1998_2 WHERE "incumbent" = 'Jerry Costello' | dev | wikisql |
How many times did incumbent ruben hinojosa get elected? | election_results_1998_4 | [
"district",
"incumbent",
"party",
"first_elected",
"results",
"candidates"
] | [
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT COUNT("results") FROM election_results_1998_4 WHERE "incumbent" = 'Ruben Hinojosa' | dev | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.