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