question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many tournaments were at sime darby lpga malaysia? | CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT COUNT("no") FROM "lpga_tour_wins_7" WHERE "tournament"='Sime Darby LPGA Malaysia'; | 1-21649285-2 |
Margin of victory on no. 4 was? | CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_wins_7" WHERE "no"=4; | 1-21649285-2 |
Who was the runner up when the won by 4 strokes? | CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "lpga_tour_wins_7" WHERE "margin_of_victory"='4 strokes'; | 1-21649285-2 |
Which film title used in nomination has the year (ceremony) 1990 (63rd)? | CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "table1_21655290_1" WHERE "year_ceremony"='1990 (63rd)'; | 1-21655290-1 |
Who is the director of kon-tiki original title? | CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "table1_21655290_1" WHERE "original_title"='Kon-Tiki'; | 1-21655290-1 |
Which film title used in nomination has vinterkyss as the original title? | CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "table1_21655290_1" WHERE "original_title"='Vinterkyss'; | 1-21655290-1 |
What is the date for the tournament McDonald's wpga championship? | CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
); | SELECT "date" FROM "ladies_european_tour_wins_6" WHERE "tournament"='McDonald''s WPGA Championship'; | 1-2167226-3 |
What is the winning score when 5 strokes is the margin of victory? | CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
); | SELECT "winning_score" FROM "ladies_european_tour_wins_6" WHERE "margin_of_victory"='5 strokes'; | 1-2167226-3 |
What is the to par with the winning score of 74-67-71-73=285? | CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
); | SELECT "to_par" FROM "ladies_european_tour_wins_6" WHERE "winning_score"='74-67-71-73=285'; | 1-2167226-3 |
What is the date of the winning score 74-67-71-73=285? | CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
); | SELECT "date" FROM "ladies_european_tour_wins_6" WHERE "winning_score"='74-67-71-73=285'; | 1-2167226-3 |
What number in series is "Diamonds"? | CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "no_in_series" FROM "table1_21666472_1" WHERE "title"='\"Diamonds\"'; | 1-21666472-1 |
Who directed "A Tale of Two Hitmen"? | CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "directed_by" FROM "table1_21666472_1" WHERE "title"='\"A Tale of Two Hitmen\"'; | 1-21666472-1 |
How many number in series's are written by Greg Haddrick? | CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT COUNT("no_in_series") FROM "table1_21666472_1" WHERE "written_by"='Greg Haddrick'; | 1-21666472-1 |
What number in series is "Judas Kiss"? | CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "no_in_series" FROM "table1_21666472_1" WHERE "title"='\"Judas Kiss\"'; | 1-21666472-1 |
What was the original airdate of "A Nice Little Earner"? | CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "original_air_date" FROM "table1_21666472_1" WHERE "title"='\"A Nice Little Earner\"'; | 1-21666472-1 |
whatis the year the first establishment had research grants in the amount of 4.027? | CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
); | SELECT MAX("first_establishment") FROM "table1_216655_1" WHERE "research_grants_2009_in_billion_sek"='4.027'; | 1-216655-1 |
what is the total number of established univeristy receiving research grants in the amount of 2.203? | CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
); | SELECT COUNT("established_as_a_university") FROM "table1_216655_1" WHERE "research_grants_2009_in_billion_sek"='2.203'; | 1-216655-1 |
what are the student population where research grants is 1.812? | CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
); | SELECT "student_population_fte_2009" FROM "table1_216655_1" WHERE "research_grants_2009_in_billion_sek"='1.812'; | 1-216655-1 |
what is the first establishement where research grants is 2.033? | CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
); | SELECT "first_establishment" FROM "table1_216655_1" WHERE "research_grants_2009_in_billion_sek"='2.033'; | 1-216655-1 |
what is the minimum student population where the research grants is 2.203? | CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
); | SELECT MIN("student_population_fte_2009") FROM "table1_216655_1" WHERE "research_grants_2009_in_billion_sek"='2.203'; | 1-216655-1 |
When were the odds of winner 16.66? | CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
); | SELECT "year" FROM "all_winners_of_olympiatravet" WHERE "odds_of_winner"='16.66'; | 1-21676617-1 |
What was the winning time in the year when the odds of the winner were 2.94? | CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
); | SELECT "winning_time_km_rate" FROM "all_winners_of_olympiatravet" WHERE "odds_of_winner"='2.94'; | 1-21676617-1 |
What were Gentleman's odds of winner? | CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
); | SELECT "odds_of_winner" FROM "all_winners_of_olympiatravet" WHERE "horse"='Gentleman'; | 1-21676617-1 |
How many countries did Utah Bulwark's owner come from? | CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
); | SELECT COUNT("country_of_owner") FROM "all_winners_of_olympiatravet" WHERE "horse"='Utah Bulwark'; | 1-21676617-1 |
How many horses are mentioned competing in 1985? | CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
); | SELECT COUNT("horse") FROM "all_winners_of_olympiatravet" WHERE "year"=1985; | 1-21676617-1 |
If the headquarters is Bharatpur, what is the maximum area? | CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
); | SELECT MAX("area_km") FROM "table1_2168295_1" WHERE "headquarters"='Bharatpur'; | 1-2168295-1 |
If the district is Chittorgarh, what is the area? | CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
); | SELECT "area_km" FROM "table1_2168295_1" WHERE "district"='Chittorgarh'; | 1-2168295-1 |
If the 2011 population is 3685681, what is the name of the headquarters? | CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
); | SELECT "headquarters" FROM "table1_2168295_1" WHERE "population_2011"=3685681; | 1-2168295-1 |
What is the minimum area id the 2011 population is 3067549? | CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
); | SELECT MIN("area_km") FROM "table1_2168295_1" WHERE "population_2011"=3067549; | 1-2168295-1 |
What is the 2011 population if the headquarters is Chittorgarh? | CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
); | SELECT "population_2011" FROM "table1_2168295_1" WHERE "headquarters"='Chittorgarh'; | 1-2168295-1 |
How many different municipal mayors were there in the municipality with an area of 42.66 km2? | CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
); | SELECT COUNT("municipal_mayor") FROM "municipalities" WHERE "area_km"='42.66'; | 1-216776-2 |
What municipality had 26839 people living in it in 2010? | CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
); | SELECT "municipality" FROM "municipalities" WHERE "population_2010"=26839; | 1-216776-2 |
In what municipality were there 757.5 people per km2? | CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
); | SELECT "municipality" FROM "municipalities" WHERE "pop_density_per_km"='757.5'; | 1-216776-2 |
How many different counts of the population in Cavinti in 2010 are there? | CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
); | SELECT COUNT("population_2010") FROM "municipalities" WHERE "municipality"='Cavinti'; | 1-216776-2 |
How many people per km2 are there in the municipality whose mayor is Boy Quiat? | CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
); | SELECT "pop_density_per_km" FROM "municipalities" WHERE "municipal_mayor"='Boy Quiat'; | 1-216776-2 |
What's the number of the episode seen by 2.24 million people in the US? | CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "num" FROM "table1_21696800_1" WHERE "u_s_viewers_million"='2.24'; | 1-21696800-1 |
How many millions of people in the US saw the episode titled "Rabid"? | CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_21696800_1" WHERE "title"='\"Rabid\"'; | 1-21696800-1 |
How many different episode numbers are there for episodes directed by Wayne Rose? | CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT COUNT("num") FROM "table1_21696800_1" WHERE "directed_by"='Wayne Rose'; | 1-21696800-1 |
How many millions of people in the US saw the episode titled "Kandor"? | CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_21696800_1" WHERE "title"='\"Kandor\"'; | 1-21696800-1 |
How many wins does he get when he starts at 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 "wins" FROM "nascar_sprint_cup_series" WHERE "starts"=10; | 1-2169966-1 |
How many wins does he have? | 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 MAX("wins") FROM "nascar_sprint_cup_series"; | 1-2169966-1 |
What wast the percent cut for the nation with an 80% full gas storage? | CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
); | SELECT "pct_cut" FROM "table1_21690339_1" WHERE "gas_storage"='80% full'; | 1-21690339-1 |
What was the gas storage status for the nation that had "yes" for alternative fuel? | CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
); | SELECT "gas_storage" FROM "table1_21690339_1" WHERE "alternative_fuel"='Yes'; | 1-21690339-1 |
What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative? | CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
); | SELECT "pct_cut" FROM "table1_21690339_1" WHERE "alternative_fuel"='Fuel oil stocks need only for industry'; | 1-21690339-1 |
What country had 20% imports from russia? | CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
); | SELECT "country" FROM "table1_21690339_1" WHERE "pct_of_imports_from_russia"='20%'; | 1-21690339-1 |
What country had a 100% cut? | CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
); | SELECT "country" FROM "table1_21690339_1" WHERE "pct_cut"='100%'; | 1-21690339-1 |
What network garnered 2.74 million viewers for Supernatural? | CREATE TABLE "ratings" (
"season" real,
"network" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_rank_denotes_the_relative_position_of_the_television_series_with_respect_to_other_prime_time_shows_on_the_cw_fox_nbc_cbs_and_abc" text,
"viewers_in_millions" tex... | SELECT "network" FROM "ratings" WHERE "viewers_in_millions"='2.74'; | 1-2170969-2 |
What season had 2.52 million viewers? | CREATE TABLE "ratings" (
"season" real,
"network" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_rank_denotes_the_relative_position_of_the_television_series_with_respect_to_other_prime_time_shows_on_the_cw_fox_nbc_cbs_and_abc" text,
"viewers_in_millions" tex... | SELECT "tv_season" FROM "ratings" WHERE "viewers_in_millions"='2.52'; | 1-2170969-2 |
What is the category for trains numbered 16609/16610? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT "category" FROM "important_originating_express_trains" WHERE "train_no"='16609/16610'; | 1-21716139-1 |
What trains have a category of express and a weekly frequency? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT "train_name" FROM "important_originating_express_trains" WHERE "category"='Express' AND "frequency"='Weekly'; | 1-21716139-1 |
What is the train name that has a destination of Tuticorin? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT "train_name" FROM "important_originating_express_trains" WHERE "destination"='Tuticorin'; | 1-21716139-1 |
What is the frequency of trains numbered 12671/12672? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT "frequency" FROM "important_originating_express_trains" WHERE "train_no"='12671/12672'; | 1-21716139-1 |
How many destinations have a weekly frequency and are named AC Express? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT COUNT("destination") FROM "important_originating_express_trains" WHERE "frequency"='Weekly' AND "train_name"='AC Express'; | 1-21716139-1 |
What is the number of frequencies that have a destination of Jaipur? | CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
); | SELECT COUNT("frequency") FROM "important_originating_express_trains" WHERE "destination"='Jaipur'; | 1-21716139-1 |
What is the pick # for player david grannis? | CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT MAX("pick_num") FROM "draft_picks" WHERE "player"='David Grannis'; | 1-21721351-18 |
Which player belongs to deerfield academy (Massachusetts) college/junior/club team? | CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "draft_picks" WHERE "college_junior_club_team"='Deerfield Academy (Massachusetts)'; | 1-21721351-18 |
Which nationality is kitchener rangers (ohl) college/junior/club team? | CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team"='Kitchener Rangers (OHL)'; | 1-21721351-18 |
Which nationality is player Brian Wilks? | CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "draft_picks" WHERE "player"='Brian Wilks'; | 1-21721351-18 |
How many positions is player Tom Glavine? | CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT COUNT("position") FROM "draft_picks" WHERE "player"='Tom Glavine'; | 1-21721351-18 |
who directed the production code 2t5710? | CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "directed_by" FROM "table1_21726793_1" WHERE "production_code"='2T5710'; | 1-21726793-1 |
what is the total number o production code where us viewers is 2.76? | CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT COUNT("production_code") FROM "table1_21726793_1" WHERE "u_s_viewers_million"='2.76'; | 1-21726793-1 |
who wrote the no 2? | CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "written_by" FROM "table1_21726793_1" WHERE "no"=2; | 1-21726793-1 |
What is the maac in the macc tournament results is quarterfinals? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT "maac" FROM "year_by_year_statistics" WHERE "maac_tournament_result"='Quarterfinals'; | 1-21756039-1 |
What is the maac when the overall is 26-8? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT "maac" FROM "year_by_year_statistics" WHERE "overall"='26-8'; | 1-21756039-1 |
How many maac are there that have 14th as the ncaa and the overall is 20-10? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT COUNT("maac") FROM "year_by_year_statistics" WHERE "ncaa_seed"='14th' AND "overall"='20-10'; | 1-21756039-1 |
How many overall in the year 2010-2011? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT COUNT("overall") FROM "year_by_year_statistics" WHERE "year"='2010-2011'; | 1-21756039-1 |
In which year is the overall 29-4? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT "year" FROM "year_by_year_statistics" WHERE "overall"='29-4'; | 1-21756039-1 |
What is the regular season results for the year 2011-2012? | CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
); | SELECT "regular_season_results" FROM "year_by_year_statistics" WHERE "year"='2011-2012'; | 1-21756039-1 |
How many drivers had a time of 3:09:45? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT COUNT("driver") FROM "table1_2175858_1" WHERE "race_time"='3:09:45'; | 1-2175858-1 |
How many drivers drove 300 laps at average speed of 103.594? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT COUNT("driver") FROM "table1_2175858_1" WHERE "laps"='300' AND "average_speed_mph"='103.594'; | 1-2175858-1 |
How many dates had an average speed of 102.003? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT COUNT("date") FROM "table1_2175858_1" WHERE "average_speed_mph"='102.003'; | 1-2175858-1 |
How many laps were driven in 2009? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "laps" FROM "table1_2175858_1" WHERE "year"=2009; | 1-2175858-1 |
How many laps were completed in the race with time of 3:03:50? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "laps" FROM "table1_2175858_1" WHERE "race_time"='3:03:50'; | 1-2175858-1 |
How many miles were driven with the average speed at 116.81? | CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "miles_km" FROM "table1_2175858_1" WHERE "average_speed_mph"='116.81'; | 1-2175858-1 |
What was the season number for production code E2110? | CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "season_no" FROM "table1_21781578_2" WHERE "production_code"='E2110'; | 1-21781578-2 |
What was the original air date for season number 2? | CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_21781578_2" WHERE "season_no"=2; | 1-21781578-2 |
What was the season number episode directed by John David Coles? | CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "season_no" FROM "table1_21781578_2" WHERE "directed_by"='John David Coles'; | 1-21781578-2 |
What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102? | CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_21781578_2" WHERE "directed_by"='Steve Shill' AND "production_code"='E2102'; | 1-21781578-2 |
What was the number of season number entries that had US Viewers of 12.30 million? | CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("season_no") FROM "table1_21781578_2" WHERE "u_s_viewers_millions"='12.30'; | 1-21781578-2 |
What was the date of the game in week 3? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "week"=3; | 1-21761882-4 |
What was the final score when the game was @ roughriders? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "regular_season" WHERE "opponent"='@ Roughriders'; | 1-21761882-4 |
What was the total number of weeks where the game played Ivor Wynne Stadium? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT COUNT("week") FROM "regular_season" WHERE "location"='Ivor Wynne Stadium'; | 1-21761882-4 |
What was the location for when the opponent was @ roughriders? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "location" FROM "regular_season" WHERE "opponent"='@ Roughriders'; | 1-21761882-4 |
What was the final score when the attendance was 25598? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "regular_season" WHERE "attendance"=25598; | 1-21761882-4 |
What location was the game on October 6? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "location" FROM "regular_season" WHERE "date"='October 6'; | 1-21761882-4 |
What's the lowest rating with 11.2 million viewers? | CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_households" text
); | SELECT MIN("ranking") FROM "nielsen_ratings" WHERE "viewers_in_millions_of_households"='11.2'; | 1-217785-2 |
When did was the start of the season that ended May 19, 1997? | CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_households" text
); | SELECT "season_premiere" FROM "nielsen_ratings" WHERE "season_finale"='May 19, 1997'; | 1-217785-2 |
When did the season finale ranked at 73 first air? | CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_households" text
); | SELECT "season_finale" FROM "nielsen_ratings" WHERE "ranking"=73; | 1-217785-2 |
Which season received 10.2 million viewers? | CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_households" text
); | SELECT COUNT("tv_season") FROM "nielsen_ratings" WHERE "viewers_in_millions_of_households"='10.2'; | 1-217785-2 |
When 19/05/2002 is the date of withdrawn what is the name? | CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
); | SELECT "name" FROM "names_and_fleet_details" WHERE "withdrawn"='19/05/2002'; | 1-21795986-1 |
When "virgen del perpetuo socorro" is the name what is the highest year? | CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
); | SELECT MAX("year") FROM "names_and_fleet_details" WHERE "name"='\"Virgen del Perpetuo Socorro\"'; | 1-21795986-1 |
When 2008 t is the original number what is the lowest year? | CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
); | SELECT MIN("year") FROM "names_and_fleet_details" WHERE "original_number"='2008 T'; | 1-21795986-1 |
When "virgen de gracia" is the name what is the date of withdrawn? | CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
); | SELECT "withdrawn" FROM "names_and_fleet_details" WHERE "name"='\"Virgen de Gracia\"'; | 1-21795986-1 |
When 9/07/1999 is the date of withdrawn what is the original number? | CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
); | SELECT "original_number" FROM "names_and_fleet_details" WHERE "withdrawn"='9/07/1999'; | 1-21795986-1 |
WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"metas_volantes_classification" text,
"team_classification" text
); | SELECT "stage_winner" FROM "jersey_progress" WHERE "metas_volantes_classification"='Michael Albasini'; | 1-21804557-18 |
Who got the mountains classification when Michael Albasini won the stage? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"metas_volantes_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "jersey_progress" WHERE "metas_volantes_classification"='Michael Albasini'; | 1-21804557-18 |
How many people were present at the July 10 game? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "attendance" FROM "regular_season" WHERE "date"='July 10'; | 1-21796261-4 |
What was the final score of the game played on July 10? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "regular_season" WHERE "date"='July 10'; | 1-21796261-4 |
What's the record achieved in the gamed played at BC Place Stadium? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "location"='BC Place Stadium'; | 1-21796261-4 |
During what week was the July 10 game played? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "week" FROM "regular_season" WHERE "date"='July 10'; | 1-21796261-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.