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 lowest number of losses for the club cádiz cf?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MIN("losses") FROM "final_table" WHERE "club"='cádiz cf';
2-12189375-2
What is the name of the artist with a Single / Pack of guitar hero track pack 1?
CREATE TABLE "downloadable_content" ( "year" real, "song_title" text, "artist" text, "master_recording" text, "release_date" text, "single_pack" text );
SELECT "artist" FROM "downloadable_content" WHERE "single_pack"='guitar hero track pack 1';
2-12337815-3
What was the record at the game that had a loss of Lemanczyk (0–1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "loss"='lemanczyk (0–1)';
2-12208071-2
Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?
CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );
SELECT "time" FROM "summary" WHERE "game">1 AND "location"='comiskey park (i)' AND "date"='october 9';
2-1332334-1
Date of october 8 happened at what time?
CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );
SELECT "time" FROM "summary" WHERE "date"='october 8';
2-1332334-1
Game 1's sum of attendance is?
CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );
SELECT SUM("attendance") FROM "summary" WHERE "game"=1;
2-1332334-1
What was the finish of the winner of the 2000 Masters?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "year_s_won"='2000';
2-12626983-2
For the player from Fiji, what was his finish?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "country"='fiji';
2-12626983-2
For the player finishing at +8, what is his nationality?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "to_par"='+8';
2-12626983-2
What was the score of the game that had a record of 52–103?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='52–103';
2-12207924-7
What was the date of the game when the record was 53–104?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='53–104';
2-12207924-7
What was the record at the game that had a loss of Huffman (6–18)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "record" FROM "game_log" WHERE "loss"='huffman (6–18)';
2-12207924-7
for the 8:00 of kid nation what is at 10:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text, "10_30" text );
SELECT "10_00" FROM "wednesday" WHERE "8_00"='kid nation';
2-12280777-4
for the 10:00 of the simple life what is the 9:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text, "10_30" text );
SELECT "9_00" FROM "wednesday" WHERE "10_00"='the simple life';
2-12280777-4
for the 10:00 of le journal du soir what is the 9:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text, "10_30" text );
SELECT "9_00" FROM "wednesday" WHERE "10_00"='le journal du soir';
2-12280777-4
for the 7:30 of access hollywood what is the 10:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text, "10_30" text );
SELECT "10_00" FROM "wednesday" WHERE "7_30"='access hollywood';
2-12280777-4
for the 9:00 of bionic woman what is the 8:30?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text, "10_30" text );
SELECT "8_30" FROM "wednesday" WHERE "9_00"='bionic woman';
2-12280777-4
Which format is released on August 29, 1998?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "date"='august 29, 1998';
2-12703884-2
What is the catalog number for the January 25, 1987 release?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "date"='january 25, 1987';
2-12703884-2
Which format is released on May 27, 2009?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "date"='may 27, 2009';
2-12703884-2
What is the catalog number of the May 27, 2009 release?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "date"='may 27, 2009';
2-12703884-2
What is the release date of a CD with the catalog number ALCA-9206?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "format"='cd' AND "catalog"='alca-9206';
2-12703884-2
Which format is released on May 27, 2009?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "date"='may 27, 2009';
2-12703884-2
What was the average of points with ranks smaller than 7 but with total point games of 113?
CREATE TABLE "points" ( "rank" real, "player" text, "years" text, "games" real, "ppg_avg" real, "total_points" real );
SELECT AVG("total_points") FROM "points" WHERE "games"=113 AND "rank"<7;
2-12661367-1
What is the sum of the roll with an area of Waikaka?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT SUM("roll") FROM "gore_district" WHERE "area"='waikaka';
2-12375672-2
What is the roll number for East Gore School?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT COUNT("roll") FROM "gore_district" WHERE "name"='east gore school';
2-12375672-2
What is the lowest decile with 1-6 years and area of Maitland?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT MIN("decile") FROM "gore_district" WHERE "years"='1-6' AND "area"='maitland';
2-12375672-2
Which gender has 7-15 years?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "gender" FROM "gore_district" WHERE "years"='7-15';
2-12375672-2
What is the gender for Otama?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "gender" FROM "gore_district" WHERE "area"='otama';
2-12375672-2
What is the authority for roll of 96?
CREATE TABLE "gore_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "authority" FROM "gore_district" WHERE "roll"=96;
2-12375672-2
When is a Roll of 9?
CREATE TABLE "southland_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "years" FROM "southland_district" WHERE "roll"=9;
2-12375672-1
What is the Area with 26 in Roll
CREATE TABLE "southland_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "area" FROM "southland_district" WHERE "roll"=26;
2-12375672-1
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "medal_table" WHERE "silver">6 AND "gold">10;
2-12392766-3
What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("rank") FROM "medal_table" WHERE "bronze">3 AND "total">36;
2-12392766-3
Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals.
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medals_table" WHERE "silver">1 AND "gold"=1 AND "total"<4;
2-12180448-3
What nation has the most bronze medals with over 11 total medals?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medals_table" WHERE "total">11;
2-12180448-3
How many silver medals does Cuba have?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medals_table" WHERE "nation"='cuba';
2-12180448-3
Where was the game that the Indianapolis Colts lost 24-14?
CREATE TABLE "2000s_patriots_8_6" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "location" FROM "2000s_patriots_8_6" WHERE "loser"='indianapolis colts' AND "result"='24-14';
2-13342861-6
On what date was the game that the Indianapolis Colts lost in 2004?
CREATE TABLE "2000s_patriots_8_6" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "date" FROM "2000s_patriots_8_6" WHERE "loser"='indianapolis colts' AND "year"=2004;
2-13342861-6
Which team won against the New England Patriots 40-21?
CREATE TABLE "2000s_patriots_8_6" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "winner" FROM "2000s_patriots_8_6" WHERE "loser"='new england patriots' AND "result"='40-21';
2-13342861-6
What was the date of the game played at Gillette Stadium with a score of 40-21?
CREATE TABLE "2000s_patriots_8_6" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "date" FROM "2000s_patriots_8_6" WHERE "location"='gillette stadium' AND "result"='40-21';
2-13342861-6
What year was the game that ended with a score of 24-14?
CREATE TABLE "2000s_patriots_8_6" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT AVG("year") FROM "2000s_patriots_8_6" WHERE "result"='24-14';
2-13342861-6
What was the score of the 3-0 Win result?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "result"='3-0 win';
2-1298631-1
What was the result of the game from 10 October 2009?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='10 october 2009';
2-1298631-1
What is the name of the competition that has a score of 2-0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "score"='2-0';
2-1298631-1
Which Men's singles has a Mixed doubles of kai abraham petra michalowsky?
CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='kai abraham petra michalowsky';
2-12154617-1
Which women's doubles has a Year of 1992?
CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "women_s_doubles" FROM "previous_winners" WHERE "year"='1992';
2-12154617-1
Which year has a Men's doubles of marcus ellis peter mills?
CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "year" FROM "previous_winners" WHERE "men_s_doubles"='marcus ellis peter mills';
2-12154617-1
Name the visitor for home of dallas
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "visitor" FROM "april" WHERE "home"='dallas';
2-13242342-9
Name the period for south korea with peak position of #1
CREATE TABLE "chart_performance" ( "country" text, "chart" text, "period" text, "peak_position" text, "sales" text );
SELECT "period" FROM "chart_performance" WHERE "country"='south korea' AND "peak_position"='#1';
2-13081928-2
Name the period for south korea with peak position of #24
CREATE TABLE "chart_performance" ( "country" text, "chart" text, "period" text, "peak_position" text, "sales" text );
SELECT "period" FROM "chart_performance" WHERE "country"='south korea' AND "peak_position"='#24';
2-13081928-2
Name the period for Chart of g-music j-pop/k-pop chart
CREATE TABLE "chart_performance" ( "country" text, "chart" text, "period" text, "peak_position" text, "sales" text );
SELECT "period" FROM "chart_performance" WHERE "chart"='g-music j-pop/k-pop chart';
2-13081928-2
Name the sales with peak position of #24
CREATE TABLE "chart_performance" ( "country" text, "chart" text, "period" text, "peak_position" text, "sales" text );
SELECT "sales" FROM "chart_performance" WHERE "peak_position"='#24';
2-13081928-2
Which aggregate has ajax as the club?
CREATE TABLE "european_record" ( "round" text, "club" text, "home" text, "away" text, "aggregate" text );
SELECT "aggregate" FROM "european_record" WHERE "club"='ajax';
2-1214850-1
How many attended on march 1?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT AVG("attendance") FROM "march" WHERE "date"='march 1';
2-13034488-8
Who was the visitor on march 21?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "visitor" FROM "march" WHERE "date"='march 21';
2-13034488-8
Who was the cyclist from Belgium?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT "cyclist" FROM "general_standings" WHERE "nation"='belgium';
2-12926726-16
What is the nation of the person who was from the CSC team?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT "nation" FROM "general_standings" WHERE "team"='csc';
2-12926726-16
Who is the cyclist from the GCE team and had UCI points under 20?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT "cyclist" FROM "general_standings" WHERE "team"='gce' AND "uci_points"<20;
2-12926726-16
Which nation is Danilo di Luca from?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT "nation" FROM "general_standings" WHERE "cyclist"='danilo di luca';
2-12926726-16
Which nation is Robert Gesink from?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT "nation" FROM "general_standings" WHERE "cyclist"='robert gesink';
2-12926726-16
What is the sum of UCI points for Kim Kirchen?
CREATE TABLE "general_standings" ( "cyclist" text, "nation" text, "team" text, "time" text, "uci_points" real );
SELECT SUM("uci_points") FROM "general_standings" WHERE "cyclist"='kim kirchen';
2-12926726-16
How many games for the player that has an over 2.7 assist average and over 598 total assists?
CREATE TABLE "assists" ( "rank" real, "player" text, "years" text, "games" real, "ast_avg" real, "total_assists" real );
SELECT COUNT("games") FROM "assists" WHERE "ast_avg">2.7 AND "total_assists">598;
2-12661367-2
How many assists does cam long average in under 132 games?
CREATE TABLE "assists" ( "rank" real, "player" text, "years" text, "games" real, "ast_avg" real, "total_assists" real );
SELECT MAX("ast_avg") FROM "assists" WHERE "player"='cam long' AND "games"<132;
2-12661367-2
Where is the Stadium of Gortakeegan located?
CREATE TABLE "stadiums" ( "rank" real, "stadium" text, "total_capacity" text, "seating_capacity" real, "location" text );
SELECT "location" FROM "stadiums" WHERE "stadium"='gortakeegan';
2-12532183-1
What is the lowest ranking seating capacity smaller than 7,485, and a stadium at St. Colman's Park?
CREATE TABLE "stadiums" ( "rank" real, "stadium" text, "total_capacity" text, "seating_capacity" real, "location" text );
SELECT MIN("rank") FROM "stadiums" WHERE "seating_capacity"<'7,485' AND "stadium"='st. colman''s park';
2-12532183-1
In 1972, how many points did the entrant with the March 721G Chassis have?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "points" FROM "complete_formula_one_results" WHERE "year">1972 AND "chassis"='march 721g';
2-1226504-1
In 1971, how many total points did the entrant stp march have?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT COUNT("points") FROM "complete_formula_one_results" WHERE "entrant"='stp march' AND "year">1971;
2-1226504-1
Which Chassis was featured in the year 1971?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "chassis" FROM "complete_formula_one_results" WHERE "year"=1971;
2-1226504-1
Which Chassis did the Entrant clarke-mordaunt-guthrie-durlacher carry?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "chassis" FROM "complete_formula_one_results" WHERE "entrant"='clarke-mordaunt-guthrie-durlacher';
2-1226504-1
What is Bartolo's Total G when his L Apps is 29 and his C Apps are larger than 5?
CREATE TABLE "squad_stats" ( "player" text, "l_apps" real, "c_apps" real, "total_apps" real, "total_g" real );
SELECT AVG("total_g") FROM "squad_stats" WHERE "l_apps"=29 AND "player"='bartolo' AND "c_apps">5;
2-12356410-3
What is the lowest round for Southern College?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "indianapolis_colts_draft_history" WHERE "college"='southern';
2-13312898-36
Who had the placekicker position with a round above 10?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "name" FROM "indianapolis_colts_draft_history" WHERE "round">10 AND "position"='placekicker';
2-13312898-36
What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay?
CREATE TABLE "doubles_10_5_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "doubles_10_5_5" WHERE "surface"='clay' AND "opponents"='guillermo garcía-lópez albert portas';
2-12871566-3
What are the dates where the opponent was guillermo garcía-lópez albert portas?
CREATE TABLE "doubles_10_5_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "date" FROM "doubles_10_5_5" WHERE "opponents"='guillermo garcía-lópez albert portas';
2-12871566-3
What is the earliest year in the 125cc class with more than 102 points and a rank of 2nd?
CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT MIN("year") FROM "grand_prix_career_statistics" WHERE "class"='125cc' AND "points">102 AND "rank"='2nd';
2-12907958-2
Which team had fewer than 167 points in the 250cc class?
CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "team" FROM "grand_prix_career_statistics" WHERE "points"<167 AND "class"='250cc';
2-12907958-2
For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points?
CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT SUM("points") FROM "grand_prix_career_statistics" WHERE "class"='125cc' AND "rank"='3rd' AND "year"<1996;
2-12907958-2
Who did the Raiders play in week 12?
CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "week"=12;
2-12488251-2
How many people were at the game that took place at the Kingdome?
CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "game_site"='the kingdome';
2-12488251-2
Which is the LMS SPR when the car number was 15?
CREATE TABLE "teams_championship" ( "team" text, "car_no" text, "mnz_spr" text, "mnz_fea" text, "spa_spr" text, "spa_fea" text, "mon_fea" text, "sil_spr" text, "sil_fea" text, "hun_spr" text, "hun_fea" text, "lms_spr" text, "lms_fea" text, "cat_spr" text, "cat_fea" text, "points" text );
SELECT "lms_spr" FROM "teams_championship" WHERE "car_no"='15';
2-12580932-6
When the CAT FEA is 3 how many points were scored?
CREATE TABLE "teams_championship" ( "team" text, "car_no" text, "mnz_spr" text, "mnz_fea" text, "spa_spr" text, "spa_fea" text, "mon_fea" text, "sil_spr" text, "sil_fea" text, "hun_spr" text, "hun_fea" text, "lms_spr" text, "lms_fea" text, "cat_spr" text, "cat_fea" text, "points" text );
SELECT "points" FROM "teams_championship" WHERE "cat_fea"='3';
2-12580932-6
What was the SPA FEA when the LMS FEA was 5?
CREATE TABLE "teams_championship" ( "team" text, "car_no" text, "mnz_spr" text, "mnz_fea" text, "spa_spr" text, "spa_fea" text, "mon_fea" text, "sil_spr" text, "sil_fea" text, "hun_spr" text, "hun_fea" text, "lms_spr" text, "lms_fea" text, "cat_spr" text, "cat_fea" text, "points" text );
SELECT "spa_fea" FROM "teams_championship" WHERE "lms_fea"='5';
2-12580932-6
What was the MNZ FEA when the SIL SPR was 18?
CREATE TABLE "teams_championship" ( "team" text, "car_no" text, "mnz_spr" text, "mnz_fea" text, "spa_spr" text, "spa_fea" text, "mon_fea" text, "sil_spr" text, "sil_fea" text, "hun_spr" text, "hun_fea" text, "lms_spr" text, "lms_fea" text, "cat_spr" text, "cat_fea" text, "points" text );
SELECT "mnz_fea" FROM "teams_championship" WHERE "sil_spr"='18';
2-12580932-6
Which years did the Tampa Bay Storm win the Championships?
CREATE TABLE "major_sports_teams" ( "club" text, "sport" text, "league" text, "venue" text, "championships_years" text );
SELECT "championships_years" FROM "major_sports_teams" WHERE "club"='tampa bay storm';
2-12414833-1
What is the height of the person born before 1975?
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 "year_born"<1975;
2-12962773-3
How many times did Ken Wright expired in North Western?
CREATE TABLE "sources" ( "name" text, "party" text, "province" text, "term_expires" real, "term_of_office" text );
SELECT COUNT("term_expires") FROM "sources" WHERE "province"='north western' AND "name"='ken wright';
2-12218597-1
Which species on Réunion island is part of the procellariiformes order and is part of the hydrobatidae family and has less than 21 species worldwide?
CREATE TABLE "birds" ( "species" text, "order" text, "family" text, "species_worldwide" real, "species_on_r_union" real );
SELECT SUM("species_on_r_union") FROM "birds" WHERE "order"='procellariiformes' AND "family"='hydrobatidae' AND "species_worldwide"<21;
2-12533665-1
How many species does the sternidae family have worldwide with less than 9 species on Réunion?
CREATE TABLE "birds" ( "species" text, "order" text, "family" text, "species_worldwide" real, "species_on_r_union" real );
SELECT COUNT("species_worldwide") FROM "birds" WHERE "family"='sternidae' AND "species_on_r_union"<9;
2-12533665-1
How many species on Réunion do the dromadidae family have with a worldwide speices larger than 1?
CREATE TABLE "birds" ( "species" text, "order" text, "family" text, "species_worldwide" real, "species_on_r_union" real );
SELECT SUM("species_on_r_union") FROM "birds" WHERE "family"='dromadidae' AND "species_worldwide">1;
2-12533665-1
Name the 2010 with tournament of grand slam tournaments
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2010" FROM "doubles_performance_timeline" WHERE "tournament"='grand slam tournaments';
2-12472200-8
Name the 2008 with 2010 of 2r and wimbledon tournament
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2008" FROM "doubles_performance_timeline" WHERE "2010"='2r' AND "tournament"='wimbledon';
2-12472200-8
Name the 2013 for 2010 of 1r
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "2010"='1r';
2-12472200-8
Name the 2010 for 2008 of 1r and tournament of us open
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2010" FROM "doubles_performance_timeline" WHERE "2008"='1r' AND "2011"='1r' AND "tournament"='us open';
2-12472200-8
Which years have a Decile of 4, an Authority of state, and a Name of mapiu school?
CREATE TABLE "waitomo_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "years" FROM "waitomo_district" WHERE "decile"=4 AND "authority"='state' AND "name"='mapiu school';
2-12146269-10
Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?
CREATE TABLE "waitomo_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "years" FROM "waitomo_district" WHERE "decile"<6 AND "area"='te kuiti' AND "authority"='state integrated';
2-12146269-10
What is the average Decile with a state authority and a Name of mapiu school?
CREATE TABLE "waitomo_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT AVG("decile") FROM "waitomo_district" WHERE "authority"='state' AND "name"='mapiu school';
2-12146269-10
Which years have an Area of rangitoto?
CREATE TABLE "waitomo_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "years" FROM "waitomo_district" WHERE "area"='rangitoto';
2-12146269-10
Which gender has a Name of rangitoto school?
CREATE TABLE "waitomo_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "gender" FROM "waitomo_district" WHERE "name"='rangitoto school';
2-12146269-10
What is the t o par for Ralph Guldahl?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_leaderboard" WHERE "player"='ralph guldahl';
2-12586672-1