question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Date has a Result of w 13–6?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "result"='w 13–6';
2-13963486-2
What is the Result of Week larger than 3 on 1971-11-07?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week">3 AND "date"='1971-11-07';
2-13963486-2
What is the pos with more than 1 tier during Pokal Slovenije 1. round?
CREATE TABLE "season_by_season" ( "season" text, "tier" real, "division" text, "pos" real, "cup_competitions" text );
SELECT "pos" FROM "season_by_season" WHERE "tier">1 AND "cup_competitions"='pokal slovenije 1. round';
2-14188751-1
What are the exact Cubic inches of the Metric value of 104.955 L?
CREATE TABLE "dry_measures" ( "unit" text, "russian" text, "translation" text, "ratio" text, "cubic_inches_exact" text, "metric_value" text, "imperial_value" text, "us_customary" text );
SELECT "cubic_inches_exact" FROM "dry_measures" WHERE "metric_value"='104.955 l';
2-1375378-2
What is the Translation of the US Customary value 0.263 pt?
CREATE TABLE "dry_measures" ( "unit" text, "russian" text, "translation" text, "ratio" text, "cubic_inches_exact" text, "metric_value" text, "imperial_value" text, "us_customary" text );
SELECT "translation" FROM "dry_measures" WHERE "us_customary"='0.263 pt';
2-1375378-2
What is the Metric value of Russian че́тверть?
CREATE TABLE "dry_measures" ( "unit" text, "russian" text, "translation" text, "ratio" text, "cubic_inches_exact" text, "metric_value" text, "imperial_value" text, "us_customary" text );
SELECT "metric_value" FROM "dry_measures" WHERE "russian"='че́тверть';
2-1375378-2
What are the exact Cubic inches of the Unit of kruzhka?
CREATE TABLE "dry_measures" ( "unit" text, "russian" text, "translation" text, "ratio" text, "cubic_inches_exact" text, "metric_value" text, "imperial_value" text, "us_customary" text );
SELECT "cubic_inches_exact" FROM "dry_measures" WHERE "unit"='kruzhka';
2-1375378-2
Which Zero Fighter has a count of 10?
CREATE TABLE "a_part_of_yanagiya_s_flight_log_in_april" ( "date" text, "id_code_of_his_zero_fighter" text, "flight_hours" text, "count" text, "sub_total" text );
SELECT "id_code_of_his_zero_fighter" FROM "a_part_of_yanagiya_s_flight_log_in_april" WHERE "count"='10';
2-14872825-2
On which day were the subtotal hours 9:30?
CREATE TABLE "a_part_of_yanagiya_s_flight_log_in_april" ( "date" text, "id_code_of_his_zero_fighter" text, "flight_hours" text, "count" text, "sub_total" text );
SELECT "date" FROM "a_part_of_yanagiya_s_flight_log_in_april" WHERE "sub_total"='9:30';
2-14872825-2
What is the count for the Zero Fighter with hours of 2:00?
CREATE TABLE "a_part_of_yanagiya_s_flight_log_in_april" ( "date" text, "id_code_of_his_zero_fighter" text, "flight_hours" text, "count" text, "sub_total" text );
SELECT "count" FROM "a_part_of_yanagiya_s_flight_log_in_april" WHERE "flight_hours"='2:00';
2-14872825-2
Which record has Katsuomi Inagaki as an opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='katsuomi inagaki';
2-1447237-2
Which method has a 1:46 time?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "time"='1:46';
2-1447237-2
What is Henri Crockett's highest overall with more than 3 picks?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("overall") FROM "atlanta_falcons_draft_history" WHERE "pick_num">3 AND "name"='henri crockett';
2-15198842-32
Which college has fewer than 2 rounds?
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"<2;
2-15198842-32
What are the total number of picks for a guard with fewer than 6 rounds?
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 "position"='guard' AND "round"<6;
2-15198842-32
What is the lowest overall for a quarterback with fewer than 7 rounds?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("overall") FROM "atlanta_falcons_draft_history" WHERE "position"='quarterback' AND "round"<7;
2-15198842-32
What Playoffs had an Open Cup of 3rd round?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "reg_season" text, "playoffs" text, "open_cup" text, "avg_attendance" real );
SELECT "playoffs" FROM "year_by_year" WHERE "open_cup"='3rd round';
2-1463509-1
What was the D segment for episode 60?
CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_5_2005" WHERE "episode"=60;
2-15187735-5
What was the B segmint for Netlix S03E01?
CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_5_2005" WHERE "netflix"='s03e01';
2-15187735-5
What was the D segment for episode 60?
CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_5_2005" WHERE "episode"=60;
2-15187735-5
What racing club team made supercopa 1996?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "intercontinental" text, "recopa_1996" text, "supercopa_1996" text, "conmebol_1996" text, "copa_libertadores_1997" text );
SELECT "supercopa_1996" FROM "argentine_clubs_in_international_competi" WHERE "team"='racing club';
2-14310205-1
Name the # country for new palestine
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "num_county" text );
SELECT "num_county" FROM "indiana_high_school_athletics_conference" WHERE "school"='new palestine';
2-13986492-13
Name the number of enrollment for county of 48 madison
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "num_county" text );
SELECT COUNT("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "num_county"='48 madison';
2-13986492-13
Name the IHSAA class with county 18 delaware and tigers mascot
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "num_county" text );
SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "num_county"='18 delaware' AND "mascot"='tigers';
2-13986492-13
Name the mascot for shelbyville
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "num_county" text );
SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "school"='shelbyville';
2-13986492-13
What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
CREATE TABLE "attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT MIN("capacity") FROM "attendances" WHERE "stadium"='hampden park' AND "highest">'1,763';
2-14003020-5
What's the highest with a capacity of greater than 4,000 and an average of 615?
CREATE TABLE "attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT MAX("highest") FROM "attendances" WHERE "average"=615 AND "capacity">'4,000';
2-14003020-5
At Balmoor Stadium, what's the total average having a greater than 400 lowest?
CREATE TABLE "attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT COUNT("average") FROM "attendances" WHERE "stadium"='balmoor' AND "lowest">400;
2-14003020-5
What was the score of Tommy Aaron (2) when the tournament was in georgia?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "score" FROM "tournament_results" WHERE "location"='georgia' AND "winner"='tommy aaron (2)';
2-14685423-1
What was the tournament that had a first prize of $12,600?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "tournament" FROM "tournament_results" WHERE "1st_prize"='12,600';
2-14685423-1
What was the score of Ken Still (3) when he won first place?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "score" FROM "tournament_results" WHERE "winner"='ken still (3)';
2-14685423-1
Who beat Chic by 8fm?
CREATE TABLE "race_performances" ( "date" text, "placing" text, "beat_by" text, "location" text, "distance" text );
SELECT "beat_by" FROM "race_performances" WHERE "distance"='8fm';
2-15004387-1
What was the placing of the race in which Chic won by 8gf?
CREATE TABLE "race_performances" ( "date" text, "placing" text, "beat_by" text, "location" text, "distance" text );
SELECT "placing" FROM "race_performances" WHERE "beat_by"='won' AND "distance"='8gf';
2-15004387-1
What was the date in which Chic won at CHS?
CREATE TABLE "race_performances" ( "date" text, "placing" text, "beat_by" text, "location" text, "distance" text );
SELECT "date" FROM "race_performances" WHERE "beat_by"='won' AND "location"='chs';
2-15004387-1
Who is the opponent of game 54, which was in Los Angeles and was before day 18?
CREATE TABLE "schedule_and_results" ( "game" real, "date" real, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "schedule_and_results" WHERE "location_attendance"='los angeles' AND "date"<18 AND "game"=54;
2-13931429-6
What is the earliest date of the game with a score of 2-2?
CREATE TABLE "schedule_and_results" ( "game" real, "date" real, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT MIN("date") FROM "schedule_and_results" WHERE "score"='2-2';
2-13931429-6
What is the average date of the game with the Detroit Red Wings as the opponent?
CREATE TABLE "schedule_and_results" ( "game" real, "date" real, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT AVG("date") FROM "schedule_and_results" WHERE "opponent"='detroit red wings';
2-13931429-6
What is the date of the game with a score of 4-2?
CREATE TABLE "schedule_and_results" ( "game" real, "date" real, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "schedule_and_results" WHERE "score"='4-2';
2-13931429-6
What was the loss of the game that had a record of 3-3?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='3-3';
2-13955746-3
What was the score of the game with a loss of Mercedes (0-1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "loss"='mercedes (0-1)';
2-13955746-3
Who was the opponent at the game with a loss of Weaver (1-2)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "loss"='weaver (1-2)';
2-13955746-3
What's the Remixed by with a Version of Strings for Soul's Mix?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "version"='strings for soul''s mix';
2-14838179-2
What the highest Year with a Remixed by Laurent Boutonnat?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT MAX("year") FROM "official_versions" WHERE "remixed_by"='laurent boutonnat';
2-14838179-2
What's the total Year with a Length of 4:45 an has an Album of Les Mots?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT SUM("year") FROM "official_versions" WHERE "length"='4:45' AND "album"='les mots';
2-14838179-2
What's the Length with the Version of Album Version?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "length" FROM "official_versions" WHERE "version"='album version';
2-14838179-2
What Album has a Year that's larger than 2001?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "album" FROM "official_versions" WHERE "year">2001;
2-14838179-2
What is the lowest position for bruce taylor?
CREATE TABLE "race_2_20_12_2007" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT MIN("position") FROM "race_2_20_12_2007" WHERE "pilot"='bruce taylor';
2-14091394-4
Which pilot has a position above 5 and a speed of 118.8km/h?
CREATE TABLE "race_2_20_12_2007" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT "pilot" FROM "race_2_20_12_2007" WHERE "position">5 AND "speed"='118.8km/h';
2-14091394-4
What is Erwin Sommer's average position?
CREATE TABLE "race_2_20_12_2007" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT AVG("position") FROM "race_2_20_12_2007" WHERE "pilot"='erwin sommer';
2-14091394-4
What is the highest rank of the day with a gross of $38,916 and more than 6 screens?
CREATE TABLE "opening_weekend_gross" ( "date" text, "territory" text, "screens" real, "rank" real, "gross" text );
SELECT MAX("rank") FROM "opening_weekend_gross" WHERE "gross"='$38,916' AND "screens">6;
2-14674285-1
What is the gross in the United Kingdom?
CREATE TABLE "opening_weekend_gross" ( "date" text, "territory" text, "screens" real, "rank" real, "gross" text );
SELECT "gross" FROM "opening_weekend_gross" WHERE "territory"='united kingdom';
2-14674285-1
What is the territory with 17 screens?
CREATE TABLE "opening_weekend_gross" ( "date" text, "territory" text, "screens" real, "rank" real, "gross" text );
SELECT "territory" FROM "opening_weekend_gross" WHERE "screens"=17;
2-14674285-1
What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1?
CREATE TABLE "medal_table" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real, "participants" real );
SELECT MIN("gold") FROM "medal_table" WHERE "participants"<14 AND "rank"=1 AND "total">1;
2-14639905-6
On what date was the record 39–54?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='39–54';
2-13882208-7
What was the record on July 1?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='july 1';
2-13882208-7
How many total matches with less than 1 win and a position higher than 8?
CREATE TABLE "group_a_helsinki" ( "pos" real, "matches" real, "wins" real, "loses" real, "results" text, "points" real, "diff" text );
SELECT SUM("matches") FROM "group_a_helsinki" WHERE "wins"<1 AND "pos">8;
2-13843829-3
Which Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%?
CREATE TABLE "liberal_party_federal_electoral_results" ( "year" text, "seats_in_house" real, "liberal_candidates" real, "seats_won" real, "seat_change" text, "popular_vote" real, "pct_of_popular_vote" text, "result" text, "liberal_leader" text );
SELECT "liberal_leader" FROM "liberal_party_federal_electoral_results" WHERE "seats_won"<100 AND "seats_in_house"=215 AND "pct_of_popular_vote"='43.1%';
2-149536-2
Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921?
CREATE TABLE "liberal_party_federal_electoral_results" ( "year" text, "seats_in_house" real, "liberal_candidates" real, "seats_won" real, "seat_change" text, "popular_vote" real, "pct_of_popular_vote" text, "result" text, "liberal_leader" text );
SELECT AVG("popular_vote") FROM "liberal_party_federal_electoral_results" WHERE "liberal_leader"='king' AND "seats_won">116 AND "year"='1921';
2-149536-2
How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131?
CREATE TABLE "liberal_party_federal_electoral_results" ( "year" text, "seats_in_house" real, "liberal_candidates" real, "seats_won" real, "seat_change" text, "popular_vote" real, "pct_of_popular_vote" text, "result" text, "liberal_leader" text );
SELECT COUNT("liberal_candidates") FROM "liberal_party_federal_electoral_results" WHERE "liberal_leader"='pearson' AND "pct_of_popular_vote"='40.2%' AND "seats_won"<131;
2-149536-2
Which % of popular vote has a Liberal leader of laurier, and a Popular vote larger than 521,041, and Liberal candidates of 213, and Seats in House smaller than 235?
CREATE TABLE "liberal_party_federal_electoral_results" ( "year" text, "seats_in_house" real, "liberal_candidates" real, "seats_won" real, "seat_change" text, "popular_vote" real, "pct_of_popular_vote" text, "result" text, "liberal_leader" text );
SELECT "pct_of_popular_vote" FROM "liberal_party_federal_electoral_results" WHERE "liberal_leader"='laurier' AND "popular_vote">'521,041' AND "liberal_candidates"=213 AND "seats_in_house"<235;
2-149536-2
How many Liberal candidates have Seats in House smaller than 245, and a Popular vote larger than 350,512, and Seats won smaller than 139, and a Seat Change of +28?
CREATE TABLE "liberal_party_federal_electoral_results" ( "year" text, "seats_in_house" real, "liberal_candidates" real, "seats_won" real, "seat_change" text, "popular_vote" real, "pct_of_popular_vote" text, "result" text, "liberal_leader" text );
SELECT COUNT("liberal_candidates") FROM "liberal_party_federal_electoral_results" WHERE "seats_in_house"<245 AND "popular_vote">'350,512' AND "seats_won"<139 AND "seat_change"='+28';
2-149536-2
What is the score during the 2006-2007 year?
CREATE TABLE "winners" ( "year" text, "winners" text, "score" text, "runner_up" text, "venue" text );
SELECT "score" FROM "winners" WHERE "year"='2006-2007';
2-14772307-2
Who were the winners in 2010-2011?
CREATE TABLE "winners" ( "year" text, "winners" text, "score" text, "runner_up" text, "venue" text );
SELECT "winners" FROM "winners" WHERE "year"='2010-2011';
2-14772307-2
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
CREATE TABLE "winners" ( "year" text, "winners" text, "score" text, "runner_up" text, "venue" text );
SELECT "score" FROM "winners" WHERE "runner_up"='utc' AND "winners"='saint-gaudens bears';
2-14772307-2
Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
CREATE TABLE "winners" ( "year" text, "winners" text, "score" text, "runner_up" text, "venue" text );
SELECT "year" FROM "winners" WHERE "runner_up"='utc' AND "winners"='saint-gaudens bears';
2-14772307-2
What is the venue of the match with a score of 33-22?
CREATE TABLE "winners" ( "year" text, "winners" text, "score" text, "runner_up" text, "venue" text );
SELECT "venue" FROM "winners" WHERE "score"='33-22';
2-14772307-2
Who had the highest assists during the game on February 22?
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 "high_assists" FROM "game_log" WHERE "date"='february 22';
2-13762472-6
What team did the Heat play against at the TD Waterhouse Centre?
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 "team" FROM "game_log" WHERE "location_attendance"='td waterhouse centre';
2-13762472-6
What date was the game against Toronto which had a game number higher than 53?
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 "date" FROM "game_log" WHERE "game">53 AND "team"='toronto';
2-13762472-6
What is the date of the that was played with the Baltimore Colts at home?
CREATE TABLE "playoff_games_that_went_at_least_into_do" ( "length_of_game" text, "date" text, "away_team" text, "score" text, "home_team" text );
SELECT "date" FROM "playoff_games_that_went_at_least_into_do" WHERE "home_team"='baltimore colts';
2-1478772-2
How long did the game go that was played with the Houston Oilers at home?
CREATE TABLE "playoff_games_that_went_at_least_into_do" ( "length_of_game" text, "date" text, "away_team" text, "score" text, "home_team" text );
SELECT "length_of_game" FROM "playoff_games_that_went_at_least_into_do" WHERE "home_team"='houston oilers';
2-1478772-2
What was the date of the game that lasted 75:43?
CREATE TABLE "playoff_games_that_went_at_least_into_do" ( "length_of_game" text, "date" text, "away_team" text, "score" text, "home_team" text );
SELECT "date" FROM "playoff_games_that_went_at_least_into_do" WHERE "length_of_game"='75:43';
2-1478772-2
Who is the away team for the game played on December 24, 1977?
CREATE TABLE "playoff_games_that_went_at_least_into_do" ( "length_of_game" text, "date" text, "away_team" text, "score" text, "home_team" text );
SELECT "away_team" FROM "playoff_games_that_went_at_least_into_do" WHERE "date"='december 24, 1977';
2-1478772-2
What was the length of the game where the Baltimore Colts were at home?
CREATE TABLE "playoff_games_that_went_at_least_into_do" ( "length_of_game" text, "date" text, "away_team" text, "score" text, "home_team" text );
SELECT "length_of_game" FROM "playoff_games_that_went_at_least_into_do" WHERE "home_team"='baltimore colts';
2-1478772-2
What's the number of laps for 16 grids?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("laps") FROM "125cc_classification" WHERE "grid"=16;
2-13719531-3
Who was the rider for laps less than 23 with grid greater than 21 that had a time of +1 lap?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "rider" FROM "125cc_classification" WHERE "laps"<23 AND "grid">21 AND "time_retired"='+1 lap';
2-13719531-3
What's the total grid for someone with a time/retire of +44.831
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "125cc_classification" WHERE "time_retired"='+44.831';
2-13719531-3
What's the smallest grid for Time/Retired of +22.687?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "125cc_classification" WHERE "time_retired"='+22.687';
2-13719531-3
What is the recoupa sudaamericana 1996 result of team flamengo, which did not qualify for the copa conmebol 1996?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "recopa_sudamericana_1996" FROM "brazilian_clubs_in_international_competi" WHERE "copa_conmebol_1996"='did not qualify' AND "team"='flamengo';
2-14979855-9
What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "copa_libertadores_1996" FROM "brazilian_clubs_in_international_competi" WHERE "copa_conmebol_1996"='quarterfinals';
2-14979855-9
What is the copa libertadores 1996 of team corinthians?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "copa_libertadores_1996" FROM "brazilian_clubs_in_international_competi" WHERE "team"='corinthians';
2-14979855-9
What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "copa_conmebol_1996" FROM "brazilian_clubs_in_international_competi" WHERE "recopa_sudamericana_1996"='champions';
2-14979855-9
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "recopa_sudamericana_1996" FROM "brazilian_clubs_in_international_competi" WHERE "copa_libertadores_1996"='round of 16';
2-14979855-9
What is the recoupa sudamericana 1996 result of team corinthians?
CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1996" text, "supercopa_sudamericana_1996" text, "copa_conmebol_1996" text, "recopa_sudamericana_1996" text );
SELECT "recopa_sudamericana_1996" FROM "brazilian_clubs_in_international_competi" WHERE "team"='corinthians';
2-14979855-9
What season has 195 runs as a margin?
CREATE TABLE "greatest_win_margins_by_runs" ( "rank" text, "margin" text, "opponent" text, "venue" text, "season" text );
SELECT "season" FROM "greatest_win_margins_by_runs" WHERE "margin"='195 runs';
2-14412861-6
What season has 2 as a rank?
CREATE TABLE "greatest_win_margins_by_runs" ( "rank" text, "margin" text, "opponent" text, "venue" text, "season" text );
SELECT "season" FROM "greatest_win_margins_by_runs" WHERE "rank"='2';
2-14412861-6
What venue has 2 as the rank?
CREATE TABLE "greatest_win_margins_by_runs" ( "rank" text, "margin" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "greatest_win_margins_by_runs" WHERE "rank"='2';
2-14412861-6
What opponent has 2011/12 as the season?
CREATE TABLE "greatest_win_margins_by_runs" ( "rank" text, "margin" text, "opponent" text, "venue" text, "season" text );
SELECT "opponent" FROM "greatest_win_margins_by_runs" WHERE "season"='2011/12';
2-14412861-6
What is the length of the version from 2003?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "length" FROM "official_versions" WHERE "year"=2003;
2-14562754-1
Who remixed the version with a length of 4:22?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "length"='4:22';
2-14562754-1
What is the length of the UK remix version?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "length" FROM "official_versions" WHERE "version"='uk remix';
2-14562754-1
What year was the version with a remixes album?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "year" FROM "official_versions" WHERE "album"='remixes';
2-14562754-1
How many losses did the team, Sturt, have when they had more than 0 wins?
CREATE TABLE "sanfl" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT COUNT("losses") FROM "sanfl" WHERE "team"='sturt' AND "wins">0;
2-14417906-6
What is the average number of draws for the team that had more than 0 wins?
CREATE TABLE "sanfl" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT AVG("draws") FROM "sanfl" WHERE "wins">0;
2-14417906-6
What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
CREATE TABLE "sanfl" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT MIN("losses") FROM "sanfl" WHERE "draws">0 AND "season"<1926;
2-14417906-6
What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995?
CREATE TABLE "sanfl" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT MAX("wins") FROM "sanfl" WHERE "season"<1995 AND "team"='central district' AND "draws"<0;
2-14417906-6
What is the average number of wins before the season in 1906 where there were 0 draws?
CREATE TABLE "sanfl" ( "season" real, "team" text, "wins" real, "losses" real, "draws" real );
SELECT AVG("wins") FROM "sanfl" WHERE "season"<1906 AND "draws"<0;
2-14417906-6
Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th?
CREATE TABLE "chief_wilson_s_36_triples" ( "triple" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );
SELECT "opposing_pitcher" FROM "chief_wilson_s_36_triples" WHERE "team"='phillies' AND "location"='pittsburgh' AND "inning"='8th';
2-13810542-6
What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?
CREATE TABLE "chief_wilson_s_36_triples" ( "triple" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );
SELECT MIN("game") FROM "chief_wilson_s_36_triples" WHERE "inning"='6th' AND "opposing_pitcher"='cliff curtis';
2-13810542-6
What is was Date that where Triple was smaller than 26, and Game was 25?
CREATE TABLE "chief_wilson_s_36_triples" ( "triple" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );
SELECT "date" FROM "chief_wilson_s_36_triples" WHERE "triple"<26 AND "game"=25;
2-13810542-6