question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Name the least year for evonne goolagong helen gourlay | CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT MIN("year") FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "opponents"='Evonne Goolagong Helen Gourlay'; | 1-2009095-2 |
Name the surface for australian open for winner | CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "championship"='Australian Open' AND "outcome"='Winner'; | 1-2009095-2 |
What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team? | CREATE TABLE "races" (
"round" real,
"circuit_location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"highest_scoring_team" text,
"winning_privateer" text
); | SELECT "highest_scoring_team" FROM "races" WHERE "circuit_location"='Ring Knutstorp' AND "winning_team"='Polestar Racing'; | 1-20079931-4 |
How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? | CREATE TABLE "races" (
"round" real,
"circuit_location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"highest_scoring_team" text,
"winning_privateer" text
); | SELECT COUNT("round") FROM "races" WHERE "circuit_location"='Karlskoga Motorstadion' AND "pole_position"='Roger Eriksson'; | 1-20079931-4 |
What was the first leg result in the round against Norchi Dinamoeli? | CREATE TABLE "table1_20086138_1" (
"season" text,
"competition" text,
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate" text
); | SELECT "first_leg" FROM "table1_20086138_1" WHERE "opposition"='Norchi Dinamoeli'; | 1-20086138-1 |
which vehicles got best time of day 1:17.17 | CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
); | SELECT "vehicle" FROM "2008_taupo_1_november" WHERE "best_time_of_day"='1:17.17'; | 1-20090682-4 |
how many drivers driving toyota corolla | CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
); | SELECT COUNT("driver") FROM "2008_taupo_1_november" WHERE "vehicle"='Toyota Corolla'; | 1-20090682-4 |
what is the lowest position of brendan sole | CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
); | SELECT MAX("pos") FROM "2008_taupo_1_november" WHERE "driver"='Brendan Sole'; | 1-20090682-4 |
how many vehicles where top 13 time is 1:18.72 | CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
); | SELECT COUNT("vehicle") FROM "2008_taupo_1_november" WHERE "top_13_time"='1:18.72'; | 1-20090682-4 |
which driver got best time of day 1:16.93 | CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
); | SELECT "driver" FROM "2008_taupo_1_november" WHERE "best_time_of_day"='1:16.93'; | 1-20090682-4 |
What is the amount of assists when mins is 744:27? | CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
"points" text
); | SELECT "assists" FROM "career_statistics" WHERE "mins"='744:27'; | 1-20107762-1 |
What is the game number with 385:33 mins? | CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
"points" text
); | SELECT MIN("games") FROM "career_statistics" WHERE "mins"='385:33'; | 1-20107762-1 |
What is the points number when rebounds is 4.4? | CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
"points" text
); | SELECT "points" FROM "career_statistics" WHERE "rebounds"='4.4'; | 1-20107762-1 |
Who is the team with the ft% of 77.6? | CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
"points" text
); | SELECT "team" FROM "career_statistics" WHERE "f_tpct"='77.6'; | 1-20107762-1 |
When did Austin Austin TX get the third place? | CREATE TABLE "nac_champions_and_runners_up" (
"year" text,
"winner" text,
"first_runner_up" text,
"third_place" text,
"consolation_winner_4th" text,
"finals_location" text
); | SELECT "year" FROM "nac_champions_and_runners_up" WHERE "third_place"='Austin Austin TX'; | 1-2011349-2 |
Who was the first runner up in the year when Mesa Mesa AZ was the consolation winner? | CREATE TABLE "nac_champions_and_runners_up" (
"year" text,
"winner" text,
"first_runner_up" text,
"third_place" text,
"consolation_winner_4th" text,
"finals_location" text
); | SELECT "first_runner_up" FROM "nac_champions_and_runners_up" WHERE "consolation_winner_4th"='Mesa Mesa AZ'; | 1-2011349-2 |
Who has a religion of United Methodist and a prior background of a Congressional Aide? | CREATE TABLE "house_of_representatives" (
"district" text,
"representative" text,
"party_change" text,
"prior_background" text,
"religion" text,
"birth_year" real
); | SELECT "representative" FROM "house_of_representatives" WHERE "religion"='United Methodist' AND "prior_background"='Congressional aide'; | 1-20098199-2 |
What horse had a starting price of 14/1 and weighted 10-7? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT "name" FROM "runners_and_betting" WHERE "starting_price"='14/1' AND "weight_st_lb"='10-7'; | 1-20095300-1 |
What's the number of the horse weighting 10-5? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT MIN("number") FROM "runners_and_betting" WHERE "weight_st_lb"='10-5'; | 1-20095300-1 |
What horse has the number 25? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT "name" FROM "runners_and_betting" WHERE "number"=25; | 1-20095300-1 |
How much does Point Barrow weight? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT "weight_st_lb" FROM "runners_and_betting" WHERE "name"='Point Barrow'; | 1-20095300-1 |
What are Andrew McNamara's colors? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT "colours" FROM "runners_and_betting" WHERE "jockey"='Andrew McNamara'; | 1-20095300-1 |
What's the number of the horse whose trainer is Kim Bailey? | CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
); | SELECT MAX("number") FROM "runners_and_betting" WHERE "trainer"='Kim Bailey'; | 1-20095300-1 |
Who wrote episode number 48 | CREATE TABLE "table1_20098479_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "table1_20098479_1" WHERE "no_in_series"=48; | 1-20098479-1 |
What is the lowest production code | CREATE TABLE "table1_20098479_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" real
); | SELECT MIN("production_code") FROM "table1_20098479_1"; | 1-20098479-1 |
What was the original title of 3.19? | CREATE TABLE "table1_20124413_3" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
); | SELECT "original_title" FROM "table1_20124413_3" WHERE "production_code"='3.19'; | 1-20124413-3 |
What was the production code for "down to earth"? | CREATE TABLE "table1_20124413_3" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
); | SELECT "production_code" FROM "table1_20124413_3" WHERE "original_title"='\"Down to Earth\"'; | 1-20124413-3 |
How many numbers have the product code of 2.6? | CREATE TABLE "table1_20124413_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text
); | SELECT "num" FROM "table1_20124413_2" WHERE "prod_code"='2.6'; | 1-20124413-2 |
How many directed have the product code of 2.8? | CREATE TABLE "table1_20124413_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text
); | SELECT COUNT("directed_by") FROM "table1_20124413_2" WHERE "prod_code"='2.8'; | 1-20124413-2 |
When "helpful tracy" is the original title how many numbers are there? | CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
); | SELECT COUNT("num") FROM "table1_20124413_1" WHERE "original_title"='\"Helpful Tracy\"'; | 1-20124413-1 |
When 1.12 is the production code what is the original title? | CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
); | SELECT "original_title" FROM "table1_20124413_1" WHERE "prod_code"='1.12'; | 1-20124413-1 |
When "the postcard" is the original title what is the production code? | CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
); | SELECT "prod_code" FROM "table1_20124413_1" WHERE "original_title"='\"The Postcard\"'; | 1-20124413-1 |
When 1.17 is the production code how many air dates are there? | CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
); | SELECT COUNT("original_airdate") FROM "table1_20124413_1" WHERE "prod_code"='1.17'; | 1-20124413-1 |
state the winnings of yates racing front row motorsports where poles were 0 | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "winnings" FROM "nascar_sprint_cup_series" WHERE "poles"=0 AND "team_s"='Yates Racing Front Row Motorsports'; | 1-2012187-1 |
which team(s) won $2,605,05 | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "team_s" FROM "nascar_sprint_cup_series" WHERE "winnings"='$2,605,05'; | 1-2012187-1 |
state the wins of the team with 2 top 10 | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "top_10"=2; | 1-2012187-1 |
what is kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம் | CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
); | SELECT "kannada_name" FROM "nak_atra" WHERE "tamil_name"='Anusham அனுஷம்'; | 1-201400-2 |
what is the malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம் | CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
); | SELECT "malayalam_name" FROM "nak_atra" WHERE "tamil_name"='Punarpoosam புனர்பூசம்'; | 1-201400-2 |
what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ | CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
); | SELECT "telugu_name" FROM "nak_atra" WHERE "kannada_name"='Utthara ಉತ್ತರ'; | 1-201400-2 |
what is the sanskrit of western star name arcturus | CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
); | SELECT "sanskrit" FROM "nak_atra" WHERE "western_star_name"='Arcturus'; | 1-201400-2 |
what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा | CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
); | SELECT "malayalam_name" FROM "nak_atra" WHERE "sanskrit"='Uttarāṣāḍha उत्तराषाढा'; | 1-201400-2 |
Name the traditional for area 544 | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "traditional" FROM "administration" WHERE "area"=544; | 1-2013618-1 |
Name the foochow for pingnan county | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "foochow" FROM "administration" WHERE "english_name"='Pingnan County'; | 1-2013618-1 |
Name the pinyin for ciá-ìng-gâing | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "pinyin" FROM "administration" WHERE "foochow"='Ciá-ìng-gâing'; | 1-2013618-1 |
Name the traditional for 屏南县 | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "traditional" FROM "administration" WHERE "simplified"='屏南县'; | 1-2013618-1 |
Name the density for 古田縣 | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "density" FROM "administration" WHERE "traditional"='古田縣'; | 1-2013618-1 |
Name the english name for 福鼎市 | CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
); | SELECT "english_name" FROM "administration" WHERE "traditional"='福鼎市'; | 1-2013618-1 |
What CFL team did Darcy Brown play for? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_one" WHERE "player"='Darcy Brown'; | 1-20170644-1 |
What CFL team did simeon rottier play for? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_one" WHERE "player"='Simeon Rottier'; | 1-20170644-1 |
What college did étienne légaré play for? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_one" WHERE "player"='Étienne Légaré'; | 1-20170644-1 |
What team was in position OL? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_one" WHERE "position"='OL'; | 1-20170644-1 |
Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_one" WHERE "cfl_team"='Hamilton Tiger-Cats (via BC via Saskatchewan )'; | 1-20170644-1 |
What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "round_one" WHERE "cfl_team"='BC Lions (via Hamilton via Winnipeg )'; | 1-20170644-1 |
How many different release dates are there for the audio book with a story number 7? | CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT COUNT("release_date") FROM "novelisations" WHERE "story_num"=7; | 1-20174050-1 |
What's the title of the audio book with story number 91? | CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "title" FROM "novelisations" WHERE "story_num"=91; | 1-20174050-1 |
When was the audio book with target number 069 69 released? | CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "release_date" FROM "novelisations" WHERE "target_num"='069 69'; | 1-20174050-1 |
What's the format of the audio book titled The Mind Robber? | CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "format" FROM "novelisations" WHERE "title"='The Mind Robber'; | 1-20174050-1 |
who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 | CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "reader" FROM "the_sarah_jane_adventures" WHERE "author"='Cole, Stephen Stephen Cole' AND "release_date"='2008-11-13 13 November 2008'; | 1-20174050-24 |
how many companies released an audiobook titled deadly download | CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT COUNT("company") FROM "the_sarah_jane_adventures" WHERE "title"='Deadly Download'; | 1-20174050-24 |
which companies released on 2010-11-04 4 november 2010 | CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "company" FROM "the_sarah_jane_adventures" WHERE "release_date"='2010-11-04 4 November 2010'; | 1-20174050-24 |
which company released audiobooks authored by day, martin martin day | CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "company" FROM "the_sarah_jane_adventures" WHERE "author"='Day, Martin Martin Day'; | 1-20174050-24 |
how many formats of books authored by day, martin martin day | CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT COUNT("format") FROM "the_sarah_jane_adventures" WHERE "author"='Day, Martin Martin Day'; | 1-20174050-24 |
How many players were drafted from laval? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("cfl_team") FROM "round_five" WHERE "college"='Laval'; | 1-20170644-5 |
What player went to montreal college? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_five" WHERE "college"='Montreal'; | 1-20170644-5 |
What player(s) drafted by the hamilton tiger-cats? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_five" WHERE "cfl_team"='Hamilton Tiger-Cats'; | 1-20170644-5 |
What position(s) drafted by the montreal alouettes? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_five" WHERE "cfl_team"='Montreal Alouettes'; | 1-20170644-5 |
which company uses pinborough, sarah sarah pinborough? | CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "company" FROM "torchwood" WHERE "author"='Pinborough, Sarah Sarah Pinborough'; | 1-20174050-23 |
who the reader of title department x? | CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "reader" FROM "torchwood" WHERE "title"='Department X'; | 1-20174050-23 |
how many notes were read by reader varma, idria indira varma? | CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT COUNT("notes") FROM "torchwood" WHERE "reader"='Varma, Idria Indira Varma'; | 1-20174050-23 |
who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? | CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "reader" FROM "torchwood" WHERE "format"='Download/CD' AND "author"='Lidster, Joseph Joseph Lidster'; | 1-20174050-23 |
Name the landesliga mitte for fc gundelfingen and vfl frohnlach | CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
); | SELECT "landesliga_mitte" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_s_d"='FC Gundelfingen' AND "landesliga_nord"='VfL Frohnlach'; | 1-20181270-3 |
Name the landesliga nord for freier tus regensburg | CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
); | SELECT "landesliga_nord" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_mitte"='Freier TuS Regensburg'; | 1-20181270-3 |
Name the landesliga nord for asv neumarkt | CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
); | SELECT "landesliga_nord" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_mitte"='ASV Neumarkt'; | 1-20181270-3 |
Name the landesliga mitte sv türk gücü münchen | CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
); | SELECT "landesliga_mitte" FROM "three_divisions_from_1963_to_2012" WHERE "bayernliga"='SV Türk Gücü München'; | 1-20181270-3 |
Name the landesliga sud for sg quelle fürth | CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
); | SELECT "landesliga_s_d" FROM "three_divisions_from_1963_to_2012" WHERE "bayernliga"='SG Quelle Fürth'; | 1-20181270-3 |
What's the oil rig of the song that ended on 7th place? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
); | SELECT "oil_rig" FROM "national_final" WHERE "place"='7th'; | 1-20183474-1 |
What's the oil rig of the song with a draw number 9? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
); | SELECT MIN("oil_rig") FROM "national_final" WHERE "draw"=9; | 1-20183474-1 |
How many points did the song "Stille før stormen" get? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
); | SELECT MIN("total_points") FROM "national_final" WHERE "song"='\"Stille før stormen\"'; | 1-20183474-1 |
How many press jury points did the song by Frank Aleksandersen get? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
); | SELECT MIN("press_jury") FROM "national_final" WHERE "artist"='Frank Aleksandersen'; | 1-20183474-1 |
How many points did the song with a draw number 3 get? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
); | SELECT "total_points" FROM "national_final" WHERE "draw"=3; | 1-20183474-1 |
If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes? | CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "notes" FROM "eleventh_doctor_novels" WHERE "reader"='Briggs, Nicholas Nicholas Briggs' AND "title"='Paradox Lost'; | 1-20174050-7 |
If the title is The Way Through The Woods, what is the release date? | CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "release_date" FROM "eleventh_doctor_novels" WHERE "title"='The Way Through the Woods'; | 1-20174050-7 |
If the reader is Syal, Meera Meera Syal, what was the release date? | CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
); | SELECT "release_date" FROM "eleventh_doctor_novels" WHERE "reader"='Syal, Meera Meera Syal'; | 1-20174050-7 |
What is the most divisional titles won by a school with an enrollment of 30049? | CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_titles" real,
"national_titles" real
); | SELECT MAX("divisional_titles") FROM "current" WHERE "enrollment"=30049; | 1-20190834-1 |
What is the maximum enrollment of the Sooners? | CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_titles" real,
"national_titles" real
); | SELECT MAX("enrollment") FROM "current" WHERE "team_name"='Sooners'; | 1-20190834-1 |
What is the minimum enrollment of the cyclones? | CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_titles" real,
"national_titles" real
); | SELECT MIN("enrollment") FROM "current" WHERE "team_name"='Cyclones'; | 1-20190834-1 |
What is the result of the book title firelands? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT "result" FROM "award_list" WHERE "book_title"='Firelands'; | 1-20193855-2 |
Which year is the book title the ordinary? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT "year" FROM "award_list" WHERE "book_title"='The Ordinary'; | 1-20193855-2 |
Who is the publisher of the book titled daughters of an emerald dusk? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT "publisher" FROM "award_list" WHERE "book_title"='Daughters of an Emerald Dusk'; | 1-20193855-2 |
In which year were the authors or editors Delia Sherman? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT MAX("year") FROM "award_list" WHERE "author_s_or_editor_s"='Delia Sherman'; | 1-20193855-2 |
How many authors or editors are there for the book title elf child? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT COUNT("author_s_or_editor_s") FROM "award_list" WHERE "book_title"='Elf Child'; | 1-20193855-2 |
What is the title of the book when the publisher is black car publishing? | CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
); | SELECT "book_title" FROM "award_list" WHERE "publisher"='Black Car Publishing'; | 1-20193855-2 |
What are the prizes when 1 is the number of winning tickets? | CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
); | SELECT "prize_eur" FROM "equinox_lottery" WHERE "number_of_winning_tickets"=1; | 1-20195922-3 |
What are the number of winning tickets that have 180.00 as the prize (eur)? | CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
); | SELECT "number_of_winning_tickets" FROM "equinox_lottery" WHERE "prize_eur"='180.00'; | 1-20195922-3 |
How many odd of winning have 6th as the division? | CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
); | SELECT "odds_of_winning_1in" FROM "equinox_lottery" WHERE "divisions"='6th'; | 1-20195922-3 |
What is the prize (eur) for the 6th division? | CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
); | SELECT "prize_eur" FROM "equinox_lottery" WHERE "divisions"='6th'; | 1-20195922-3 |
Which divisions have 565 as the number of winning tickets? | CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
); | SELECT "divisions" FROM "equinox_lottery" WHERE "number_of_winning_tickets"=565; | 1-20195922-3 |
Name the green for otaki | CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"other" text
); | SELECT "green" FROM "references" WHERE "electorate"='Otaki'; | 1-20217811-1 |
Name the national for rimutaka | CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"other" text
); | SELECT "national" FROM "references" WHERE "electorate"='Rimutaka'; | 1-20217811-1 |
Name the electoraate for united future being 4.47% | CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"other" text
); | SELECT "electorate" FROM "references" WHERE "united_future"='4.47%'; | 1-20217811-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.