question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
what amount of try bonus where the game was won by 11?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("try_bonus") FROM "2009_2010_table" WHERE "won"='11';
|
1-13564637-3
|
what is the total amount of tries where the points were 325?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("tries_against") FROM "2009_2010_table" WHERE "points_for"='325';
|
1-13564637-3
|
What is the name of the column points against?
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2008_2009_table" WHERE "points"='Points';
|
1-13564637-4
|
How many points for when the points was 53?
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_for" FROM "2008_2009_table" WHERE "points"='53';
|
1-13564637-4
|
What is the played total when the points against was 321?
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "played" FROM "2008_2009_table" WHERE "points_against"='321';
|
1-13564637-4
|
How many tries for when the points against was 547?
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "tries_for" FROM "2008_2009_table" WHERE "points_against"='547';
|
1-13564637-4
|
How many total games drawn for club tylorstown rfc?
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "2008_2009_table" WHERE "club"='Tylorstown RFC';
|
1-13564637-4
|
How many communities had a total renewable generation of 1375?
|
CREATE TABLE "renewable_electricity_in_spain_g_wh_2006" (
"autonomous_community" text,
"hydroelectric_power" real,
"wind_power" real,
"solar_power" real,
"biomass_power" real,
"solid_waste_power" real,
"total_renewable_generation" real,
"total_electricity_demand" real,
"pct_renewable_of_total_electricity_demand" text
);
|
SELECT COUNT("autonomous_community") FROM "renewable_electricity_in_spain_g_wh_2006" WHERE "total_renewable_generation"=1375;
|
1-13566548-1
|
What is the total demand for electricity when the demand for renewable electricity demand is 2.2%?
|
CREATE TABLE "renewable_electricity_in_spain_g_wh_2006" (
"autonomous_community" text,
"hydroelectric_power" real,
"wind_power" real,
"solar_power" real,
"biomass_power" real,
"solid_waste_power" real,
"total_renewable_generation" real,
"total_electricity_demand" real,
"pct_renewable_of_total_electricity_demand" text
);
|
SELECT "total_electricity_demand" FROM "renewable_electricity_in_spain_g_wh_2006" WHERE "pct_renewable_of_total_electricity_demand"='2.2%';
|
1-13566548-1
|
What is the lowest numbered hydroelectric power when the renewable electricity demand is 21.5%?
|
CREATE TABLE "renewable_electricity_in_spain_g_wh_2006" (
"autonomous_community" text,
"hydroelectric_power" real,
"wind_power" real,
"solar_power" real,
"biomass_power" real,
"solid_waste_power" real,
"total_renewable_generation" real,
"total_electricity_demand" real,
"pct_renewable_of_total_electricity_demand" text
);
|
SELECT MIN("hydroelectric_power") FROM "renewable_electricity_in_spain_g_wh_2006" WHERE "pct_renewable_of_total_electricity_demand"='21.5%';
|
1-13566548-1
|
What is the community with a wind power of 1042?
|
CREATE TABLE "renewable_electricity_in_spain_g_wh_2006" (
"autonomous_community" text,
"hydroelectric_power" real,
"wind_power" real,
"solar_power" real,
"biomass_power" real,
"solid_waste_power" real,
"total_renewable_generation" real,
"total_electricity_demand" real,
"pct_renewable_of_total_electricity_demand" text
);
|
SELECT "autonomous_community" FROM "renewable_electricity_in_spain_g_wh_2006" WHERE "wind_power"=1042;
|
1-13566548-1
|
How many races were for a distance of 2020 m?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT COUNT("group") FROM "2002_03_season_as_a_six_year_old" WHERE "distance"='2020 m';
|
1-1358608-4
|
Who was the winner of the race at Belmont?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT "winner_2nd" FROM "2002_03_season_as_a_six_year_old" WHERE "venue"='Belmont';
|
1-1358608-4
|
On what date did Northerly place 6th?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT "date" FROM "2002_03_season_as_a_six_year_old" WHERE "result"='6th';
|
1-1358608-4
|
What was the weight in kg on the day of the race at Ranvet Stakes?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT "weight_kg" FROM "2002_03_season_as_a_six_year_old" WHERE "race"='Ranvet Stakes';
|
1-1358608-4
|
What was Northerly's result at the race on 19 Oct 2002?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT "result" FROM "2002_03_season_as_a_six_year_old" WHERE "date"='19 Oct 2002';
|
1-1358608-4
|
What was the distance of the race in which Northerly raced in group G3?
|
CREATE TABLE "2002_03_season_as_a_six_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
);
|
SELECT "distance" FROM "2002_03_season_as_a_six_year_old" WHERE "group"='G3';
|
1-1358608-4
|
what's the software executable space protection with dbeingtribution being gentoo
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "software_executable_space_protection" FROM "security_features" WHERE "distribution"='Gentoo';
|
1-1357052-6
|
what's the dbeingtribution with grsecurity being no
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "distribution" FROM "security_features" WHERE "grsecurity"='No';
|
1-1357052-6
|
what's the grsecurity with dbeingtribution being debian / ubuntu
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "grsecurity" FROM "security_features" WHERE "distribution"='Debian / Ubuntu';
|
1-1357052-6
|
what's the software executable space protection with dbeingtribution being gentoo
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "software_executable_space_protection" FROM "security_features" WHERE "distribution"='Gentoo';
|
1-1357052-6
|
what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "distribution" FROM "security_features" WHERE "grsecurity"='Optional' AND "compile_time_buffer_checks"='Yes';
|
1-1357052-6
|
what's the dbeingtribution with rsbac being unknown
|
CREATE TABLE "security_features" (
"distribution" text,
"compile_time_buffer_checks" text,
"mandatory_access_control" text,
"software_executable_space_protection" text,
"grsecurity" text,
"rsbac" text
);
|
SELECT "distribution" FROM "security_features" WHERE "rsbac"='Unknown';
|
1-1357052-6
|
Who is on the 2002 commission from district 3?
|
CREATE TABLE "government" (
"district" text,
"2012_commission" text,
"2010_commission" text,
"2007_commission" text,
"2002_commission" text,
"1999_commission" text
);
|
SELECT "2002_commission" FROM "government" WHERE "district"='District 3';
|
1-136027-2
|
What district for charlie oliver of the 2012 commission?
|
CREATE TABLE "government" (
"district" text,
"2012_commission" text,
"2010_commission" text,
"2007_commission" text,
"2002_commission" text,
"1999_commission" text
);
|
SELECT "district" FROM "government" WHERE "2012_commission"='Charlie Oliver';
|
1-136027-2
|
Who was on the 2012 commission and the 1999 commission with john wilborn?
|
CREATE TABLE "government" (
"district" text,
"2012_commission" text,
"2010_commission" text,
"2007_commission" text,
"2002_commission" text,
"1999_commission" text
);
|
SELECT "2012_commission" FROM "government" WHERE "1999_commission"='John Wilborn';
|
1-136027-2
|
How many people named gloria moon were on the 2002 and 2012 commissions?
|
CREATE TABLE "government" (
"district" text,
"2012_commission" text,
"2010_commission" text,
"2007_commission" text,
"2002_commission" text,
"1999_commission" text
);
|
SELECT COUNT("2002_commission") FROM "government" WHERE "2012_commission"='Gloria Moon';
|
1-136027-2
|
what's the others% with parbeingh being tangipahoa
|
CREATE TABLE "by_parish" (
"parish" text,
"bushnum" real,
"bushpct" text,
"kerrynum" real,
"kerrypct" text,
"othersnum" real,
"otherspct" text,
"totalnum" real
);
|
SELECT "otherspct" FROM "by_parish" WHERE "parish"='Tangipahoa';
|
1-13608101-1
|
what is the maximum bush# with others% being 1.57%
|
CREATE TABLE "by_parish" (
"parish" text,
"bushnum" real,
"bushpct" text,
"kerrynum" real,
"kerrypct" text,
"othersnum" real,
"otherspct" text,
"totalnum" real
);
|
SELECT MAX("bushnum") FROM "by_parish" WHERE "otherspct"='1.57%';
|
1-13608101-1
|
how many bush% with total# being 191269
|
CREATE TABLE "by_parish" (
"parish" text,
"bushnum" real,
"bushpct" text,
"kerrynum" real,
"kerrypct" text,
"othersnum" real,
"otherspct" text,
"totalnum" real
);
|
SELECT COUNT("bushpct") FROM "by_parish" WHERE "totalnum"=191269;
|
1-13608101-1
|
What is the highest game number?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT MAX("game") FROM "game_log";
|
1-13619027-10
|
How many entries are there for weight when the winner is 1st - defier and venue is randwick?
|
CREATE TABLE "2002_03_season_as_a_four_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
);
|
SELECT COUNT("weight_kg") FROM "2002_03_season_as_a_four_year_old" WHERE "winner_2nd"='1st - Defier' AND "venue"='Randwick';
|
1-1360997-3
|
Who was the jockey at Rosehill and the weight was 57.5 kg?
|
CREATE TABLE "2002_03_season_as_a_four_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
);
|
SELECT "jockey" FROM "2002_03_season_as_a_four_year_old" WHERE "venue"='Rosehill' AND "weight_kg"='57.5';
|
1-1360997-3
|
When the time is 1:36.30 what shows as winner?
|
CREATE TABLE "2002_03_season_as_a_four_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
);
|
SELECT "winner_2nd" FROM "2002_03_season_as_a_four_year_old" WHERE "time"='1:36.30';
|
1-1360997-3
|
What was the depravitiy of earnings where international sales was 2470?
|
CREATE TABLE "notes" (
"district" text,
"2010_population_000" real,
"2008_gdp_usd_bn_a" text,
"2008_gdp_per_capita_usd_a" real,
"agri_culture_b" text,
"mining_b" text,
"manufac_turing_b" text,
"services_cons_truction_b" text,
"exports_usd_mn_2011" real,
"median_mo_salary_usd_a_e" real,
"vehicles_per_1000_d" real,
"income_poverty_f" text,
"structural_poverty_g" text
);
|
SELECT "income_poverty_f" FROM "notes" WHERE "exports_usd_mn_2011"=2470;
|
1-13618358-1
|
What was head count in 2010 where the farm production is 6.9?
|
CREATE TABLE "notes" (
"district" text,
"2010_population_000" real,
"2008_gdp_usd_bn_a" text,
"2008_gdp_per_capita_usd_a" real,
"agri_culture_b" text,
"mining_b" text,
"manufac_turing_b" text,
"services_cons_truction_b" text,
"exports_usd_mn_2011" real,
"median_mo_salary_usd_a_e" real,
"vehicles_per_1000_d" real,
"income_poverty_f" text,
"structural_poverty_g" text
);
|
SELECT MAX("2010_population_000") FROM "notes" WHERE "agri_culture_b"='6.9';
|
1-13618358-1
|
How many districts had an depravity level of 27.7
|
CREATE TABLE "notes" (
"district" text,
"2010_population_000" real,
"2008_gdp_usd_bn_a" text,
"2008_gdp_per_capita_usd_a" real,
"agri_culture_b" text,
"mining_b" text,
"manufac_turing_b" text,
"services_cons_truction_b" text,
"exports_usd_mn_2011" real,
"median_mo_salary_usd_a_e" real,
"vehicles_per_1000_d" real,
"income_poverty_f" text,
"structural_poverty_g" text
);
|
SELECT COUNT("district") FROM "notes" WHERE "income_poverty_f"='27.7';
|
1-13618358-1
|
How low was the income where services is 72.5?
|
CREATE TABLE "notes" (
"district" text,
"2010_population_000" real,
"2008_gdp_usd_bn_a" text,
"2008_gdp_per_capita_usd_a" real,
"agri_culture_b" text,
"mining_b" text,
"manufac_turing_b" text,
"services_cons_truction_b" text,
"exports_usd_mn_2011" real,
"median_mo_salary_usd_a_e" real,
"vehicles_per_1000_d" real,
"income_poverty_f" text,
"structural_poverty_g" text
);
|
SELECT "income_poverty_f" FROM "notes" WHERE "services_cons_truction_b"='72.5';
|
1-13618358-1
|
How low was the San Juan income?
|
CREATE TABLE "notes" (
"district" text,
"2010_population_000" real,
"2008_gdp_usd_bn_a" text,
"2008_gdp_per_capita_usd_a" real,
"agri_culture_b" text,
"mining_b" text,
"manufac_turing_b" text,
"services_cons_truction_b" text,
"exports_usd_mn_2011" real,
"median_mo_salary_usd_a_e" real,
"vehicles_per_1000_d" real,
"income_poverty_f" text,
"structural_poverty_g" text
);
|
SELECT "income_poverty_f" FROM "notes" WHERE "district"='San Juan';
|
1-13618358-1
|
who is the player with high assists on january 22?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_assists" FROM "game_log" WHERE "date"='January 22';
|
1-13619027-7
|
what is the total score for the date of january 3?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT COUNT("score") FROM "game_log" WHERE "date"='January 3';
|
1-13619027-7
|
Which team was in a game with a record of 15-63?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "team" FROM "game_log" WHERE "record"='15-63';
|
1-13619053-9
|
Which team played on April 1?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "team" FROM "game_log" WHERE "date"='April 1';
|
1-13619053-9
|
How many players led Game #66 in scoring?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT COUNT("high_points") FROM "game_log" WHERE "game"=66;
|
1-13619053-8
|
Who scored the most points in the game where the Raptors became 13-49?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "record"='13-49';
|
1-13619053-8
|
Who did the Raptors play against when their record was 13-48?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "team" FROM "game_log" WHERE "record"='13-48';
|
1-13619053-8
|
Who was the high scorer in the game when the team was 1-4?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "record"='1-4';
|
1-13619105-3
|
Where did they play and how many attended in the game against minnesota?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "location_attendance" FROM "game_log" WHERE "team"='Minnesota';
|
1-13619105-3
|
Who had the high point total when dee brown (5) had the high assist total?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "high_assists"='Dee Brown (5)';
|
1-13619105-4
|
How many records are there for the games that took place on January 14.
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT COUNT("record") FROM "game_log" WHERE "date"='January 14';
|
1-13619135-5
|
Which players scored the most points when the opposing team was Seattle and how many points did they score?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "team"='Seattle';
|
1-13619135-5
|
What was the location and attendance of the game against Portland?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "location_attendance" FROM "game_log" WHERE "team"='Portland';
|
1-13619135-5
|
What was the record when the score was w 108–93 (ot)?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "score"='W 108–93 (OT)';
|
1-13619135-5
|
what's the 1985-1990 with 1995-2000 being 1.46
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "1985_1990" FROM "urban_population_growth_pct" WHERE "1995_2000"='1.46';
|
1-13630888-1
|
what's the 2000-2005 with 1985-1990 being 3.78
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "2000_2005" FROM "urban_population_growth_pct" WHERE "1985_1990"='3.78';
|
1-13630888-1
|
what's the 1985-1990 with 2000-2005 being 2.52
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "1985_1990" FROM "urban_population_growth_pct" WHERE "2000_2005"='2.52';
|
1-13630888-1
|
what's the region/country with 2000-2005 being 2.61
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "region_country" FROM "urban_population_growth_pct" WHERE "2000_2005"='2.61';
|
1-13630888-1
|
what's the 1995-2000 with 1985-1990 being 1.24
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "1995_2000" FROM "urban_population_growth_pct" WHERE "1985_1990"='1.24';
|
1-13630888-1
|
what's the 1995-2000 with 1990-1995 being 3.08
|
CREATE TABLE "urban_population_growth_pct" (
"region_country" text,
"1985_1990" text,
"1990_1995" text,
"1995_2000" text,
"2000_2005" text
);
|
SELECT "1995_2000" FROM "urban_population_growth_pct" WHERE "1990_1995"='3.08';
|
1-13630888-1
|
what is the maximum total population with % catholic being 1.17%
|
CREATE TABLE "catholicism_in_africa" (
"region" text,
"total_population" real,
"catholic" real,
"pct_catholic" text,
"pct_of_global_catholic_pop" text
);
|
SELECT MAX("total_population") FROM "catholicism_in_africa" WHERE "pct_catholic"='1.17%';
|
1-1364343-2
|
how many total population with catholic being smaller than 31370649.1405057 and region being north africa
|
CREATE TABLE "catholicism_in_africa" (
"region" text,
"total_population" real,
"catholic" real,
"pct_catholic" text,
"pct_of_global_catholic_pop" text
);
|
SELECT COUNT("total_population") FROM "catholicism_in_africa" WHERE "catholic"<31370649.1405057 AND "region"='North Africa';
|
1-1364343-2
|
what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon
|
CREATE TABLE "table1_13663434_1" (
"title_and_source" text,
"developer_s_publisher_s" text,
"jp_210" text,
"na_350" text,
"pal_295" text,
"wii_points" text
);
|
SELECT "wii_points" FROM "table1_13663434_1" WHERE "title_and_source"='Tsūshin Taikyoku: Igo Dōjō 2700-Mon';
|
1-13663434-1
|
what's the na -350- with title and source being paper wars: cannon fodder
|
CREATE TABLE "table1_13663434_1" (
"title_and_source" text,
"developer_s_publisher_s" text,
"jp_210" text,
"na_350" text,
"pal_295" text,
"wii_points" text
);
|
SELECT "na_350" FROM "table1_13663434_1" WHERE "title_and_source"='Paper Wars: Cannon Fodder';
|
1-13663434-1
|
how many title and source with pal -295- being yes and jp -210- being yes
|
CREATE TABLE "table1_13663434_1" (
"title_and_source" text,
"developer_s_publisher_s" text,
"jp_210" text,
"na_350" text,
"pal_295" text,
"wii_points" text
);
|
SELECT COUNT("title_and_source") FROM "table1_13663434_1" WHERE "pal_295"='Yes' AND "jp_210"='Yes';
|
1-13663434-1
|
what's the jp -210- with title and source being fun! fun! minigolf
|
CREATE TABLE "table1_13663434_1" (
"title_and_source" text,
"developer_s_publisher_s" text,
"jp_210" text,
"na_350" text,
"pal_295" text,
"wii_points" text
);
|
SELECT "jp_210" FROM "table1_13663434_1" WHERE "title_and_source"='Fun! Fun! Minigolf';
|
1-13663434-1
|
how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
|
CREATE TABLE "table1_13663434_1" (
"title_and_source" text,
"developer_s_publisher_s" text,
"jp_210" text,
"na_350" text,
"pal_295" text,
"wii_points" text
);
|
SELECT COUNT("na_350") FROM "table1_13663434_1" WHERE "title_and_source"='Bokumo Sekai wo Sukuitai: Battle Tournament';
|
1-13663434-1
|
What was the gtu winning team when the gto winning team was #48 greenwood racing?
|
CREATE TABLE "table1_13657883_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "gtu_winning_team" FROM "table1_13657883_2" WHERE "gto_winning_team"='#48 Greenwood Racing';
|
1-13657883-2
|
What was the to winnning team when the tu winning team was #16 2002?
|
CREATE TABLE "table1_13657883_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "to_winning_team" FROM "table1_13657883_2" WHERE "tu_winning_team"='#16 2002';
|
1-13657883-2
|
What round was the gto winning team #48 greenwood racing?
|
CREATE TABLE "table1_13657883_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "rnd" FROM "table1_13657883_2" WHERE "gto_winning_team"='#48 Greenwood Racing';
|
1-13657883-2
|
What was the to winning team when the tu winning team was joe amato carson baird?
|
CREATE TABLE "table1_13657883_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "to_winning_team" FROM "table1_13657883_2" WHERE "tu_winning_team"='Joe Amato Carson Baird';
|
1-13657883-2
|
Who is GTU Winning Team's #27 Don Lindley's TO Winning Team?
|
CREATE TABLE "table1_13657749_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "to_winning_team" FROM "table1_13657749_2" WHERE "gtu_winning_team"='#27 Don Lindley';
|
1-13657749-2
|
What is GTO Winning Team Mike Keyser's RND number?
|
CREATE TABLE "table1_13657749_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "rnd" FROM "table1_13657749_2" WHERE "gto_winning_team"='Mike Keyser';
|
1-13657749-2
|
Who is Gene Felton's TO Winning Team?
|
CREATE TABLE "table1_13657749_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "to_winning_team" FROM "table1_13657749_2" WHERE "gto_winning_team"='Gene Felton';
|
1-13657749-2
|
What is Peter Gregg Hurley Haywood's results?
|
CREATE TABLE "table1_13657749_2" (
"rnd" real,
"circuit" text,
"gto_winning_team" text,
"gtu_winning_team" text,
"to_winning_team" text,
"tu_winning_team" text,
"results" text
);
|
SELECT "results" FROM "table1_13657749_2" WHERE "gto_winning_team"='Peter Gregg Hurley Haywood';
|
1-13657749-2
|
What was the least amount for Goals Olimpia?
|
CREATE TABLE "head_to_head" (
"tournament" text,
"matches" real,
"wins_olimpia" real,
"empates" real,
"wins_cerro" real,
"goals_olimpia" real,
"goals_cerro" real
);
|
SELECT MIN("goals_olimpia") FROM "head_to_head";
|
1-13688489-1
|
How many goals Olimpia recorded for 32 matches?
|
CREATE TABLE "head_to_head" (
"tournament" text,
"matches" real,
"wins_olimpia" real,
"empates" real,
"wins_cerro" real,
"goals_olimpia" real,
"goals_cerro" real
);
|
SELECT COUNT("goals_olimpia") FROM "head_to_head" WHERE "matches"=32;
|
1-13688489-1
|
What was the number of matches when the Goals Olimpia was 149?
|
CREATE TABLE "head_to_head" (
"tournament" text,
"matches" real,
"wins_olimpia" real,
"empates" real,
"wins_cerro" real,
"goals_olimpia" real,
"goals_cerro" real
);
|
SELECT "matches" FROM "head_to_head" WHERE "goals_olimpia"=149;
|
1-13688489-1
|
At the rate where 1600kwh/kwp•y is 26.3, what is the value of 2200 kwh/kwp•y?
|
CREATE TABLE "table1_13690575_4" (
"cost" text,
"2400_k_wh_k_wp_y" text,
"2200_k_wh_k_wp_y" text,
"2000_k_wh_k_wp_y" text,
"1800_k_wh_k_wp_y" text,
"1600_k_wh_k_wp_y" text,
"1400_k_wh_k_wp_y" text,
"1200_k_wh_k_wp_y" text,
"1000_k_wh_k_wp_y" text,
"800_k_wh_k_wp_y" text
);
|
SELECT "2200_k_wh_k_wp_y" FROM "table1_13690575_4" WHERE "1600_k_wh_k_wp_y"='26.3';
|
1-13690575-4
|
At the rate where 2200 kwh/kwp•y is 11.8, what is the value of 2400 kwh/kwp•y?
|
CREATE TABLE "table1_13690575_4" (
"cost" text,
"2400_k_wh_k_wp_y" text,
"2200_k_wh_k_wp_y" text,
"2000_k_wh_k_wp_y" text,
"1800_k_wh_k_wp_y" text,
"1600_k_wh_k_wp_y" text,
"1400_k_wh_k_wp_y" text,
"1200_k_wh_k_wp_y" text,
"1000_k_wh_k_wp_y" text,
"800_k_wh_k_wp_y" text
);
|
SELECT "2400_k_wh_k_wp_y" FROM "table1_13690575_4" WHERE "2200_k_wh_k_wp_y"='11.8';
|
1-13690575-4
|
At the rate where 1000 kwh/kwp•y is 26.0, what is the value of 1600 kwh/kwp•y?
|
CREATE TABLE "table1_13690575_4" (
"cost" text,
"2400_k_wh_k_wp_y" text,
"2200_k_wh_k_wp_y" text,
"2000_k_wh_k_wp_y" text,
"1800_k_wh_k_wp_y" text,
"1600_k_wh_k_wp_y" text,
"1400_k_wh_k_wp_y" text,
"1200_k_wh_k_wp_y" text,
"1000_k_wh_k_wp_y" text,
"800_k_wh_k_wp_y" text
);
|
SELECT "1600_k_wh_k_wp_y" FROM "table1_13690575_4" WHERE "1000_k_wh_k_wp_y"='26.0';
|
1-13690575-4
|
At the rate where 1800 kwh/kwp•y is 1.1, what is the value of 2400 kwh/kwp•y?
|
CREATE TABLE "table1_13690575_4" (
"cost" text,
"2400_k_wh_k_wp_y" text,
"2200_k_wh_k_wp_y" text,
"2000_k_wh_k_wp_y" text,
"1800_k_wh_k_wp_y" text,
"1600_k_wh_k_wp_y" text,
"1400_k_wh_k_wp_y" text,
"1200_k_wh_k_wp_y" text,
"1000_k_wh_k_wp_y" text,
"800_k_wh_k_wp_y" text
);
|
SELECT "2400_k_wh_k_wp_y" FROM "table1_13690575_4" WHERE "1800_k_wh_k_wp_y"='1.1';
|
1-13690575-4
|
At the rate where 1800 kwh/kwp•y is 16.7, what is the value of 2400 kwh/kwp•y?
|
CREATE TABLE "table1_13690575_4" (
"cost" text,
"2400_k_wh_k_wp_y" text,
"2200_k_wh_k_wp_y" text,
"2000_k_wh_k_wp_y" text,
"1800_k_wh_k_wp_y" text,
"1600_k_wh_k_wp_y" text,
"1400_k_wh_k_wp_y" text,
"1200_k_wh_k_wp_y" text,
"1000_k_wh_k_wp_y" text,
"800_k_wh_k_wp_y" text
);
|
SELECT "2400_k_wh_k_wp_y" FROM "table1_13690575_4" WHERE "1800_k_wh_k_wp_y"='16.7';
|
1-13690575-4
|
what's the time required for prices to double with highest monthly inflation rate being 29,500%
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT "time_required_for_prices_to_double" FROM "table1_13681_2" WHERE "highest_monthly_inflation_rate"='29,500%';
|
1-13681-2
|
what's the currency name with highest monthly inflation rate being 29,500%
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT "currency_name" FROM "table1_13681_2" WHERE "highest_monthly_inflation_rate"='29,500%';
|
1-13681-2
|
how many equivalent daily inflation rate with time required for prices to double being 3.7 days
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT COUNT("equivalent_daily_inflation_rate") FROM "table1_13681_2" WHERE "time_required_for_prices_to_double"='3.7 days';
|
1-13681-2
|
how many country with currency name being republika srpska dinar
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT COUNT("country") FROM "table1_13681_2" WHERE "currency_name"='Republika Srpska dinar';
|
1-13681-2
|
how many equivalent daily inflation rate with currency name being republika srpska dinar
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT COUNT("equivalent_daily_inflation_rate") FROM "table1_13681_2" WHERE "currency_name"='Republika Srpska dinar';
|
1-13681-2
|
what's the country with highest monthly inflation rate being 3.13 × 10 8 %
|
CREATE TABLE "table1_13681_2" (
"country" text,
"currency_name" text,
"month_with_highest_inflation_rate" text,
"highest_monthly_inflation_rate" text,
"equivalent_daily_inflation_rate" text,
"time_required_for_prices_to_double" text
);
|
SELECT "country" FROM "table1_13681_2" WHERE "highest_monthly_inflation_rate"='3.13 × 10 8 %';
|
1-13681-2
|
How many grand final dual television commentators were there in 1961?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"grand_final_television_commentator" text,
"grand_final_dual_television_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_dual_television_commentator" text
);
|
SELECT COUNT("grand_final_dual_television_commentator") FROM "commentators_and_spokespersons" WHERE "year_s"=1961;
|
1-1368649-9
|
Who was the spokesperson for France in 1970?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"grand_final_television_commentator" text,
"grand_final_dual_television_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_dual_television_commentator" text
);
|
SELECT "spokesperson" FROM "commentators_and_spokespersons" WHERE "year_s"=1970;
|
1-1368649-9
|
What year was Thierry Beccaro the spokesperson?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"grand_final_television_commentator" text,
"grand_final_dual_television_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_dual_television_commentator" text
);
|
SELECT MIN("year_s") FROM "commentators_and_spokespersons" WHERE "spokesperson"='Thierry Beccaro';
|
1-1368649-9
|
How many games played on june 25?
|
CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
);
|
SELECT COUNT("score") FROM "lone_star_series" WHERE "date"='June 25';
|
1-13710464-1
|
Who won the game on may 21?
|
CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
);
|
SELECT "winning_team" FROM "lone_star_series" WHERE "date"='May 21';
|
1-13710464-1
|
Who was the losing pitcher when 40583 attended?
|
CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
);
|
SELECT "losing_pitcher" FROM "lone_star_series" WHERE "attendance"=40583;
|
1-13710464-1
|
Who was the wenning witcher when ezequiel astacio was the losing pitcher?
|
CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
);
|
SELECT "winning_pitcher" FROM "lone_star_series" WHERE "losing_pitcher"='Ezequiel Astacio';
|
1-13710464-1
|
Where was the game played on may 20?
|
CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
);
|
SELECT "location" FROM "lone_star_series" WHERE "date"='May 20';
|
1-13710464-1
|
On what position number is the club with a w-l-d of 5-7-4?
|
CREATE TABLE "regular_season" (
"position" real,
"club_city_town" text,
"games_played" real,
"w_l_d" text,
"goals_for_against" text,
"points" real
);
|
SELECT COUNT("club_city_town") FROM "regular_season" WHERE "w_l_d"='5-7-4';
|
1-13713206-1
|
What's the position of the club with w-l-d of 6-2-8?
|
CREATE TABLE "regular_season" (
"position" real,
"club_city_town" text,
"games_played" real,
"w_l_d" text,
"goals_for_against" text,
"points" real
);
|
SELECT MAX("position") FROM "regular_season" WHERE "w_l_d"='6-2-8';
|
1-13713206-1
|
How many games has the club with 29-24 goals for/against score played?
|
CREATE TABLE "regular_season" (
"position" real,
"club_city_town" text,
"games_played" real,
"w_l_d" text,
"goals_for_against" text,
"points" real
);
|
SELECT "games_played" FROM "regular_season" WHERE "goals_for_against"='29-24';
|
1-13713206-1
|
How many films titled Gie have been nominated?
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("original_title") FROM "submissions" WHERE "film_title_used_in_nomination"='Gie';
|
1-13719788-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.