question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which 2007/ 08 has a 2011/ 12 of ur?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2007_08" FROM "performance_and_rankings_timeline" WHERE "2011_12"='ur';
2-14643093-1
What was the Attendance on September 11, 1983?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "date"='september 11, 1983';
2-15085637-1
What was the Opponent during the game with a Result of W 37-21?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "result"='w 37-21';
2-15085637-1
What was the Result on Week 8?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week"=8;
2-15085637-1
What is the lowest number of games with less than 1 loss?
CREATE TABLE "world_championship_group_d_belgium" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MIN("games") FROM "world_championship_group_d_belgium" WHERE "lost"<1;
2-14100026-6
What was the nationality of the skater with 108.8 points?
CREATE TABLE "men" ( "rank" real, "name" text, "club" text, "nation" text, "points" real );
SELECT "nation" FROM "men" WHERE "points"=108.8;
2-14959598-6
How many points for the skater from club btsc?
CREATE TABLE "men" ( "rank" real, "name" text, "club" text, "nation" text, "points" real );
SELECT COUNT("points") FROM "men" WHERE "club"='btsc';
2-14959598-6
Which Original title has a Year of 1983, and a Country of italy?
CREATE TABLE "films_directed_by_tarkovsky" ( "year" real, "english_title" text, "original_title" text, "country" text, "length" text );
SELECT "original_title" FROM "films_directed_by_tarkovsky" WHERE "year"=1983 AND "country"='italy';
2-15044621-1
How many years have an Original title of иваново детство?
CREATE TABLE "films_directed_by_tarkovsky" ( "year" real, "english_title" text, "original_title" text, "country" text, "length" text );
SELECT COUNT("year") FROM "films_directed_by_tarkovsky" WHERE "original_title"='иваново детство';
2-15044621-1
Which Length has a Country of soviet union, and a Year larger than 1975?
CREATE TABLE "films_directed_by_tarkovsky" ( "year" real, "english_title" text, "original_title" text, "country" text, "length" text );
SELECT "length" FROM "films_directed_by_tarkovsky" WHERE "country"='soviet union' AND "year">1975;
2-15044621-1
What is listed as the lowest Year with a Wins that's smaller than 0?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "wins"<0;
2-14820149-3
What is listed for the Wins with a Year of 1989?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT "wins" FROM "motorcycle_grand_prix_results" WHERE "year"=1989;
2-14820149-3
What is listed for the Class that's got a Team of Cagiva and Points of 4?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT "class" FROM "motorcycle_grand_prix_results" WHERE "team"='cagiva' AND "points"=4;
2-14820149-3
How many km2 has a Population 2001 Census larger than 274,095, and a District Headquarters of jharsuguda?
CREATE TABLE "population" ( "district" text, "district_headquarters" text, "area_km_2" real, "population_1991_census" real, "population_2001_census" real );
SELECT COUNT("area_km_2") FROM "population" WHERE "population_2001_census">'274,095' AND "district_headquarters"='jharsuguda';
2-14228179-1
What is the number of Population 2001 Census that has 476,815 in Population 1991 Census?
CREATE TABLE "population" ( "district" text, "district_headquarters" text, "area_km_2" real, "population_1991_census" real, "population_2001_census" real );
SELECT SUM("population_2001_census") FROM "population" WHERE "population_1991_census"='476,815';
2-14228179-1
What is the number of Population 2001 Census that has jharsuguda District Headquarters with an Area smaller than 2,081?
CREATE TABLE "population" ( "district" text, "district_headquarters" text, "area_km_2" real, "population_1991_census" real, "population_2001_census" real );
SELECT COUNT("population_2001_census") FROM "population" WHERE "district_headquarters"='jharsuguda' AND "area_km_2"<'2,081';
2-14228179-1
What played has 3 as the losing bonus?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "played" FROM "2011_2012_table" WHERE "losing_bonus"='3';
2-14058433-1
What is the try bonus that has llangefni rfc as the club?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "try_bonus" FROM "2011_2012_table" WHERE "club"='llangefni rfc';
2-14058433-1
What played has 247 as the points?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "played" FROM "2011_2012_table" WHERE "points_for"='247';
2-14058433-1
What try bonus has 19 as the tries against?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "try_bonus" FROM "2011_2012_table" WHERE "tries_against"='19';
2-14058433-1
What points has 18 for the played and bala rfc as the club?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "points_for" FROM "2011_2012_table" WHERE "played"='18' AND "club"='bala rfc';
2-14058433-1
What try bonus has 18 as the played of and 204 as the points?
CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text );
SELECT "try_bonus" FROM "2011_2012_table" WHERE "played"='18' AND "points_for"='204';
2-14058433-1
What record has montreal as the visitor, and february 2 as the date?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "visitor"='montreal' AND "date"='february 2';
2-13928610-6
What record has February 25 as the date?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='february 25';
2-13928610-6
What date has boston as the visitor?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "game_log" WHERE "visitor"='boston';
2-13928610-6
What score has vancouver as the home, and february 16 as the date?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "home"='vancouver' AND "date"='february 16';
2-13928610-6
Team of corinthians, and a Lost larger than 15 has which highest drawn?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "team"='corinthians' AND "lost">15;
2-14894694-1
Difference of - 20, and a Position smaller than 17 is the highest against?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("against") FROM "campeonato_brasileiro_s_rie_a" WHERE "difference"='- 20' AND "position"<17;
2-14894694-1
Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("points") FROM "campeonato_brasileiro_s_rie_a" WHERE "against"<53 AND "drawn"<10 AND "played"<38;
2-14894694-1
Which score was for Toronto Maple Leafs at home on November 12?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "home"='toronto maple leafs' AND "date"='november 12';
2-13841486-2
Which home team had a visitor of Chicago Black Hawks with a score of 2–3?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "regular_season" WHERE "visitor"='chicago black hawks' AND "score"='2–3';
2-13841486-2
Who was home on November 26?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "regular_season" WHERE "date"='november 26';
2-13841486-2
What was the visitor with a record of 5–8–4?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "regular_season" WHERE "record"='5–8–4';
2-13841486-2
What was the average rank of a player with more than 52 points, fewer than 10 draws, a goal loss under 44, and a loss under 15?
CREATE TABLE "league_table" ( "rank" real, "name" text, "point" real, "played" real, "draw" real, "lose" real, "goal_in" real, "goal_loss" real, "goal_diff" real );
SELECT AVG("rank") FROM "league_table" WHERE "point">52 AND "draw"<10 AND "goal_loss"<44 AND "lose"<15;
2-14406743-2
What was the highest number of lose for a player named Santos with more than 45 points?
CREATE TABLE "league_table" ( "rank" real, "name" text, "point" real, "played" real, "draw" real, "lose" real, "goal_in" real, "goal_loss" real, "goal_diff" real );
SELECT MAX("lose") FROM "league_table" WHERE "name"='santos' AND "point">45;
2-14406743-2
What report has a score of 0-0 with Sydney FC?
CREATE TABLE "pre_season_cup_group_stage" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" text, "report" text );
SELECT "report" FROM "pre_season_cup_group_stage" WHERE "score"='0-0' AND "away_team"='sydney fc';
2-13830671-1
On what date was the score 0-0?
CREATE TABLE "pre_season_cup_group_stage" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" text, "report" text );
SELECT "date" FROM "pre_season_cup_group_stage" WHERE "score"='0-0';
2-13830671-1
Which home team had the score 1-3?
CREATE TABLE "pre_season_cup_group_stage" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" text, "report" text );
SELECT "home_team" FROM "pre_season_cup_group_stage" WHERE "score"='1-3';
2-13830671-1
Where did the away team have round 2?
CREATE TABLE "pre_season_cup_group_stage" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" text, "report" text );
SELECT "venue" FROM "pre_season_cup_group_stage" WHERE "away_team"='round 2';
2-13830671-1
When did the venue of round 3 happen?
CREATE TABLE "pre_season_cup_group_stage" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" text, "report" text );
SELECT "date" FROM "pre_season_cup_group_stage" WHERE "venue"='round 3';
2-13830671-1
What is the lowest density of a town with a 13,708 2011 population census ?
CREATE TABLE "lg_as" ( "local_government_area" text, "principal_town" text, "land_area_km" real, "population_2011_census" real, "density" real );
SELECT MIN("density") FROM "lg_as" WHERE "population_2011_census"='13,708';
2-140297-1
specific orbital energy of −29.8 mj/kg has what orbit?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "orbit" FROM "escape_velocities_at_altitude" WHERE "specific_orbital_energy"='−29.8 mj/kg';
2-143696-2
altitude above the Earth's surface of 500 to 39,900 km has what orbital period?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "orbital_period" FROM "escape_velocities_at_altitude" WHERE "altitude_above_the_earth_s_surface"='500 to 39,900 km';
2-143696-2
specific orbital energy of −0.5 mj/kg is what altitude above the earth's surface?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "altitude_above_the_earth_s_surface" FROM "escape_velocities_at_altitude" WHERE "specific_orbital_energy"='−0.5 mj/kg';
2-143696-2
Earth's surface of 357,000 to 399,000 km has what orbit altitude above?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "orbit" FROM "escape_velocities_at_altitude" WHERE "altitude_above_the_earth_s_surface"='357,000 to 399,000 km';
2-143696-2
Orbital period of 89 to 128 min has what specific orbital energy?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "specific_orbital_energy" FROM "escape_velocities_at_altitude" WHERE "orbital_period"='89 to 128 min';
2-143696-2
center-to-center distance of 6,900 to 46,300 km involves which orbital period?
CREATE TABLE "escape_velocities_at_altitude" ( "orbit" text, "center_to_center_distance" text, "altitude_above_the_earth_s_surface" text, "orbital_period" text, "specific_orbital_energy" text );
SELECT "orbital_period" FROM "escape_velocities_at_altitude" WHERE "center_to_center_distance"='6,900 to 46,300 km';
2-143696-2
What was the lowest FA Cup for a Malaysia Cup of 0?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT MIN("fa_cup") FROM "scorers" WHERE "malaysia_cup"<0;
2-15129117-4
What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT MIN("malaysia_cup") FROM "scorers" WHERE "player"='zamri hassan' AND "fa_cup"<0;
2-15129117-4
What is the lowest league for the Malaysia Cup when it was larger than 0?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT MIN("league") FROM "scorers" WHERE "malaysia_cup">0;
2-15129117-4
How many Bronze medals did Switzerland with less than 3 Silver medals receive?
CREATE TABLE "medallists_by_nation" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medallists_by_nation" WHERE "nation"='switzerland' AND "silver"<3;
2-14892457-3
What is the least amount of Silver medals that have more than 3 Bronze?
CREATE TABLE "medallists_by_nation" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medallists_by_nation" WHERE "bronze">3;
2-14892457-3
What is the average game for March 8 with less than 84 points?
CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT AVG("game") FROM "regular_season" WHERE "points"<84 AND "march"=8;
2-14347256-8
What is the latest in March when the record of 35–16–6–3?
CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MAX("march") FROM "regular_season" WHERE "record"='35–16–6–3';
2-14347256-8
Name the competition for score of 3-0
CREATE TABLE "brazil_national_team" ( "date" text, "city" text, "result" text, "score" text, "competition" text );
SELECT "competition" FROM "brazil_national_team" WHERE "score"='3-0';
2-15206839-8
Name the competition for september 10, 2008
CREATE TABLE "brazil_national_team" ( "date" text, "city" text, "result" text, "score" text, "competition" text );
SELECT "competition" FROM "brazil_national_team" WHERE "date"='september 10, 2008';
2-15206839-8
Name the sscore for world cup qualifying october 15, 2008
CREATE TABLE "brazil_national_team" ( "date" text, "city" text, "result" text, "score" text, "competition" text );
SELECT "score" FROM "brazil_national_team" WHERE "competition"='world cup qualifying' AND "date"='october 15, 2008';
2-15206839-8
Name the competition for november 19, 2008
CREATE TABLE "brazil_national_team" ( "date" text, "city" text, "result" text, "score" text, "competition" text );
SELECT "competition" FROM "brazil_national_team" WHERE "date"='november 19, 2008';
2-15206839-8
Name the date for rio de janeiro
CREATE TABLE "brazil_national_team" ( "date" text, "city" text, "result" text, "score" text, "competition" text );
SELECT "date" FROM "brazil_national_team" WHERE "city"='rio de janeiro';
2-15206839-8
What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05?
CREATE TABLE "geography_of_students" ( "states" text, "fall_05" real, "fall_06" real, "fall_07" real, "fall_08" real, "fall_09" real );
SELECT COUNT("fall_08") FROM "geography_of_students" WHERE "fall_06"=57 AND "fall_05"<74;
2-15055594-6
What number is Fall 06 from the state with 79 or less in Fall 08, 36 or greater in Fall 07 and greater than 74 in Fall 05?
CREATE TABLE "geography_of_students" ( "states" text, "fall_05" real, "fall_06" real, "fall_07" real, "fall_08" real, "fall_09" real );
SELECT AVG("fall_06") FROM "geography_of_students" WHERE "fall_08"<79 AND "fall_07">36 AND "fall_05">74;
2-15055594-6
What number is Fall 06 from the state with 34 for Fall 09?
CREATE TABLE "geography_of_students" ( "states" text, "fall_05" real, "fall_06" real, "fall_07" real, "fall_08" real, "fall_09" real );
SELECT AVG("fall_06") FROM "geography_of_students" WHERE "fall_09"=34;
2-15055594-6
What was the record when the visitor was toronto maple leafs and the score was 3–10?
CREATE TABLE "toronto_maple_leafs_4_montreal_canadiens" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "toronto_maple_leafs_4_montreal_canadiens" WHERE "visitor"='toronto maple leafs' AND "score"='3–10';
2-14458999-3
What was the score when the visitor was toronto maple leafs on march 22?
CREATE TABLE "toronto_maple_leafs_4_montreal_canadiens" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "toronto_maple_leafs_4_montreal_canadiens" WHERE "visitor"='toronto maple leafs' AND "date"='march 22';
2-14458999-3
What was the Visitor when the home was toronto maple leafs and the score was 4–1?
CREATE TABLE "toronto_maple_leafs_4_montreal_canadiens" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "toronto_maple_leafs_4_montreal_canadiens" WHERE "home"='toronto maple leafs' AND "score"='4–1';
2-14458999-3
What is the average GBP Price with an event in Monterey, a RM auction house, and a price of $154,000 later than 2003?
CREATE TABLE "auction_history" ( "auction_house" text, "year" real, "event" text, "price" real, "gbp_price" real );
SELECT AVG("gbp_price") FROM "auction_history" WHERE "event"='monterey' AND "auction_house"='rm' AND "price"='154,000' AND "year">2003;
2-1498073-4
How many total episodes aired over all seasons with 7.79 million viewers?
CREATE TABLE "seasonal_ratings_broadcast_history" ( "season" real, "network" text, "time_slot" text, "season_premiere" text, "season_finale" text, "episode_count" real, "tv_season" text, "season_rank" text, "viewers_in_millions" real );
SELECT COUNT("episode_count") FROM "seasonal_ratings_broadcast_history" WHERE "viewers_in_millions"=7.79;
2-1359996-2
Was the semi-final round held at home or away?
CREATE TABLE "manchester_and_district_challenge_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text );
SELECT "h_a" FROM "manchester_and_district_challenge_cup" WHERE "round"='semi-final';
2-13614339-2
Which opponent made it to the final round?
CREATE TABLE "manchester_and_district_challenge_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text );
SELECT "opponents" FROM "manchester_and_district_challenge_cup" WHERE "round"='final';
2-13614339-2
What was the result of the game played in hurst?
CREATE TABLE "manchester_and_district_challenge_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text );
SELECT "result_f_a" FROM "manchester_and_district_challenge_cup" WHERE "h_a"='hurst';
2-13614339-2
When did the game in whalley range take place?
CREATE TABLE "manchester_and_district_challenge_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text );
SELECT "date" FROM "manchester_and_district_challenge_cup" WHERE "h_a"='whalley range';
2-13614339-2
Which ERP W is the lowest one that has a Frequency MHz of 91.3?
CREATE TABLE "full_powered_stations" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MIN("erp_w") FROM "full_powered_stations" WHERE "frequency_m_hz"=91.3;
2-14986573-1
Which Class has a Frequency MHz of 107.5?
CREATE TABLE "full_powered_stations" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "class" FROM "full_powered_stations" WHERE "frequency_m_hz"=107.5;
2-14986573-1
Which Frequency MHz is the highest one that has a City of license of byron, ga?
CREATE TABLE "full_powered_stations" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("frequency_m_hz") FROM "full_powered_stations" WHERE "city_of_license"='byron, ga';
2-14986573-1
Which FCC info has a Call sign of wsja?
CREATE TABLE "full_powered_stations" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "fcc_info" FROM "full_powered_stations" WHERE "call_sign"='wsja';
2-14986573-1
Which District has a Party of republican and a Result of lost re-election democratic gain?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "district" FROM "california" WHERE "party"='republican' AND "result"='lost re-election democratic gain';
2-1431546-2
What is First elected that has republican Party and a Result of retired democratic gain?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "california" WHERE "party"='republican' AND "result"='retired democratic gain';
2-1431546-2
What is the First elected of california 3?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "california" WHERE "district"='california 3';
2-1431546-2
Which Incumbent has a Result of retired democratic gain?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "incumbent" FROM "california" WHERE "result"='retired democratic gain';
2-1431546-2
Which First elected has a Incumbent of none (new seat)?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "california" WHERE "incumbent"='none (new seat)';
2-1431546-2
What is the First elected that has a republican party and california 4?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "california" WHERE "party"='republican' AND "district"='california 4';
2-1431546-2
What was the result when Dundee was the opponent?
CREATE TABLE "tennent_s_scottish_cup" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "tennent_s_scottish_cup" WHERE "opponent"='dundee';
2-15255963-3
Who entered on day 1 and exited on day 20?
CREATE TABLE "series_9_2009" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text );
SELECT "celebrity" FROM "series_9_2009" WHERE "entered"='day 1' AND "exited"='day 20';
2-14345690-10
When did lucy benjamin exit?
CREATE TABLE "series_9_2009" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text );
SELECT "exited" FROM "series_9_2009" WHERE "celebrity"='lucy benjamin';
2-14345690-10
When did camilla dallerup finish?
CREATE TABLE "series_9_2009" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text );
SELECT "finished" FROM "series_9_2009" WHERE "celebrity"='camilla dallerup';
2-14345690-10
When did kim woodburn enter?
CREATE TABLE "series_9_2009" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text );
SELECT "entered" FROM "series_9_2009" WHERE "celebrity"='kim woodburn';
2-14345690-10
What was the score of the game with a record of 37–26–9?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "march" WHERE "record"='37–26–9';
2-14208948-7
What was the score of the game with a record of 33–25–9?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "march" WHERE "record"='33–25–9';
2-14208948-7
Loss of francis (4–9) has what highest attendance figure?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "loss"='francis (4–9)';
2-13882208-9
Loss of de la rosa (8–8) has what average attendance?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT AVG("attendance") FROM "game_log" WHERE "loss"='de la rosa (8–8)';
2-13882208-9
Loss of francis (4–10) happened on what date?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "loss"='francis (4–10)';
2-13882208-9
What was the score on 8 September 1999?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "date"='8 september 1999';
2-1468215-1
What was the result on 16 November 2003?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='16 november 2003';
2-1468215-1
Which Set 1 has a Set 2 of 26–24?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_1" FROM "pool_a" WHERE "set_2"='26–24';
2-14920702-2
Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_2" FROM "pool_a" WHERE "date"='25 may' AND "set_3"='21–25';
2-14920702-2
Which Date has a Set 3 of 21–25?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "date" FROM "pool_a" WHERE "set_3"='21–25';
2-14920702-2
Which Set 1 has a Date of 24 may, and a Total of 57–75?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_1" FROM "pool_a" WHERE "date"='24 may' AND "total"='57–75';
2-14920702-2
Which Set 2 has a Set 1 of 25–15, and a Score of 3–0?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_2" FROM "pool_a" WHERE "set_1"='25–15' AND "score"='3–0';
2-14920702-2
Which Total has a Set 1 of 25–22?
CREATE TABLE "pool_a" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "total" FROM "pool_a" WHERE "set_1"='25–22';
2-14920702-2
What was the segment b for Netflix s01e21?
CREATE TABLE "season_2_2002" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_2_2002" WHERE "netflix"='s01e21';
2-15187735-2