question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
which fa cups had a total of 565 (7)? | CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
); | SELECT "fa_cup" FROM "appearances" WHERE "total"='565 (7)'; | 1-14962287-1 |
which leage had a league cup of 46 (1) | CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
); | SELECT "league" FROM "appearances" WHERE "league_cup"='46 (1)'; | 1-14962287-1 |
which years had other a of 8 (1)? | CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
); | SELECT "years" FROM "appearances" WHERE "other_a"='8 (1)'; | 1-14962287-1 |
What name is associated with League 142? | CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
); | SELECT "name" FROM "overall_scorers" WHERE "league"=142; | 1-14962287-2 |
How many values of Other A correspond to Tommy Johnson Category:Articles with hCards? | CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
); | SELECT COUNT("other_a") FROM "overall_scorers" WHERE "name"='Tommy Johnson Category:Articles with hCards'; | 1-14962287-2 |
How many different Leagues are associated with Billy Meredith Category:Articles with hCards? | CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
); | SELECT COUNT("league") FROM "overall_scorers" WHERE "name"='Billy Meredith Category:Articles with hCards'; | 1-14962287-2 |
How many separate values for Years are associated with FA Cup of 5? | CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
); | SELECT COUNT("years") FROM "overall_scorers" WHERE "fa_cup"=5; | 1-14962287-2 |
What years have a total of 139? | CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
); | SELECT "years" FROM "overall_scorers" WHERE "total"='139'; | 1-14962287-2 |
What was the GDP (in millions USD) of Indonesia in 2009? | CREATE TABLE "main_countries_and_territories_data" (
"country_territory" text,
"area_km" real,
"population" real,
"pop_density_km" real,
"gdp_millions_of_usd_2009" real,
"gdp_per_capita_usd_2009_2011" real,
"capital" text
); | SELECT COUNT("gdp_millions_of_usd_2009") FROM "main_countries_and_territories_data" WHERE "country_territory"='Indonesia'; | 1-1496582-1 |
What was the GDP (in millions USD) of Hong Kong in 2009? | CREATE TABLE "main_countries_and_territories_data" (
"country_territory" text,
"area_km" real,
"population" real,
"pop_density_km" real,
"gdp_millions_of_usd_2009" real,
"gdp_per_capita_usd_2009_2011" real,
"capital" text
); | SELECT MAX("gdp_millions_of_usd_2009") FROM "main_countries_and_territories_data" WHERE "country_territory"='Hong Kong'; | 1-1496582-1 |
How tall is Braxton Kelley? | CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "height" FROM "roster" WHERE "name"='Braxton Kelley'; | 1-14966667-19 |
what class is Braxton Kelley in? | CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT COUNT("class") FROM "roster" WHERE "name"='Braxton Kelley'; | 1-14966667-19 |
how many hometowns use the position of fs? | CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT COUNT("hometown") FROM "roster" WHERE "position"='FS'; | 1-14966667-19 |
who is number 98? | CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "name" FROM "roster" WHERE "number"='98'; | 1-14966667-19 |
How many games were played against the Chicago Bears? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("record") FROM "schedule" WHERE "opponent"='Chicago Bears'; | 1-14966537-1 |
What is the result of the game against the Chicago Bears? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "opponent"='Chicago Bears'; | 1-14966537-1 |
What was the final score of the game on October 4, 1970? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "date"='October 4, 1970'; | 1-14966537-1 |
Who was the team's opponent of October 25, 1970? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "date"='October 25, 1970'; | 1-14966537-1 |
Did Flamengo play in the Recopa Sudamericana in 1998 | CREATE TABLE "brazilian_clubs_in_international_competi" (
"team" text,
"copa_libertadores_1998" text,
"copa_mercosur_1998" text,
"copa_conmebol_1998" text,
"copa_interamericana_1998" text,
"recopa_sudamericana_1998" text,
"intercontinental_cup_1998" text
); | SELECT "recopa_sudamericana_1998" FROM "brazilian_clubs_in_international_competi" WHERE "team"='Flamengo'; | 1-14962316-9 |
What were Cruzeiro results in the Copa Mercosur in 1998 | CREATE TABLE "brazilian_clubs_in_international_competi" (
"team" text,
"copa_libertadores_1998" text,
"copa_mercosur_1998" text,
"copa_conmebol_1998" text,
"copa_interamericana_1998" text,
"recopa_sudamericana_1998" text,
"intercontinental_cup_1998" text
); | SELECT "copa_mercosur_1998" FROM "brazilian_clubs_in_international_competi" WHERE "team"='Cruzeiro'; | 1-14962316-9 |
Where is California Lutheran University located? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT COUNT("location") FROM "former_members" WHERE "institution"='California Lutheran University'; | 1-14976504-2 |
What is the new classification for the University of Arizona Western in the Collegiate Lacrosse League? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "new_classification" FROM "former_members" WHERE "institution"='University of Arizona'; | 1-14976504-2 |
What is California State University, Hayward's new conference for Western Collegiate Lacrosse? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "new_conference" FROM "former_members" WHERE "institution"='California State University, Hayward'; | 1-14976504-2 |
Which new conference is the Toreros Western Collegiate Lacrosse team playing in? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "new_conference" FROM "former_members" WHERE "team_nickname"='Toreros'; | 1-14976504-2 |
In Ascot (UK), what was the result? | CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT "result" FROM "2006_07_season_as_a_five_year_old" WHERE "venue"='Ascot (UK)'; | 1-14981555-3 |
How many different jockeys ran on 17 Feb 2007? | CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT COUNT("jockey") FROM "2006_07_season_as_a_five_year_old" WHERE "date"='17 Feb 2007'; | 1-14981555-3 |
How many venues were used on 10 Mar 2007? | CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT "venue" FROM "2006_07_season_as_a_five_year_old" WHERE "date"='10 Mar 2007'; | 1-14981555-3 |
How many jockeys are listed running at the Sir Rupert Clarke Stakes? | CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT COUNT("jockey") FROM "2006_07_season_as_a_five_year_old" WHERE "race"='Sir Rupert Clarke Stakes'; | 1-14981555-3 |
How many venues had a race called the Australia Stakes? | CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT COUNT("venue") FROM "2006_07_season_as_a_five_year_old" WHERE "race"='Australia Stakes'; | 1-14981555-3 |
Where was the 1400 m held? | CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT "venue" FROM "2004_05_season_as_a_three_year_old" WHERE "distance"='1400 m'; | 1-14981555-1 |
What is the group name when 3yo hcp restricted maiden was raced? | CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT "group" FROM "2004_05_season_as_a_three_year_old" WHERE "race"='3yo Hcp Restricted Maiden'; | 1-14981555-1 |
When did the 55 kg participant race? | CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT "date" FROM "2004_05_season_as_a_three_year_old" WHERE "weight_kg"='55'; | 1-14981555-1 |
Name the number of weeks for 50073 attendance | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"=50073; | 1-14984050-1 |
Name the result for milwaukee county stadium | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "game_site"='Milwaukee County Stadium'; | 1-14984050-1 |
What was the record when the game was played at Cleveland Municipal Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "game_site"='Cleveland Municipal Stadium'; | 1-14984078-1 |
What was the game date in week 13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"=13; | 1-14984078-1 |
Where did the team play the Detroit Lions? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "opponent"='Detroit Lions'; | 1-14984078-1 |
What week of the season did the date December 2, 1962 fall on? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "week" FROM "schedule" WHERE "date"='December 2, 1962'; | 1-14984078-1 |
what is the result for October 14, 1956? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "date"='October 14, 1956'; | 1-14984039-1 |
Name the game site for week 6 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "week"=6; | 1-14984103-1 |
Name the number of weeks for san francisco 49ers | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "opponent"='San Francisco 49ers'; | 1-14984103-1 |
Name the most attendance for game site for los angeles memorial coliseum | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "game_site"='Los Angeles Memorial Coliseum'; | 1-14984103-1 |
what's the result with record being 0–1 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "record"='0–1'; | 1-14984126-1 |
what's the game site with result being l 24–34 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "result"='L 24–34'; | 1-14984126-1 |
how many result with date being october 25, 1964 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("result") FROM "schedule" WHERE "date"='October 25, 1964'; | 1-14984126-1 |
how many opponent with date being october 25, 1964 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("opponent") FROM "schedule" WHERE "date"='October 25, 1964'; | 1-14984126-1 |
Name the population 2010 census for population 2000 census of 920599 | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT "population_2010_census" FROM "municipalities" WHERE "population_2000_census"=920599; | 1-14986292-1 |
Name the total number of population 2000 census for mesquita | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT COUNT("population_2000_census") FROM "municipalities" WHERE "administrative_division"='Mesquita'; | 1-14986292-1 |
Name the population 2000 census for 77 area | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT "population_2000_census" FROM "municipalities" WHERE "area_km"='77'; | 1-14986292-1 |
Name the number of area where population density 2010 for 514 | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT COUNT("area_km") FROM "municipalities" WHERE "population_density_2010_km"=514; | 1-14986292-1 |
Name the number of population density 2010 for duque de caxias | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT COUNT("population_density_2010_km") FROM "municipalities" WHERE "administrative_division"='Duque de Caxias'; | 1-14986292-1 |
Name the administrative division for 95391 | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT "administrative_division" FROM "municipalities" WHERE "population_2010_census"=95391; | 1-14986292-1 |
How many losses did 12 de Octubre have ? | CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT MIN("losses") FROM "torneo_clausura" WHERE "team"='12 de Octubre'; | 1-14997324-5 |
Name the santee sisseton for morning | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT "santee_sisseton" FROM "table1_1499791_2" WHERE "english_gloss"='morning'; | 1-1499791-2 |
Name the southern lakota for morning | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT "southern_lakota" FROM "table1_1499791_2" WHERE "english_gloss"='morning'; | 1-1499791-2 |
Name the southern lakota for wakȟáŋyeža | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT "southern_lakota" FROM "table1_1499791_2" WHERE "yankton_yanktonai"='wakȟáŋyeža'; | 1-1499791-2 |
Name the english gloss for naháŋȟčiŋ | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT "english_gloss" FROM "table1_1499791_2" WHERE "southern_lakota"='naháŋȟčiŋ'; | 1-1499791-2 |
Name the santee sisseton for híŋhaŋna | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT COUNT("santee_sisseton") FROM "table1_1499791_2" WHERE "yankton_yanktonai"='híŋhaŋna'; | 1-1499791-2 |
Name the yankton yanktonai for wičháša | CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
); | SELECT "yankton_yanktonai" FROM "table1_1499791_2" WHERE "southern_lakota"='wičháša'; | 1-1499791-2 |
What was the last round the team drafted? | CREATE TABLE "table1_14999879_2" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
); | SELECT MAX("round") FROM "table1_14999879_2"; | 1-14999879-2 |
What college did steve justice attend? | CREATE TABLE "table1_14999879_2" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
); | SELECT "college" FROM "table1_14999879_2" WHERE "player"='Steve Justice'; | 1-14999879-2 |
How may women doubles winner were there when Philippe Aulner was mens singles winner? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("womens_doubles") FROM "past_winners" WHERE "mens_singles"='Philippe Aulner'; | 1-15001957-1 |
How many mixed doubles were won in 1996? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mixed_doubles") FROM "past_winners" WHERE "year"=1996; | 1-15001957-1 |
who is the the womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='Reinhold Pum Karl Buchart' AND "mixed_doubles"='Hermann Fröhlich Lore Voit'; | 1-15002265-1 |
who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='Leopold Bauer Alfred Kohlhauser'; | 1-15002265-1 |
who is the the mixed doubles with mens singles being peter moritz | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "past_winners" WHERE "mens_singles"='Peter Moritz'; | 1-15002265-1 |
who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "past_winners" WHERE "mens_singles"='Jürgen Koch' AND "womens_singles"='Sabine Ploner'; | 1-15002265-1 |
who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0 | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "womens_singles" FROM "past_winners" WHERE "mixed_doubles"='Bernd Frohnwieser Hilde Themel' AND "year"<1959.0; | 1-15002265-1 |
How many mixed doubles were there in the year that Olga Koseli won the women's singles? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mixed_doubles") FROM "past_winners" WHERE "womens_singles"='Olga Koseli'; | 1-15002177-1 |
What is the # for the episode with viewing figures of 7.02 million ? | CREATE TABLE "table1_15026994_5" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT MAX("num") FROM "table1_15026994_5" WHERE "viewing_figure"='7.02 million'; | 1-15026994-5 |
What is the lowest rank for puerto rico? | CREATE TABLE "top_15_countries_by_tally" (
"rank" real,
"country" text,
"miss_universe" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MIN("rank") FROM "top_15_countries_by_tally" WHERE "country"='Puerto Rico'; | 1-150340-3 |
What is the highest rank for the country with 6 2nd runner ups? | CREATE TABLE "top_15_countries_by_tally" (
"rank" real,
"country" text,
"miss_universe" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MAX("rank") FROM "top_15_countries_by_tally" WHERE "2nd_runner_up"=6; | 1-150340-3 |
How many different directors are associated with the writer Gaby Chiappe? | CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT COUNT("director") FROM "table1_15026994_2" WHERE "writer"='Gaby Chiappe'; | 1-15026994-2 |
What writers are associated with a viewing figure of 7.01 million? | CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "writer" FROM "table1_15026994_2" WHERE "viewing_figure"='7.01 million'; | 1-15026994-2 |
What are all episodes with a viewing figure of 6.72 million? | CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "episode" FROM "table1_15026994_2" WHERE "viewing_figure"='6.72 million'; | 1-15026994-2 |
What original air dates are associated with a viewing figure of 7.27 million? | CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "original_air_date" FROM "table1_15026994_2" WHERE "viewing_figure"='7.27 million'; | 1-15026994-2 |
Who is the director of the episode at entry number 13? | CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "director" FROM "table1_15026994_3" WHERE "num"=13; | 1-15026994-3 |
Who wrote the episode that David Tucker directed? | CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT COUNT("writer") FROM "table1_15026994_3" WHERE "director"='David Tucker'; | 1-15026994-3 |
Which episode has been viewed 6.34 million times? | CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "episode" FROM "table1_15026994_3" WHERE "viewing_figure"='6.34 million'; | 1-15026994-3 |
What is the original air date of the episode directed by Paul Marcus? | CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT "original_air_date" FROM "table1_15026994_3" WHERE "director"='Paul Marcus'; | 1-15026994-3 |
Which numerical entry corresponds to "Episode 9"? | CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
); | SELECT COUNT("num") FROM "table1_15026994_3" WHERE "episode"='\"Episode 9\"'; | 1-15026994-3 |
How many licenses have version 1.2.2.0? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT COUNT("license") FROM "general" WHERE "version"='1.2.2.0'; | 1-15038373-1 |
What is the version with sbagen software? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT "version" FROM "general" WHERE "software"='SBaGen'; | 1-15038373-1 |
How many licenses have mind workstation software? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT COUNT("license") FROM "general" WHERE "software"='Mind WorkStation'; | 1-15038373-1 |
What is the software with version 1.2.2.0? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT "software" FROM "general" WHERE "version"='1.2.2.0'; | 1-15038373-1 |
What is hte license for beeone smod/hms software? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT "license" FROM "general" WHERE "software"='BeeOne SMOD/HMS'; | 1-15038373-1 |
What are all the operating systems for sbagen? | CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
); | SELECT "operating_systems" FROM "general" WHERE "software"='SBaGen'; | 1-15038373-1 |
What is the English word for the French word cheval? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "english" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "french"='cheval'; | 1-15040-8 |
What is the Spanish word for the French word filtrer? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "spanish" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "french"='filtrer'; | 1-15040-8 |
What is the French word where the German word is filtern? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "german"='filtern'; | 1-15040-8 |
What is the french word for the Russian word filtrovat (фильтровать)? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "russian"='filtrovat (фильтровать)'; | 1-15040-8 |
What is the French word for the Italian word nazione? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "italian"='nazione'; | 1-15040-8 |
What is the English word for the Russian words loshad, kobyla (лошадь, кобыла)? | CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
); | SELECT "english" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "russian"='loshad, kobyla (лошадь, кобыла)'; | 1-15040-8 |
Which state had 3821 students in the fall of 06? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT "states" FROM "geography_of_students" WHERE "fall_06"=3821; | 1-15055594-6 |
How man students were from Maryland in Fall 05? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT "fall_05" FROM "geography_of_students" WHERE "states"='Maryland'; | 1-15055594-6 |
What is the number of students in Fall 09 from the state that had 3940 in Fall 07? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT MAX("fall_09") FROM "geography_of_students" WHERE "fall_07"=3940; | 1-15055594-6 |
What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT MAX("fall_09") FROM "geography_of_students" WHERE "fall_06"=3821; | 1-15055594-6 |
What is the lowest number of students from a state during the Fall 06 semester? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT MIN("fall_06") FROM "geography_of_students"; | 1-15055594-6 |
Name the 132.1% for where north carolina is colorado | CREATE TABLE "immigration_by_state" (
"north_carolina" text,
"273_7pct" text,
"south_carolina" text,
"132_1pct" text,
"mississippi" text,
"95_8pct" text,
"wisconsin" text,
"59_4pct" text,
"vermont" text,
"32_5pct" text
); | SELECT "132_1pct" FROM "immigration_by_state" WHERE "north_carolina"='Colorado'; | 1-15051-4 |
Name the vermont for where 95.8% is 60.6% | CREATE TABLE "immigration_by_state" (
"north_carolina" text,
"273_7pct" text,
"south_carolina" text,
"132_1pct" text,
"mississippi" text,
"95_8pct" text,
"wisconsin" text,
"59_4pct" text,
"vermont" text,
"32_5pct" text
); | SELECT "vermont" FROM "immigration_by_state" WHERE "95_8pct"='60.6%'; | 1-15051-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.