output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "home_or_away" FROM "scores" WHERE "record"='Biggest win';
## Task Generate a SQL query to answer the following question: `Is the biggest win recorded as home or away?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "scores" ( "record" text, "date_and_time" text, "competition" text, "home_or_away" text,...
SELECT "competition" FROM "scores" WHERE "date_and_time"='17.04.1920 at 15:00';
## Task Generate a SQL query to answer the following question: `What competitions record a date and time of 17.04.1920 at 15:00?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "scores" ( "record" text, "date_and_time" text, "competition" text, ...
SELECT "record" FROM "scores" WHERE "opponent"='Aylesbury United';
## Task Generate a SQL query to answer the following question: `What records are hit where the opponent is Aylesbury United?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "scores" ( "record" text, "date_and_time" text, "competition" text, "hom...
SELECT "opponent" FROM "scores" WHERE "record"='Biggest defeat';
## Task Generate a SQL query to answer the following question: `Who was the opponent during the biggest defeat?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "scores" ( "record" text, "date_and_time" text, "competition" text, "home_or_away" te...
SELECT COUNT("result") FROM "table1_12369913_1" WHERE "original_title"='Ani Ohev Otach Roza (אני אוהב אותך רוזה)';
## Task Generate a SQL query to answer the following question: `How many results are there with the original title of ani ohev otach roza (אני אוהב אותך רוזה)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12369913_1" ( "year_ceremony" text,...
SELECT "power_k_w" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "ch_num"='TV-26' AND "callsign"='DYFJ-TV';
## Task Generate a SQL query to answer the following question: `What is the power when ch# is tv-26 and dyfj-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" ( "branding" text, "callsign" text, "ch_num" tex...
SELECT "coverage_transmitter_site" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "station_type"='Relay' AND "ch_num"='TV-37';
## Task Generate a SQL query to answer the following question: `What is the coverage for relay tv-37?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" ( "branding" text, "callsign" text, "ch_num" text, "power...
SELECT "ch_num" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "callsign"='DWLJ-TV';
## Task Generate a SQL query to answer the following question: `What is the ch# of dwlj-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text...
SELECT "coverage_transmitter_site" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "station_type"='Relay' AND "power_k_w"='5kW' AND "callsign"='DYFJ-TV';
## Task Generate a SQL query to answer the following question: `What is the coverage of relay 5kw of dyfj-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" ( "branding" text, "callsign" text, "ch_num" text, ...
SELECT "running" FROM "women" WHERE "athlete"='Marlene Sanchez';
## Task Generate a SQL query to answer the following question: `What is the running of marlene sanchez?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "women" ( "num" real, "athlete" text, "shooting" text, "fencing" text, "swimming" text, "...
SELECT COUNT("running") FROM "women" WHERE "athlete"='Pamela Zapata';
## Task Generate a SQL query to answer the following question: `What is the numberof running wiht pamela zapata?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "women" ( "num" real, "athlete" text, "shooting" text, "fencing" text, "swimming" ...
SELECT "shooting" FROM "men" WHERE "athlete_noc"='Luis Siri';
## Task Generate a SQL query to answer the following question: `What's Luis Siri's shooting score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "fencing" text, "swimming" text, "rid...
SELECT "riding" FROM "men" WHERE "athlete_noc"='Eduardo Salas';
## Task Generate a SQL query to answer the following question: `What's Eduardo Salas' riding score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "fencing" text, "swimming" text, "ri...
SELECT MAX("num") FROM "men" WHERE "riding"='68.46 (1144 pts)';
## Task Generate a SQL query to answer the following question: `What's the number of the player with 68.46 (1144 pts) in riding?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "fencing" t...
SELECT "athlete_noc" FROM "men" WHERE "swimming"='2:05.63 (1296 pts)';
## Task Generate a SQL query to answer the following question: `Who's the player with 2:05.63 (1296 pts) swimming score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "fencing" text, "...
SELECT "fencing" FROM "men" WHERE "running"='9:40.31 (1080 pts)';
## Task Generate a SQL query to answer the following question: `What's the fencing score of the player with 9:40.31 (1080 pts) in running?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "...
SELECT "fencing" FROM "men" WHERE "athlete_noc"='Eli Bremer';
## Task Generate a SQL query to answer the following question: `What's Eli Bremer's fencing score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "num" real, "athlete_noc" text, "shooting" text, "fencing" text, "swimming" text, "rid...
SELECT COUNT("title") FROM "table1_12419515_4" WHERE "written_by"='Casey Johnson';
## Task Generate a SQL query to answer the following question: `What is the total number of titles written by Casey Johnson?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12419515_4" ( "series_num" real, "season_num" real, "title" text, ...
SELECT "written_by" FROM "table1_12419515_4" WHERE "total_viewers_in_millions"='1.211';
## Task Generate a SQL query to answer the following question: `Who wrote the title that received 1.211 million total viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12419515_4" ( "series_num" real, "season_num" real, "title" text...
SELECT "directed_by" FROM "table1_12419515_4" WHERE "written_by"='Adam Milch';
## Task Generate a SQL query to answer the following question: `Who directed the title that was written by Adam Milch?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12419515_4" ( "series_num" real, "season_num" real, "title" text, "dir...
SELECT COUNT("total_viewers_in_millions") FROM "table1_12419515_4" WHERE "series_num"=57;
## Task Generate a SQL query to answer the following question: `How many millions of total viewers watched series #57?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12419515_4" ( "series_num" real, "season_num" real, "title" text, "dir...
SELECT "total_viewers_in_millions" FROM "table1_12419515_4" WHERE "season_num"=8;
## Task Generate a SQL query to answer the following question: `How many millions of total viewers watched season #8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12419515_4" ( "series_num" real, "season_num" real, "title" text, "dire...
SELECT "english_spelling" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_transliteration"='''Adoniyah';
## Task Generate a SQL query to answer the following question: `What is the English spelling of the strongs transliteration: 'adoniyah?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_of_theophoric_names_with_yah_and_y" ( "strongs_num" text, ...
SELECT "hebrew_word" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_num"='5418';
## Task Generate a SQL query to answer the following question: `What is the hebrew word listed for strongs # 5418?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_of_theophoric_names_with_yah_and_y" ( "strongs_num" text, "hebrew_word" text, ...
SELECT "hebrew_word" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_words_compounded"='''adown [# 113] & Yahu';
## Task Generate a SQL query to answer the following question: `List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_of_theophoric_names_with_yah_and_y" ( "strongs_num" t...
SELECT "strongs_num" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "hebrew_word"='יִרְמְיָה';
## Task Generate a SQL query to answer the following question: `What is the strongs # for the hebrew word יִרְמְיָה?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_of_theophoric_names_with_yah_and_y" ( "strongs_num" text, "hebrew_word" text,...
SELECT "strongs_num" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "english_spelling"='Jirmejah';
## Task Generate a SQL query to answer the following question: `What is the strongs # for the english spelling of the word jirmejah?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table_of_theophoric_names_with_yah_and_y" ( "strongs_num" text, "h...
SELECT MAX("year") FROM "year_by_year" WHERE "regular_season"='6th, Heartland';
## Task Generate a SQL query to answer the following question: `What is the latest year that 6th, Heartland is regular season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular...
SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Division Finals';
## Task Generate a SQL query to answer the following question: `Which regular season contains playoffs in division finals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_sea...
SELECT MIN("year") FROM "year_by_year" WHERE "regular_season"='4th, Rocky Mountain';
## Task Generate a SQL query to answer the following question: `What is the lowest year that regular season is 4th, Rocky Mountain?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "re...
SELECT COUNT("lost_to_eventual_winner") FROM "table1_12444503_1" WHERE "lost_to_eventual_runner_up"='ASC Jeanne d''Arc';
## Task Generate a SQL query to answer the following question: `How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12444503_1" ( "season" tex...
SELECT COUNT("season") FROM "table1_12444503_1" WHERE "lost_to_eventual_runner_up"='USC Bassam';
## Task Generate a SQL query to answer the following question: `What's the number of seasons i which USC Bassam lost to eventual runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12444503_1" ( "season" text, "winner" text, "score"...
SELECT "season" FROM "table1_12444503_1" WHERE "runner_up"='Jeanne d''Arc (Bamako)';
## Task Generate a SQL query to answer the following question: `In which season was Jeanne d'Arc (Bamako) the runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12444503_1" ( "season" text, "winner" text, "score" text, "runner_up...
SELECT "regular_season" FROM "year_by_year" WHERE "year"='2007';
## Task Generate a SQL query to answer the following question: `What was the regular season listing in 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "...
SELECT "playoffs" FROM "year_by_year" WHERE "year"='2002';
## Task Generate a SQL query to answer the following question: `What was the playoff result in 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playoffs...
SELECT "open_cup" FROM "year_by_year" WHERE "year"='2004';
## Task Generate a SQL query to answer the following question: `What was the open cup results in 2004?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playof...
SELECT COUNT("division") FROM "year_by_year" WHERE "year"='2006';
## Task Generate a SQL query to answer the following question: `How many divisions were listed in 2006?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playo...
SELECT "recurring_cast_seasons" FROM "cast_members" WHERE "character"='Kevin Lucas';
## Task Generate a SQL query to answer the following question: `Kevin lucas appears in which seasons?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "recurring_ca...
SELECT COUNT("portrayed_by") FROM "cast_members" WHERE "character"='Nick Lucas';
## Task Generate a SQL query to answer the following question: `How many people named Nick Lucas are on the show?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "...
SELECT "main_cast_seasons" FROM "cast_members" WHERE "character"='Stella Malone';
## Task Generate a SQL query to answer the following question: `What seasons does stella malone appear?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "recurring_...
SELECT "main_cast_seasons" FROM "cast_members" WHERE "character"='Nick Lucas';
## Task Generate a SQL query to answer the following question: `What seasons does Nick lucas appear?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "recurring_cas...
SELECT "main_cast_seasons" FROM "cast_members" WHERE "portrayed_by"='Kevin Jonas';
## Task Generate a SQL query to answer the following question: `What seasons does Kevin Jonas appear?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "recurring_ca...
SELECT "recurring_cast_seasons" FROM "cast_members" WHERE "character"='Nick Lucas';
## Task Generate a SQL query to answer the following question: `What seasons does Nick Lucas appear in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_members" ( "character" text, "portrayed_by" text, "main_cast_seasons" text, "recurring_...
SELECT COUNT("network") FROM "all_in_the_family_till_death_us_do_part" WHERE "dates_aired"='1981';
## Task Generate a SQL query to answer the following question: `How many networks aired the franchise in 1981 only?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_in_the_family_till_death_us_do_part" ( "region_country" text, "local_name" text,...
SELECT COUNT("network") FROM "all_in_the_family_till_death_us_do_part" WHERE "local_name"='In Sickness and in Health';
## Task Generate a SQL query to answer the following question: `In how many networks the local name of the franchise was "in sickness and in health"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_in_the_family_till_death_us_do_part" ( "region_c...
SELECT "title" FROM "table1_12451376_3" WHERE "season_3_ep_num"=12;
## Task Generate a SQL query to answer the following question: `What is the title of season 3 ep# 12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12451376_3" ( "series_ep_num" real, "season_3_ep_num" real, "title" text, "director" te...
SELECT "length" FROM "isc_tracks" WHERE "track_name"='Michigan International Speedway';
## Task Generate a SQL query to answer the following question: `What is the length of the track named michigan international speedway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "isc_tracks" ( "track_name" text, "location" text, "length" text...
SELECT "location" FROM "isc_tracks" WHERE "year_opened"=1995;
## Task Generate a SQL query to answer the following question: `Where is the track that opened in 1995?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "isc_tracks" ( "track_name" text, "location" text, "length" text, "seating" real, "year_ope...
SELECT "location" FROM "isc_tracks" WHERE "track_name"='Daytona International Speedway';
## Task Generate a SQL query to answer the following question: `What is the location of the daytona international speedway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "isc_tracks" ( "track_name" text, "location" text, "length" text, "seatin...
SELECT "location" FROM "isc_tracks" WHERE "year_opened"=1950;
## Task Generate a SQL query to answer the following question: `What is the location of the track that opened in 1950?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "isc_tracks" ( "track_name" text, "location" text, "length" text, "seating" re...
SELECT "power" FROM "table1_1245350_1" WHERE "quattroporte_iv"='3.2i V8 32v';
## Task Generate a SQL query to answer the following question: `What is the power of the 3.2i v8 32v?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1245350_1" ( "quattroporte_iv" text, "units_produced" real, "production_period" text, "...
SELECT "quattroporte_iv" FROM "table1_1245350_1" WHERE "units_produced"=340;
## Task Generate a SQL query to answer the following question: `What type of quattroporte iv only produced 340 units?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1245350_1" ( "quattroporte_iv" text, "units_produced" real, "production_p...
SELECT "production_period" FROM "table1_1245350_1" WHERE "units_produced"=668;
## Task Generate a SQL query to answer the following question: `When were 668 units produced?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1245350_1" ( "quattroporte_iv" text, "units_produced" real, "production_period" text, "engine_c...
SELECT "overall_record" FROM "table1_1246208_5" WHERE "club"='Dallas Burn';
## Task Generate a SQL query to answer the following question: `what is the overall record when the club is dallas burn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1246208_5" ( "club" text, "overall_record" text, "goals_for" real, "...
SELECT "goals_for" FROM "table1_1246208_5" WHERE "club"='New England Revolution';
## Task Generate a SQL query to answer the following question: `what is the goals for when the club is new england revolution?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1246208_5" ( "club" text, "overall_record" text, "goals_for" re...
SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='John Tabatabai';
## Task Generate a SQL query to answer the following question: `What was the total prize money where John Tabatabai was the runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_event_winners" ( "year" real, "winner" text, "winning_hand...
SELECT "winner" FROM "main_event_winners" WHERE "losing_hand"='Ah 7s';
## Task Generate a SQL query to answer the following question: `Who is the winner where the losing hand is Ah 7s?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_event_winners" ( "year" real, "winner" text, "winning_hand" text, "prize_mone...
SELECT "losing_hand" FROM "main_event_winners" WHERE "winning_hand"='7h 7s';
## Task Generate a SQL query to answer the following question: `What was the losing hand where the winning hand was 7h 7s?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_event_winners" ( "year" real, "winner" text, "winning_hand" text, "p...
SELECT COUNT("losing_hand") FROM "main_event_winners" WHERE "year"=2007;
## Task Generate a SQL query to answer the following question: `How many losing hands are there before 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_event_winners" ( "year" real, "winner" text, "winning_hand" text, "prize_money" te...
SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='Fabrizio Baldassari';
## Task Generate a SQL query to answer the following question: `When Fabrizio Baldassari is the runner-up what is the total prize money?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_event_winners" ( "year" real, "winner" text, "winning_ha...
SELECT MAX("population_august_15_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_density_2012_km_2"=307;
## Task Generate a SQL query to answer the following question: `What is the August 15, 2012 population when the population density of 2012 is 307?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_in_n...
SELECT "sector" FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_change_2002_2012_pct"='79.6';
## Task Generate a SQL query to answer the following question: `What is the sector when the population change 2002-2012 (%) is 79.6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_in_nyagatare_sector...
SELECT COUNT("population_august_15_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "sector"='Gatunda';
## Task Generate a SQL query to answer the following question: `For the sector of Gatunda how many entires are show for the August 15, 2012 population?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_...
SELECT MAX("rank_in_nyagatare_sectors_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_change_2002_2012_pct"='35.5';
## Task Generate a SQL query to answer the following question: `When the population change 2002-2012 (%) is 35.5 what is the rank in nyagatare sectors?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_...
SELECT MIN("population_density_2012_km_2") FROM "list_of_nyagatare_sectors_by_population_" WHERE "sector"='Gatunda';
## Task Generate a SQL query to answer the following question: `What is the population density for 2012 for Gatunda sector?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_in_nyagatare_sectors_2012" r...
SELECT MAX("population_august_15_2002") FROM "list_of_nyagatare_sectors_by_population_";
## Task Generate a SQL query to answer the following question: `What is the highest population for the ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_nyagatare_sectors_by_population_" ( "rank_in_nyagatare_sectors_2012" real, "sector" text...
SELECT MAX("biggenden") FROM "population" WHERE "year"=1947;
## Task Generate a SQL query to answer the following question: `What is the biggended for 1947?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "biggenden" real, "eidsvold" real, "gayndah" real,...
SELECT COUNT("monto") FROM "population" WHERE "total_region"=11230;
## Task Generate a SQL query to answer the following question: `What is the monto where the total region is 11230?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "biggenden" real, "eidsvold" real...
SELECT MAX("gayndah") FROM "population" WHERE "perry"=304;
## Task Generate a SQL query to answer the following question: `What is the gayndah when perry is 304?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "biggenden" real, "eidsvold" real, "gayndah...
SELECT MIN("mundubbera") FROM "population" WHERE "biggenden"=1882;
## Task Generate a SQL query to answer the following question: `What is the minimum mundubbera when biggenden is 1882` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "biggenden" real, "eidsvold" r...
SELECT "goals_against_avg" FROM "table1_1253396_5" WHERE "overall_record"='9-10-9';
## Task Generate a SQL query to answer the following question: `The Kansas City Wizards had a 9-10-9 record and what goals against avg? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1253396_5" ( "club" text, "overall_record" text, "goal...
SELECT "goals_for" FROM "table1_1253396_5" WHERE "overall_record"='12-9-7';
## Task Generate a SQL query to answer the following question: `The Dallas Burn had a 12-9-7 record and what number of goals for? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1253396_5" ( "club" text, "overall_record" text, "goals_for"...
SELECT "goals_against_avg" FROM "table1_1253396_5" WHERE "overall_record"='9-14-5';
## Task Generate a SQL query to answer the following question: `D.C. United had a 9-14-5 record and what goals against avg.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1253396_5" ( "club" text, "overall_record" text, "goals_for" real,...
SELECT MAX("goals_against") FROM "goalkeeping_leaders";
## Task Generate a SQL query to answer the following question: `What is the highest value under the column goals against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "goalkeeping_leaders" ( "no" real, "player" text, "club" text, "games_playe...
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='1919';
## Task Generate a SQL query to answer the following question: `what is the date (from) where date (to) is 1919?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_system" text, "location" text, "...
SELECT COUNT("notes") FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='1919';
## Task Generate a SQL query to answer the following question: `how many times is the date (to) 1919?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_system" text, "location" text, "traction_ty...
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "notes"='Apeldoornsche Tramweg-Maatschappij';
## Task Generate a SQL query to answer the following question: `what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_syste...
SELECT COUNT("notes") FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_from"='14 March 1910';
## Task Generate a SQL query to answer the following question: `how many notes are form the date (from) 14 march 1910?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_system" text, "location" tex...
SELECT "location" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='8 October 1922';
## Task Generate a SQL query to answer the following question: `what is the location for the date (to) 8 october 1922?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_system" text, "location" tex...
SELECT "notes" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_from"='12 August 1897';
## Task Generate a SQL query to answer the following question: `what are the notes for date (from) 12 august 1897?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_town_tramway_systems_in_the_neth" ( "name_of_system" text, "location" text, ...
SELECT "livingstone" FROM "population" WHERE "fitzroy"=9499;
## Task Generate a SQL query to answer the following question: `what's the livingstone with fitzroy being 9499` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "rockhampton" real, "livingstone" rea...
SELECT MAX("total_region") FROM "population" WHERE "fitzroy"=8047;
## Task Generate a SQL query to answer the following question: `what is the maximum total region with fitzroy being 8047` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "rockhampton" real, "living...
SELECT MIN("rockhampton") FROM "population";
## Task Generate a SQL query to answer the following question: `what is the minimum rockhampton` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "total_region" real, "rockhampton" real, "livingstone" real, "fitzroy" ...
SELECT COUNT("population_glengallan") FROM "population" WHERE "population_region_total"=30554;
## Task Generate a SQL query to answer the following question: `How many population figures are given for Glengallen for the year when the region's total is 30554?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "populati...
SELECT MAX("population_stanthorpe") FROM "population";
## Task Generate a SQL query to answer the following question: `What is the maximum population size in the town of Stanthorpe?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_...
SELECT MAX("population_glengallan") FROM "population";
## Task Generate a SQL query to answer the following question: `What is the maximum population size in the town of Glengallen?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_...
SELECT MAX("population_stanthorpe") FROM "population" WHERE "population_rosenthal"=1548;
## Task Generate a SQL query to answer the following question: `What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "population_regi...
SELECT COUNT("population_region_total") FROM "population" WHERE "population_allora"=2132;
## Task Generate a SQL query to answer the following question: `How many population total figures are there for the year when Allora's population was 2132?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population" ( "year" real, "population_regio...
SELECT "launched" FROM "ships" WHERE "commissioned_or_completed"='6 June 1864';
## Task Generate a SQL query to answer the following question: `When was the ship launched when the commissioned or completed(*) is 6 june 1864?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text...
SELECT "launched" FROM "ships" WHERE "ship"='Tecumseh';
## Task Generate a SQL query to answer the following question: `When was the ship tecumseh launched?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text, "renamed" text, "laid_down" real, "l...
SELECT "namesake" FROM "ships" WHERE "commissioned_or_completed"='16 April 1864';
## Task Generate a SQL query to answer the following question: `What is the namesake of the ship that was commissioned or completed(*) 16 april 1864?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake"...
SELECT MIN("laid_down") FROM "ships";
## Task Generate a SQL query to answer the following question: `What is the minimum laid down?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text, "renamed" text, "laid_down" real, "launche...
SELECT "program" FROM "postgraduate" WHERE "focus"='General Management';
## Task Generate a SQL query to answer the following question: `What is the program where the focus is general management?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "postgraduate" ( "program" text, "degree" text, "focus" text, "teaching_la...
SELECT "teaching_language" FROM "postgraduate" WHERE "focus"='Auditing';
## Task Generate a SQL query to answer the following question: `what is teaching language where the focus is auditing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "postgraduate" ( "program" text, "degree" text, "focus" text, "teaching_langua...
SELECT "program" FROM "postgraduate" WHERE "duration_years"='1.5' AND "teaching_language"='German/English';
## Task Generate a SQL query to answer the following question: `WHat is the program where duration (years) is 1.5 and teaching language is german/english?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "postgraduate" ( "program" text, "degree" text...
SELECT "teaching_language" FROM "postgraduate" WHERE "duration_years"='3.5';
## Task Generate a SQL query to answer the following question: `What is the teaching language with the duration (years) 3.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "postgraduate" ( "program" text, "degree" text, "focus" text, "teaching_...
SELECT "program" FROM "postgraduate" WHERE "focus"='Risk Management and Regulation';
## Task Generate a SQL query to answer the following question: `What is the program where the focus is risk management and regulation?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "postgraduate" ( "program" text, "degree" text, "focus" text, ...
SELECT "release_date" FROM "table1_12588029_3" WHERE "year"=2003;
## Task Generate a SQL query to answer the following question: `What are the release dates for songs in 2003?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12588029_3" ( "year" real, "song_title" text, "artist" text, "master_recording"...
SELECT "single_pack" FROM "table1_12588029_3" WHERE "song_title"='\"Antisocial\"';
## Task Generate a SQL query to answer the following question: `How many singles have a song titled "Antisocial"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12588029_3" ( "year" real, "song_title" text, "artist" text, "master_record...
SELECT "artist" FROM "table1_12588029_3" WHERE "song_title"='\"Soothsayer\"';
## Task Generate a SQL query to answer the following question: `Which artist has a song titled "Soothsayer"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_12588029_3" ( "year" real, "song_title" text, "artist" text, "master_recording" ...