question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the circuit for round 18
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "circuit" FROM "grands_prix" WHERE "round"=18;
2-12186237-1
Name the grand prix for casey stoner and circuit of losail
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "grand_prix" FROM "grands_prix" WHERE "moto_gp_winner"='casey stoner' AND "circuit"='losail';
2-12186237-1
Where was the game held that was played on 2002-03-07?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='2002-03-07';
2-1297124-2
What is the total gold from New zealand and a rank less than 14?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medal_table" WHERE "nation"='new zealand' AND "rank"<14;
2-12511589-1
What is the average of the silver that has less than 0 gold
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "medal_table" WHERE "gold"<0;
2-12511589-1
Which nation has 0 gold, 0 silver and 2 total?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "gold"=0 AND "silver"=0 AND "total"=2;
2-12511589-1
What is the total gold in Norway with more than 1 bronze?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medal_table" WHERE "nation"='norway' AND "bronze">1;
2-12511589-1
What is the total bronze from Puerto Rico with a total of less than 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "nation"='puerto rico' AND "total"<1;
2-12511589-1
Which season has the Celtic club?
CREATE TABLE "past_opponents" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text );
SELECT "season" FROM "past_opponents" WHERE "club"='celtic';
2-1233146-1
What was Parker Moloney's party affiliation when he was the Minister for Markets?
CREATE TABLE "list_of_agriculture_ministers" ( "order" text, "minister" text, "party" text, "prime_minister" text, "title" text, "term_start" text, "term_end" text, "term_in_office" text );
SELECT "party" FROM "list_of_agriculture_ministers" WHERE "minister"='parker moloney' AND "title"='minister for markets';
2-12377957-1
What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25??
CREATE TABLE "list_of_agriculture_ministers" ( "order" text, "minister" text, "party" text, "prime_minister" text, "title" text, "term_start" text, "term_end" text, "term_in_office" text );
SELECT "term_start" FROM "list_of_agriculture_ministers" WHERE "title"='minister for agriculture, fisheries and forestry' AND "order"='25';
2-12377957-1
What was the score in the venue of Seoul that resulted in 8-0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "venue"='seoul' AND "result"='8-0';
2-12513368-1
What date had a result of 8-0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "result"='8-0';
2-12513368-1
On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "venue"='kuala lumpur' AND "result"='4-0' AND "date"='july 26, 1977';
2-12513368-1
What venue were the 1986 Asian games resulting in 2-0 played at?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "competition"='1986 asian games' AND "result"='2-0';
2-12513368-1
How many total League goals does Player John O'Flynn have?
CREATE TABLE "premier_division" ( "player" text, "club" text, "league_goals" real, "cup_goals" real, "total" real );
SELECT SUM("league_goals") FROM "premier_division" WHERE "player"='john o''flynn';
2-12627664-1
What is the earliest year that had a Lotus 49B chassis?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='lotus 49b';
2-1235873-1
Name the least lane for lenny krayzelburg
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT MIN("lane") FROM "semifinal_2" WHERE "name"='lenny krayzelburg';
2-12386507-5
Round of 9 involved what name?
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"=9;
2-13312898-25
Name of calvin o'neal, and a Round smaller than 6 had what number total overall?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("overall") FROM "indianapolis_colts_draft_history" WHERE "name"='calvin o''neal' AND "round"<6;
2-13312898-25
Name the work for years before 2007 that won blockbuster entertainment awards
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "work" text, "cole" text, "dylan" text );
SELECT "work" FROM "awards_and_nominations" WHERE "year"<2007 AND "award"='blockbuster entertainment awards';
2-1280959-3
Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "work" text, "cole" text, "dylan" text );
SELECT "cole" FROM "awards_and_nominations" WHERE "year"<2009 AND "dylan"='nominated' AND "work"='big daddy' AND "award"='mtv movie awards';
2-1280959-3
Position of running back involves which college?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "position"='running back';
2-13312898-60
Round larger than 2, and a Position of guard involves what college?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "round">2 AND "position"='guard';
2-13312898-60
Pick # smaller than 46, and a Round of 5, and a Position of defensive tackle involves which college?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "pick_num"<46 AND "round"=5 AND "position"='defensive tackle';
2-13312898-60
What is the percentage who speak Russian?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "percentage_pct" FROM "language" WHERE "language"='russian';
2-12162089-1
How many speak german?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "number" FROM "language" WHERE "language"='german';
2-12162089-1
What is the percentage where males equal 99?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "percentage_pct" FROM "language" WHERE "males"='99';
2-12162089-1
How many women speak German?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "females" FROM "language" WHERE "language"='german';
2-12162089-1
Name the 3rd place with winners of weymouth wildcats and 4th place of boston barracudas
CREATE TABLE "winners" ( "year" real, "winners" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "3rd_place" FROM "winners" WHERE "winners"='weymouth wildcats' AND "4th_place"='boston barracudas';
2-13111825-1
Name the 3rd place for 4th place of boston barracudas and 2nd place of oxford cheetahs
CREATE TABLE "winners" ( "year" real, "winners" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "3rd_place" FROM "winners" WHERE "4th_place"='boston barracudas' AND "2nd_place"='oxford cheetahs';
2-13111825-1
Name the winners when 3rd place is weymouth wildcats
CREATE TABLE "winners" ( "year" real, "winners" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "winners" FROM "winners" WHERE "3rd_place"='weymouth wildcats';
2-13111825-1
What is the lowest number of league cups associated with 0 FA cups?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT MIN("league_cup") FROM "yellow_cards" WHERE "fa_cup"<0;
2-12808457-2
How many FA cups for the player with under 5 champs, 0 league cups, and over 3 total?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT SUM("fa_cup") FROM "yellow_cards" WHERE "championship"<5 AND "league_cup"=0 AND "total">3;
2-12808457-2
How many league cups associated with under 10 championships and a total of under 3?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT SUM("league_cup") FROM "yellow_cards" WHERE "championship"<10 AND "total"<3;
2-12808457-2
Result F–A of 2–0 had what group position?
CREATE TABLE "group_stage" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "group_position" text );
SELECT "group_position" FROM "group_stage" WHERE "result_f_a"='2–0';
2-12950804-7
Result F–A of 5–0 had what group position?
CREATE TABLE "group_stage" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "group_position" text );
SELECT "group_position" FROM "group_stage" WHERE "result_f_a"='5–0';
2-12950804-7
Group position of 1st, and a Result F–A of 2–0 has what average attendance?
CREATE TABLE "group_stage" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "group_position" text );
SELECT AVG("attendance") FROM "group_stage" WHERE "group_position"='1st' AND "result_f_a"='2–0';
2-12950804-7
Result F–A of 5–0 had what date?
CREATE TABLE "group_stage" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "group_position" text );
SELECT "date" FROM "group_stage" WHERE "result_f_a"='5–0';
2-12950804-7
Date of 1 october 2003 had what attendance?
CREATE TABLE "group_stage" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "group_position" text );
SELECT "attendance" FROM "group_stage" WHERE "date"='1 october 2003';
2-12950804-7
what score is it with tathiana garbin as partner?
CREATE TABLE "doubles_55_31_24" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "score" text );
SELECT "score" FROM "doubles_55_31_24" WHERE "partner"='tathiana garbin';
2-12530926-7
what date was giulia casoni the partner?
CREATE TABLE "doubles_55_31_24" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "score" text );
SELECT "date" FROM "doubles_55_31_24" WHERE "partner"='giulia casoni';
2-12530926-7
for country of spain and iata of ibz, what's the city?
CREATE TABLE "list" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "city" FROM "list" WHERE "country"='spain' AND "iata"='ibz';
2-1262443-2
for fiumicino airport what is the icao?
CREATE TABLE "list" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "list" WHERE "airport"='fiumicino airport';
2-1262443-2
for milan and the iata of lin what is the airport?
CREATE TABLE "list" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "airport" FROM "list" WHERE "city"='milan' AND "iata"='lin';
2-1262443-2
what's the iata for the icao of eheh?
CREATE TABLE "list" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "list" WHERE "icao"='eheh';
2-1262443-2
which aiport is in the united kingdom and has iata of lcy?
CREATE TABLE "list" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "airport" FROM "list" WHERE "country"='united kingdom' AND "iata"='lcy';
2-1262443-2
Name the F. Goals for games of 22 22 and points of 012 12
CREATE TABLE "players" ( "player" text, "games" text, "tries" text, "goals" text, "f_goals" text, "points" text );
SELECT "f_goals" FROM "players" WHERE "games"='22 22' AND "points"='012 12';
2-12427499-3
Name the points for games of 16 16
CREATE TABLE "players" ( "player" text, "games" text, "tries" text, "goals" text, "f_goals" text, "points" text );
SELECT "points" FROM "players" WHERE "games"='16 16';
2-12427499-3
Name the tries that has a points of 008 8 and games of 27 27
CREATE TABLE "players" ( "player" text, "games" text, "tries" text, "goals" text, "f_goals" text, "points" text );
SELECT "tries" FROM "players" WHERE "points"='008 8' AND "games"='27 27';
2-12427499-3
Name the F. Goals with tries of 0 0 and games of 05 5
CREATE TABLE "players" ( "player" text, "games" text, "tries" text, "goals" text, "f_goals" text, "points" text );
SELECT "f_goals" FROM "players" WHERE "tries"='0 0' AND "games"='05 5';
2-12427499-3
Name the player with tries of 02 2 and points of 008 8
CREATE TABLE "players" ( "player" text, "games" text, "tries" text, "goals" text, "f_goals" text, "points" text );
SELECT "player" FROM "players" WHERE "tries"='02 2' AND "points"='008 8';
2-12427499-3
Which area has a Name of william colenso college?
CREATE TABLE "napier_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real );
SELECT "area" FROM "napier_city" WHERE "name"='william colenso college';
2-12195931-3
Which authority has a Name of tamatea high school?
CREATE TABLE "napier_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real );
SELECT "authority" FROM "napier_city" WHERE "name"='tamatea high school';
2-12195931-3
Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?
CREATE TABLE "napier_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real );
SELECT "gender" FROM "napier_city" WHERE "decile"=8 AND "area"='taradale' AND "years"='1–13';
2-12195931-3
Which Decile has Years of –, and a Gender of coed?
CREATE TABLE "napier_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real );
SELECT "decile" FROM "napier_city" WHERE "years"='–' AND "gender"='coed';
2-12195931-3
Name the total number of division for apps more than 5 for greece
CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real );
SELECT COUNT("division") FROM "career_statistics" WHERE "apps">5 AND "country"='greece';
2-12170991-1
Name the average apps for smederevo
CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real );
SELECT AVG("apps") FROM "career_statistics" WHERE "team"='smederevo';
2-12170991-1
What model engine has a lotus 16 chassis?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "chassis"='lotus 16';
2-1228251-1
How many points after 1960 for fred tuck cars?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='fred tuck cars' AND "year">1960;
2-1228251-1
What is the distance for the unnamed race with 3 runners at Newcastle?
CREATE TABLE "summary" ( "race_name" text, "dist_miles" text, "course" text, "prize" text, "jockey" text, "odds" text, "runners" text );
SELECT "dist_miles" FROM "summary" WHERE "race_name"='unnamed race' AND "runners"='3' AND "course"='newcastle';
2-12871769-1
Name the score when the record was 18-25
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='18-25';
2-12207222-3
Name the loss for the angels opponent
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "opponent"='angels';
2-12207222-3
Name the total number of people that went when the record was 16-22
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "game_log" WHERE "record"='16-22';
2-12207222-3
Name the score for the mariners opponent on may 10
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='mariners' AND "date"='may 10';
2-12207222-3
What was the Outcome for the Partner of Jürgen Melzer and the Date of January 7, 2012?
CREATE TABLE "doubles_8_5_3" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "outcome" FROM "doubles_8_5_3" WHERE "partner"='jürgen melzer' AND "date"='january 7, 2012';
2-13014020-6
What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011?
CREATE TABLE "doubles_8_5_3" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_8_5_3" WHERE "partner"='jürgen melzer' AND "date"='july 16, 2011';
2-13014020-6
What's the Outcome for the Date of July 16, 2011?
CREATE TABLE "doubles_8_5_3" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "outcome" FROM "doubles_8_5_3" WHERE "date"='july 16, 2011';
2-13014020-6
What's the Outcome for the Partner of Jürgen Melzer on the Date of February 7, 2010?
CREATE TABLE "doubles_8_5_3" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "outcome" FROM "doubles_8_5_3" WHERE "partner"='jürgen melzer' AND "date"='february 7, 2010';
2-13014020-6
Name the nation with rank more than 9
CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "cultural_events" WHERE "rank">9;
2-12402019-5
Name the least bronze for silver being less than 0
CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "cultural_events" WHERE "silver"<0;
2-12402019-5
Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "cultural_events" WHERE "bronze"<1 AND "gold"=1 AND "total"<1;
2-12402019-5
Name the sum of rank for silver less than 0
CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "cultural_events" WHERE "silver"<0;
2-12402019-5
Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1
CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("rank") FROM "cultural_events" WHERE "silver"<1 AND "total">1 AND "bronze"<1;
2-12402019-5
What was the date of the game in which the series was 1-4?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "series" text );
SELECT "date" FROM "game_log" WHERE "series"='1-4';
2-12207158-9
What is the Score that has a Home of montreal canadiens on april 11?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "home"='montreal canadiens' AND "date"='april 11';
2-12791739-5
What is the Record on april 13?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "date"='april 13';
2-12791739-5
When is Home of chicago black hawks has a Record of 0–1?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "home"='chicago black hawks' AND "record"='0–1';
2-12791739-5
What is the Date that chicago black hawks has a Record of 2–2?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "visitor"='chicago black hawks' AND "record"='2–2';
2-12791739-5
Which Record has a Score of 0–2?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "score"='0–2';
2-12791739-5
Who is the visitor on April 5?
CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "date"='april 5';
2-12791739-5
What is the Team, when the Year is 2011?
CREATE TABLE "career_statistics" ( "year" text, "team" text, "tackles" text, "solo" real, "sacks" real, "int_yds" real );
SELECT "team" FROM "career_statistics" WHERE "year"='2011';
2-1278412-1
What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?
CREATE TABLE "career_statistics" ( "year" text, "team" text, "tackles" text, "solo" real, "sacks" real, "int_yds" real );
SELECT "int_yds" FROM "career_statistics" WHERE "team"='new orleans saints' AND "sacks">0 AND "solo"=71;
2-1278412-1
What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?
CREATE TABLE "career_statistics" ( "year" text, "team" text, "tackles" text, "solo" real, "sacks" real, "int_yds" real );
SELECT MIN("sacks") FROM "career_statistics" WHERE "team"='new orleans saints' AND "tackles"='132';
2-1278412-1
What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?
CREATE TABLE "career_statistics" ( "year" text, "team" text, "tackles" text, "solo" real, "sacks" real, "int_yds" real );
SELECT "tackles" FROM "career_statistics" WHERE "solo">67 AND "sacks"<2 AND "int_yds">1;
2-1278412-1
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
CREATE TABLE "career_statistics" ( "year" text, "team" text, "tackles" text, "solo" real, "sacks" real, "int_yds" real );
SELECT COUNT("solo") FROM "career_statistics" WHERE "sacks"=2 AND "team"='new york jets';
2-1278412-1
What is the outcome of the match with a score of 6–4, 6–1?
CREATE TABLE "itf_circuit_singles_finals_7_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "itf_circuit_singles_finals_7_6" WHERE "score"='6–4, 6–1';
2-12326046-2
What date was the match on a clay surface against Andrea Hlaváčková?
CREATE TABLE "itf_circuit_singles_finals_7_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "itf_circuit_singles_finals_7_6" WHERE "surface"='clay' AND "opponent"='andrea hlaváčková';
2-12326046-2
What is the name of the opponent at the Herceg Novi tournament?
CREATE TABLE "itf_circuit_singles_finals_7_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "itf_circuit_singles_finals_7_6" WHERE "tournament"='herceg novi';
2-12326046-2
What was the loss of the game when the record was 50-32?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='50-32';
2-12207528-5
Who was the opponent with a result of l 14–6?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "season_schedule" WHERE "result"='l 14–6';
2-12676370-1
What is the sum of all attendance on November 17, 1961?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("attendance") FROM "season_schedule" WHERE "date"='november 17, 1961';
2-12676370-1
What is the smallest attendance in week 5?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("attendance") FROM "season_schedule" WHERE "week"=5;
2-12676370-1
Name the 3rd for season less than 4 and lost of 61
CREATE TABLE "all_time_liga_acb_table" ( "team" text, "season" real, "played" real, "lost" real, "1_st" text, "2_nd" text, "3_rd" text, "4_th" text, "debut" text, "since_last_app" text, "best" real );
SELECT "3_rd" FROM "all_time_liga_acb_table" WHERE "season"<4 AND "lost"=61;
2-1253228-7
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
CREATE TABLE "rugby_belgium_internationals_1986" ( "first_game" real, "played" real, "drawn" real, "lost" real, "percentage" text );
SELECT SUM("played") FROM "rugby_belgium_internationals_1986" WHERE "first_game"<2000 AND "lost"<21 AND "drawn"<0;
2-13095097-1
What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?
CREATE TABLE "rugby_belgium_internationals_1986" ( "first_game" real, "played" real, "drawn" real, "lost" real, "percentage" text );
SELECT MIN("played") FROM "rugby_belgium_internationals_1986" WHERE "drawn">0 AND "percentage"='12.50%' AND "lost"<3;
2-13095097-1
What's the total value of សាមសិប?
CREATE TABLE "numbers_from_30_90" ( "value" real, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text );
SELECT SUM("value") FROM "numbers_from_30_90" WHERE "word_form"='សាមសិប';
2-1270572-4
What can you say is the word from of sam sep?
CREATE TABLE "numbers_from_30_90" ( "value" real, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text );
SELECT "word_form" FROM "numbers_from_30_90" WHERE "other"='sam sep';
2-1270572-4
What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
CREATE TABLE "numbers_from_30_90" ( "value" real, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text );
SELECT MIN("khmer") FROM "numbers_from_30_90" WHERE "ala_lc"='kau sip' AND "value"<90;
2-1270572-4
How much is the total value of kau sĕb UNGEGN ?
CREATE TABLE "numbers_from_30_90" ( "value" real, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text );
SELECT SUM("value") FROM "numbers_from_30_90" WHERE "ungegn"='kau sĕb';
2-1270572-4