output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "province" FROM "population_area_and_density_sortable_on_" WHERE "gdp_2003_pps_in_mil"=38355; |
## Task
Generate a SQL query to answer the following question:
`Which province has a gdp of 38355€ million euros?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population_area_and_density_sortable_on_" (
"province" text,
"population_2004_estimat... |
SELECT "population_2004_estimate" FROM "population_area_and_density_sortable_on_" WHERE "gdp_2003_pps_in_mil"=18496; |
## Task
Generate a SQL query to answer the following question:
`What is the population estimate for the place that gad a 18496€ million euro gdp?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population_area_and_density_sortable_on_" (
"province" ... |
SELECT "title" FROM "table1_10701133_1" WHERE "original_air_date"='May15,2008'; |
## Task
Generate a SQL query to answer the following question:
`What is the title when original air date is may15,2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
... |
SELECT MAX("no_in_season") FROM "table1_10701133_1"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest no. in season?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
... |
SELECT "directed_by" FROM "table1_10701133_1" WHERE "u_s_viewers_million"='12.90'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode where u.s. viewers (million) is 12.90?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title"... |
SELECT MIN("num_of_ep") FROM "table1_1067134_1" WHERE "region_2"='May 26, 2008'; |
## Task
Generate a SQL query to answer the following question:
`How many episodes aired in Region 2 beginning May 26, 2008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
... |
SELECT "region_2" FROM "table1_1067134_1" WHERE "dvd_name"='Season Six'; |
## Task
Generate a SQL query to answer the following question:
`What date did the DVD for season six come out in region 2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"... |
SELECT MIN("num_of_ep") FROM "table1_1067134_1"; |
## Task
Generate a SQL query to answer the following question:
`What is the least amount of season epidsodes?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"region_2" tex... |
SELECT "dvd_name" FROM "table1_1067134_1" WHERE "region_2"='August 22, 2010'; |
## Task
Generate a SQL query to answer the following question:
`What DVD season/name for region 2 was released August 22, 2010?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text... |
SELECT COUNT("points") FROM "career_summary" WHERE "season"='2005'; |
## Task
Generate a SQL query to answer the following question:
`How many points for 2005?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" r... |
SELECT "points" FROM "career_summary" WHERE "team_name"='DAMS'; |
## Task
Generate a SQL query to answer the following question:
`what is the score for the dams?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"w... |
SELECT COUNT("position") FROM "career_summary" WHERE "season"='2009'; |
## Task
Generate a SQL query to answer the following question:
`how many positions in 2009?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins"... |
SELECT MIN("poles") FROM "career_summary"; |
## Task
Generate a SQL query to answer the following question:
`what is the least number of poles?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
... |
SELECT "series" FROM "career_summary" WHERE "points"=62; |
## Task
Generate a SQL query to answer the following question:
`Which series with 62 points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins... |
SELECT COUNT("points") FROM "career_summary" WHERE "position"='10th'; |
## Task
Generate a SQL query to answer the following question:
`What is the total for 10th position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,... |
SELECT COUNT("report") FROM "races" WHERE "date"='October 16'; |
## Task
Generate a SQL query to answer the following question:
`how many reports of races took place on october 16?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"... |
SELECT "report" FROM "races" WHERE "race_name"='Long Beach Grand Prix'; |
## Task
Generate a SQL query to answer the following question:
`what is the name of the report that lists the race name as long beach grand prix?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" tex... |
SELECT "report" FROM "races" WHERE "circuit"='Nazareth Speedway'; |
## Task
Generate a SQL query to answer the following question:
`what is the report called where the circuit took place at the nazareth speedway?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text... |
SELECT "race_name" FROM "races" WHERE "winning_team"='Newman/Haas Racing' AND "pole_position"='Rick Mears'; |
## Task
Generate a SQL query to answer the following question:
`what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"... |
SELECT "city_location" FROM "races" WHERE "circuit"='Meadowlands Sports Complex'; |
## Task
Generate a SQL query to answer the following question:
`meadowlands sports complex is the circuit at which city/location?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_locat... |
SELECT "literacy_pct" FROM "statistics" WHERE "growth_1991_2001"='103.1%'; |
## Task
Generate a SQL query to answer the following question:
`What is the literacy rate for groups that grew 103.1% between 1991 and 2001?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text... |
SELECT MIN("sex_ratio_rural") FROM "statistics"; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest sex ratio in rural areas?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"growth_1991_2001" text,
"... |
SELECT MIN("sex_ratio_child") FROM "statistics" WHERE "work_participation_pct"='31.3%'; |
## Task
Generate a SQL query to answer the following question:
`What is the lowest child sex ratio in groups where employment is 31.3%?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"... |
SELECT "population_pct" FROM "statistics" WHERE "sex_ratio_rural"=953; |
## Task
Generate a SQL query to answer the following question:
`What is the population percentage of the group where the rural sex ratio is 953?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" ... |
SELECT "original_air_date" FROM "table1_10715317_2" WHERE "title"='\"Felonious Monk\"'; |
## Task
Generate a SQL query to answer the following question:
`What is the original air date for the title "felonious monk"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10715317_2" (
"no_in_series" real,
"no_in_season" real,
"title" t... |
SELECT "title" FROM "table1_10715317_2" WHERE "directed_by"='Peter Markle' AND "written_by"='Jerry Stahl'; |
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode directed by Peter Markle and written by Jerry Stahl?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10715317_2" (
"no_in_series" real,
"no_in_s... |
SELECT COUNT("directed_by") FROM "table1_10715317_2" WHERE "title"='\"Identity Crisis\"'; |
## Task
Generate a SQL query to answer the following question:
`How many episodes were titled "identity crisis"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10715317_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"direc... |
SELECT "lap_by_lap" FROM "television_broadcasters" WHERE "year"=2011; |
## Task
Generate a SQL query to answer the following question:
`Who does the lap-by-lap in 2011?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
"pre_race_analyst" text,
"la... |
SELECT "network" FROM "television_broadcasters" WHERE "lap_by_lap"='Marty Reid' AND "host"='Marty Reid'; |
## Task
Generate a SQL query to answer the following question:
`Which network has Marty Reid as host and lap-by-lap broadcaster?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
... |
SELECT COUNT("pre_race_analyst") FROM "television_broadcasters" WHERE "lap_by_lap"='Allen Bestwick'; |
## Task
Generate a SQL query to answer the following question:
`How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"hos... |
SELECT MAX("no_in_season") FROM "table1_10718192_2"; |
## Task
Generate a SQL query to answer the following question:
`What's the highest season number of an episode in the series?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718192_2" (
"no_in_series" real,
"no_in_season" real,
"title" t... |
SELECT "original_air_date" FROM "table1_10718192_2" WHERE "title"='\"Lucky Strike\"'; |
## Task
Generate a SQL query to answer the following question:
`When did the episode titled "Lucky Strike" air for the first time?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718192_2" (
"no_in_series" real,
"no_in_season" real,
"tit... |
SELECT "written_by" FROM "table1_10718192_2" WHERE "title"='\"One Hit Wonder\"'; |
## Task
Generate a SQL query to answer the following question:
`Who was the writer of the episode titled "One Hit Wonder"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718192_2" (
"no_in_series" real,
"no_in_season" real,
"title" text... |
SELECT "original_air_date" FROM "table1_10718192_2" WHERE "no_in_series"=63; |
## Task
Generate a SQL query to answer the following question:
`What's the date of the first airing of the episode with series number 63?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718192_2" (
"no_in_series" real,
"no_in_season" real,... |
SELECT COUNT("title") FROM "table1_10718525_2" WHERE "u_s_viewers_millions"='26.53'; |
## Task
Generate a SQL query to answer the following question:
`How many titles got a viewership of 26.53 million?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718525_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"dir... |
SELECT "u_s_viewers_millions" FROM "table1_10718525_2" WHERE "directed_by"='Matt Earl Beesley'; |
## Task
Generate a SQL query to answer the following question:
`How many viewers tuned into the show directed by Matt Earl Beesley?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718525_2" (
"no_in_series" real,
"no_in_season" real,
"ti... |
SELECT "written_by" FROM "table1_10718631_2" WHERE "no_in_series"=94; |
## Task
Generate a SQL query to answer the following question:
`Who wrote episode 94?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718631_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by... |
SELECT "no_in_series" FROM "table1_10718631_2" WHERE "no_in_season"=10; |
## Task
Generate a SQL query to answer the following question:
`Which episode was the number in the season where the number in the season is 10?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718631_2" (
"no_in_series" real,
"no_in_season... |
SELECT "no_in_season" FROM "table1_10718631_2" WHERE "title"='\"Crow''s Feet\"'; |
## Task
Generate a SQL query to answer the following question:
`How many episodes were in the season that had the epiosde of "crow's feet"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718631_2" (
"no_in_series" real,
"no_in_season" rea... |
SELECT "original_air_date" FROM "table1_10718631_2" WHERE "no_in_series"=113; |
## Task
Generate a SQL query to answer the following question:
`When did the 113 episode air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718631_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"wr... |
SELECT COUNT("title") FROM "table1_10718631_2" WHERE "no_in_series"=113; |
## Task
Generate a SQL query to answer the following question:
`How many titles were there for the 113 episode?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718631_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"direct... |
SELECT MAX("no_in_season") FROM "table1_10718984_2" WHERE "written_by"='Marlene Meyer' AND "u_s_viewers_millions"='20.49'; |
## Task
Generate a SQL query to answer the following question:
`What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718984_2" (
"no_in_series" real,
"n... |
SELECT "original_air_date" FROM "table1_10718984_2" WHERE "no_in_season"=23; |
## Task
Generate a SQL query to answer the following question:
`When did the no. 23 show originally air?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10718984_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" ... |
SELECT "circuit" FROM "races" WHERE "date"='October 4'; |
## Task
Generate a SQL query to answer the following question:
`Which circuits had a race on October 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
... |
SELECT "report" FROM "races" WHERE "pole_position"='Michael Andretti' AND "winning_team"='Galles-Kraco Racing'; |
## Task
Generate a SQL query to answer the following question:
`In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_na... |
SELECT COUNT("rnd") FROM "races" WHERE "race_name"='Bosch Spark Plug Grand Prix'; |
## Task
Generate a SQL query to answer the following question:
`How many rounds were there of the Bosch Spark Plug Grand Prix?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location... |
SELECT "rnd" FROM "races" WHERE "date"='August 9'; |
## Task
Generate a SQL query to answer the following question:
`Which rounds were held on August 9?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"p... |
SELECT COUNT("date") FROM "races" WHERE "circuit"='Michigan International Speedway'; |
## Task
Generate a SQL query to answer the following question:
`On how many dates did the Michigan International Speedway hold a round?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city... |
SELECT COUNT("num_of_bids") FROM "record_by_conference" WHERE "conference"='Sun Belt'; |
## Task
Generate a SQL query to answer the following question:
`Name the total number of bids of the sun belt conference`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,... |
SELECT "round_of_32" FROM "record_by_conference" WHERE "conference"='Conference USA'; |
## Task
Generate a SQL query to answer the following question:
`Name the round of 32 in conference usa`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,... |
SELECT "record" FROM "record_by_conference" WHERE "round_of_32"=0 AND "conference"='Metro Atlantic'; |
## Task
Generate a SQL query to answer the following question:
`What is the record when round of 32 is 0 and metro atlantic conference?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
... |
SELECT COUNT("num_of_bids") FROM "record_by_conference" WHERE "elite_eight">1.0; |
## Task
Generate a SQL query to answer the following question:
`What is the number of bids with elite eight larger than 1.0`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" te... |
SELECT "directed_by" FROM "table1_10749143_2" WHERE "production_code"='7AFF03'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with production code 7aff03?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10749143_2" (
"series_num" real,
"season_num" real,
"title" text,
"dire... |
SELECT "title" FROM "table1_10749143_2" WHERE "u_s_viewers_millions"='10.34'; |
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode wtih 10.34 million U.S viewers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10749143_2" (
"series_num" real,
"season_num" real,
"title" te... |
SELECT "position" FROM "career_summary" WHERE "races"=6; |
## Task
Generate a SQL query to answer the following question:
`What place is the team that completed 6 races?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wi... |
SELECT "points" FROM "career_summary" WHERE "series"='British Formula Three' AND "team_name"='Fortec Motorsport'; |
## Task
Generate a SQL query to answer the following question:
`how much did the british formula three called "fortec motorsport" score?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" t... |
SELECT "races" FROM "career_summary" WHERE "season"='2009' AND "wins"=0; |
## Task
Generate a SQL query to answer the following question:
`how many races were in 2009 with 0 wins?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" re... |
SELECT "season" FROM "career_summary" WHERE "team_name"='ART Grand Prix'; |
## Task
Generate a SQL query to answer the following question:
`What years did art grand prix compete?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real... |
SELECT "season" FROM "career_summary" WHERE "points"='9'; |
## Task
Generate a SQL query to answer the following question:
`What year had a score of 9?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles"... |
SELECT MAX("wins") FROM "career_summary" WHERE "series"='Japanese Formula Three'; |
## Task
Generate a SQL query to answer the following question:
`what is the greatest number of wins by japanese formula three?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"ra... |
SELECT "test_taker" FROM "episodes" WHERE "num"=4; |
## Task
Generate a SQL query to answer the following question:
`Who took test #4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" text,
"passed" text
);
... |
SELECT MIN("num") FROM "episodes" WHERE "air_date"='18 April 2007'; |
## Task
Generate a SQL query to answer the following question:
`What episode aired on 18 April 2007?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" text,
... |
SELECT "test_taker" FROM "episodes" WHERE "challenge"='Night Driving'; |
## Task
Generate a SQL query to answer the following question:
`Who had the challenge of night driving?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" tex... |
SELECT COUNT("director") FROM "table1_10798928_1" WHERE "film_title_used_in_nomination"='Course Completed'; |
## Task
Generate a SQL query to answer the following question:
`How many directors were there for the film Course Completed?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" ... |
SELECT "director" FROM "table1_10798928_1" WHERE "original_title"='El nido'; |
## Task
Generate a SQL query to answer the following question:
`Who directed El Nido?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"direc... |
SELECT "director" FROM "table1_10798928_1" WHERE "original_title"='Dulcinea'; |
## Task
Generate a SQL query to answer the following question:
`Who directed Dulcinea?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"dire... |
SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1951"='65.9%'; |
## Task
Generate a SQL query to answer the following question:
`What are the slovenian names of the villages that had 65.9% of slovenes in 1951?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"village_german" text,
"village_slovenian... |
SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1991"='16.7%'; |
## Task
Generate a SQL query to answer the following question:
`What are the slovenian names of the villages that had 16.7% of slovenes in 1991?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"village_german" text,
"village_slovenian... |
SELECT COUNT("village_german") FROM "references" WHERE "percent_of_slovenes_1991"='21.7%'; |
## Task
Generate a SQL query to answer the following question:
`How many villages had 21.7% of slovenes in 1991?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991... |
SELECT "percent_of_slovenes_1991" FROM "references" WHERE "village_slovenian"='Čahorče'; |
## Task
Generate a SQL query to answer the following question:
`what percent of slovenes did the village called čahorče in slovenian have in 1991?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"village_german" text,
"village_sloveni... |
SELECT "village_slovenian" FROM "references" WHERE "village_german"='St.Margarethen'; |
## Task
Generate a SQL query to answer the following question:
`What is the slovenian name for the village that in german is known as st.margarethen?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "references" (
"village_german" text,
"village_slov... |
SELECT "high_points" FROM "game_log" WHERE "date"='December 20'; |
## Task
Generate a SQL query to answer the following question:
`For games on December 20, how many points did the scoring leaders get?`
### 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 "high_points" FROM "game_log" WHERE "date"='December 23'; |
## Task
Generate a SQL query to answer the following question:
`Who was the scoring leader and how many points did he get in games on December 23?`
### 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,
... |
SELECT "pick_num" FROM "round_three" WHERE "position"='DE'; |
## Task
Generate a SQL query to answer the following question:
`What is the pick # for the position de?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college"... |
SELECT "player" FROM "round_three" WHERE "college"='Saint Mary''s'; |
## Task
Generate a SQL query to answer the following question:
`Which player went to college at Saint Mary's?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"co... |
SELECT "position" FROM "round_three" WHERE "cfl_team"='Winnipeg Blue Bombers'; |
## Task
Generate a SQL query to answer the following question:
`What is the position for the player with cfl team Winnipeg blue bombers?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" tex... |
SELECT "player" FROM "round_three" WHERE "college"='Laval'; |
## Task
Generate a SQL query to answer the following question:
`Which player went to college at Laval?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" ... |
SELECT "college" FROM "round_three" WHERE "cfl_team"='Edmonton Eskimos (via Calgary)'; |
## Task
Generate a SQL query to answer the following question:
`What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text... |
SELECT "cfl_team" FROM "round_five" WHERE "college"='St. Francis Xavier'; |
## Task
Generate a SQL query to answer the following question:
`What's the team of the player from St. Francis Xavier College?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"posit... |
SELECT "player" FROM "round_five" WHERE "cfl_team"='Montreal Alouettes'; |
## Task
Generate a SQL query to answer the following question:
`What player is on the Montreal Alouettes CFl team?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
... |
SELECT MIN("pick_num") FROM "round_five" WHERE "cfl_team"='Toronto Argonauts'; |
## Task
Generate a SQL query to answer the following question:
`What's the pick number of the player from Toronto Argonauts?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"positio... |
SELECT "pick_num" FROM "round_five" WHERE "position"='CB'; |
## Task
Generate a SQL query to answer the following question:
`What's the pick number of the player whose position is CB?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position"... |
SELECT MAX("pick_num") FROM "round_five" WHERE "college"='New Mexico'; |
## Task
Generate a SQL query to answer the following question:
`What's the pick number of the player from New Mexico?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text... |
SELECT "player" FROM "round_five" WHERE "college"='Ohio State'; |
## Task
Generate a SQL query to answer the following question:
`What player went to Ohio State College?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" ... |
SELECT MIN("introduced") FROM "br_railbuses" WHERE "region"='Departmental'; |
## Task
Generate a SQL query to answer the following question:
`What is the minimum introduced value for the Departmental region?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "br_railbuses" (
"number_range" text,
"builder" text,
"introduced" re... |
SELECT MIN("introduced") FROM "br_railbuses"; |
## Task
Generate a SQL query to answer the following question:
`What is the smallest introduced value?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "br_railbuses" (
"number_range" text,
"builder" text,
"introduced" real,
"no_built" real,
"r... |
SELECT "cfl_team" FROM "round_four" WHERE "position"='OL'; |
## Task
Generate a SQL query to answer the following question:
`Which CFL Teams drafted an OL in 2006?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" t... |
SELECT "college" FROM "round_four" WHERE "cfl_team"='Saskatchewan Roughriders'; |
## Task
Generate a SQL query to answer the following question:
`Which college is aligned to the Saskatchewan Roughriders?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" ... |
SELECT "position" FROM "round_four" WHERE "cfl_team"='Hamilton Tiger-Cats (via Ottawa)'; |
## Task
Generate a SQL query to answer the following question:
`What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player... |
SELECT MIN("pick_num") FROM "round_four"; |
## Task
Generate a SQL query to answer the following question:
`What is the earliest pick listed in the table.`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"co... |
SELECT MAX("no_in_season") FROM "table1_10842344_1" WHERE "production_code"='E4423'; |
## Task
Generate a SQL query to answer the following question:
`What episode number had production code e4423?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10842344_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directe... |
SELECT MAX("no_in_season") FROM "table1_10842344_1" WHERE "u_s_viewers_millions"='14.37'; |
## Task
Generate a SQL query to answer the following question:
`What's the latest episode in a season where the U.S. viewers totaled 14.37 million?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10842344_1" (
"no_in_series" real,
"no_in_sea... |
SELECT "directed_by" FROM "table1_10842344_1" WHERE "title"='\"Escape\"'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode "Escape"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10842344_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
... |
SELECT COUNT("season") FROM "table1_10819266_8" WHERE "season_finale"='May 26, 2010'; |
## Task
Generate a SQL query to answer the following question:
`How many seasons is the season finale on May 26, 2010?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"s... |
SELECT "episodes" FROM "table1_10819266_8" WHERE "season_premiere"='September 23, 2009'; |
## Task
Generate a SQL query to answer the following question:
`What episodes are there where the season premier is September 23, 2009?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slo... |
SELECT "season_finale" FROM "table1_10819266_8" WHERE "season"=4; |
## Task
Generate a SQL query to answer the following question:
`What is the season finale for season 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere"... |
SELECT "season_premiere" FROM "table1_10819266_8" WHERE "rank"='#21'; |
## Task
Generate a SQL query to answer the following question:
`How many season premiers have a rank of #21?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_prem... |
SELECT "tv_season" FROM "table1_10819266_8" WHERE "season_premiere"='September 26, 2007'; |
## Task
Generate a SQL query to answer the following question:
`What are the seasons where September 26, 2007 is the season premier?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_e... |
SELECT "max_processors" FROM "table1_10818465_1" WHERE "max_memory"='256 GB'; |
## Task
Generate a SQL query to answer the following question:
`What max processor has a maximum memory of 256 gb?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10818465_1" (
"model" text,
"ru" real,
"max_processors" text,
"processor_f... |
SELECT "max_memory" FROM "table1_10818465_1" WHERE "model"='T5120'; |
## Task
Generate a SQL query to answer the following question:
`What is the max memory of the t5120 model?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_10818465_1" (
"model" text,
"ru" real,
"max_processors" text,
"processor_frequency... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.