question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When was the release date for technology that has a Multi 1 of 10.5×?
CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text );
SELECT "release_date" FROM "energy_efficient_e_series" WHERE "multi_1"='10.5×';
2-13869651-2
What's the stepping amount for adh4450iaa5do?
CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text );
SELECT "stepping" FROM "energy_efficient_e_series" WHERE "part_number_s"='adh4450iaa5do';
2-13869651-2
Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?
CREATE TABLE "cart_career_results" ( "year" real, "team" text, "wins" real, "points" real, "championship_finish" text );
SELECT MAX("wins") FROM "cart_career_results" WHERE "year">1996 AND "championship_finish"='1st' AND "points"<168;
2-1442773-2
Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
CREATE TABLE "cart_career_results" ( "year" real, "team" text, "wins" real, "points" real, "championship_finish" text );
SELECT MAX("year") FROM "cart_career_results" WHERE "team"='walker racing' AND "wins">1;
2-1442773-2
Which Points have a Year larger than 1998, and Wins of 1?
CREATE TABLE "cart_career_results" ( "year" real, "team" text, "wins" real, "points" real, "championship_finish" text );
SELECT AVG("points") FROM "cart_career_results" WHERE "year">1998 AND "wins"=1;
2-1442773-2
What is the lowest bronze number when silver shows 2, and the total is 8?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_table" WHERE "silver"=2 AND "total"=8;
2-14807308-1
What is the silver number when gold is more than 4, and the total is less than 24?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "medal_table" WHERE "gold">4 AND "total"<24;
2-14807308-1
What is the gold number when the total is 8 and bronze is more than 4?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "medal_table" WHERE "total"=8 AND "bronze">4;
2-14807308-1
What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("total") FROM "medal_table" WHERE "gold"=0 AND "silver"<2 AND "rank"='6';
2-14807308-1
What is the average Gold when silver is more than 2, and bronze is more than 1
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "medal_table" WHERE "silver">2 AND "bronze">1;
2-14807308-1
What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "silver">2 AND "rank"='2' AND "gold">2;
2-14807308-1
What city in Svalbard has a longitude of 15°39′e?
CREATE TABLE "list_of_cities_by_latitude" ( "latitude" text, "longitude" text, "city" text, "state" text, "country" text );
SELECT "city" FROM "list_of_cities_by_latitude" WHERE "state"='svalbard' AND "longitude"='15°39′e';
2-1359055-3
If the latitude is 77°28′n, what is the longitude?
CREATE TABLE "list_of_cities_by_latitude" ( "latitude" text, "longitude" text, "city" text, "state" text, "country" text );
SELECT "longitude" FROM "list_of_cities_by_latitude" WHERE "latitude"='77°28′n';
2-1359055-3
If the latitude is 76°25′n, what is the longitude?
CREATE TABLE "list_of_cities_by_latitude" ( "latitude" text, "longitude" text, "city" text, "state" text, "country" text );
SELECT "longitude" FROM "list_of_cities_by_latitude" WHERE "latitude"='76°25′n';
2-1359055-3
If the latitude is 71°18′n, what is the longitude?
CREATE TABLE "list_of_cities_by_latitude" ( "latitude" text, "longitude" text, "city" text, "state" text, "country" text );
SELECT "longitude" FROM "list_of_cities_by_latitude" WHERE "latitude"='71°18′n';
2-1359055-3
Who is the partner facing the opponents florian Mayer & alexander waske in the final?
CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "partner" FROM "doubles_titles_5" WHERE "opponents_in_the_final"='florian mayer & alexander waske';
2-1409621-4
Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse?
CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "tournament" FROM "doubles_titles_5" WHERE "surface"='hard' AND "opponents_in_the_final"='rohan bopanna & mustafa ghouse';
2-1409621-4
On which date did the tournament final with the clay surface take place?
CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_titles_5" WHERE "surface"='clay';
2-1409621-4
Which tournament features the partner julian knowle?
CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "tournament" FROM "doubles_titles_5" WHERE "partner"='julian knowle';
2-1409621-4
On which date is the tournament final with the opponents michael berrer & kenneth carlsen?
CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_titles_5" WHERE "opponents_in_the_final"='michael berrer & kenneth carlsen';
2-1409621-4
What was the score after february 4 in the game 61?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "schedule_and_results" WHERE "february">4 AND "game"=61;
2-13991411-6
What is Arkansas State's total pick number with an overal lower than 242?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "atlanta_falcons_draft_history" WHERE "college"='arkansas state' AND "overall"<242;
2-15198842-12
Who is from the College of Cincinnati?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "college"='cincinnati';
2-15198842-12
What is the overall number for a kicker with a pick of less than 6?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("overall") FROM "atlanta_falcons_draft_history" WHERE "position"='kicker' AND "pick_num"<6;
2-15198842-12
Which college has a defensive end with a round less than 6?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "atlanta_falcons_draft_history" WHERE "round">6 AND "position"='defensive end';
2-15198842-12
What record has a score of 111-96?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "record" FROM "game_log" WHERE "score"='111-96';
2-13821868-6
What is the score for a game after 34 with a record of 31-11?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game">34 AND "record"='31-11';
2-13821868-6
What was the date with a resulted score of 130-100?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "date" FROM "game_log" WHERE "score"='130-100';
2-13821868-6
Which Water has a Metal of contracting?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "water" FROM "theory_of_the_five_elements" WHERE "metal"='contracting';
2-15305217-1
Which Metal has an Element of heavenly stems?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "metal" FROM "theory_of_the_five_elements" WHERE "element"='heavenly stems';
2-15305217-1
Which water has green wood?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "water" FROM "theory_of_the_five_elements" WHERE "wood"='green';
2-15305217-1
Which earth has west metal?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "earth" FROM "theory_of_the_five_elements" WHERE "metal"='west';
2-15305217-1
Which wood has stabilizing earth?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "wood" FROM "theory_of_the_five_elements" WHERE "earth"='stabilizing';
2-15305217-1
Which fire has dry metal?
CREATE TABLE "theory_of_the_five_elements" ( "element" text, "wood" text, "fire" text, "earth" text, "metal" text, "water" text );
SELECT "fire" FROM "theory_of_the_five_elements" WHERE "metal"='dry';
2-15305217-1
what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?
CREATE TABLE "commandants_list" ( "rank" text, "name" text, "begin_date" text, "end_date" text, "notes" text );
SELECT "name" FROM "commandants_list" WHERE "rank"='lieutenant colonel' AND "begin_date"='1904-02-22 22 february 1904';
2-1380998-1
Oklahoma State produced a player in which position in the draft?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "school_club_team"='oklahoma state';
2-14877762-1
What is the highest round where a back named Ed Cody can be found?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "position"='back' AND "player"='ed cody';
2-14877762-1
Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0?
CREATE TABLE "australia" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT MIN("losses") FROM "australia" WHERE "season"<1920 AND "draws">0;
2-14417906-9
Which Draws have Losses larger than 16, and a Season larger than 1966?
CREATE TABLE "australia" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT SUM("draws") FROM "australia" WHERE "losses">16 AND "season">1966;
2-14417906-9
Which Draws have a Team of annandale, and Losses smaller than 13?
CREATE TABLE "australia" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT SUM("draws") FROM "australia" WHERE "team"='annandale' AND "losses"<13;
2-14417906-9
Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0?
CREATE TABLE "australia" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT AVG("draws") FROM "australia" WHERE "losses"<16 AND "team"='university' AND "wins">0;
2-14417906-9
Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14?
CREATE TABLE "australia" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT MIN("wins") FROM "australia" WHERE "season"<1920 AND "losses"<14;
2-14417906-9
Which date had a sport of Academics?
CREATE TABLE "2011_2012" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "date" FROM "2011_2012" WHERE "sport"='academics';
2-14175075-9
Which date had a site of N/A?
CREATE TABLE "2011_2012" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "date" FROM "2011_2012" WHERE "site"='n/a';
2-14175075-9
what was the builder in 1929
CREATE TABLE "locomotives_withdrawn_from_service" ( "name_or_designation" text, "wheel_arrangement" text, "builder" text, "year_built" text, "year_withdrawn" text );
SELECT "builder" FROM "locomotives_withdrawn_from_service" WHERE "year_built"='1929';
2-142178-2
What was the attendance for the March 6 game, where one of the teams had 53 points.
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT "attendance" FROM "game_log" WHERE "points"=53 AND "date"='march 6';
2-13931419-7
For the game with 6,126 in attendance, how many points did both teams have in the standings?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT COUNT("points") FROM "game_log" WHERE "attendance"='6,126';
2-13931419-7
What is the record of the team with a St. Louis home?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "home"='st. louis';
2-13928610-3
What country has a territory of French Guiana?
CREATE TABLE "territorial_and_overseas_regions_recordh" ( "country" text, "territory" text, "name" text, "birth_date" text, "death_date" text );
SELECT "country" FROM "territorial_and_overseas_regions_recordh" WHERE "territory"='french guiana';
2-1505224-2
Which 2008-12 has a 2013 of A, and a Tournament of wimbledon?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2008_12" FROM "doubles_performance_timeline" WHERE "2013"='a' AND "tournament"='wimbledon';
2-1421422-10
Which 2013 has a 2007 of A, and a Tournament of french open?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "2007"='a' AND "tournament"='french open';
2-1421422-10
Which 2013 has a 2008-12 of A, and a 2007 of A, and a Tournament of us open?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "2008_12"='a' AND "2007"='a' AND "tournament"='us open';
2-1421422-10
Which 2013 has a 2006 of grand slam tournaments?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "2006"='grand slam tournaments';
2-1421422-10
Which 2006 has a 2007 of A?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2006" FROM "doubles_performance_timeline" WHERE "2007"='a';
2-1421422-10
Which 2008-12 has a 2007 of A, and a Tournament of us open?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008_12" text, "2013" text );
SELECT "2008_12" FROM "doubles_performance_timeline" WHERE "2007"='a' AND "tournament"='us open';
2-1421422-10
What was the record on April 1?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "april" WHERE "date"='april 1';
2-13909437-8
What's the score on April 9?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "april" WHERE "date"='april 9';
2-13909437-8
Where was home on April 3?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "april" WHERE "date"='april 3';
2-13909437-8
What's the score on April 9?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "april" WHERE "date"='april 9';
2-13909437-8
What is the average number of points of the team with more than 18 played?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT AVG("points") FROM "torneo_clausura" WHERE "played">18;
2-14911550-5
What is the lowest score of the team with 19 points and less than 18 played?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MIN("scored") FROM "torneo_clausura" WHERE "points"=19 AND "played"<18;
2-14911550-5
What is the average number of draws of the team with less than 17 points and less than 4 wins?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT AVG("draws") FROM "torneo_clausura" WHERE "points"<17 AND "wins"<4;
2-14911550-5
What is the title of the record with an artist of Tangorodrim, category number FSR006?
CREATE TABLE "catalogue" ( "artist" text, "title" text, "release_date" text, "format" text, "cat_num" text );
SELECT "title" FROM "catalogue" WHERE "artist"='tangorodrim' AND "cat_num"='fsr006';
2-14728538-1
What was the format of the release by Triumfall?
CREATE TABLE "catalogue" ( "artist" text, "title" text, "release_date" text, "format" text, "cat_num" text );
SELECT "format" FROM "catalogue" WHERE "artist"='triumfall';
2-14728538-1
What is the category number that was released in November 2007?
CREATE TABLE "catalogue" ( "artist" text, "title" text, "release_date" text, "format" text, "cat_num" text );
SELECT "cat_num" FROM "catalogue" WHERE "release_date"='november 2007';
2-14728538-1
Which is the lowest round to have a pick of 12 and position of linebacker?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num"=12 AND "position"='linebacker';
2-15198842-8
Which player was picked in round 15 with a pick smaller than 13?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "pick_num"<13 AND "round"=15;
2-15198842-8
How many picks were from Lamar College?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "atlanta_falcons_draft_history" WHERE "college"='lamar';
2-15198842-8
How many overall values have a college of Notre Dame and rounds over 2?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("overall") FROM "atlanta_falcons_draft_history" WHERE "college"='notre dame' AND "round">2;
2-15198842-8
What player was at Albion?
CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "player" FROM "highest_individual_scores" WHERE "venue"='albion';
2-14412861-10
Where was the venue that had 274 runs?
CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "highest_individual_scores" WHERE "runs"='274';
2-14412861-10
which athlete played against Queensland?
CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "player" FROM "highest_individual_scores" WHERE "opponent"='queensland';
2-14412861-10
Where is the venue with more than 245 runs?
CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "highest_individual_scores" WHERE "runs"='245';
2-14412861-10
Where did Jack Badcock play?
CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "highest_individual_scores" WHERE "player"='jack badcock';
2-14412861-10
Which Surface has a Date of 16 november 2007?
CREATE TABLE "doubles_13_6_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_13_6_7" WHERE "date"='16 november 2007';
2-15179071-3
Name the date for 2004 afc asian cup qualifier
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='2004 afc asian cup qualifier';
2-14218387-1
Name the venue for 23 january 2009
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='23 january 2009';
2-14218387-1
Name the competition for khartoum
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "venue"='khartoum';
2-14218387-1
What is the fewest ties the team had with fewer than 7 games?
CREATE TABLE "world_championship_group_c_slovenia" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real );
SELECT MIN("drawn") FROM "world_championship_group_c_slovenia" WHERE "games"<7;
2-14076898-4
What is the population for a county that has a median income of $69,760?
CREATE TABLE "counties" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "population" FROM "counties" WHERE "median_household_income"='$69,760';
2-1405757-1
What county has $51,456 income per capita?
CREATE TABLE "counties" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "county" FROM "counties" WHERE "per_capita_income"='$51,456';
2-1405757-1
Who was the opponent when attendance was 60,355?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='60,355';
2-14722751-1
Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035?
CREATE TABLE "financial_performance" ( "year_ended" text, "passengers_flown" real, "employees_average_year" real, "net_profit_loss_sek" real, "basic_eps_sek" real );
SELECT SUM("net_profit_loss_sek") FROM "financial_performance" WHERE "basic_eps_sek"=-6.58 AND "employees_average_year">'31,035';
2-1511608-2
Which Passengers flown has a Net profit/loss (SEK) smaller than -6,360,000,000, and Employees (Average/Year) smaller than 34,544, and a Basic eps (SEK) of -18.2?
CREATE TABLE "financial_performance" ( "year_ended" text, "passengers_flown" real, "employees_average_year" real, "net_profit_loss_sek" real, "basic_eps_sek" real );
SELECT SUM("passengers_flown") FROM "financial_performance" WHERE "net_profit_loss_sek"<'-6,360,000,000' AND "employees_average_year"<'34,544' AND "basic_eps_sek"=-18.2;
2-1511608-2
Which average Net profit/loss (SEK) has Employees (Average/Year) larger than 18,786, and a Year ended of 2000*, and Passengers flown larger than 23,240,000?
CREATE TABLE "financial_performance" ( "year_ended" text, "passengers_flown" real, "employees_average_year" real, "net_profit_loss_sek" real, "basic_eps_sek" real );
SELECT AVG("net_profit_loss_sek") FROM "financial_performance" WHERE "employees_average_year">'18,786' AND "year_ended"='2000*' AND "passengers_flown">'23,240,000';
2-1511608-2
How many Employees (Average/Year) have a Net profit/loss (SEK) larger than 4,936,000,000, and a Basic eps (SEK) larger than 1.06?
CREATE TABLE "financial_performance" ( "year_ended" text, "passengers_flown" real, "employees_average_year" real, "net_profit_loss_sek" real, "basic_eps_sek" real );
SELECT COUNT("employees_average_year") FROM "financial_performance" WHERE "net_profit_loss_sek">'4,936,000,000' AND "basic_eps_sek">1.06;
2-1511608-2
What is the result when 13 is the week?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week"=13;
2-13834389-1
What average week has shea stadium as the game site, and 1979-12-09 as the date?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "game_site"='shea stadium' AND "date"='1979-12-09';
2-13834389-1
Name the most rank for the United States with wins less than 1
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MAX("rank") FROM "leaders" WHERE "country"='united states' AND "wins"<1;
2-14583258-3
Name the most rank for wins more than 0 and events of 26
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MAX("rank") FROM "leaders" WHERE "events"=26 AND "wins">0;
2-14583258-3
Name the average earnings for rank of 3 and wins less than 3
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT AVG("earnings") FROM "leaders" WHERE "rank"=3 AND "wins"<3;
2-14583258-3
What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85?
CREATE TABLE "communes" ( "rank" text, "city" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real );
SELECT AVG("area_km_2") FROM "communes" WHERE "density_inhabitants_km_2"<206.2 AND "altitude_mslm"<85;
2-1448810-1
What is the lowest density of alessandria where the area is bigger than 16.02 and altitude is less than 116?
CREATE TABLE "communes" ( "rank" text, "city" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real );
SELECT MIN("density_inhabitants_km_2") FROM "communes" WHERE "area_km_2">16.02 AND "altitude_mslm"<116 AND "city"='alessandria';
2-1448810-1
What is the lowest density of serravalle scrivia?
CREATE TABLE "communes" ( "rank" text, "city" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real );
SELECT MIN("density_inhabitants_km_2") FROM "communes" WHERE "city"='serravalle scrivia';
2-1448810-1
What is the lowest population of alessandria where the altitude is less than 197 and density is less than 461.8?
CREATE TABLE "communes" ( "rank" text, "city" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real );
SELECT MIN("population") FROM "communes" WHERE "altitude_mslm"<197 AND "city"='alessandria' AND "density_inhabitants_km_2"<461.8;
2-1448810-1
What myspace has linkedin as the site, with an orkit greater than 3?
CREATE TABLE "overlap_between_multiple_social_network_" ( "site" text, "bebo" real, "facebook" real, "friendster" real, "linked_in" real, "my_space" real, "ning" real, "orkut" real, "plaxo" real );
SELECT AVG("my_space") FROM "overlap_between_multiple_social_network_" WHERE "site"='linkedin' AND "orkut">3;
2-15144375-1
How many linkedin have Facebook as the site, with a myspace less than 64?
CREATE TABLE "overlap_between_multiple_social_network_" ( "site" text, "bebo" real, "facebook" real, "friendster" real, "linked_in" real, "my_space" real, "ning" real, "orkut" real, "plaxo" real );
SELECT COUNT("linked_in") FROM "overlap_between_multiple_social_network_" WHERE "site"='facebook' AND "my_space"<64;
2-15144375-1
What is the highest Ning that has a bebo less than 4, an orkut less than 100, with a plaxo greater than 0?
CREATE TABLE "overlap_between_multiple_social_network_" ( "site" text, "bebo" real, "facebook" real, "friendster" real, "linked_in" real, "my_space" real, "ning" real, "orkut" real, "plaxo" real );
SELECT MAX("ning") FROM "overlap_between_multiple_social_network_" WHERE "bebo"<4 AND "orkut"<100 AND "plaxo">0;
2-15144375-1
What is the average plaxo that has a myspace greater than 64, a bebo greater than 3, with 4 as the friendster?
CREATE TABLE "overlap_between_multiple_social_network_" ( "site" text, "bebo" real, "facebook" real, "friendster" real, "linked_in" real, "my_space" real, "ning" real, "orkut" real, "plaxo" real );
SELECT AVG("plaxo") FROM "overlap_between_multiple_social_network_" WHERE "my_space">64 AND "bebo">3 AND "friendster"=4;
2-15144375-1
What album has the title I Need A Life with the label of warp records / paper bag records?
CREATE TABLE "singles" ( "year" real, "title" text, "label" text, "format" text, "album" text );
SELECT "album" FROM "singles" WHERE "label"='warp records / paper bag records' AND "title"='i need a life';
2-13592743-3