question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What races were Chi-Chi Rodriguez the runner-up in?
|
CREATE TABLE "senior_pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "tournament" FROM "senior_pga_tour_wins_10" WHERE "runner_s_up"='chi-chi rodriguez';
|
2-13026799-7
|
What was the margin of victory for Isao Aoki when he was a runner-up?
|
CREATE TABLE "senior_pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "margin_of_victory" FROM "senior_pga_tour_wins_10" WHERE "runner_s_up"='isao aoki';
|
2-13026799-7
|
What was the winning score in the mazda senior tournament players championship?
|
CREATE TABLE "senior_pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "winning_score" FROM "senior_pga_tour_wins_10" WHERE "tournament"='mazda senior tournament players championship';
|
2-13026799-7
|
Which tournament ended with a winning score of –27 (65-68-64-64=261)?
|
CREATE TABLE "senior_pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "tournament" FROM "senior_pga_tour_wins_10" WHERE "winning_score"='–27 (65-68-64-64=261)';
|
2-13026799-7
|
Who was the runner(s)-up for the Feb 18, 1996 tournament?
|
CREATE TABLE "senior_pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "runner_s_up" FROM "senior_pga_tour_wins_10" WHERE "date"='feb 18, 1996';
|
2-13026799-7
|
What is Oriol Servia's average Grid on races with more than 43 laps?
|
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
|
SELECT AVG("grid") FROM "race" WHERE "laps">43 AND "driver"='oriol servia';
|
2-12126919-2
|
How many laps were there in the race that netted the winner 19 points?
|
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
|
SELECT "laps" FROM "race" WHERE "points"=19;
|
2-12126919-2
|
In what Season is Necaxa an Opponent?
|
CREATE TABLE "domestic_goals_summary" (
"date" text,
"season" text,
"playing_for" text,
"opponent" text,
"final_score" text
);
|
SELECT "season" FROM "domestic_goals_summary" WHERE "opponent"='necaxa';
|
2-12404484-1
|
In what season is Victoria the Opponent?
|
CREATE TABLE "domestic_goals_summary" (
"date" text,
"season" text,
"playing_for" text,
"opponent" text,
"final_score" text
);
|
SELECT "season" FROM "domestic_goals_summary" WHERE "opponent"='victoria';
|
2-12404484-1
|
Name the authority when the decile is 6 for pongaroa school
|
CREATE TABLE "tararua_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "authority" FROM "tararua_district" WHERE "decile"=6 AND "name"='pongaroa school';
|
2-12197750-6
|
Name the years for dannevirke south school
|
CREATE TABLE "tararua_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "years" FROM "tararua_district" WHERE "name"='dannevirke south school';
|
2-12197750-6
|
Name the least decile for state authority and area of eketahuna with roll more than 44
|
CREATE TABLE "tararua_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT MIN("decile") FROM "tararua_district" WHERE "authority"='state' AND "area"='eketahuna' AND "roll">44;
|
2-12197750-6
|
Tell me the name with area of eketahuna
|
CREATE TABLE "tararua_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
|
SELECT "name" FROM "tararua_district" WHERE "area"='eketahuna';
|
2-12197750-6
|
Name what was completed on 12 april 1934
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "completed" FROM "e_class" WHERE "launched"='12 april 1934';
|
2-1224141-1
|
Name the launched for 13 september 1934 completion
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "launched" FROM "e_class" WHERE "completed"='13 september 1934';
|
2-1224141-1
|
Name the ship launched 29 may 1934
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "ship" FROM "e_class" WHERE "launched"='29 may 1934';
|
2-1224141-1
|
Name the laid down for launched being 16 february 1934
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "laid_down" FROM "e_class" WHERE "launched"='16 february 1934';
|
2-1224141-1
|
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "pennant_number" FROM "e_class" WHERE "launched"='29 march 1934' AND "completed"='30 october 1934';
|
2-1224141-1
|
Name the laid down for completed of 22 october 1934
|
CREATE TABLE "e_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"completed" text
);
|
SELECT "laid_down" FROM "e_class" WHERE "completed"='22 october 1934';
|
2-1224141-1
|
what is the candidates name who is ranked 8th?
|
CREATE TABLE "36_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT "candidate_s_name" FROM "36_seats" WHERE "rank"='8th';
|
2-12890254-2
|
where is harold j. ludwig riding when the votes are more than 484?
|
CREATE TABLE "36_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT "riding" FROM "36_seats" WHERE "votes">484 AND "candidate_s_name"='harold j. ludwig';
|
2-12890254-2
|
what is the gender of Ron Gray, ranked 5th?
|
CREATE TABLE "36_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT "gender" FROM "36_seats" WHERE "rank"='5th' AND "candidate_s_name"='ron gray';
|
2-12890254-2
|
what is the lowest votes of the candidate ranked 5th and riding in victoria?
|
CREATE TABLE "36_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
);
|
SELECT MIN("votes") FROM "36_seats" WHERE "rank"='5th' AND "riding"='victoria';
|
2-12890254-2
|
Which home captian has aus by 295 runs as the result?
|
CREATE TABLE "england_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
|
SELECT "home_captain" FROM "england_in_australia" WHERE "result"='aus by 295 runs';
|
2-12410929-44
|
Which result has adelaide oval as the venue?
|
CREATE TABLE "england_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
|
SELECT "result" FROM "england_in_australia" WHERE "venue"='adelaide oval';
|
2-12410929-44
|
Born in 1982, this guard has what listed as a height?
|
CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
);
|
SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "position"='guard' AND "year_born"=1982;
|
2-12962773-14
|
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
|
CREATE TABLE "jersey_progress_chart" (
"stage_winner" text,
"general_classification_yellow_jersey" text,
"mountains_classification_green_jersey" text,
"points_classification_navy_blue_jersey" text,
"intermediate_sprints_classification_red_jersey" text,
"team_classification" text
);
|
SELECT "points_classification_navy_blue_jersey" FROM "jersey_progress_chart" WHERE "general_classification_yellow_jersey"='graeme brown';
|
2-12926726-1
|
What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil?
|
CREATE TABLE "jersey_progress_chart" (
"stage_winner" text,
"general_classification_yellow_jersey" text,
"mountains_classification_green_jersey" text,
"points_classification_navy_blue_jersey" text,
"intermediate_sprints_classification_red_jersey" text,
"team_classification" text
);
|
SELECT "intermediate_sprints_classification_red_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='murilo antonio fischer' AND "points_classification_navy_blue_jersey"='jose joaquin rojas gil';
|
2-12926726-1
|
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
|
CREATE TABLE "jersey_progress_chart" (
"stage_winner" text,
"general_classification_yellow_jersey" text,
"mountains_classification_green_jersey" text,
"points_classification_navy_blue_jersey" text,
"intermediate_sprints_classification_red_jersey" text,
"team_classification" text
);
|
SELECT "general_classification_yellow_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='murilo antonio fischer' AND "team_classification"='lampre-fondital';
|
2-12926726-1
|
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner?
|
CREATE TABLE "jersey_progress_chart" (
"stage_winner" text,
"general_classification_yellow_jersey" text,
"mountains_classification_green_jersey" text,
"points_classification_navy_blue_jersey" text,
"intermediate_sprints_classification_red_jersey" text,
"team_classification" text
);
|
SELECT "points_classification_navy_blue_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='yoann le boulanger' AND "team_classification"='gerolsteiner';
|
2-12926726-1
|
What was the attendance on April 7?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT SUM("attendance") FROM "game_log" WHERE "date"='april 7';
|
2-12125069-3
|
Who wins the Northumberland Senior Cup, when the Northumberland Women's Cup is won by Whitley Bay Women, and when the Northumberland Senior Benevolent Bowl is won by Alnwick Town?
|
CREATE TABLE "list_of_recent_northumberland_cup_winner" (
"season" text,
"northumberland_senior_cup" text,
"northumberland_senior_benevolent_bowl" text,
"northumberland_minor_cup" text,
"northumberland_women_s_cup" text
);
|
SELECT "northumberland_senior_cup" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_women_s_cup"='whitley bay women' AND "northumberland_senior_benevolent_bowl"='alnwick town';
|
2-12607102-1
|
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'?
|
CREATE TABLE "list_of_recent_northumberland_cup_winner" (
"season" text,
"northumberland_senior_cup" text,
"northumberland_senior_benevolent_bowl" text,
"northumberland_minor_cup" text,
"northumberland_women_s_cup" text
);
|
SELECT "northumberland_senior_benevolent_bowl" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_minor_cup"='whitley bay ''a''';
|
2-12607102-1
|
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Women's Cup was won by Blyth Spartans Ladies?
|
CREATE TABLE "list_of_recent_northumberland_cup_winner" (
"season" text,
"northumberland_senior_cup" text,
"northumberland_senior_benevolent_bowl" text,
"northumberland_minor_cup" text,
"northumberland_women_s_cup" text
);
|
SELECT "northumberland_senior_benevolent_bowl" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_women_s_cup"='blyth spartans ladies';
|
2-12607102-1
|
Who won the Northumberland Women's Cup when the Northumberland Senior Benevolent Bowl was won by Percy Main Amateurs?
|
CREATE TABLE "list_of_recent_northumberland_cup_winner" (
"season" text,
"northumberland_senior_cup" text,
"northumberland_senior_benevolent_bowl" text,
"northumberland_minor_cup" text,
"northumberland_women_s_cup" text
);
|
SELECT "northumberland_women_s_cup" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_senior_benevolent_bowl"='percy main amateurs';
|
2-12607102-1
|
What was the film nomination in the Netherlands?
|
CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
);
|
SELECT "film_title_used_in_nomination" FROM "references" WHERE "country"='netherlands';
|
2-12980089-1
|
Who directed Turks Fruit?
|
CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
);
|
SELECT "director" FROM "references" WHERE "original_title"='turks fruit';
|
2-12980089-1
|
What director is from Poland?
|
CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
);
|
SELECT "director" FROM "references" WHERE "country"='poland';
|
2-12980089-1
|
Who directed the Romanian film?
|
CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
);
|
SELECT "director" FROM "references" WHERE "language"='romanian';
|
2-12980089-1
|
What placement gets more than $400?
|
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
|
SELECT "place" FROM "final_leaderboard" WHERE "money">400;
|
2-12641884-1
|
What's the average payout of toney penna with a +2 par?
|
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
|
SELECT AVG("money") FROM "final_leaderboard" WHERE "to_par"='+2' AND "player"='toney penna';
|
2-12641884-1
|
What is the attendance number of the game on April 16?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT COUNT("attendance") FROM "game_log" WHERE "date"='april 16';
|
2-12383208-2
|
What was the average pick of northwestern state college under round 3?
|
CREATE TABLE "1981_kansas_city_chiefs_season" (
"round" real,
"pick" real,
"name" text,
"position" text,
"college" text
);
|
SELECT AVG("pick") FROM "1981_kansas_city_chiefs_season" WHERE "round"<3 AND "college"='northwestern state';
|
2-12536490-1
|
Rutgers college holds what position?
|
CREATE TABLE "1981_kansas_city_chiefs_season" (
"round" real,
"pick" real,
"name" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "1981_kansas_city_chiefs_season" WHERE "college"='rutgers';
|
2-12536490-1
|
In what round smaller than 10, was the center les studdard picked in?
|
CREATE TABLE "1981_kansas_city_chiefs_season" (
"round" real,
"pick" real,
"name" text,
"position" text,
"college" text
);
|
SELECT MIN("pick") FROM "1981_kansas_city_chiefs_season" WHERE "position"='center' AND "name"='les studdard' AND "round"<10;
|
2-12536490-1
|
Which college had rounds smaller than 2?
|
CREATE TABLE "1981_kansas_city_chiefs_season" (
"round" real,
"pick" real,
"name" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "1981_kansas_city_chiefs_season" WHERE "round"<2;
|
2-12536490-1
|
What record was reached with a score of 7 - 2?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "score"='7 - 2';
|
2-12429218-2
|
What is the name of the club with a rank of 5?
|
CREATE TABLE "most_games_for_each_club" (
"rank" text,
"games" text,
"player" text,
"club" text,
"career_span" text
);
|
SELECT "club" FROM "most_games_for_each_club" WHERE "rank"='5';
|
2-12161422-23
|
What is the rank that shows 276 games?
|
CREATE TABLE "most_games_for_each_club" (
"rank" text,
"games" text,
"player" text,
"club" text,
"career_span" text
);
|
SELECT "rank" FROM "most_games_for_each_club" WHERE "games"='276';
|
2-12161422-23
|
What is the rank that shows 426 games?
|
CREATE TABLE "most_games_for_each_club" (
"rank" text,
"games" text,
"player" text,
"club" text,
"career_span" text
);
|
SELECT "rank" FROM "most_games_for_each_club" WHERE "games"='426';
|
2-12161422-23
|
What is the number of games for Roger Merrett?
|
CREATE TABLE "most_games_for_each_club" (
"rank" text,
"games" text,
"player" text,
"club" text,
"career_span" text
);
|
SELECT "games" FROM "most_games_for_each_club" WHERE "player"='roger merrett';
|
2-12161422-23
|
What Engine had a Finish of 27?
|
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"entrant" text
);
|
SELECT "engine" FROM "indianapolis_500" WHERE "finish"='27';
|
2-1228288-5
|
What Engine had a chassis of March 85c?
|
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"entrant" text
);
|
SELECT "engine" FROM "indianapolis_500" WHERE "chassis"='march 85c';
|
2-1228288-5
|
What Engine has a Finish of 21?
|
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text,
"entrant" text
);
|
SELECT "engine" FROM "indianapolis_500" WHERE "finish"='21';
|
2-1228288-5
|
On what platform does Mindark publish?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "platform" FROM "cry_engine_2" WHERE "publisher"='mindark';
|
2-1241866-2
|
What year did Avatar Reality release a game?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "year" FROM "cry_engine_2" WHERE "developer"='avatar reality';
|
2-1241866-2
|
What publisher created Crysis Warhead?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "publisher" FROM "cry_engine_2" WHERE "title"='crysis warhead';
|
2-1241866-2
|
For what platform does Mindark publish?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "platform" FROM "cry_engine_2" WHERE "publisher"='mindark';
|
2-1241866-2
|
What publisher does Paleo Entertainment develop for?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "publisher" FROM "cry_engine_2" WHERE "developer"='paleo entertainment';
|
2-1241866-2
|
Who was the developer for Vigilance?
|
CREATE TABLE "cry_engine_2" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "developer" FROM "cry_engine_2" WHERE "title"='vigilance';
|
2-1241866-2
|
Which player's home town is Swift Current, AB?
|
CREATE TABLE "2013_2014_roster" (
"number" text,
"player" text,
"position" text,
"height" text,
"weight" text,
"home_town" text
);
|
SELECT "player" FROM "2013_2014_roster" WHERE "home_town"='swift current, ab';
|
2-1216375-8
|
Which position does number 23 play?
|
CREATE TABLE "2013_2014_roster" (
"number" text,
"player" text,
"position" text,
"height" text,
"weight" text,
"home_town" text
);
|
SELECT "position" FROM "2013_2014_roster" WHERE "number"='23';
|
2-1216375-8
|
Which number plays the skaters position?
|
CREATE TABLE "2013_2014_roster" (
"number" text,
"player" text,
"position" text,
"height" text,
"weight" text,
"home_town" text
);
|
SELECT "number" FROM "2013_2014_roster" WHERE "position"='skaters';
|
2-1216375-8
|
How much does number 26 weigh?
|
CREATE TABLE "2013_2014_roster" (
"number" text,
"player" text,
"position" text,
"height" text,
"weight" text,
"home_town" text
);
|
SELECT "weight" FROM "2013_2014_roster" WHERE "number"='26';
|
2-1216375-8
|
Which family has a Name of humpback whale?
|
CREATE TABLE "cetacea" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
);
|
SELECT "family" FROM "cetacea" WHERE "name"='humpback whale';
|
2-12334508-7
|
Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804?
|
CREATE TABLE "cetacea" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
);
|
SELECT "name" FROM "cetacea" WHERE "red_list">0 AND "species_authority"='balaenoptera acutorostrata lacépède, 1804';
|
2-12334508-7
|
Which Species/Authority has a Name of true's beaked whale?
|
CREATE TABLE "cetacea" (
"name" text,
"species_authority" text,
"order" text,
"family" text,
"red_list" real
);
|
SELECT "species_authority" FROM "cetacea" WHERE "name"='true''s beaked whale';
|
2-12334508-7
|
What engine has 2 points?
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "points"='2';
|
2-1262592-1
|
What tyres are associated with a year after 1974 and 5 points?
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "tyres" FROM "complete_world_championship_formula_one_" WHERE "year">1974 AND "points"='5';
|
2-1262592-1
|
What is the engine(s) on the car before 1978 with ensign n177 chassis?
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "chassis"='ensign n177' AND "year"<1978;
|
2-1262592-1
|
What tyres have 1 point and an ensign n177 chassis?
|
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
|
SELECT "tyres" FROM "complete_world_championship_formula_one_" WHERE "points"='1' AND "chassis"='ensign n177';
|
2-1262592-1
|
Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT "entrant" FROM "complete_formula_one_results" WHERE "year"<1987 AND "engine"='bmw straight-4 (t/c)' AND "pts">2;
|
2-1218368-2
|
What did Ku Hyo-Jin rank?
|
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT COUNT("rank") FROM "semifinal_1" WHERE "name"='ku hyo-jin';
|
2-12382876-4
|
What was the rank of the person who swam in Lane 7 with a time of 2:25.86?
|
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT SUM("rank") FROM "semifinal_1" WHERE "time"='2:25.86' AND "lane"<7;
|
2-12382876-4
|
Which Laid down has a Ship of fearless?
|
CREATE TABLE "f_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "laid_down" FROM "f_class" WHERE "ship"='fearless';
|
2-1224141-2
|
Which ship has a Pennant number of h.69?
|
CREATE TABLE "f_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "ship" FROM "f_class" WHERE "pennant_number"='h.69';
|
2-1224141-2
|
Which Launched has Commissioned 6 june 1935?
|
CREATE TABLE "f_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "launched" FROM "f_class" WHERE "commissioned"='6 june 1935';
|
2-1224141-2
|
What launch has a Ship of fearless?
|
CREATE TABLE "f_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "launched" FROM "f_class" WHERE "ship"='fearless';
|
2-1224141-2
|
Which commission was launched 28 june 1934, and has a Pennant number of h.78?
|
CREATE TABLE "f_class" (
"ship" text,
"pennant_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
);
|
SELECT "commissioned" FROM "f_class" WHERE "launched"='28 june 1934' AND "pennant_number"='h.78';
|
2-1224141-2
|
Which year has a Round of 17?
|
CREATE TABLE "highest_scores_for_each_quarter" (
"quarter" text,
"score" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
);
|
SELECT "year" FROM "highest_scores_for_each_quarter" WHERE "round"='17';
|
2-12161422-8
|
Which opponent has a Club of essendon, and a Score of 13.4.82?
|
CREATE TABLE "highest_scores_for_each_quarter" (
"quarter" text,
"score" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
);
|
SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "club"='essendon' AND "score"='13.4.82';
|
2-12161422-8
|
Which opponent has a Score of 15.4.94?
|
CREATE TABLE "highest_scores_for_each_quarter" (
"quarter" text,
"score" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
);
|
SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "score"='15.4.94';
|
2-12161422-8
|
Which opponent has a Round of 12?
|
CREATE TABLE "highest_scores_for_each_quarter" (
"quarter" text,
"score" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
);
|
SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "round"='12';
|
2-12161422-8
|
Which Quarter has a Round of 17?
|
CREATE TABLE "highest_scores_for_each_quarter" (
"quarter" text,
"score" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
);
|
SELECT "quarter" FROM "highest_scores_for_each_quarter" WHERE "round"='17';
|
2-12161422-8
|
When was moray firth built?
|
CREATE TABLE "references" (
"br_no" real,
"name" text,
"builder" text,
"whenbuilt" text,
"withdrawn" text
);
|
SELECT "whenbuilt" FROM "references" WHERE "name"='moray firth';
|
2-13210570-1
|
Name the withdrawn for charles dickens
|
CREATE TABLE "references" (
"br_no" real,
"name" text,
"builder" text,
"whenbuilt" text,
"withdrawn" text
);
|
SELECT "withdrawn" FROM "references" WHERE "name"='charles dickens';
|
2-13210570-1
|
Which loss has an Attendance larger than 20,841, and a Date of july 9?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "loss" FROM "game_log" WHERE "attendance">'20,841' AND "date"='july 9';
|
2-12205689-6
|
Which opponent has a Date of july 27?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "date"='july 27';
|
2-12205689-6
|
What Venue held the World Race Walking Cup tourney before 2008?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
|
SELECT "venue" FROM "achievements" WHERE "year"<2008 AND "tournament"='world race walking cup';
|
2-13044986-1
|
What tournement was held in Helsinki, Finland in 2005?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
|
SELECT "event" FROM "achievements" WHERE "venue"='helsinki, finland';
|
2-13044986-1
|
What Venue held the Olympic games in 2012?
|
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
|
SELECT "venue" FROM "achievements" WHERE "tournament"='olympic games' AND "year"=2012;
|
2-13044986-1
|
What's the website for the yamagata international documentary film festival?
|
CREATE TABLE "asia" (
"name" text,
"est" real,
"city" text,
"country" text,
"website" text
);
|
SELECT "website" FROM "asia" WHERE "name"='yamagata international documentary film festival';
|
2-12757263-2
|
How did Johnnie Parsons finish when his qualifying time was 135.328?
|
CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
);
|
SELECT "rank" FROM "indy_500_results" WHERE "qual"='135.328';
|
2-1252116-1
|
What was Johnnie Parsons rank when he completed over 200 laps?
|
CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
);
|
SELECT "rank" FROM "indy_500_results" WHERE "laps">200;
|
2-1252116-1
|
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "podiums" FROM "career_summary" WHERE "wins"='2' AND "season"=2008;
|
2-12764987-1
|
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "position" FROM "career_summary" WHERE "series"='macau grand prix' AND "season"<2007;
|
2-12764987-1
|
What is the value for Wins when the Position is 7th?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "wins" FROM "career_summary" WHERE "position"='7th';
|
2-12764987-1
|
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "series" FROM "career_summary" WHERE "season">2008 AND "podiums"='3' AND "position"='8th';
|
2-12764987-1
|
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "podiums" FROM "career_summary" WHERE "season">2008 AND "series"='gp2 asia series';
|
2-12764987-1
|
What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?
|
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"wins" text,
"podiums" text,
"position" text
);
|
SELECT "wins" FROM "career_summary" WHERE "series"='gp2 series' AND "season"<2009;
|
2-12764987-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.