question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What institution won in 2010 with student Cheng Herng Yi?
CREATE TABLE "list_of_a_star_talent_search_winners" ( "year" real, "award" text, "name" text, "institution" text, "chief_judge" text );
SELECT "institution" FROM "list_of_a_star_talent_search_winners" WHERE "year">2010 AND "name"='cheng herng yi';
2-17524713-1
What was the lowest postion of ehc straubing ii when they played less than 10 games?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MIN("position") FROM "relegation_round" WHERE "name"='ehc straubing ii' AND "played"<10;
2-16501954-18
What was the drawn amount for teams with points of 12 and played smaller than 10?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("drawn") FROM "relegation_round" WHERE "points"=12 AND "played"<10;
2-16501954-18
How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("played") FROM "relegation_round" WHERE "drawn"=2 AND "points"<16 AND "position">5;
2-16501954-18
What was the grid of Buddy Rice?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "grid" FROM "classification" WHERE "driver"='buddy rice';
2-17256857-1
Which team had a driver with a finish position of 7?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "team" FROM "classification" WHERE "fin_pos"='7';
2-17256857-1
What was the time of the driver with a finish position of 19?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "time_retired" FROM "classification" WHERE "fin_pos"='19';
2-17256857-1
What were the number of laps led by the driver with a finish position of 14?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "laps_led" FROM "classification" WHERE "fin_pos"='14';
2-17256857-1
Which team had a finish position of 8?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "team" FROM "classification" WHERE "fin_pos"='8';
2-17256857-1
For the 27 arrow match event, what's the sum of all scores for that event?
CREATE TABLE "women_s_records" ( "event" text, "score" real, "name" text, "nation" text, "games" text, "date" text );
SELECT SUM("score") FROM "women_s_records" WHERE "event"='27 arrow match';
2-16610023-2
Which event had a score of over 673 points?
CREATE TABLE "women_s_records" ( "event" text, "score" real, "name" text, "nation" text, "games" text, "date" text );
SELECT "event" FROM "women_s_records" WHERE "score">673;
2-16610023-2
What is the total number of appearances in the premier league when there were 10 appearances at UEFA and less than 4 at league cup?
CREATE TABLE "most_appearances" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT COUNT("premier_league") FROM "most_appearances" WHERE "uefa_cup"=10 AND "league_cup"<4;
2-17583318-4
What is the highest total number of appearances when there were less than 4 at the FA cup?
CREATE TABLE "most_appearances" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT MAX("total") FROM "most_appearances" WHERE "fa_cup"<4;
2-17583318-4
What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup?
CREATE TABLE "most_appearances" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT "player" FROM "most_appearances" WHERE "fa_cup"<6 AND "premier_league"=33 AND "uefa_cup">5;
2-17583318-4
What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?
CREATE TABLE "most_appearances" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT SUM("league_cup") FROM "most_appearances" WHERE "position"='defender' AND "uefa_cup"<10;
2-17583318-4
What's the target of the antibody rituximab?
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "approval_date" real, "type" text, "target" text );
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='rituximab';
2-1661124-1
What's the target for the brand mylotarg?
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "approval_date" real, "type" text, "target" text );
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "brand_name"='mylotarg';
2-1661124-1
What's the type for the brand herceptin with an approval date of before 2006?
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "approval_date" real, "type" text, "target" text );
SELECT "type" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"<2006 AND "brand_name"='herceptin';
2-1661124-1
What is Position, when Overall is less than 590, and when Round is 3?
CREATE TABLE "huskers_in_the" ( "player" text, "position" text, "round" real, "overall" real, "mlb_team" text );
SELECT "position" FROM "huskers_in_the" WHERE "overall"<590 AND "round"=3;
2-16224770-4
What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15?
CREATE TABLE "huskers_in_the" ( "player" text, "position" text, "round" real, "overall" real, "mlb_team" text );
SELECT "player" FROM "huskers_in_the" WHERE "mlb_team"='florida marlins' AND "round"<15;
2-16224770-4
What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?
CREATE TABLE "huskers_in_the" ( "player" text, "position" text, "round" real, "overall" real, "mlb_team" text );
SELECT MIN("overall") FROM "huskers_in_the" WHERE "player"='dan jennings' AND "round">9;
2-16224770-4
What is the total number of Round, when Position is 2B?
CREATE TABLE "huskers_in_the" ( "player" text, "position" text, "round" real, "overall" real, "mlb_team" text );
SELECT COUNT("round") FROM "huskers_in_the" WHERE "position"='2b';
2-16224770-4
What are the highest points for Justin Lofton when his top 10 is lower than 5?
CREATE TABLE "point_standings" ( "driver" text, "points" real, "wins" real, "top_5" real, "top_10" real );
SELECT MAX("points") FROM "point_standings" WHERE "driver"='justin lofton' AND "top_10"<5;
2-16919628-1
What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s?
CREATE TABLE "point_standings" ( "driver" text, "points" real, "wins" real, "top_5" real, "top_10" real );
SELECT MIN("top_5") FROM "point_standings" WHERE "wins">0 AND "driver"='frank kimmel' AND "top_10"<14;
2-16919628-1
What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?
CREATE TABLE "point_standings" ( "driver" text, "points" real, "wins" real, "top_5" real, "top_10" real );
SELECT MIN("top_10") FROM "point_standings" WHERE "wins"<4 AND "points"<3260 AND "top_5">0;
2-16919628-1
When the mark is 7.35, what's the lowest Lane found?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT MIN("lane") FROM "heats" WHERE "mark"='7.35';
2-16652101-2
What's the lowest lane found for a mark of 8.09 pb?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT MIN("lane") FROM "heats" WHERE "mark"='8.09 pb';
2-16652101-2
What's the sum of all of ivet lalova's Heat stats?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT SUM("heat") FROM "heats" WHERE "name"='ivet lalova';
2-16652101-2
What's the total number of Heat recorded for the british virgin islands?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT COUNT("heat") FROM "heats" WHERE "country"='british virgin islands';
2-16652101-2
When the lane is under 2 and the name is virgen benavides with a mark of 7.29, what's the total number of Heat found?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT COUNT("heat") FROM "heats" WHERE "mark"='7.29' AND "name"='virgen benavides' AND "lane"<2;
2-16652101-2
What's the Time for the Competition of european cup and has a Venue of Moscow?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "time" text );
SELECT "time" FROM "achievements" WHERE "competition"='european cup' AND "venue"='moscow';
2-17143567-1
What's the Time for an Event of 4x100 m relay and has a Venue of Frankfurt?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "time" text );
SELECT "time" FROM "achievements" WHERE "event"='4x100 m relay' AND "venue"='frankfurt';
2-17143567-1
What Competition has an Event of 4x100 m relay and has the Time of 38.89?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "time" text );
SELECT "competition" FROM "achievements" WHERE "event"='4x100 m relay' AND "time"='38.89';
2-17143567-1
What's the lowest Year with a Venue of casablanca and has the Time of 20.63w?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "time" text );
SELECT MIN("year") FROM "achievements" WHERE "venue"='casablanca' AND "time"='20.63w';
2-17143567-1
What was the College/junior/club team of the player with the united states nationality?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "draft_picks" WHERE "nationality"='united states';
2-16783017-5
What was the lowest pick number for a united states player picked before round 7?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text );
SELECT MIN("pick") FROM "draft_picks" WHERE "round">7 AND "nationality"='united states';
2-16783017-5
What country was the player with the score line 69-71-72-69=281 from?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "score"='69-71-72-69=281';
2-16456906-1
What was the score of the player from South Africa?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "country"='south africa';
2-16456906-1
What country did the player with the score line 73-74-72-64=283 from?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "score"='73-74-72-64=283';
2-16456906-1
Who won Pro Stock Motorcycle the year Tom Martino won Pro Stock?
CREATE TABLE "winners" ( "year" real, "top_fuel" text, "funny_car" text, "pro_stock" text, "pro_stock_motorcycle" text );
SELECT "pro_stock_motorcycle" FROM "winners" WHERE "pro_stock"='tom martino';
2-16803341-1
Who won Funny Car in 2012?
CREATE TABLE "winners" ( "year" real, "top_fuel" text, "funny_car" text, "pro_stock" text, "pro_stock_motorcycle" text );
SELECT "funny_car" FROM "winners" WHERE "year"=2012;
2-16803341-1
Who won Funny Car when Jim Yates won Pro Stock, in years after 1996?
CREATE TABLE "winners" ( "year" real, "top_fuel" text, "funny_car" text, "pro_stock" text, "pro_stock_motorcycle" text );
SELECT "funny_car" FROM "winners" WHERE "pro_stock"='jim yates' AND "year">1996;
2-16803341-1
Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?
CREATE TABLE "winners" ( "year" real, "top_fuel" text, "funny_car" text, "pro_stock" text, "pro_stock_motorcycle" text );
SELECT "pro_stock" FROM "winners" WHERE "top_fuel"='tony schumacher' AND "funny_car"='tony pedregon';
2-16803341-1
In which year did John Force win Funny Car and Mike Dunn win in Top Fuel?
CREATE TABLE "winners" ( "year" real, "top_fuel" text, "funny_car" text, "pro_stock" text, "pro_stock_motorcycle" text );
SELECT "year" FROM "winners" WHERE "funny_car"='john force' AND "top_fuel"='mike dunn';
2-16803341-1
What is the total number of races in the 2006 season with 0 poles and more than 0 podiums?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT COUNT("races") FROM "by_seasons_and_teams" WHERE "poles"=0 AND "season"='2006' AND "podiums">0;
2-16678131-2
What is the highest number of the fastest laps when there were 0 poles, more than 2 podiums, and more than 15 races?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT MAX("fastest_laps") FROM "by_seasons_and_teams" WHERE "poles"=0 AND "races">15 AND "podiums">2;
2-16678131-2
What is the total number of races when there was more than 1 pole, and the fastest number of laps was less than 4?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT SUM("races") FROM "by_seasons_and_teams" WHERE "poles">1 AND "fastest_laps"<4;
2-16678131-2
What was the average number of fastest laps with less than 0 poles?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT AVG("fastest_laps") FROM "by_seasons_and_teams" WHERE "poles"<0;
2-16678131-2
What is the smallest number of poles when the fastest laps are less than 0?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT MIN("poles") FROM "by_seasons_and_teams" WHERE "fastest_laps"<0;
2-16678131-2
What is the total number of wins in the 2007 season when the fastest laps is 0, there are less than 0 podiums, and there are less than 16 races?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT SUM("wins") FROM "by_seasons_and_teams" WHERE "fastest_laps"=0 AND "races"<16 AND "season"='2007' AND "podiums"<0;
2-16678131-2
What surface did hayley ericksen play on?
CREATE TABLE "doubles_finals_6_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_finals_6_2" WHERE "partner"='hayley ericksen';
2-16787899-3
Who were the opponents on a hard surface with a score of 6-4, 7-6(2)?
CREATE TABLE "doubles_finals_6_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "opponents_in_the_final" FROM "doubles_finals_6_2" WHERE "surface"='hard' AND "score"='6-4, 7-6(2)';
2-16787899-3
What was hayley ericksen's score?
CREATE TABLE "doubles_finals_6_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_finals_6_2" WHERE "partner"='hayley ericksen';
2-16787899-3
Who won the Silver the Year Katie Curtis Unknown won the Bronze?
CREATE TABLE "women" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT "silver" FROM "women" WHERE "bronze"='katie curtis unknown';
2-16880231-4
Round that greg huntington went in?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "round" FROM "washington_redskins_draft_history" WHERE "name"='greg huntington';
2-17100961-64
Total overall from penn state?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "college"='penn state';
2-17100961-64
How many seasons did Pat Chambers coach?
CREATE TABLE "coaching_history" ( "coach" text, "years" text, "seasons" real, "record" text, "pct" real, "nat_titles" real );
SELECT COUNT("seasons") FROM "coaching_history" WHERE "coach"='pat chambers';
2-16684748-2
What was the to par that goes with the score 68-74-69=211?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "score"='68-74-69=211';
2-16514508-3
What country is Paul Stankowski from?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='paul stankowski';
2-16514508-3
What place goes with the score of 70-66-65=201?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='70-66-65=201';
2-16514508-3
When Fred Funk had a to par of E, what was the score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "to_par"='e' AND "player"='fred funk';
2-16514508-3
Where is the location where Scott Junk was the opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='scott junk';
2-17442253-2
what is the score on 14 december 1974 and the away team is crystal palace?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "second_round_proper" WHERE "date"='14 december 1974' AND "away_team"='crystal palace';
2-17620547-3
what is the date when the away team is crystal palace?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "second_round_proper" WHERE "away_team"='crystal palace';
2-17620547-3
What is the height of the player with the 2012 club of asd roma?
CREATE TABLE "current" ( "name" text, "pos" text, "height" text, "weight" text, "2012_club" text );
SELECT "height" FROM "current" WHERE "2012_club"='asd roma';
2-16506555-1
What was the Tie Number of the Bradford City away team?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "fourth_round_proper" WHERE "away_team"='bradford city';
2-17455843-5
Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='replay' AND "away_team"='bolton wanderers';
2-17455843-5
What date has a Tie Number of 4?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "fourth_round_proper" WHERE "tie_no"='4';
2-17455843-5
What is the average money ($) that Tom Weiskopf made?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "player"='tom weiskopf';
2-16456727-1
What place did the golfer from the United States come in with a To Par of +2, and a score of 73-74-71-72=290?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "country"='united states' AND "to_par"='+2' AND "score"='73-74-71-72=290';
2-16456727-1
For the number notion more than 1,000,000 with a power notion of 10 12, what is the short scale?
CREATE TABLE "cardinal_numbers" ( "number_notation" real, "power_notation" text, "short_scale" text, "long_scale" text, "indian_or_south_asian_english" text );
SELECT "short_scale" FROM "cardinal_numbers" WHERE "number_notation">'1,000,000' AND "power_notation"='10 12';
2-163873-6
For a long scale of one million, what is the power notion?
CREATE TABLE "cardinal_numbers" ( "number_notation" real, "power_notation" text, "short_scale" text, "long_scale" text, "indian_or_south_asian_english" text );
SELECT "power_notation" FROM "cardinal_numbers" WHERE "long_scale"='one million';
2-163873-6
For a power notation of 10 12, what is the long scale?
CREATE TABLE "cardinal_numbers" ( "number_notation" real, "power_notation" text, "short_scale" text, "long_scale" text, "indian_or_south_asian_english" text );
SELECT "long_scale" FROM "cardinal_numbers" WHERE "power_notation"='10 12';
2-163873-6
For a short scale of one quadrillion a thousand trillion, what is the Long scale?
CREATE TABLE "cardinal_numbers" ( "number_notation" real, "power_notation" text, "short_scale" text, "long_scale" text, "indian_or_south_asian_english" text );
SELECT "long_scale" FROM "cardinal_numbers" WHERE "short_scale"='one quadrillion a thousand trillion';
2-163873-6
what is the employee (real name) when the pick # is higher than 10 and the brand (to) is raw?
CREATE TABLE "draft_lottery" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );
SELECT "employee_real_name" FROM "draft_lottery" WHERE "pick_num">10 AND "brand_to"='raw';
2-17607037-1
Who was the opposing team when the scorer was ronaldinho 90+3'?
CREATE TABLE "uefa_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text, "scorers" text );
SELECT "opponent_team" FROM "uefa_cup" WHERE "scorers"='ronaldinho 90+3''';
2-17482554-10
Who was the opposing team when the scorers were jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'?
CREATE TABLE "uefa_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text, "scorers" text );
SELECT "opponent_team" FROM "uefa_cup" WHERE "scorers"='jong-a-pin 19''( o.g. ) , gattuso 23'' , inzaghi 69''';
2-17482554-10
What was the score when Altrincham was home?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "third_round_proper" WHERE "home_team"='altrincham';
2-16312746-3
How many goals against when the draws are fewer than 3?
CREATE TABLE "premier_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real );
SELECT MAX("goals_against") FROM "premier_division_final_table" WHERE "drawn"<3;
2-17606104-1
How many goals when the points 1 is 38 and the played number is less than 42?
CREATE TABLE "premier_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real );
SELECT SUM("goals_for") FROM "premier_division_final_table" WHERE "points_1"=38 AND "played"<42;
2-17606104-1
What is the fewest goals for when goal difference is +10 and goals against is more than 61?
CREATE TABLE "premier_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real );
SELECT MIN("goals_for") FROM "premier_division_final_table" WHERE "goal_difference"='+10' AND "goals_against">61;
2-17606104-1
What is the fewest goals for when goals against is 75 and drawn is smaller than 11?
CREATE TABLE "premier_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real );
SELECT MIN("goals_for") FROM "premier_division_final_table" WHERE "goals_against"=75 AND "drawn"<11;
2-17606104-1
What is the highest goals for the position after 10, a goal difference less than -24, and played more than 30 times?
CREATE TABLE "group_ii" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("goals_for") FROM "group_ii" WHERE "position">10 AND "goal_difference"<-24 AND "played">30;
2-17608926-4
What is the lowest goals for more than 30 games played?
CREATE TABLE "group_ii" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MIN("goals_for") FROM "group_ii" WHERE "played">30;
2-17608926-4
What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games?
CREATE TABLE "group_ii" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("goals_for") FROM "group_ii" WHERE "position">8 AND "losses"=12 AND "played"<30;
2-17608926-4
What is the total number of losses for the over 30 games played?
CREATE TABLE "group_ii" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("losses") FROM "group_ii" WHERE "played">30;
2-17608926-4
What is the total number of losses and draws less than 7, points larger than 26, 60 goals, and a position before 4?
CREATE TABLE "group_ii" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("losses") FROM "group_ii" WHERE "draws"<7 AND "points">26 AND "goals_for"=60 AND "position"<4;
2-17608926-4
What is the highest total for bronze with a gold larger than 0, a silver smaller than 5, and a total of 15?
CREATE TABLE "medal_table" ( "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "gold">0 AND "total"=15 AND "silver"<5;
2-16590486-3
What is Score, when High Points is "Dwight Howard (25)"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "high_points"='dwight howard (25)';
2-17311797-7
What is Score, when Team is "Washington"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "team"='washington';
2-17311797-7
What is Record, when Location Attendance is "Pepsi Center 19,749"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "location_attendance"='pepsi center 19,749';
2-17311797-7
What is Record, when Game is "36"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"=36;
2-17311797-7
What is Date, when Winning Score is −14 (68-68-67-71=274)?
CREATE TABLE "pga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "pga_tour_wins_9" WHERE "winning_score"='−14 (68-68-67-71=274)';
2-1662630-1
What is the Margin of Victory, when Tournament is Mercedes Championships (3)?
CREATE TABLE "pga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "pga_tour_wins_9" WHERE "tournament"='mercedes championships (3)';
2-1662630-1
What is Date, when Tournament, is Greenbrier Classic?
CREATE TABLE "pga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "pga_tour_wins_9" WHERE "tournament"='greenbrier classic';
2-1662630-1
What is Runner(s)-Up when Margin of Victory is 6 Strokes?
CREATE TABLE "pga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "runner_s_up" FROM "pga_tour_wins_9" WHERE "margin_of_victory"='6 strokes';
2-1662630-1
What is Date, when Runner(s)-Up is Jonathan Kaye?
CREATE TABLE "pga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "pga_tour_wins_9" WHERE "runner_s_up"='jonathan kaye';
2-1662630-1
What is the year that nahete colles was named?
CREATE TABLE "colles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT MAX("year_named") FROM "colles" WHERE "name"='nahete colles';
2-16799784-15
What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named?
CREATE TABLE "colles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT MAX("year_named") FROM "colles" WHERE "latitude"='76.0n' AND "diameter_km">548;
2-16799784-15
What is the diameter in km of t'ien hu colles?
CREATE TABLE "colles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT "diameter_km" FROM "colles" WHERE "name"='t''ien hu colles';
2-16799784-15