question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which locomotive class had 5 items made?
CREATE TABLE "west_donegal_railway" ( "class" text, "type" text, "fleet_numbers" text, "quantity_made" real, "manufacturer" text, "date_made" real, "date_withdrawn" text );
SELECT "class" FROM "west_donegal_railway" WHERE "quantity_made"=5;
2-1290024-4
Which manufacturer made a locomotive with a type of 4-6-4t?
CREATE TABLE "west_donegal_railway" ( "class" text, "type" text, "fleet_numbers" text, "quantity_made" real, "manufacturer" text, "date_made" real, "date_withdrawn" text );
SELECT "manufacturer" FROM "west_donegal_railway" WHERE "type"='4-6-4t';
2-1290024-4
What is the event year radek štěpánek was the round and there were less than 3 aces?
CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text );
SELECT COUNT("event") FROM "miscellaneous" WHERE "round"='radek štěpánek' AND "aces"<3;
2-12824609-200
How many players were in the event after 2011 with less than 9 aces?
CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text );
SELECT COUNT("player") FROM "miscellaneous" WHERE "event">2011 AND "aces"<9;
2-12824609-200
Who was the opponent in the 2011 event with less than 113 players?
CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text );
SELECT "opponent" FROM "miscellaneous" WHERE "player"<113 AND "event"=2011;
2-12824609-200
What is the highest number of players during 1r year with a clay set and more than 4 aces?
CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text );
SELECT MAX("player") FROM "miscellaneous" WHERE "year"='1r' AND "sets"='clay' AND "aces">4;
2-12824609-200
Who played as Team 2 against Team 1 SC Gagnoa?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_2" FROM "second_round" WHERE "team_1"='sc gagnoa';
2-12443357-2
What was the 1st leg score when Mufulira Wanderers played as Team 2?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_2"='mufulira wanderers';
2-12443357-2
What's the score of the 1st leg when Water Corporation was Team 1?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_1"='water corporation';
2-12443357-2
What's the 1st leg score when Team 1 was Gor Mahia?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_1"='gor mahia';
2-12443357-2
Who played as Team 1 against Lomé i?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "second_round" WHERE "team_2"='lomé i';
2-12443357-2
Name the entrant for year of 1952
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"=1952;
2-1235932-2
Name the total number of points for 1952
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT COUNT("points") FROM "complete_formula_one_world_championship_" WHERE "year"=1952;
2-1235932-2
Name the total number of years for talbot-lago t26c and points less than 3
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='talbot-lago t26c' AND "points"<3;
2-1235932-2
What episode featured entrepreneur Richard Ernest?
CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text );
SELECT "first_aired" FROM "series_11" WHERE "entrepreneur_s"='richard ernest';
2-12617978-15
What Investing Dragons had a request of £100,000?
CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text );
SELECT "investing_dragon_s" FROM "series_11" WHERE "money_requested"='100,000';
2-12617978-15
What Entrepreneurs requested £60,000?
CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text );
SELECT "entrepreneur_s" FROM "series_11" WHERE "money_requested"='60,000';
2-12617978-15
How much was requested from Investing Dragon Peter Jones request in episode 2?
CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text );
SELECT "money_requested" FROM "series_11" WHERE "investing_dragon_s"='peter jones' AND "episode"='episode 2';
2-12617978-15
Name the investing dragon for razzamataz
CREATE TABLE "series_4" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text );
SELECT "investing_dragon_s" FROM "series_4" WHERE "company_or_product_name"='razzamataz';
2-12617978-8
Name the first aired with money requested more than 85,000
CREATE TABLE "series_4" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text );
SELECT "first_aired" FROM "series_4" WHERE "money_requested">'85,000';
2-12617978-8
What is the competition type of the event with a result of 3-2 and a score of 2-1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "result"='3-2' AND "score"='2-1';
2-12736907-1
Which date has a competition type of friendly and a score of 2-1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='friendly' AND "score"='2-1';
2-12736907-1
What is the score of the event with a competition type of friendly and a result of 4-5?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='friendly' AND "result"='4-5';
2-12736907-1
Which date has a score of 2-1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "score"='2-1';
2-12736907-1
Which date has a competition type of British home championship?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='british home championship';
2-12736907-1
what date was mallala motor sport park the circuit?
CREATE TABLE "race_calendar" ( "circuit" text, "location_state" text, "date" text, "winning_driver" text, "team" text );
SELECT "date" FROM "race_calendar" WHERE "circuit"='mallala motor sport park';
2-12560674-2
what date did the m3 motorsport team compete at winton motor raceway?
CREATE TABLE "race_calendar" ( "circuit" text, "location_state" text, "date" text, "winning_driver" text, "team" text );
SELECT "date" FROM "race_calendar" WHERE "team"='m3 motorsport' AND "circuit"='winton motor raceway';
2-12560674-2
Name the agg for team 2 of asl sport guyanais.
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "agg" FROM "first_round" WHERE "team_2"='asl sport guyanais';
2-12285359-7
Name the agg for seba united
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "agg" FROM "first_round" WHERE "team_1"='seba united';
2-12285359-7
Name the 2nd leg for defence force
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"='defence force';
2-12285359-7
Which country does FC Atyrau represent after the 2006 season?
CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real );
SELECT "country" FROM "club_career_stats" WHERE "season">2006 AND "team"='fc atyrau';
2-12418501-1
In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?
CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real );
SELECT MAX("season") FROM "club_career_stats" WHERE "country"='uzbekistan' AND "team"='fc pakhtakor tashkent' AND "apps">6;
2-12418501-1
How many seasons have 1 goals and more than 11 apps?
CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real );
SELECT COUNT("season") FROM "club_career_stats" WHERE "goals"=1 AND "apps">11;
2-12418501-1
What game that had a record of 39-44 had the lowest attendance?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MIN("attendance") FROM "game_log" WHERE "record"='39-44';
2-12207222-5
Who was the opponent at the game that had a loss of Saarloos (7-7)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "opponent" FROM "game_log" WHERE "loss"='saarloos (7-7)';
2-12367921-7
What was the date of the game attended by more than 24,383 with a score of 4-3?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "attendance">'24,383' AND "score"='4-3';
2-12367921-7
What was the score of the game with a record of 81-60?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='81-60';
2-12367921-7
What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MIN("attendance") FROM "game_log" WHERE "score"='5-4' AND "loss"='williams (2-4)';
2-12367921-7
What year did the 11th place play 26 games?
CREATE TABLE "honours" ( "year" text, "division" text, "place" text, "played" real, "drawn" text, "lost" text, "g_f" text, "g_a" text, "g_d" text, "points" real );
SELECT "year" FROM "honours" WHERE "place"='11th' AND "played"=26;
2-1256445-2
What is the total played games of a 22 G.A.?
CREATE TABLE "honours" ( "year" text, "division" text, "place" text, "played" real, "drawn" text, "lost" text, "g_f" text, "g_a" text, "g_d" text, "points" real );
SELECT COUNT("played") FROM "honours" WHERE "g_a"='22';
2-1256445-2
Name the winner for genoa to livorno
CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text );
SELECT "winner" FROM "stage_results" WHERE "course"='genoa to livorno';
2-12597386-1
Name the winner for 5 june
CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text );
SELECT "winner" FROM "stage_results" WHERE "date"='5 june';
2-12597386-1
Name the winner for rest day race leader
CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text );
SELECT "winner" FROM "stage_results" WHERE "race_leader"='rest day';
2-12597386-1
Name the least rank for lane less than 5 for germany and sandra völker
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT MIN("rank") FROM "semifinal_1" WHERE "lane"<5 AND "nationality"='germany' AND "name"='sandra völker';
2-12385343-5
Name the total number of rank for lane 7
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT COUNT("rank") FROM "semifinal_1" WHERE "lane"=7;
2-12385343-5
Name the most time for katrin meißner and rank less than 5
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT MAX("time") FROM "semifinal_1" WHERE "name"='katrin meißner' AND "rank"<5;
2-12385343-5
Tell me the name for time of 25.74
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT "name" FROM "semifinal_1" WHERE "time"=25.74;
2-12385343-5
Was the University of Southern California Signed?
CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text );
SELECT "signed" FROM "june_secondary_phase" WHERE "school"='university of southern california';
2-12937301-12
Was the University of Michigan Signed?
CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text );
SELECT "signed" FROM "june_secondary_phase" WHERE "school"='university of michigan';
2-12937301-12
What is the University of Southern California's highest Round?
CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text );
SELECT MAX("round") FROM "june_secondary_phase" WHERE "school"='university of southern california';
2-12937301-12
Who was the home captain at Sabina Park?
CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );
SELECT "home_captain" FROM "england_in_west_indies" WHERE "venue"='sabina park';
2-12410929-87
What was the result of the game hosted at Queen's Park Oval?
CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );
SELECT "result" FROM "england_in_west_indies" WHERE "venue"='queen''s park oval';
2-12410929-87
Name the genre for release-year of first charted record of 1988
CREATE TABLE "80_million_to_99_million_records" ( "artist" text, "country_of_origin" text, "period_active" text, "release_year_of_first_charted_record" real, "genre" text, "claimed_sales" text );
SELECT "genre" FROM "80_million_to_99_million_records" WHERE "release_year_of_first_charted_record"=1988;
2-1291598-5
What was the loss of the game with a record of 77-65?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='77-65';
2-12207553-7
What was the loss of the game with a record of 84-71?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='84-71';
2-12207553-7
What date was the record 34-41?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='34-41';
2-12207717-5
What type had a course of Grosseto To Rieti?
CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text );
SELECT "type" FROM "stage_results" WHERE "course"='grosseto to rieti';
2-12261714-1
In what Season were there 86 Assists in the WCJHL League?
CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real );
SELECT "season" FROM "scoring_champions" WHERE "league"='wcjhl' AND "assists"=86;
2-1216375-2
In the WCHL League, what is the last Assists with less than 65 Goals?
CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real );
SELECT MIN("assists") FROM "scoring_champions" WHERE "league"='wchl' AND "goals"<65;
2-1216375-2
What are the most Points with an Assist of 46?
CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real );
SELECT MAX("points") FROM "scoring_champions" WHERE "assists"=46;
2-1216375-2
What compound is yellow?
CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text );
SELECT "compound_name" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "colour"='yellow';
2-12707313-1
What grip has a dry option?
CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text );
SELECT "grip" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "dry_type"='option';
2-12707313-1
What color is the super-soft compound?
CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text );
SELECT "colour" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "compound_name"='super-soft';
2-12707313-1
Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?
CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text );
SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "gross_revenue_1979"='$665,232';
2-12557476-2
What is the Gross Revenue (1979) of the Venue, lyceum theatre?
CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text );
SELECT "gross_revenue_1979" FROM "box_office_score_data" WHERE "venue"='lyceum theatre';
2-12557476-2
What is the amount of Tickets Sold/ Available at the Venue of hippodrome?
CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text );
SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "venue"='hippodrome';
2-12557476-2
Which Venue has a Gross Revenue (2012) of $179,712?
CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text );
SELECT "venue" FROM "box_office_score_data" WHERE "gross_revenue_2012"='$179,712';
2-12557476-2
Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)?
CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text );
SELECT "venue" FROM "box_office_score_data" WHERE "tickets_sold_available"='4,700 / 4,700 (100%)';
2-12557476-2
What was the date of the game that had a loss of Willis (0–1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "date" FROM "game_log" WHERE "loss"='willis (0–1)';
2-12207924-2
What was the opponent at the game that had a loss of Travers (0–2)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "loss"='travers (0–2)';
2-12207924-2
What was the Loss when the Record was 50-54?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='50-54';
2-12206356-5
Who was the opponent when the loss was Wells (4-7)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "loss"='wells (4-7)';
2-12206356-5
What shows for shoots for craig peacock a?
CREATE TABLE "forwards" ( "number" real, "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text );
SELECT "shoots" FROM "forwards" WHERE "player"='craig peacock a';
2-1235643-3
What is the average Acquired when the Number shows as 7?
CREATE TABLE "forwards" ( "number" real, "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text );
SELECT AVG("acquired") FROM "forwards" WHERE "number"=7;
2-1235643-3
What is the total of 2013 with 6th?
CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT MAX("total") FROM "team_appearances" WHERE "2013"='6th';
2-12233660-4
Which 2009 year has a total of 1, and 2004 year of 7th?
CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2009" FROM "team_appearances" WHERE "total"=1 AND "2004"='7th';
2-12233660-4
What is the year 2013 with a total of 5, and 5th in 2009?
CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2013" FROM "team_appearances" WHERE "total"=5 AND "2009"='5th';
2-12233660-4
What is the year 2001 with a total larger than 1, and 2009 with 8?
CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2001" FROM "team_appearances" WHERE "total">1 AND "2009"='8';
2-12233660-4
What opponents have a record of 90-70?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='90-70';
2-12206617-8
What game had more than 50,324 in attendance?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "attendance">'50,324';
2-12206617-8
What is the start of Offy engine and in 1972?
CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text );
SELECT "start" FROM "indy_500_results" WHERE "engine"='offy' AND "year"=1972;
2-1235776-2
What is the chassis for offy engine and 25th finish?
CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text );
SELECT "chassis" FROM "indy_500_results" WHERE "engine"='offy' AND "finish"='25th';
2-1235776-2
What is the finish of Mclaren chassis?
CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text );
SELECT "finish" FROM "indy_500_results" WHERE "chassis"='mclaren';
2-1235776-2
Name the wrestlers with days held of 428
CREATE TABLE "title_history" ( "wrestlers" text, "reign" text, "days_held" text, "location" text, "event" text );
SELECT "wrestlers" FROM "title_history" WHERE "days_held"='428';
2-12246656-2
Name the wrestlers for days held of 69
CREATE TABLE "title_history" ( "wrestlers" text, "reign" text, "days_held" text, "location" text, "event" text );
SELECT "wrestlers" FROM "title_history" WHERE "days_held"='69';
2-12246656-2
Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_22_15_7" WHERE "surface"='clay' AND "outcome"='winner' AND "tournament"='bogotá' AND "score"='6–0, 6–4';
2-12209362-10
Which opponent has a Score of 6–4, 3–6, 6–3?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_22_15_7" WHERE "score"='6–4, 3–6, 6–3';
2-12209362-10
What is the score for 04 september 2006?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_22_15_7" WHERE "date"='04 september 2006';
2-12209362-10
Which Tournament has a Score of 4-6 6-2 6-1?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_22_15_7" WHERE "score"='4-6 6-2 6-1';
2-12209362-10
Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_22_15_7" WHERE "surface"='clay' AND "score"='4–6, 7–5, 2–6';
2-12209362-10
What date was versmold?
CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_22_15_7" WHERE "tournament"='versmold';
2-12209362-10
Name the competition for motherwell opponents
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "competition" FROM "european_record" WHERE "opponents"='motherwell';
2-1219456-1
Name the home leg for uefa europa league and round of q1 with opponents of motherwell
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "home_leg" FROM "european_record" WHERE "competition"='uefa europa league' AND "round"='q1' AND "opponents"='motherwell';
2-1219456-1
Name the aggregate with opponents of tauras
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "aggregate" FROM "european_record" WHERE "opponents"='tauras';
2-1219456-1
What date was 53-75 recorded?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='53-75';
2-12205709-7
Overall of 62 is what average round?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("round") FROM "indianapolis_colts_draft_history" WHERE "overall"=62;
2-13312898-54
College of san diego state, and a Pick # smaller than 30 is what lowest overall?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("overall") FROM "indianapolis_colts_draft_history" WHERE "college"='san diego state' AND "pick_num"<30;
2-13312898-54
College of san diego state, and a Pick # smaller than 30 has what lowest overall?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("overall") FROM "indianapolis_colts_draft_history" WHERE "college"='san diego state' AND "pick_num"<30;
2-13312898-54
Which city of license has an independent network affiliation, a variety format and is station KKUP?
CREATE TABLE "fm" ( "station" text, "frequency" real, "network_affiliation" text, "format" text, "city_of_license" text, "status" text );
SELECT "city_of_license" FROM "fm" WHERE "network_affiliation"='independent' AND "format"='variety' AND "station"='kkup';
2-12271718-3
What is the status of the independent station KPFB?
CREATE TABLE "fm" ( "station" text, "frequency" real, "network_affiliation" text, "format" text, "city_of_license" text, "status" text );
SELECT "status" FROM "fm" WHERE "network_affiliation"='independent' AND "station"='kpfb';
2-12271718-3