question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the assists for the year 1995?
CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "assists" FROM "college" WHERE "year"='1995';
2-15444124-1
What assists has the Team SMU and the total points of 85?
CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "assists" FROM "college" WHERE "team"='smu' AND "total_points"='85';
2-15444124-1
What year had 48 assists?
CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "year" FROM "college" WHERE "assists"='48';
2-15444124-1
What is the total points for GP/GS of 24/23?
CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "total_points" FROM "college" WHERE "gp_gs"='24/23';
2-15444124-1
What is the assists for the Team of Florida and the total points of 75?
CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "assists" FROM "college" WHERE "team"='florida' AND "total_points"='75';
2-15444124-1
What is the attendance of the match with F.C. central chugoku as the home team?
CREATE TABLE "first_round" ( "match_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "first_round" WHERE "home_team"='f.c. central chugoku';
2-15994215-2
What is the away team of match 9?
CREATE TABLE "first_round" ( "match_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "first_round" WHERE "match_no"='9';
2-15994215-2
What is the score of match 15?
CREATE TABLE "first_round" ( "match_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "score" FROM "first_round" WHERE "match_no"='15';
2-15994215-2
What is the attendance of the match with kochi university as the away team?
CREATE TABLE "first_round" ( "match_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "first_round" WHERE "away_team"='kochi university';
2-15994215-2
What is the attendance of the match with rosso kumamoto as the away team?
CREATE TABLE "first_round" ( "match_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "first_round" WHERE "away_team"='rosso kumamoto';
2-15994215-2
What year did the company have a balance sheet total of €125,359,000?
CREATE TABLE "financial_results" ( "year" real, "turnover" text, "net_income" text, "balance_sheet_total" text, "employees" real );
SELECT COUNT("year") FROM "financial_results" WHERE "balance_sheet_total"='€125,359,000';
2-16156033-1
What was the average Year of release for the Album, "Da Baddest Bitch"?
CREATE TABLE "music_videos" ( "song" text, "artist" text, "album" text, "director" text, "year" real );
SELECT AVG("year") FROM "music_videos" WHERE "album"='da baddest bitch';
2-15619795-7
After 2009, which Artist published the Song, "Party Like A DJ"?
CREATE TABLE "music_videos" ( "song" text, "artist" text, "album" text, "director" text, "year" real );
SELECT "artist" FROM "music_videos" WHERE "year">2009 AND "song"='\"party like a dj\"';
2-15619795-7
What was the result of the game with a score of 3-2?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_career" WHERE "score"='3-2';
2-15855923-1
What was the score of the 2014 World Cup Qualification?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_career" WHERE "competition"='2014 world cup qualification';
2-15855923-1
What was the result of the game with a score of 4-1?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_career" WHERE "score"='4-1';
2-15855923-1
What venue held with game with a score of 3-2?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_career" WHERE "score"='3-2';
2-15855923-1
Which Cover model has a 20 Questions of christina applegate?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "cover_model" FROM "2004" WHERE "20_questions"='christina applegate';
2-1566852-5
When has a Centerfold model of krista kelly?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "date" FROM "2004" WHERE "centerfold_model"='krista kelly';
2-1566852-5
Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "20_questions" FROM "2004" WHERE "cover_model"='rena mero , torrie wilson (two alternative covers)';
2-1566852-5
When Centerfold model is on 3-04?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "centerfold_model" FROM "2004" WHERE "date"='3-04';
2-1566852-5
Which Cover model has a Centerfold model of scarlett keegan?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "cover_model" FROM "2004" WHERE "centerfold_model"='scarlett keegan';
2-1566852-5
When has a Centerfold model of pilar lastra?
CREATE TABLE "2004" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "date" FROM "2004" WHERE "centerfold_model"='pilar lastra';
2-1566852-5
What is the average share at 8:00 p.m., and an 18-49 of 1.3/4 with an air date of April 4, 2008?
CREATE TABLE "u_s_standard_ratings" ( "air_date" text, "timeslot" text, "rating" real, "share" real, "18_49" text, "viewers" real, "weekly_rank" text );
SELECT AVG("share") FROM "u_s_standard_ratings" WHERE "timeslot"='8:00 p.m.' AND "18_49"='1.3/4' AND "air_date"='april 4, 2008';
2-16072430-1
What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15?
CREATE TABLE "u_s_standard_ratings" ( "air_date" text, "timeslot" text, "rating" real, "share" real, "18_49" text, "viewers" real, "weekly_rank" text );
SELECT MIN("share") FROM "u_s_standard_ratings" WHERE "air_date"='march 21, 2008' AND "viewers">5.15;
2-16072430-1
What is the lowest team (s) that have tvmk as top scorer (s) and flora as the champion?
CREATE TABLE "champions_and_top_goalscorers" ( "season" text, "champion" text, "runner_up" text, "3rd_position" text, "top_goalscorer_s" text, "team_s" real );
SELECT MIN("team_s") FROM "champions_and_top_goalscorers" WHERE "top_goalscorer_s"='tvmk' AND "champion"='flora';
2-1558755-2
Which runner-up has narva trans as a 3rd position for the 2005 season?
CREATE TABLE "champions_and_top_goalscorers" ( "season" text, "champion" text, "runner_up" text, "3rd_position" text, "top_goalscorer_s" text, "team_s" real );
SELECT "runner_up" FROM "champions_and_top_goalscorers" WHERE "3rd_position"='narva trans' AND "season"='2005';
2-1558755-2
Which season has flora as the runner-up, tvmk as the 3rd position, and narva trans as the top goalscorer (s)?
CREATE TABLE "champions_and_top_goalscorers" ( "season" text, "champion" text, "runner_up" text, "3rd_position" text, "top_goalscorer_s" text, "team_s" real );
SELECT "season" FROM "champions_and_top_goalscorers" WHERE "runner_up"='flora' AND "3rd_position"='tvmk' AND "top_goalscorer_s"='narva trans';
2-1558755-2
Which runner-up has levadia as the 3rd position for the team (s) 37?
CREATE TABLE "champions_and_top_goalscorers" ( "season" text, "champion" text, "runner_up" text, "3rd_position" text, "top_goalscorer_s" text, "team_s" real );
SELECT "runner_up" FROM "champions_and_top_goalscorers" WHERE "3rd_position"='levadia' AND "team_s"=37;
2-1558755-2
What round had the opponent Lyon?
CREATE TABLE "club_brugge" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );
SELECT "round" FROM "club_brugge" WHERE "opposition"='lyon';
2-15717469-2
Who has the first leg that has a round in the semi-final?
CREATE TABLE "club_brugge" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );
SELECT "first_leg" FROM "club_brugge" WHERE "round"='semi-final';
2-15717469-2
What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti?
CREATE TABLE "round_1" ( "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "most_laps_led" FROM "round_1" WHERE "winning_team"='chip ganassi racing' AND "fastest_lap"='marco andretti';
2-16099880-5
Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is Hélio Castroneves?
CREATE TABLE "round_1" ( "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "winning_driver" FROM "round_1" WHERE "most_laps_led"='dario franchitti' AND "pole_position"='hélio castroneves';
2-16099880-5
What is Winning Team, when Most Laps Led is Alex Tagliani?
CREATE TABLE "round_1" ( "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "winning_team" FROM "round_1" WHERE "most_laps_led"='alex tagliani';
2-16099880-5
What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe?
CREATE TABLE "round_1" ( "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "winning_driver" FROM "round_1" WHERE "fastest_lap"='ryan hunter-reay' AND "most_laps_led"='ryan briscoe';
2-16099880-5
What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?
CREATE TABLE "round_1" ( "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text );
SELECT "race" FROM "round_1" WHERE "winning_team"='chip ganassi racing' AND "pole_position"='ryan briscoe' AND "most_laps_led"='scott dixon';
2-16099880-5
Who was the Winner when the Runner-up was Real Salt Lake?
CREATE TABLE "finals_champions_league_era" ( "season" text, "winner" text, "score" text, "runner_up" text, "losing_semifinalists" text );
SELECT "winner" FROM "finals_champions_league_era" WHERE "runner_up"='real salt lake';
2-15577036-2
During which Season was the tournament in progress?
CREATE TABLE "finals_champions_league_era" ( "season" text, "winner" text, "score" text, "runner_up" text, "losing_semifinalists" text );
SELECT "season" FROM "finals_champions_league_era" WHERE "runner_up"='tournament in progress';
2-15577036-2
What was the Score during the Season in which the Winner was C.F. Atlante?
CREATE TABLE "finals_champions_league_era" ( "season" text, "winner" text, "score" text, "runner_up" text, "losing_semifinalists" text );
SELECT "score" FROM "finals_champions_league_era" WHERE "winner"='c.f. atlante';
2-15577036-2
What was the Score when the Losing Semifinalists were Toluca Unam?
CREATE TABLE "finals_champions_league_era" ( "season" text, "winner" text, "score" text, "runner_up" text, "losing_semifinalists" text );
SELECT "score" FROM "finals_champions_league_era" WHERE "losing_semifinalists"='toluca unam';
2-15577036-2
What law has a penalty of — in Iraq?
CREATE TABLE "homosexuality_laws_in_majority_muslim_co" ( "country" text, "laws_against_homosexuality" text, "penalty" text, "same_sex_unions" text, "laws_against_discrimination" text );
SELECT "laws_against_homosexuality" FROM "homosexuality_laws_in_majority_muslim_co" WHERE "penalty"='—' AND "country"='iraq';
2-15471-1
What are the laws against homosexuality in Malaysia?
CREATE TABLE "homosexuality_laws_in_majority_muslim_co" ( "country" text, "laws_against_homosexuality" text, "penalty" text, "same_sex_unions" text, "laws_against_discrimination" text );
SELECT "laws_against_homosexuality" FROM "homosexuality_laws_in_majority_muslim_co" WHERE "country"='malaysia';
2-15471-1
What is the average Events when the top-25 is 12 and there are less than 0 wins?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT AVG("events") FROM "summary" WHERE "top_25"=12 AND "wins"<0;
2-1571724-2
What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT SUM("events") FROM "summary" WHERE "top_25">5 AND "top_10"<4 AND "wins">2;
2-1571724-2
What is the average Top-10 when there were 17 cuts made with less than 0 wins?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT AVG("top_10") FROM "summary" WHERE "cuts_made"=17 AND "wins"<0;
2-1571724-2
What is the sum of Cuts made when there were more than 72 events?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT SUM("cuts_made") FROM "summary" WHERE "events">72;
2-1571724-2
What is the average Top-5 for the open championship, and a Top-10 smaller than 2?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT AVG("top_5") FROM "summary" WHERE "tournament"='the open championship' AND "top_10"<2;
2-1571724-2
What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09?
CREATE TABLE "united_states" ( "episode_number_production_number" text, "title" text, "original_airing" text, "rating" real, "share" real, "18_49" real, "total_viewers_in_millions" real, "rank_per_week" text );
SELECT "original_airing" FROM "united_states" WHERE "rating"<10.1 AND "episode_number_production_number"='96 5-09';
2-15717093-2
What was the fewest number of viewers for the episode production number of 109 5-22?
CREATE TABLE "united_states" ( "episode_number_production_number" text, "title" text, "original_airing" text, "rating" real, "share" real, "18_49" real, "total_viewers_in_millions" real, "rank_per_week" text );
SELECT MIN("total_viewers_in_millions") FROM "united_states" WHERE "episode_number_production_number"='109 5-22';
2-15717093-2
What is the First Aligned date in 1614?
CREATE TABLE "leap_year_error" ( "scholar" text, "date" text, "triennial_leap_years_bc" text, "first_julian_day" text, "first_aligned_day" text, "quadriennial_leap_year_resumes" text );
SELECT "first_aligned_day" FROM "leap_year_error" WHERE "date"='1614';
2-15651-2
How many Airlines have a total distance of 705 (km)?
CREATE TABLE "by_aircraft_movements" ( "rank" text, "route" text, "avg_daily_flts" real, "num_of_airlines" real, "distance_km" real, "market_share_leader" text );
SELECT COUNT("num_of_airlines") FROM "by_aircraft_movements" WHERE "distance_km"=705;
2-16066063-8
What is the 1st leg result when team 1 is Gambia?
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "first_round" WHERE "team_1"='gambia';
2-15980495-2
What is the 2nd leg result when team 2 is Morocco?
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "first_round" WHERE "team_2"='morocco';
2-15980495-2
Which Name was in the Year 2001?
CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" real, "source" text, "year" text );
SELECT "name" FROM "rankings" WHERE "year"='2001';
2-15733308-1
Which Name had a Rank of 18 Out of a number smaller than 149?
CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" real, "source" text, "year" text );
SELECT "name" FROM "rankings" WHERE "out_of"<149 AND "rank"=18;
2-15733308-1
Which Name had the Rank, 15?
CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" real, "source" text, "year" text );
SELECT "name" FROM "rankings" WHERE "rank"=15;
2-15733308-1
What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181?
CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" real, "source" text, "year" text );
SELECT MIN("rank") FROM "rankings" WHERE "name"='area of permanent crops' AND "out_of"<181;
2-15733308-1
Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?
CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" real, "source" text, "year" text );
SELECT "name" FROM "rankings" WHERE "source"='world bank' AND "rank"<110 AND "out_of"<199;
2-15733308-1
Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain?
CREATE TABLE "league" ( "team" text, "city" text, "inaugural_season" text, "final_season" text, "captain" text, "coach" text );
SELECT "team" FROM "league" WHERE "coach"='manzoor elahi' AND "captain"='taufeeq umar';
2-16159444-1
Which City has the Bahawalpur Stags Team?
CREATE TABLE "league" ( "team" text, "city" text, "inaugural_season" text, "final_season" text, "captain" text, "coach" text );
SELECT "city" FROM "league" WHERE "team"='bahawalpur stags';
2-16159444-1
Who is the opponent of the December 18, 1994 game?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "date"='december 18, 1994';
2-16023821-1
What is the Artist with a Date that is june 1979?
CREATE TABLE "1970s" ( "spoofed_title" text, "actual_title" text, "writer" text, "artist" text, "issue" real, "date" text );
SELECT "artist" FROM "1970s" WHERE "date"='june 1979';
2-15860633-6
What is the Writer with an Actual Title that is mork & mindy?
CREATE TABLE "1970s" ( "spoofed_title" text, "actual_title" text, "writer" text, "artist" text, "issue" real, "date" text );
SELECT "writer" FROM "1970s" WHERE "actual_title"='mork & mindy';
2-15860633-6
What is the Writer with a Date that is january 1975?
CREATE TABLE "1970s" ( "spoofed_title" text, "actual_title" text, "writer" text, "artist" text, "issue" real, "date" text );
SELECT "writer" FROM "1970s" WHERE "date"='january 1975';
2-15860633-6
What was the 2010 census when the 2011 estimate was 410?
CREATE TABLE "cities_and_towns" ( "city" text, "2011_estimate" real, "2010_census" real, "2000_census" text, "county" text );
SELECT SUM("2010_census") FROM "cities_and_towns" WHERE "2011_estimate"=410;
2-1543580-1
What is the smallest played amount when there are 2 draws and an against of more than 73?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("played") FROM "campeonato_paulista" WHERE "drawn"=2 AND "against">73;
2-15371152-1
What is the earliest season with a premiere of february5,2007?
CREATE TABLE "series_overview" ( "season" real, "episodes" real, "premiere" text, "finale" text, "dvd_release_date" text );
SELECT MIN("episodes") FROM "series_overview" WHERE "premiere"='february5,2007';
2-15584472-1
Which premiere had more than 15 episodes?
CREATE TABLE "series_overview" ( "season" real, "episodes" real, "premiere" text, "finale" text, "dvd_release_date" text );
SELECT "premiere" FROM "series_overview" WHERE "episodes">15;
2-15584472-1
Who had the highest rebounds of the game on April 7?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "game_log" WHERE "date"='april 7';
2-15873014-8
What is Result, when Date is 2003?
CREATE TABLE "mixed_martial_arts_record" ( "result" text, "record" text, "opponent" text, "method" text, "date" text, "round" real, "location" text, "notes" text );
SELECT "result" FROM "mixed_martial_arts_record" WHERE "date"='2003';
2-16055831-2
What is Record, when Date is 1996?
CREATE TABLE "mixed_martial_arts_record" ( "result" text, "record" text, "opponent" text, "method" text, "date" text, "round" real, "location" text, "notes" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "date"='1996';
2-16055831-2
What is Notes, when Date is 2007?
CREATE TABLE "mixed_martial_arts_record" ( "result" text, "record" text, "opponent" text, "method" text, "date" text, "round" real, "location" text, "notes" text );
SELECT "notes" FROM "mixed_martial_arts_record" WHERE "date"='2007';
2-16055831-2
What is the highest Round, when the Opponent is Junior Pitbull?
CREATE TABLE "mixed_martial_arts_record" ( "result" text, "record" text, "opponent" text, "method" text, "date" text, "round" real, "location" text, "notes" text );
SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "opponent"='junior pitbull';
2-16055831-2
What is Date, when Result is Loss, and when Method is Submission (Armbar)?
CREATE TABLE "mixed_martial_arts_record" ( "result" text, "record" text, "opponent" text, "method" text, "date" text, "round" real, "location" text, "notes" text );
SELECT "date" FROM "mixed_martial_arts_record" WHERE "result"='loss' AND "method"='submission (armbar)';
2-16055831-2
What is the Coombe Road time with a Selsdon evening peak?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "coombe_road" FROM "1980_timetable_an_illustrative_example" WHERE "selsdon"='evening peak';
2-1609086-1
What is the Woodside for the 16:19 Coombe Road?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "woodside" FROM "1980_timetable_an_illustrative_example" WHERE "coombe_road"='16:19';
2-1609086-1
What is the Elmers End with a 09:54 Bingham Road?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "elmers_end" FROM "1980_timetable_an_illustrative_example" WHERE "bingham_road"='09:54';
2-1609086-1
What is the Coombe Road with a Woodside time of 07:23?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "coombe_road" FROM "1980_timetable_an_illustrative_example" WHERE "woodside"='07:23';
2-1609086-1
What is the Elmers End with a 17:57 Selsdon time?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "elmers_end" FROM "1980_timetable_an_illustrative_example" WHERE "selsdon"='17:57';
2-1609086-1
What is the Selsdon for the 17:19 Coombe Road?
CREATE TABLE "1980_timetable_an_illustrative_example" ( "sanderstead" text, "selsdon" text, "coombe_road" text, "bingham_road" text, "woodside" text, "elmers_end" text );
SELECT "selsdon" FROM "1980_timetable_an_illustrative_example" WHERE "coombe_road"='17:19';
2-1609086-1
What is the highest win for losses less than 2?
CREATE TABLE "2007_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("wins") FROM "2007_ladder" WHERE "losses"<2;
2-1552908-15
What is the average Byes for the losses of 15, and before 1874?
CREATE TABLE "2007_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT AVG("byes") FROM "2007_ladder" WHERE "losses"=15 AND "against"<1874;
2-1552908-15
What is the sum of against in Ballarat FL of East Point and wins less than 16?
CREATE TABLE "2007_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT SUM("against") FROM "2007_ladder" WHERE "ballarat_fl"='east point' AND "wins"<16;
2-1552908-15
What is the School with a Pick that is 24?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text );
SELECT "school" FROM "first_round_selections" WHERE "pick"=24;
2-16022840-2
What is the Team with a Player that is david cooper?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text );
SELECT "team" FROM "first_round_selections" WHERE "player"='david cooper';
2-16022840-2
How many visitors in 2007 were there for ski jumping hill?
CREATE TABLE "most_visited_tourist_attractions" ( "rank" real, "cultural_attraction" text, "type" text, "location" text, "visitors_2007" real );
SELECT SUM("visitors_2007") FROM "most_visited_tourist_attractions" WHERE "type"='ski jumping hill';
2-159610-1
What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT MAX("games") FROM "rebounds" WHERE "rebounds">100 AND "name"='nikola peković' AND "rank"<4;
2-16050349-2
What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT COUNT("games") FROM "rebounds" WHERE "rank"<4 AND "rebounds"<102;
2-16050349-2
What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT MIN("games") FROM "rebounds" WHERE "name"='travis watson' AND "rebounds"<136;
2-16050349-2
What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT SUM("rebounds") FROM "rebounds" WHERE "team"='aris thessaloniki' AND "games">14;
2-16050349-2
What is the highest Rank, when Name is Travis Watson, and when Games is less than 14?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT MAX("rank") FROM "rebounds" WHERE "name"='travis watson' AND "games"<14;
2-16050349-2
What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "authors" FROM "non_mammalian" WHERE "novelty"='gen nov' AND "location"='south africa' AND "name"='criocephalosaurus';
2-15313494-8
What is Status, when Location is Russia?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "status" FROM "non_mammalian" WHERE "location"='russia';
2-15313494-8
What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "authors" FROM "non_mammalian" WHERE "novelty"='gen et sp nov' AND "name"='lanthanocephalus';
2-15313494-8
What is Name, when Authors are Kammerer & Sidor?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "name" FROM "non_mammalian" WHERE "authors"='kammerer & sidor';
2-15313494-8
What is Name, when Location is Tanzania, and when Novelty is Gen Nov?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "name" FROM "non_mammalian" WHERE "location"='tanzania' AND "novelty"='gen nov';
2-15313494-8
What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov?
CREATE TABLE "non_mammalian" ( "name" text, "novelty" text, "status" text, "authors" text, "location" text );
SELECT "name" FROM "non_mammalian" WHERE "status"='valid' AND "authors"='maisch' AND "location"='tanzania' AND "novelty"='gen et sp nov';
2-15313494-8
What is the T568A color for the cable with a white/orange stripe T568B color?
CREATE TABLE "category_6a" ( "t568_a_pair" real, "t568_b_pair" real, "wire" text, "t568_a_color" text, "t568_b_color" text );
SELECT "t568_a_color" FROM "category_6a" WHERE "t568_b_color"='white/orange stripe';
2-1609057-1
What is the Date with an Opponent that is flavia pennetta?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_5_5_runners_up" WHERE "opponent"='flavia pennetta';
2-15551996-3
What is the Score with an Opponent that is flavia pennetta?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_5_5_runners_up" WHERE "opponent"='flavia pennetta';
2-15551996-3