question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many are enrolled at 49 Marion with the Warriors as their mascot? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT COUNT("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "num_county"='49 marion' AND "mascot"='warriors'; | 2-13986492-17 |
Where is Terre Haute North located? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "school"='terre haute north'; | 2-13986492-17 |
What's the enrollment at 41 Johnson? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT AVG("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "num_county"='41 johnson'; | 2-13986492-17 |
At Indianapolis North Central that has greater than 1,829 enrolled, what is the IHSAA Football Class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "enrollment">'1,829' AND "school"='indianapolis north central'; | 2-13986492-17 |
What school has the greyhounds as mascots? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='greyhounds'; | 2-13986492-17 |
for type diesel-mechanical and configuration b-b, what is the status? | CREATE TABLE "locomotive_collection" (
"name" text,
"livery" text,
"arrival" real,
"type" text,
"configuration" text,
"builder" text,
"built" real,
"status" text,
"location" text
); | SELECT "status" FROM "locomotive_collection" WHERE "configuration"='b-b' AND "type"='diesel-mechanical'; | 2-142159-1 |
Where is the origin of the tth version? | CREATE TABLE "aircraft_inventory" (
"aircraft" text,
"origin" text,
"type" text,
"versions" text,
"in_service" real
); | SELECT "origin" FROM "aircraft_inventory" WHERE "versions"='tth'; | 2-1392092-5 |
What is the record of game 7? | CREATE TABLE "regular_season" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "game"=7; | 2-14208842-3 |
What is the lowest number of points of the game before game 2 before October 10? | CREATE TABLE "regular_season" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MIN("points") FROM "regular_season" WHERE "october"<10 AND "game"<2; | 2-14208842-3 |
what team played on july 9 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='july 9'; | 2-14255774-6 |
What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "party" FROM "ohio" WHERE "result"='re-elected' AND "first_elected"<1894 AND "incumbent"='charles h. grosvenor'; | 2-1391450-4 |
Who was the incumbent from the Ohio 13 district? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "incumbent" FROM "ohio" WHERE "district"='ohio 13'; | 2-1391450-4 |
What is the party of the representative first elected in 1894 from the Ohio 16 district? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "party" FROM "ohio" WHERE "first_elected"=1894 AND "district"='ohio 16'; | 2-1391450-4 |
What score has Leicestershire as the opponent after 1906? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "score" FROM "narrowest_margin_of_runs_victory" WHERE "opposition"='leicestershire' AND "year">1906; | 2-14176339-8 |
Where in Buxton has 3 runs? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "venue" FROM "narrowest_margin_of_runs_victory" WHERE "score"='3 runs' AND "city"='buxton'; | 2-14176339-8 |
What city was in 1889? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "city" FROM "narrowest_margin_of_runs_victory" WHERE "year"=1889; | 2-14176339-8 |
What is the score in Leicester? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "score" FROM "narrowest_margin_of_runs_victory" WHERE "city"='leicester'; | 2-14176339-8 |
How many years has 1 run? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT COUNT("year") FROM "narrowest_margin_of_runs_victory" WHERE "score"='1 run'; | 2-14176339-8 |
What year was in Aigburth? | CREATE TABLE "narrowest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT MAX("year") FROM "narrowest_margin_of_runs_victory" WHERE "venue"='aigburth'; | 2-14176339-8 |
Which season has q145 as its format? | CREATE TABLE "season_8" (
"episode_num" real,
"season_num" real,
"format_num" text,
"title" text,
"original_airdate" text
); | SELECT MIN("season_num") FROM "season_8" WHERE "format_num"='q145'; | 2-14105731-8 |
What is the average episode number with q146 format? | CREATE TABLE "season_8" (
"episode_num" real,
"season_num" real,
"format_num" text,
"title" text,
"original_airdate" text
); | SELECT AVG("episode_num") FROM "season_8" WHERE "format_num"='q146'; | 2-14105731-8 |
Who is the opponent of Game 1 with a 3-2-0 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "game">1 AND "record"='3-2-0'; | 2-14034807-3 |
What is game 9's record? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "game"=9; | 2-14034807-3 |
Who is the opponent of the team with a 1-1-0 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "record"='1-1-0'; | 2-14034807-3 |
What date has Liga 3rd of Dynamo Dresden? | CREATE TABLE "3rd_liga_promotion_round" (
"date" text,
"2nd_bundesliga_16th" text,
"3rd_liga_3rd" text,
"game_1" text,
"game_2" text
); | SELECT "date" FROM "3rd_liga_promotion_round" WHERE "3rd_liga_3rd"='dynamo dresden'; | 2-14242137-15 |
What is the 3rd Liga from 2010-11? | CREATE TABLE "3rd_liga_promotion_round" (
"date" text,
"2nd_bundesliga_16th" text,
"3rd_liga_3rd" text,
"game_1" text,
"game_2" text
); | SELECT "3rd_liga_3rd" FROM "3rd_liga_promotion_round" WHERE "date"='2010-11'; | 2-14242137-15 |
What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09? | CREATE TABLE "3rd_liga_promotion_round" (
"date" text,
"2nd_bundesliga_16th" text,
"3rd_liga_3rd" text,
"game_1" text,
"game_2" text
); | SELECT "3rd_liga_3rd" FROM "3rd_liga_promotion_round" WHERE "game_1"='0-1' AND "date"='2008-09'; | 2-14242137-15 |
Which Score in the final has an Outcome of winner, and a Surface of hard (i)? | CREATE TABLE "doubles_15_9_6" (
"outcome" text,
"date" real,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "doubles_15_9_6" WHERE "outcome"='winner' AND "surface"='hard (i)'; | 2-15271798-2 |
Which Surface has a Partner of jim thomas, and a Date of 2007? | CREATE TABLE "doubles_15_9_6" (
"outcome" text,
"date" real,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "doubles_15_9_6" WHERE "partner"='jim thomas' AND "date"=2007; | 2-15271798-2 |
What was the Attendance in the game with a Result of won 5-2? | CREATE TABLE "november" (
"date" real,
"opponent" text,
"venue" text,
"result" text,
"attendance" text,
"competition" text
); | SELECT "attendance" FROM "november" WHERE "result"='won 5-2'; | 2-15213262-8 |
What was the home Competition with Attendance of 1,268? | CREATE TABLE "november" (
"date" real,
"opponent" text,
"venue" text,
"result" text,
"attendance" text,
"competition" text
); | SELECT "competition" FROM "november" WHERE "venue"='home' AND "attendance"='1,268'; | 2-15213262-8 |
What school or club team did the player chosen for the Sacramento Monarchs play for? | CREATE TABLE "round_1" (
"pick" real,
"player" text,
"nationality" text,
"wnba_team" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "round_1" WHERE "wnba_team"='sacramento monarchs'; | 2-14122892-3 |
What player was chosen for the Chicago Sky? | CREATE TABLE "round_1" (
"pick" real,
"player" text,
"nationality" text,
"wnba_team" text,
"school_club_team" text
); | SELECT "player" FROM "round_1" WHERE "wnba_team"='chicago sky'; | 2-14122892-3 |
Which player was picked for the Chicago Sky? | CREATE TABLE "round_1" (
"pick" real,
"player" text,
"nationality" text,
"wnba_team" text,
"school_club_team" text
); | SELECT "player" FROM "round_1" WHERE "wnba_team"='chicago sky'; | 2-14122892-3 |
What is the position of the player with a height of 205 and shirt no 8? | CREATE TABLE "team_roster_season_2009_10" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT "position" FROM "team_roster_season_2009_10" WHERE "height"=205 AND "shirt_no"=8; | 2-14038363-1 |
What is the name of the player who is a height of 182? | CREATE TABLE "team_roster_season_2009_10" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT "player" FROM "team_roster_season_2009_10" WHERE "height"=182; | 2-14038363-1 |
What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? | CREATE TABLE "medal_tally" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real,
"participants" real
); | SELECT SUM("gold") FROM "medal_tally" WHERE "participants"=4 AND "silver"<0; | 2-14561293-2 |
Who was the opponent with a score of 141–102? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "opponent" FROM "season_schedule" WHERE "score"='141–102'; | 2-13797388-8 |
Who was the opponent with a score of 109–108? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "opponent" FROM "season_schedule" WHERE "score"='109–108'; | 2-13797388-8 |
What was the result when the record was 62–12? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "result" FROM "season_schedule" WHERE "record"='62–12'; | 2-13797388-8 |
What was the result with a record of 58–11? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
); | SELECT "result" FROM "season_schedule" WHERE "record"='58–11'; | 2-13797388-8 |
What's the number of the game played on January 2, 1936? | CREATE TABLE "game_log" (
"number" real,
"result" text,
"date" text,
"score" text,
"opponent" text,
"record" text
); | SELECT MIN("number") FROM "game_log" WHERE "date"='january 2, 1936'; | 2-14127688-2 |
What's the record of game number 23? | CREATE TABLE "game_log" (
"number" real,
"result" text,
"date" text,
"score" text,
"opponent" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "number"=23; | 2-14127688-2 |
How many Points a February smaller than 1 have? | CREATE TABLE "regular_season" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MIN("points") FROM "regular_season" WHERE "february"<1; | 2-14344570-6 |
How many February days have Points of 63 and a Score of 1–2? | CREATE TABLE "regular_season" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("february") FROM "regular_season" WHERE "points"=63 AND "score"='1–2'; | 2-14344570-6 |
What is the name of the player with less than 2 wins? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT "player" FROM "leaders" WHERE "wins"<2; | 2-14640372-3 |
What is the number of earning for more than 2 wins and less than 25 events? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT SUM("earnings") FROM "leaders" WHERE "wins">2 AND "events"<25; | 2-14640372-3 |
What is the largest events number for more than 2 wins and less than $446,893 in earnings? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("events") FROM "leaders" WHERE "wins">2 AND "earnings"<'446,893'; | 2-14640372-3 |
What is the largest events with earning less than $384,489 ranked more than 4 with less than 1 win? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("events") FROM "leaders" WHERE "earnings"<'384,489' AND "rank">4 AND "wins"<1; | 2-14640372-3 |
Who was the visitor at 5:00 pm? | CREATE TABLE "pre_season" (
"date" text,
"time" text,
"visitor" text,
"score" text,
"home" text,
"location_attendance" text,
"record" text
); | SELECT "visitor" FROM "pre_season" WHERE "time"='5:00 pm'; | 2-13909390-1 |
Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2? | CREATE TABLE "pre_season" (
"date" text,
"time" text,
"visitor" text,
"score" text,
"home" text,
"location_attendance" text,
"record" text
); | SELECT "visitor" FROM "pre_season" WHERE "home"='pittsburgh penguins' AND "time"='7:00 pm' AND "record"='0-2-2'; | 2-13909390-1 |
What is the home in mellon arena at 7:30 pm with a record o 2-5-2? | CREATE TABLE "pre_season" (
"date" text,
"time" text,
"visitor" text,
"score" text,
"home" text,
"location_attendance" text,
"record" text
); | SELECT "home" FROM "pre_season" WHERE "time"='7:30 pm' AND "location_attendance"='mellon arena' AND "record"='2-5-2'; | 2-13909390-1 |
Which average Drawn has Games larger than 7? | CREATE TABLE "world_championship_group_b_norway" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT AVG("drawn") FROM "world_championship_group_b_norway" WHERE "games">7; | 2-14100026-4 |
Which Make has a Pos of 3? | CREATE TABLE "american_commercial_lines_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT "make" FROM "american_commercial_lines_200" WHERE "pos"=3; | 2-14292964-6 |
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3? | CREATE TABLE "american_commercial_lines_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT MAX("car_num") FROM "american_commercial_lines_200" WHERE "make"='toyota' AND "driver"='mike skinner' AND "pos">3; | 2-14292964-6 |
Which Make has a Car # larger than 59? | CREATE TABLE "american_commercial_lines_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT "make" FROM "american_commercial_lines_200" WHERE "car_num">59; | 2-14292964-6 |
What was the result of the Euro '64 qualifying game? | CREATE TABLE "1962" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "results" FROM "1962" WHERE "type_of_game"='euro ''64 qualifying'; | 2-14305653-40 |
What is the date of the Euro '64 qualifying game? | CREATE TABLE "1962" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "date" FROM "1962" WHERE "type_of_game"='euro ''64 qualifying'; | 2-14305653-40 |
What was the title in 1996? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "title" FROM "television" WHERE "year"='1996'; | 2-15291575-2 |
What was the role in 2001? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "role" FROM "television" WHERE "year"='2001'; | 2-15291575-2 |
What language was Taken in? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "language" FROM "television" WHERE "title"='taken'; | 2-15291575-2 |
Which title had Notes of 8 episodes? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "title" FROM "television" WHERE "notes"='8 episodes'; | 2-15291575-2 |
Which title is in Portuguese? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "title" FROM "television" WHERE "language"='portuguese'; | 2-15291575-2 |
What was the role in 1996? | CREATE TABLE "television" (
"year" text,
"title" text,
"role" text,
"language" text,
"notes" text
); | SELECT "role" FROM "television" WHERE "year"='1996'; | 2-15291575-2 |
what date did the irwin storm take place | CREATE TABLE "2011_pacific_hurricane_statistics" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "dates_active" FROM "2011_pacific_hurricane_statistics" WHERE "storm_name"='irwin'; | 2-14939510-1 |
what is the minimum force of storm Adrian | CREATE TABLE "2011_pacific_hurricane_statistics" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "min_press_mbar" FROM "2011_pacific_hurricane_statistics" WHERE "storm_name"='adrian'; | 2-14939510-1 |
How many households are in highlands county? | CREATE TABLE "florida_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT AVG("number_of_households") FROM "florida_counties_ranked_by_per_capita_in" WHERE "county"='highlands'; | 2-1472053-1 |
What is the Median household income associated with a median family income of $46,616? | CREATE TABLE "florida_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT "median_household_income" FROM "florida_counties_ranked_by_per_capita_in" WHERE "median_family_income"='$46,616'; | 2-1472053-1 |
What time did the game at memorial stadium take place? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"result" text,
"record" text
); | SELECT "time_et" FROM "schedule" WHERE "location"='memorial stadium'; | 2-14452460-1 |
What is the number of Bronze medals of the Nation with 64 total and silver greater than 16? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "total"=64 AND "silver">16; | 2-13938257-3 |
What is the bronze for Kyrgyzstan nation with a silver record of greater than 0? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_table" WHERE "nation"='kyrgyzstan' AND "silver">0; | 2-13938257-3 |
What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=1 AND "nation"='syria' AND "total"<1; | 2-13938257-3 |
When was the game with a result of w 27-24 (ot)? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"game_time" text,
"record" text
); | SELECT "date" FROM "schedule" WHERE "result"='w 27-24 (ot)'; | 2-14605662-1 |
When was the game with a record of 9-3? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"game_time" text,
"record" text
); | SELECT "date" FROM "schedule" WHERE "record"='9-3'; | 2-14605662-1 |
What time was the game with a record of 7-3? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"game_time" text,
"record" text
); | SELECT "game_time" FROM "schedule" WHERE "record"='7-3'; | 2-14605662-1 |
What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "venue"='memorial stadium' AND "attendance"<'41,252'; | 2-14655820-2 |
What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "date"='october 21, 1974' AND "attendance"<'50,623'; | 2-14655820-2 |
What is the frequency of the station that was launched on 21 August 1994? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "frequency" FROM "stations" WHERE "launched"='21 august 1994'; | 2-14670060-1 |
What is the launched date of the station in cora huichol tepehuano nahuatl language? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "launched" FROM "stations" WHERE "languages"='cora huichol tepehuano nahuatl'; | 2-14670060-1 |
Where is the station with a coverage of yucatán quintana roo campeche transmitting from? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "transmitting_from" FROM "stations" WHERE "coverage"='yucatán quintana roo campeche'; | 2-14670060-1 |
What is the frequency of the station with a coverage of oaxaca guerrero puebla? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "frequency" FROM "stations" WHERE "coverage"='oaxaca guerrero puebla'; | 2-14670060-1 |
Where is the station that was launched on 17 July 1997 transmitting from? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "transmitting_from" FROM "stations" WHERE "launched"='17 july 1997'; | 2-14670060-1 |
What is the coverage of the station that was launched on 22 January 1996? | CREATE TABLE "stations" (
"call_sign" text,
"launched" text,
"transmitting_from" text,
"coverage" text,
"languages" text,
"frequency" text
); | SELECT "coverage" FROM "stations" WHERE "launched"='22 january 1996'; | 2-14670060-1 |
How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers? | CREATE TABLE "all_time_medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "all_time_medal_table" WHERE "gold">14 AND "rank"='14' AND "silver">25; | 2-15267940-5 |
How many total medals for germany with under 56 bronzes? | CREATE TABLE "all_time_medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "all_time_medal_table" WHERE "nation"='germany' AND "bronze"<56; | 2-15267940-5 |
How many total medals for the nation with 1 gold and 6 bronzes? | CREATE TABLE "all_time_medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "all_time_medal_table" WHERE "gold"=1 AND "bronze"=6; | 2-15267940-5 |
What was the loss of the game when the record was 32–34? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='32–34'; | 2-14250040-6 |
What was the date of the game with a score of 15–6? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='15–6'; | 2-14250040-6 |
what is the frequency of visits to elmanana.com.mx | CREATE TABLE "newspapers_and_news_sites" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "frequency" FROM "newspapers_and_news_sites" WHERE "website"='elmanana.com.mx'; | 2-136773-7 |
What was the game result against the minnesota vikings? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponent"='minnesota vikings'; | 2-14610099-1 |
What week shows for december 31, 1993? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='december 31, 1993'; | 2-14610099-1 |
What was the result on October 4, 1993? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='october 4, 1993'; | 2-14610099-1 |
What Week has a Result of l 17-14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT SUM("week") FROM "schedule" WHERE "result"='l 17-14'; | 2-14610099-1 |
How many years have a position of 2nd? | CREATE TABLE "achievemens" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT COUNT("year") FROM "achievemens" WHERE "position"='2nd'; | 2-14056562-1 |
Which event has a year of 2000? | CREATE TABLE "achievemens" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "event" FROM "achievemens" WHERE "year"=2000; | 2-14056562-1 |
What position has notes of 2:12:53? | CREATE TABLE "achievemens" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "position" FROM "achievemens" WHERE "notes"='2:12:53'; | 2-14056562-1 |
What is the average round for draft pick #49 from Notre Dame? | CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" text,
"player" text,
"position" text,
"college" text,
"tenure_w_steelers" text
); | SELECT AVG("round") FROM "1978_pittsburgh_steelers_draft_selection" WHERE "college"='notre dame' AND "pick_num"='49'; | 2-14423274-1 |
What college is draft pick #327 from? | CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" text,
"player" text,
"position" text,
"college" text,
"tenure_w_steelers" text
); | SELECT "college" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "pick_num"='327'; | 2-14423274-1 |
What college is pick number 268 from? | CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" text,
"player" text,
"position" text,
"college" text,
"tenure_w_steelers" text
); | SELECT "college" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "pick_num"='268'; | 2-14423274-1 |
What round pick was pick number 101 who plays defensive back? | CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" text,
"player" text,
"position" text,
"college" text,
"tenure_w_steelers" text
); | SELECT "round" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "position"='defensive back' AND "pick_num"='101'; | 2-14423274-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.