question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the value of 1st prize when the score was 271 (-9)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text );
SELECT "1st_prize" FROM "tournament_results" WHERE "score"='271 (-9)';
1-15346009-1
What day was the score 200 (-16)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text );
SELECT "date" FROM "tournament_results" WHERE "score"='200 (-16)';
1-15346009-1
Where was Outback Steakhouse Pro-AM held?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text );
SELECT "location" FROM "tournament_results" WHERE "tournament"='Outback Steakhouse Pro-Am';
1-15346009-1
Which dates of polls occur in the Mizoram state?
CREATE TABLE "chhattisgarh_result" ( "state" text, "date_of_polls" text, "seats_a_cs" real, "date_of_counting" text, "incumbent" text, "election_winner" text );
SELECT "date_of_polls" FROM "chhattisgarh_result" WHERE "state"='Mizoram';
1-15329030-1
How many dates of polls occur in the Madhya Pradesh state?
CREATE TABLE "chhattisgarh_result" ( "state" text, "date_of_polls" text, "seats_a_cs" real, "date_of_counting" text, "incumbent" text, "election_winner" text );
SELECT COUNT("date_of_polls") FROM "chhattisgarh_result" WHERE "state"='Madhya Pradesh';
1-15329030-1
How many under the category of Against have a Difference of 11
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real );
SELECT COUNT("against") FROM "campeonato_paulista" WHERE "difference"=11;
1-15352382-1
if Against is 20 how much is Won?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real );
SELECT "won" FROM "campeonato_paulista" WHERE "against"=20;
1-15352382-1
How many Drawn does the team Portuguesa Santista have?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real );
SELECT "drawn" FROM "campeonato_paulista" WHERE "team"='Portuguesa Santista';
1-15352382-1
If the difference is 11 how much is for?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real );
SELECT MAX("for") FROM "campeonato_paulista" WHERE "difference"=11;
1-15352382-1
How many drawn does the team Corinthians have?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real );
SELECT "drawn" FROM "campeonato_paulista" WHERE "team"='Corinthians';
1-15352382-1
What is the highest number won with a difference of 1?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("won") FROM "campeonato_paulista" WHERE "difference"='1';
1-15331868-1
What the highest position when there is 28 against?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("position") FROM "campeonato_paulista" WHERE "against"=28;
1-15331868-1
What is the highest number won when the number of points is 31?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("won") FROM "campeonato_paulista" WHERE "points"=31;
1-15331868-1
What is the smalledt position when the difference was 6?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MIN("position") FROM "campeonato_paulista" WHERE "difference"='6';
1-15331868-1
How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?
CREATE TABLE "series_ratings" ( "season" real, "num_of_episodes" real, "timeslot" text, "season_premiere" text, "season_final" text, "peak_audience" real, "average_audience" real, "average_nightly_rank" text, "average_weekly_rank" text, "average_yearly_ranking" text );
SELECT COUNT("average_weekly_rank") FROM "series_ratings" WHERE "average_nightly_rank"='No. 2';
1-15358729-6
What is the show's time slot during season 3?
CREATE TABLE "series_ratings" ( "season" real, "num_of_episodes" real, "timeslot" text, "season_premiere" text, "season_final" text, "peak_audience" real, "average_audience" real, "average_nightly_rank" text, "average_weekly_rank" text, "average_yearly_ranking" text );
SELECT "timeslot" FROM "series_ratings" WHERE "season"=3;
1-15358729-6
What are all the round 3's after 1982?
CREATE TABLE "scoring_format" ( "from" real, "to" real, "goal" real, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text );
SELECT "round_3" FROM "scoring_format" WHERE "from"=1982;
1-153689-1
What are all the round 5's where round 6 and up is double?
CREATE TABLE "scoring_format" ( "from" real, "to" real, "goal" real, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text );
SELECT "round_5" FROM "scoring_format" WHERE "round_6"='Double';
1-153689-1
What is the maximum goal after 1979?
CREATE TABLE "scoring_format" ( "from" real, "to" real, "goal" real, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text );
SELECT MAX("goal") FROM "scoring_format" WHERE "from"=1979;
1-153689-1
Name all of the february
CREATE TABLE "2000s" ( "2000" text, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text );
SELECT "february" FROM "2000s";
1-1539201-1
Name the junes
CREATE TABLE "2000s" ( "2000" text, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text );
SELECT "june" FROM "2000s";
1-1539201-1
Name the julys
CREATE TABLE "2000s" ( "2000" text, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text );
SELECT "july" FROM "2000s";
1-1539201-1
Name the number of februaries
CREATE TABLE "2000s" ( "2000" text, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text );
SELECT COUNT("february") FROM "2000s";
1-1539201-1
Name the february
CREATE TABLE "2000s" ( "2000" text, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text );
SELECT "february" FROM "2000s";
1-1539201-1
How many points are listed when the position is 2?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "position"=2;
1-15405904-1
When there is a lost of 2 what is the mumber drawn?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("drawn") FROM "apea_s_campeonato_paulista" WHERE "lost"=2;
1-15405904-1
How many games are played?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MIN("played") FROM "apea_s_campeonato_paulista";
1-15405904-1
When the position is 2 what is the number lost?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MIN("lost") FROM "apea_s_campeonato_paulista" WHERE "position"=2;
1-15405904-1
When the team is ypiranga-sp what is the number of won games?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MIN("won") FROM "apea_s_campeonato_paulista" WHERE "team"='Ypiranga-SP';
1-15405904-1
Name the lease for when points is 19
CREATE TABLE "table1_15400878_1" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MIN("for") FROM "table1_15400878_1" WHERE "points"=19;
1-15400878-1
Name the difference for when drawn is larger than 2.0
CREATE TABLE "table1_15400878_1" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT "difference" FROM "table1_15400878_1" WHERE "drawn">2.0;
1-15400878-1
Name the most against for minas gerais
CREATE TABLE "table1_15400878_1" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );
SELECT MAX("against") FROM "table1_15400878_1" WHERE "team"='Minas Gerais';
1-15400878-1
What is the LMS class of trains with numbers 14510-5?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT "lms_class" FROM "peter_drummond_1911_1918" WHERE "lms_nos"='14510-5';
1-15412381-5
What is the date of the 279 wheels?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT "date" FROM "peter_drummond_1911_1918" WHERE "wheels"=279;
1-15412381-5
What is the class when the LMS class is 3F?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT "class" FROM "peter_drummond_1911_1918" WHERE "lms_class"='3F';
1-15412381-5
What is the LMS number of the trains built by G&SWR Kilmarnock?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT "lms_nos" FROM "peter_drummond_1911_1918" WHERE "builder"='G&SWR Kilmarnock';
1-15412381-5
How many figures are there for wheels for LMS numbers 16377-9?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT COUNT("wheels") FROM "peter_drummond_1911_1918" WHERE "lms_nos"='16377-9';
1-15412381-5
What is the builder of the train with LMS Class 3f?
CREATE TABLE "peter_drummond_1911_1918" ( "class" text, "wheels" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text );
SELECT "builder" FROM "peter_drummond_1911_1918" WHERE "lms_class"='3F';
1-15412381-5
What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index?
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT MAX("saffir_simpson_category") FROM "table_1_historical_storms_and_the_chi_19";
1-15416002-1
What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT MAX("v_mph") FROM "table_1_historical_storms_and_the_chi_19" WHERE "chi"='13.5';
1-15416002-1
What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT "chi" FROM "table_1_historical_storms_and_the_chi_19" WHERE "nhc_advisory_number"='49B';
1-15416002-1
What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0?
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT MAX("r_miles") FROM "table_1_historical_storms_and_the_chi_19" WHERE "landfall"='Texas' AND "saffir_simpson_category"<3.0;
1-15416002-1
What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT "r_miles" FROM "table_1_historical_storms_and_the_chi_19" WHERE "chi"='9.9';
1-15416002-1
What is the Saffir-Simpson category for the hurricane named Bonnie?
CREATE TABLE "table_1_historical_storms_and_the_chi_19" ( "name" text, "year" real, "landfall" text, "nhc_advisory_number" text, "v_mph" real, "r_miles" real, "saffir_simpson_category" real, "chi" text );
SELECT "saffir_simpson_category" FROM "table_1_historical_storms_and_the_chi_19" WHERE "name"='Bonnie';
1-15416002-1
What kind of animal corresponds to the accession number xp_852505.1?
CREATE TABLE "table1_15417439_1" ( "genus_species" text, "common_name" text, "accession_number" text, "length" text, "similarity" text, "identity" text );
SELECT "common_name" FROM "table1_15417439_1" WHERE "accession_number"='XP_852505.1';
1-15417439-1
How similar is the genus/species sus scrofa?
CREATE TABLE "table1_15417439_1" ( "genus_species" text, "common_name" text, "accession_number" text, "length" text, "similarity" text, "identity" text );
SELECT "similarity" FROM "table1_15417439_1" WHERE "genus_species"='Sus scrofa';
1-15417439-1
What identities do the genus/species arabidopsis thaliana have?
CREATE TABLE "table1_15417439_1" ( "genus_species" text, "common_name" text, "accession_number" text, "length" text, "similarity" text, "identity" text );
SELECT "identity" FROM "table1_15417439_1" WHERE "genus_species"='Arabidopsis thaliana';
1-15417439-1
What's the animals name when the genus/species is rattus norvegicus?
CREATE TABLE "table1_15417439_1" ( "genus_species" text, "common_name" text, "accession_number" text, "length" text, "similarity" text, "identity" text );
SELECT "common_name" FROM "table1_15417439_1" WHERE "genus_species"='Rattus norvegicus';
1-15417439-1
For the genus/species arabidopsis thaliana, what are the lengths?
CREATE TABLE "table1_15417439_1" ( "genus_species" text, "common_name" text, "accession_number" text, "length" text, "similarity" text, "identity" text );
SELECT "length" FROM "table1_15417439_1" WHERE "genus_species"='Arabidopsis thaliana';
1-15417439-1
How many original air dates were there for episode 17?
CREATE TABLE "table1_15430813_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("original_air_date") FROM "table1_15430813_1" WHERE "no_in_season"=17;
1-15430813-1
When did the episode titled "Prisoners" first air?
CREATE TABLE "table1_15430813_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "original_air_date" FROM "table1_15430813_1" WHERE "title"='\"Prisoners\"';
1-15430813-1
Which company was based in London, United Kingdom?
CREATE TABLE "table_of_largest_rogue_trader_losses" ( "name" text, "country" text, "date_s" real, "loss" text, "institution" text, "market_activity" text, "sentence" text );
SELECT "institution" FROM "table_of_largest_rogue_trader_losses" WHERE "country"='London, United Kingdom';
1-15438337-1
What was the original air date of Stargate SG-1 written by Peter Deluise?
CREATE TABLE "table1_15431959_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "original_air_date" FROM "table1_15431959_1" WHERE "written_by"='Peter DeLuise';
1-15431959-1
How many seasons did Peter Deluise direct Stargate SG-1?
CREATE TABLE "table1_15431959_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT MAX("no_in_season") FROM "table1_15431959_1" WHERE "directed_by"='Peter DeLuise';
1-15431959-1
Which number episode of season 6 was the title "Sight Unseen"?
CREATE TABLE "table1_15431959_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT MIN("no_in_season") FROM "table1_15431959_1" WHERE "title"='\"Sight Unseen\"';
1-15431959-1
Name the fifth district for william womer
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT "fifth_district" FROM "current_members" WHERE "third_district"='William Womer';
1-15442974-1
Name the third district for christine young
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT "third_district" FROM "current_members" WHERE "fifth_district"='Christine Young';
1-15442974-1
Name the fourth district for joan runnels
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT "fourth_district" FROM "current_members" WHERE "second_district"='Joan Runnels';
1-15442974-1
Name the fourth district for beverly bodem
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT "fourth_district" FROM "current_members" WHERE "first_district"='Beverly Bodem';
1-15442974-1
Name the number for fifth district for richard houskamp
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT COUNT("fifth_district") FROM "current_members" WHERE "third_district"='Richard Houskamp';
1-15442974-1
Name the fifth district for steve rudoni
CREATE TABLE "current_members" ( "first_district" text, "second_district" text, "third_district" text, "fourth_district" text, "fifth_district" text );
SELECT "fifth_district" FROM "current_members" WHERE "fourth_district"='Steve Rudoni';
1-15442974-1
What was the top ends lost where the ends won 47?
CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT MAX("ends_lost") FROM "standings" WHERE "ends_won"=47;
1-1543845-63
What was the location when the stolen ends is 12 and shot pct is 77%?
CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "locale" FROM "standings" WHERE "stolen_ends"=12 AND "shot_pct"='77%';
1-1543845-63
How many stolen ends were there when the locale was Sweden?
CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "stolen_ends" FROM "standings" WHERE "locale"='Sweden';
1-1543845-63
What was the school/club team whose season was in 2012 and were acquired via trade?
CREATE TABLE "s" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "school_club_team" FROM "s" WHERE "season"='2012' AND "acquisition_via"='Trade';
1-15463188-17
Which school/club team has a player named Mark Sanford?
CREATE TABLE "s" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "school_club_team" FROM "s" WHERE "name"='Mark Sanford';
1-15463188-17
How many school/club teams have a player named Manuel Luis Quezon?
CREATE TABLE "s" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT COUNT("number") FROM "s" WHERE "school_club_team"='Manuel Luis Quezon';
1-15463188-17
How many players are listed for the school/club team Washington?
CREATE TABLE "s" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT COUNT("name") FROM "s" WHERE "school_club_team"='Washington';
1-15463188-17
How many players with a position are listed for the 2009 season?
CREATE TABLE "s" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT COUNT("position") FROM "s" WHERE "season"='2009';
1-15463188-17
Name the school/club for guard
CREATE TABLE "a" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" real, "acquisition_via" text );
SELECT "school_club_team" FROM "a" WHERE "position"='Guard';
1-15463188-1
Name the position for judy-ann ramirez
CREATE TABLE "a" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" real, "acquisition_via" text );
SELECT "position" FROM "a" WHERE "name"='judy-ann ramirez';
1-15463188-1
What is the losing bonus for the team with a point difference of -99?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "losing_bonus" FROM "league_table" WHERE "points_difference"='-99';
1-15467476-3
How many games played for teams with 277 points?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "played" FROM "league_table" WHERE "points_for"='277';
1-15467476-3
How many games won for teams with 49 tries against?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "won" FROM "league_table" WHERE "tries_against"='49';
1-15467476-3
How many teams have 62 tries against?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("points_difference") FROM "league_table" WHERE "tries_against"='62';
1-15467476-3
How many tries for, for club cambrian welfare rfc?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "tries_for" FROM "league_table" WHERE "club"='Cambrian Welfare RFC';
1-15467476-3
How many teams have 21 tries for?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("points_difference") FROM "league_table" WHERE "tries_for"='21';
1-15467476-3
How many chassis used number 34?
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT COUNT("chassis") FROM "entries" WHERE "no"=34;
1-15491596-1
Who was the constructor of car 22?
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "constructor" FROM "entries" WHERE "no"=22;
1-15491596-1
How many cars used number 48?
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT COUNT("engine") FROM "entries" WHERE "no"=48;
1-15491596-1
Who drove car 44?
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "driver" FROM "entries" WHERE "no"=44;
1-15491596-1
Name the total number of years where runner-up and championship is us open
CREATE TABLE "mixed_doubles_finals_15_7_8" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT COUNT("year") FROM "mixed_doubles_finals_15_7_8" WHERE "outcome"='Runner-up' AND "championship"='US Open';
1-1547951-3
Name the surfaace where outcome is runner-up and championship is us open
CREATE TABLE "mixed_doubles_finals_15_7_8" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "mixed_doubles_finals_15_7_8" WHERE "outcome"='Runner-up' AND "championship"='US Open';
1-1547951-3
Name the partner for mark woodforde martina navratilova
CREATE TABLE "mixed_doubles_finals_15_7_8" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "mixed_doubles_finals_15_7_8" WHERE "opponents"='Mark Woodforde Martina Navratilova';
1-1547951-3
Name the score for rick leach zina garrison
CREATE TABLE "mixed_doubles_finals_15_7_8" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "score" FROM "mixed_doubles_finals_15_7_8" WHERE "opponents"='Rick Leach Zina Garrison';
1-1547951-3
Name the swimsuit for arizona
CREATE TABLE "semifinal_scores" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "swimsuit" FROM "semifinal_scores" WHERE "state"='Arizona';
1-15532342-2
Name the driver for race 2 7
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT "driver" FROM "indy_f3_challenge" WHERE "race_2"='7';
1-15530244-5
Name the total number of qualifiying for race 3 being 3
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT COUNT("qualifying") FROM "indy_f3_challenge" WHERE "race_3"='3';
1-15530244-5
Name the driver for race 2 2
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT "driver" FROM "indy_f3_challenge" WHERE "race_2"='2';
1-15530244-5
Name the race 1 when race 3 is 8
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT "race_1" FROM "indy_f3_challenge" WHERE "race_3"='8';
1-15530244-5
Name the race 2 for james winslow
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT "race_2" FROM "indy_f3_challenge" WHERE "driver"='James Winslow';
1-15530244-5
Name the total number of positions for race 1 being 2
CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real );
SELECT COUNT("pos") FROM "indy_f3_challenge" WHERE "race_1"='2';
1-15530244-5
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong
CREATE TABLE "full_series_results" ( "rd" real, "race" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "report" FROM "full_series_results" WHERE "pole_position"='Carl Skerlong' AND "winning_team"='Newman Wachs Racing';
1-15511178-3
Did the round 8 race get reported
CREATE TABLE "full_series_results" ( "rd" real, "race" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "report" FROM "full_series_results" WHERE "rd"=8;
1-15511178-3
Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito
CREATE TABLE "full_series_results" ( "rd" real, "race" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "race" FROM "full_series_results" WHERE "winning_team"='Mathiasen Motorsports' AND "pole_position"='Jonathan Bomarito';
1-15511178-3
how many winners were in round 8
CREATE TABLE "full_series_results" ( "rd" real, "race" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT COUNT("winning_driver") FROM "full_series_results" WHERE "rd"=8;
1-15511178-3
How many episodes air on Wednesday at 12:00pm?
CREATE TABLE "afternoon" ( "time" text, "12_00_pm" text, "01_00_pm" text, "02_00_pm" text, "03_00_pm" text, "04_00_pm" text, "05_00_pm" text, "05_55_pm" text );
SELECT COUNT("12_00_pm") FROM "afternoon" WHERE "time"='Wednesday';
1-15535243-3
What are the names of the episodes that airs at 2:00pm?
CREATE TABLE "afternoon" ( "time" text, "12_00_pm" text, "01_00_pm" text, "02_00_pm" text, "03_00_pm" text, "04_00_pm" text, "05_00_pm" text, "05_55_pm" text );
SELECT "02_00_pm" FROM "afternoon";
1-15535243-3
What is the name of the show that airs Friday at 5:55pm?
CREATE TABLE "afternoon" ( "time" text, "12_00_pm" text, "01_00_pm" text, "02_00_pm" text, "03_00_pm" text, "04_00_pm" text, "05_00_pm" text, "05_55_pm" text );
SELECT "05_55_pm" FROM "afternoon" WHERE "time"='Friday';
1-15535243-3
Name the 10 pm for thursday
CREATE TABLE "night" ( "time" text, "06_00_pm" text, "07_00_pm" text, "08_00_pm" text, "09_00_pm" text, "10_00_pm" text, "10_30_pm" text, "11_00_pm" text );
SELECT "10_00_pm" FROM "night" WHERE "time"='Thursday';
1-15535243-4