question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many yards did Davin Meggett have with more than 9 Rec.? | CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"long" real
); | SELECT SUM("yards") FROM "receiving" WHERE "player"='davin meggett' AND "rec">9; | 2-15073119-20 |
What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"long" real
); | SELECT COUNT("avg") FROM "receiving" WHERE "yards">20 AND "player"='darrius heyward-bey' AND "long"<80; | 2-15073119-20 |
How many points are associated with a Time/Retired of +10.131 secs? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT COUNT("points") FROM "race" WHERE "time_retired"='+10.131 secs'; | 2-15080993-2 |
What is the grid associated witha Time/Retired of +8.180 secs, and under 47 laps? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("grid") FROM "race" WHERE "time_retired"='+8.180 secs' AND "laps"<47; | 2-15080993-2 |
What is the highest drawn for points over 545? | CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
); | SELECT MAX("drawn") FROM "top_league_table" WHERE "points_for">545; | 2-1400529-1 |
What's the average loss when the points were 545? | CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
); | SELECT AVG("lost") FROM "top_league_table" WHERE "points_for"=545; | 2-1400529-1 |
How many games were lost when the order was 2nd and the play was more than 13 | CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
); | SELECT COUNT("lost") FROM "top_league_table" WHERE "order"='2nd' AND "played">13; | 2-1400529-1 |
Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("rank") FROM "medal_table" WHERE "bronze"=2 AND "gold">0 AND "nation"='ynys môn/anglesey' AND "total">8; | 2-15103574-1 |
Name the least total with rank less than 7, gold more than 16 and bronze less than 29 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "rank"<7 AND "gold">16 AND "bronze"<29; | 2-15103574-1 |
Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_table" WHERE "silver"=6 AND "bronze">5 AND "gold"<4; | 2-15103574-1 |
What score has a game greater than 11 on October 30? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "game">11 AND "october"=30; | 2-14034799-2 |
What October has 0-2-2 as the record? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "october" FROM "schedule_and_results" WHERE "record"='0-2-2'; | 2-14034799-2 |
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? | CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("game") FROM "schedule_and_results" WHERE "opponent"='@ florida panthers' AND "record"='0-1-2' AND "october">8; | 2-14034799-2 |
Which Lost has Games of 64, and Champs smaller than 0? | CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
); | SELECT AVG("lost") FROM "european_nations_cup_all_time_table_2000" WHERE "games"=64 AND "champs"<0; | 2-1526536-13 |
Which Draw is the lowest one that has Champs smaller than 0? | CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
); | SELECT MIN("draw") FROM "european_nations_cup_all_time_table_2000" WHERE "champs"<0; | 2-1526536-13 |
Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3? | CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
); | SELECT "win_lose_percentage" FROM "european_nations_cup_all_time_table_2000" WHERE "champs">0 AND "draw">3; | 2-1526536-13 |
Which Champs is the average one that has a Draw larger than 2, and Games smaller than 60? | CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
); | SELECT AVG("champs") FROM "european_nations_cup_all_time_table_2000" WHERE "draw">2 AND "games"<60; | 2-1526536-13 |
What is the launch date for the Ushio dd-54? | CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
); | SELECT "launched" FROM "type_ii" WHERE "name"='ushio dd-54'; | 2-1405735-2 |
Which name has a Kanji of 朧? | CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
); | SELECT "name" FROM "type_ii" WHERE "kanji"='朧'; | 2-1405735-2 |
What is the Kanji for the Ayanami dd-45? | CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
); | SELECT "kanji" FROM "type_ii" WHERE "name"='ayanami dd-45'; | 2-1405735-2 |
size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? | CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
); | SELECT COUNT("size_steps") FROM "interval_size" WHERE "size_cents"=58.54 AND "just_ratio"='28:27' AND "just_cents">62.96; | 2-14887052-1 |
size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? | CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
); | SELECT MAX("size_cents") FROM "interval_size" WHERE "size_steps"=15 AND "just_cents">435.08; | 2-14887052-1 |
ratio of 16:13 has how many highest size (steps)? | CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
); | SELECT MAX("size_steps") FROM "interval_size" WHERE "just_ratio"='16:13'; | 2-14887052-1 |
ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? | CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
); | SELECT AVG("size_cents") FROM "interval_size" WHERE "just_ratio"='15:14' AND "just_cents">119.44; | 2-14887052-1 |
Who was the home team for the match at Stadion pod Vrmcem? | CREATE TABLE "schedule" (
"venue" text,
"home" text,
"guest" text,
"score_first_match" text,
"attendance" real
); | SELECT "home" FROM "schedule" WHERE "venue"='stadion pod vrmcem'; | 2-13883437-3 |
Who were the guest team wehn the match score was 3:0 (0:2)? | CREATE TABLE "schedule" (
"venue" text,
"home" text,
"guest" text,
"score_first_match" text,
"attendance" real
); | SELECT "guest" FROM "schedule" WHERE "score_first_match"='3:0 (0:2)'; | 2-13883437-3 |
What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? | CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
); | SELECT "picture_coding_types" FROM "mpeg_2_profiles" WHERE "chroma_format"='4:2:2 or 4:2:0' AND "name"='4:2:2 profile'; | 2-1376890-2 |
Name the Intra DC Precision that has the Name main profile? | CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
); | SELECT "intra_dc_precision" FROM "mpeg_2_profiles" WHERE "name"='main profile'; | 2-1376890-2 |
What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? | CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
); | SELECT "chroma_format" FROM "mpeg_2_profiles" WHERE "picture_coding_types"='i, p, b' AND "name"='main profile'; | 2-1376890-2 |
What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? | CREATE TABLE "players_of_the_week" (
"week" text,
"division" text,
"team" text,
"player" text,
"school" text
); | SELECT "player" FROM "players_of_the_week" WHERE "division"='west' AND "team"='special teams' AND "school"='toledo western michigan'; | 2-13567607-20 |
What are the lowest wins for Australia? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT MIN("wins") FROM "leaders" WHERE "country"='australia'; | 2-14611511-4 |
What was the highest rank for greg norman with Earnings less than $10,484,065? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT MAX("rank") FROM "leaders" WHERE "player"='greg norman' AND "earnings"<'10,484,065'; | 2-14611511-4 |
how many wins did players earning less than $10,484,065 have? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT SUM("wins") FROM "leaders" WHERE "earnings"<'10,484,065'; | 2-14611511-4 |
What is the name of the metropolitan that has a population larger than 35,082 and formed after 1897? | CREATE TABLE "metropolitan_lg_as" (
"name" text,
"council_seat" text,
"formed" real,
"population_2010" real,
"area" text,
"website" text
); | SELECT "name" FROM "metropolitan_lg_as" WHERE "population_2010">'35,082' AND "formed">1897; | 2-140290-1 |
How many winners did Minas, which has 0 third places, have? | CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
); | SELECT "winners" FROM "by_club" WHERE "third_place"='0' AND "team"='minas'; | 2-14573770-3 |
How many winners did Halcones uv xalapa have? | CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
); | SELECT "winners" FROM "by_club" WHERE "team"='halcones uv xalapa'; | 2-14573770-3 |
How many runners-up did Espartanos de Margarita have? | CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
); | SELECT "runners_up" FROM "by_club" WHERE "team"='espartanos de margarita'; | 2-14573770-3 |
Which Opponent has Attendances of 60,594? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='60,594'; | 2-14649522-2 |
When has a Result of l 27-7 and an Opponent of at minnesota vikings? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "result"='l 27-7' AND "opponent"='at minnesota vikings'; | 2-14649522-2 |
When has a Week of 9? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=9; | 2-14649522-2 |
What date did the Steelers play against the New York Jets? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"result" text,
"record" text,
"game_site" text
); | SELECT "date" FROM "schedule" WHERE "opponent"='new york jets'; | 2-14418812-1 |
What time did the game start during week 1? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"result" text,
"record" text,
"game_site" text
); | SELECT "time_et" FROM "schedule" WHERE "week"=1; | 2-14418812-1 |
How many laps for mi-jack conquest racing when they went off course? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("laps") FROM "race" WHERE "team"='mi-jack conquest racing' AND "time_retired"='off course'; | 2-15055045-2 |
How many laps are associated with a grid greater than 8, under 11 points, and will power? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT COUNT("laps") FROM "race" WHERE "grid">8 AND "points"<11 AND "driver"='will power'; | 2-15055045-2 |
Who won the Women's doubles the year that there was no competition in both the Men's doubles and the Men's singles? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "past_winners" WHERE "men_s_doubles"='no competition' AND "men_s_singles"='no competition'; | 2-14903785-1 |
What year was there no competition in Women's singles? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "year" FROM "past_winners" WHERE "women_s_singles"='no competition'; | 2-14903785-1 |
Who won the Women's doubles in 2001? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "past_winners" WHERE "year"='2001'; | 2-14903785-1 |
Who won the Women's doubles the year that there was no competition in the Men's doubles and Arthur Chatschatourow won the Men's singles? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "past_winners" WHERE "men_s_doubles"='no competition' AND "men_s_singles"='arthur chatschatourow'; | 2-14903785-1 |
Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14 | CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medals_summary" WHERE "gold">1 AND "total"=14 AND "silver">3; | 2-1467600-1 |
Name the total number of total for rank of 7 and bronze less than 1 | CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medals_summary" WHERE "rank"='7' AND "bronze"<1; | 2-1467600-1 |
Name the most silver with bronze more than 1 and gold more than 1 with total less than 7 | CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_summary" WHERE "bronze">1 AND "total"<7 AND "gold">1; | 2-1467600-1 |
Name the sum of total for gold less than 1 and bronze of 3 | CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medals_summary" WHERE "gold"<1 AND "bronze"=3; | 2-1467600-1 |
Name the total number of bronze with rank of 5 and silver more than 1 | CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medals_summary" WHERE "rank"='5' AND "silver">1; | 2-1467600-1 |
What is the total population from the 2000 census for the municipality that has a 464.5 square km area and a population density in 2010 larger than 1840? | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" real,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT COUNT("population_2000_census") FROM "municipalities" WHERE "area_km"=464.5 AND "population_density_2010_km">1840; | 2-14986292-1 |
What was the sum of the population in 2010 for the division of japeri with an area of 82.9 squared km? | CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" real,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
); | SELECT SUM("population_2010_census") FROM "municipalities" WHERE "administrative_division"='japeri' AND "area_km"<82.9; | 2-14986292-1 |
What was the score for the game against Atlanta? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text
); | SELECT "score" FROM "november" WHERE "visitor"='atlanta'; | 2-13761074-7 |
In the 1936 summer Olympics what was the date of a match that ended with a score of 6-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='1936 summer olympics' AND "score"='6-1'; | 2-14109727-5 |
What was the score for the game that had an end result of 5-2? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='5-2'; | 2-14109727-5 |
What is the total number of losses that have 1 draw and games over 7? | CREATE TABLE "world_championship_group_b_italy" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT COUNT("lost") FROM "world_championship_group_b_italy" WHERE "drawn"=1 AND "games">7; | 2-14113017-8 |
How many rounds had a pick number of more than 10 and Appalachian State as a college? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num">10 AND "college"='appalachian state'; | 2-15198842-28 |
What is the largest overall where the position was linebacker and the pick number was more than 9? | 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 "position"='linebacker' AND "pick_num">9; | 2-15198842-28 |
What is the Score of the game earlier than 69 with a record of 4–56? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game"<69 AND "record"='4–56'; | 2-14827502-7 |
What is the game number with a score of 116–138? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT COUNT("game") FROM "game_log" WHERE "score"='116–138'; | 2-14827502-7 |
What is the Score of the game against the boston celtics? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "opponent"='boston celtics'; | 2-14827502-7 |
What is the Game held on february 9? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "game" FROM "game_log" WHERE "date"='february 9'; | 2-14827502-7 |
What is the Score of the game larger than 57 with a Record of 4–55? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game">57 AND "record"='4–55'; | 2-14827502-7 |
Which Reigon has a Village of Chassagne-Montrachet? | CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
); | SELECT "region" FROM "list_of_grand_crus" WHERE "village"='chassagne-montrachet'; | 2-13981938-1 |
Which Village has a Region of Côte De Nuits, Wine Styles of Red Wine, and a Grand Cru of Latricières-Chambertin? | CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
); | SELECT "village" FROM "list_of_grand_crus" WHERE "region"='côte de nuits' AND "wine_style"='red wine' AND "grand_cru"='latricières-chambertin'; | 2-13981938-1 |
What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin? | CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
); | SELECT "vineyard_surface_2010" FROM "list_of_grand_crus" WHERE "village"='gevrey-chambertin' AND "grand_cru"='latricières-chambertin'; | 2-13981938-1 |
What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin? | CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
); | SELECT "grand_cru" FROM "list_of_grand_crus" WHERE "wine_style"='red wine' AND "village"='gevrey-chambertin'; | 2-13981938-1 |
What is the average pick number of Pennsylvania? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT AVG("pick") FROM "draft_picks" WHERE "school_club_team"='pennsylvania'; | 2-13813282-1 |
What is the school/club team of the player with a pick larger than 83? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "draft_picks" WHERE "pick">83; | 2-13813282-1 |
What is the schoo/club team of the player in round 3? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "draft_picks" WHERE "round"=3; | 2-13813282-1 |
What is the lowest round of the player from UCLA? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "school_club_team"='ucla'; | 2-13813282-1 |
When was –16 (62-71-71-68=272) the winning score? | CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_25" WHERE "winning_score"='–16 (62-71-71-68=272)'; | 2-1503551-1 |
What was the name of the tournament played on Jun 17, 1973? | CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_25" WHERE "date"='jun 17, 1973'; | 2-1503551-1 |
Howard Twitty was the runner-up of what tournament? | CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_25" WHERE "runner_s_up"='howard twitty'; | 2-1503551-1 |
Can you tell me the College/Junior/Club Team that has the Position of defence, and the Nationality of czechoslovakia? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "draft_picks" WHERE "position"='defence' AND "nationality"='czechoslovakia'; | 2-14020863-7 |
Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "position" FROM "draft_picks" WHERE "college_junior_club_team"='hull olympiques (qmjhl)'; | 2-14020863-7 |
Can you tell me the Player that has the Round smaller than 6, and the College/Junior/Club Team of hull olympiques (qmjhl)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "draft_picks" WHERE "round"<6 AND "college_junior_club_team"='hull olympiques (qmjhl)'; | 2-14020863-7 |
What is the Name of the Center? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "name" FROM "ncaa_consensus_all_american_team" WHERE "position"='center'; | 2-15017713-1 |
What Position has no College Hall of Fame? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "position" FROM "ncaa_consensus_all_american_team" WHERE "college_hall_of_fame"='no'; | 2-15017713-1 |
What School has no no no Unanimously? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "unanimous"='no no no'; | 2-15017713-1 |
What is the School of the quarterback? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "position"='quarterback'; | 2-15017713-1 |
What School is the Center from? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "position"='center'; | 2-15017713-1 |
What is the Unanimous of the Minnesota Southern California School? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "unanimous" FROM "ncaa_consensus_all_american_team" WHERE "school"='minnesota southern california'; | 2-15017713-1 |
What is the Cache with a Capacity that is 600 gb? | CREATE TABLE "models" (
"model_no" text,
"gen" text,
"released" text,
"capacity" text,
"cache" text,
"interface" text,
"feature_set" text,
"sector_size" text
); | SELECT "cache" FROM "models" WHERE "capacity"='600 gb'; | 2-1475091-1 |
Which Position has a College/Junior/Club Team (League) of estevan bruins (wchl), and a Round of 3? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "college_junior_club_team_league"='estevan bruins (wchl)' AND "round"=3; | 2-14293527-13 |
Which Nationality has a Player of larry wright? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "nationality" FROM "draft_picks" WHERE "player"='larry wright'; | 2-14293527-13 |
What score has august 25 as the date? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='august 25'; | 2-14271815-7 |
What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer? | CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT COUNT("episode") FROM "series_4" WHERE "performer_1"='jim sweeney' AND "performer_2"='steve steen'; | 2-14934885-5 |
What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer? | CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT SUM("episode") FROM "series_4" WHERE "performer_4"='chip esten' AND "performer_2"='christopher smith'; | 2-14934885-5 |
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer? | CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT SUM("episode") FROM "series_4" WHERE "performer_4"='chip esten' AND "performer_1"='jim meskimen'; | 2-14934885-5 |
Who was the 3rd performer when christopher smith was the 2nd performer? | CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT "performer_3" FROM "series_4" WHERE "performer_2"='christopher smith'; | 2-14934885-5 |
Which Record has a Time of 4:50? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='4:50'; | 2-15212257-2 |
Which Event has a Resolution of loss, and a Record of 12–2? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "record"='12–2'; | 2-15212257-2 |
Which Drawn has a Difference of 14? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("drawn") FROM "torneio_rio_s_o_paulo" WHERE "difference"='14'; | 2-15282692-1 |
Which Played has a Lost larger than 2, and a Team of américa? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT "played" FROM "torneio_rio_s_o_paulo" WHERE "lost">2 AND "team"='américa'; | 2-15282692-1 |
What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing? | CREATE TABLE "michigan_51_indiana_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT SUM("touchdowns") FROM "michigan_51_indiana_0" WHERE "field_goals"=0 AND "player"='joe maddock' AND "points"<5; | 2-14342480-6 |
what is the class of w269ax | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "translators" WHERE "call_sign"='w269ax'; | 2-14369924-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.