question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Position has a Pick smaller than 152, and a Round smaller than 3? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick"<152 AND "round"<3; | 2-14656090-1 |
How many Picks have a Position of defensive back? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT COUNT("pick") FROM "nfl_draft" WHERE "position"='defensive back'; | 2-14656090-1 |
Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Position of guard? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round"<11 AND "pick"<152 AND "position"='guard'; | 2-14656090-1 |
Which participants won the silver medal for the Men's Doubles? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "name" FROM "list_of_medalists" WHERE "medal"='silver' AND "event"='men''s doubles'; | 2-14812763-1 |
What event did Rashid Sidek participate in? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "name"='rashid sidek'; | 2-14812763-1 |
Which Olympic Games had a silver medal for the Men's Singles? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "list_of_medalists" WHERE "event"='men''s singles' AND "medal"='silver'; | 2-14812763-1 |
Which sport was in the 1992 Barcelona games? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "sport" FROM "list_of_medalists" WHERE "games"='1992 barcelona'; | 2-14812763-1 |
What event was in the 2008 Beijing games? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "games"='2008 beijing'; | 2-14812763-1 |
What is the round of the defense player from the United States? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "round" FROM "nhl_entry_draft" WHERE "position"='defense' AND "nationality"='united states'; | 2-13928436-7 |
What is the position of Dale Craigwell? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "position" FROM "nhl_entry_draft" WHERE "player"='dale craigwell'; | 2-13928436-7 |
What is the position of the player from Sweden? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "position" FROM "nhl_entry_draft" WHERE "nationality"='sweden'; | 2-13928436-7 |
Who is the player from a round larger than 5 and the college/junior/club team of Leningrad SKA (russia)? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "nhl_entry_draft" WHERE "round">5 AND "college_junior_club_team"='leningrad ska (russia)'; | 2-13928436-7 |
What position does Mikhail Kravets play? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "position" FROM "nhl_entry_draft" WHERE "player"='mikhail kravets'; | 2-13928436-7 |
Which date was held at Laguna Seca Raceway, in class GTX/GTO? | CREATE TABLE "schedule" (
"race" text,
"length" text,
"class" text,
"circuit" text,
"date" text
); | SELECT "date" FROM "schedule" WHERE "circuit"='laguna seca raceway' AND "class"='gtx/gto'; | 2-13656998-1 |
Which circuit was held on May 7 for 1 hour? | CREATE TABLE "schedule" (
"race" text,
"length" text,
"class" text,
"circuit" text,
"date" text
); | SELECT "circuit" FROM "schedule" WHERE "date"='may 7' AND "length"='1 hour'; | 2-13656998-1 |
Which circuit has a length of 45 minutes and is held on August 6? | CREATE TABLE "schedule" (
"race" text,
"length" text,
"class" text,
"circuit" text,
"date" text
); | SELECT "circuit" FROM "schedule" WHERE "length"='45 minutes' AND "date"='august 6'; | 2-13656998-1 |
What is the length of the 6 Hours of Talladega? | CREATE TABLE "schedule" (
"race" text,
"length" text,
"class" text,
"circuit" text,
"date" text
); | SELECT "length" FROM "schedule" WHERE "race"='6 hours of talladega'; | 2-13656998-1 |
Name the class AAAA with class A of lindsay and class AAAAA of galena park north shore | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "team" WHERE "class_a"='lindsay' AND "class_aaaaa"='galena park north shore'; | 2-14603057-2 |
Name the class A with class AAAA of longview pine tree and school year of 1995-96 | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "team" WHERE "class_aaaa"='longview pine tree' AND "school_year"='1995-96'; | 2-14603057-2 |
Name the class AA with class A of rule and school year of 1995-96 | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "team" WHERE "class_a"='rule' AND "school_year"='1995-96'; | 2-14603057-2 |
Name the school year with class AAAAA of mcallen and class AAAA of longview pine tree | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "team" WHERE "class_aaaaa"='mcallen' AND "class_aaaa"='longview pine tree'; | 2-14603057-2 |
Name the class A with school year of 2004-05 | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "team" WHERE "school_year"='2004-05'; | 2-14603057-2 |
Name the clas AAAA of school year 2000-01 | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "team" WHERE "school_year"='2000-01'; | 2-14603057-2 |
What school is from 45 Lake county and is located in Merrillville? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "county"='45 lake' AND "location"='merrillville'; | 2-13986492-6 |
What school is located in Michigan City? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "location"='michigan city'; | 2-13986492-6 |
What is the IHSAA class for Chesterton? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "school"='chesterton'; | 2-13986492-6 |
What is the IHSAA class for Portage? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "school"='portage'; | 2-13986492-6 |
What is the IHSAA class for Crown Point? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "school"='crown point'; | 2-13986492-6 |
What is the average grid of driver Christian Vietoris who has less than 12 laps? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("grid") FROM "sprint_race" WHERE "driver"='christian vietoris' AND "laps"<12; | 2-13541456-3 |
What is the grid of driver joão urbano? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT SUM("grid") FROM "sprint_race" WHERE "driver"='joão urbano'; | 2-13541456-3 |
What is the lowest laps a grid less than 22 with a time of +35.268 has? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("laps") FROM "sprint_race" WHERE "grid"<22 AND "time"='+35.268'; | 2-13541456-3 |
What is the lowest laps driver Christian Vietoris with a grid smaller than 6 has? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("laps") FROM "sprint_race" WHERE "driver"='christian vietoris' AND "grid"<6; | 2-13541456-3 |
What is the primary sponsor of driver Mark Martin? | CREATE TABLE "teams_and_drivers" (
"team" text,
"car_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"crew_chief" text
); | SELECT "primary_sponsor_s" FROM "teams_and_drivers" WHERE "driver_s"='mark martin'; | 2-1529793-1 |
Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor? | CREATE TABLE "teams_and_drivers" (
"team" text,
"car_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"crew_chief" text
); | SELECT "crew_chief" FROM "teams_and_drivers" WHERE "car_s"='chevrolet monte carlo' AND "team"='joe gibbs racing' AND "primary_sponsor_s"='fedex'; | 2-1529793-1 |
Who is the driver of the team with the crew chief Derrick Finley? | CREATE TABLE "teams_and_drivers" (
"team" text,
"car_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"crew_chief" text
); | SELECT "driver_s" FROM "teams_and_drivers" WHERE "crew_chief"='derrick finley'; | 2-1529793-1 |
Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver? | CREATE TABLE "teams_and_drivers" (
"team" text,
"car_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"crew_chief" text
); | SELECT "crew_chief" FROM "teams_and_drivers" WHERE "team"='chip ganassi racing with felix sabates' AND "driver_s"='casey mears'; | 2-1529793-1 |
Which team has Peak Fitness as the primary sponsor? | CREATE TABLE "teams_and_drivers" (
"team" text,
"car_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"crew_chief" text
); | SELECT "team" FROM "teams_and_drivers" WHERE "primary_sponsor_s"='peak fitness'; | 2-1529793-1 |
What date has w 20-17 as the result, and 1-0 as the record? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "result"='w 20-17' AND "record"='1-0'; | 2-14609625-3 |
What game site has december 24, 2000 as a date? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "game_site" FROM "schedule" WHERE "date"='december 24, 2000'; | 2-14609625-3 |
What date has dallas cowboys as the opponent? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "opponent"='dallas cowboys'; | 2-14609625-3 |
What is the attendance that has fedex field as the game site with 3 as the week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "game_site"='fedex field' AND "week"=3; | 2-14609625-3 |
What is the record for April 22? | CREATE TABLE "free_agents" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "free_agents" WHERE "date"='april 22'; | 2-14038745-12 |
What is the record when the visiting team was the Quebec Nordiques on April 22? | CREATE TABLE "free_agents" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "free_agents" WHERE "visitor"='quebec nordiques' AND "date"='april 22'; | 2-14038745-12 |
What is the longitude of Taurus? | CREATE TABLE "seasons" (
"longitude" text,
"sign" text,
"sanskrit" text,
"latin" text,
"ruling_planet" text
); | SELECT "longitude" FROM "seasons" WHERE "latin"='taurus'; | 2-14850099-16 |
What is the Location for Belshina? | CREATE TABLE "teams_and_venues" (
"team" text,
"location" text,
"venue" text,
"capacity" real,
"position_in_2003" text
); | SELECT "location" FROM "teams_and_venues" WHERE "team"='belshina'; | 2-14749151-1 |
What is the name of the Team with a Capacity larger than 5,000, and a Position in 2003 of 13? | CREATE TABLE "teams_and_venues" (
"team" text,
"location" text,
"venue" text,
"capacity" real,
"position_in_2003" text
); | SELECT "team" FROM "teams_and_venues" WHERE "capacity">'5,000' AND "position_in_2003"='13'; | 2-14749151-1 |
What is the total number for Capacity at city stadium, borisov? | CREATE TABLE "teams_and_venues" (
"team" text,
"location" text,
"venue" text,
"capacity" real,
"position_in_2003" text
); | SELECT COUNT("capacity") FROM "teams_and_venues" WHERE "venue"='city stadium, borisov'; | 2-14749151-1 |
Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9? | CREATE TABLE "season_1_2008" (
"airdate" text,
"celebrities" text,
"rating" real,
"share" real,
"18_49" text,
"viewers_millions" real,
"weekly_rank" text,
"prod_code" real
); | SELECT MIN("viewers_millions") FROM "season_1_2008" WHERE "weekly_rank"='#3' AND "share"=9 AND "rating">5; | 2-13673176-3 |
What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("played") FROM "campeonato_brasileiro_s_rie_a" WHERE "drawn"<9 AND "difference"='36' AND "lost">7; | 2-14886214-1 |
How many positions have figueirense as the team, with a played greater than 38? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("position") FROM "campeonato_brasileiro_s_rie_a" WHERE "team"='figueirense' AND "played">38; | 2-14886214-1 |
What is the largest drawn that has a played less than 38? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "played"<38; | 2-14886214-1 |
How many positions have 9 as a drawn, 5 as a difference, with a lost less than 14? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("position") FROM "campeonato_brasileiro_s_rie_a" WHERE "drawn"=9 AND "difference"='5' AND "lost"<14; | 2-14886214-1 |
What date did Episode 2-01 (42) air? | CREATE TABLE "season_2_1938_1939" (
"episode" text,
"title" text,
"writer_s" text,
"preservation" text,
"original_airdate" text
); | SELECT "original_airdate" FROM "season_2_1938_1939" WHERE "episode"='2-01 (42)'; | 2-13527727-4 |
Who wrote Episode 2-15 (56)? | CREATE TABLE "season_2_1938_1939" (
"episode" text,
"title" text,
"writer_s" text,
"preservation" text,
"original_airdate" text
); | SELECT "writer_s" FROM "season_2_1938_1939" WHERE "episode"='2-15 (56)'; | 2-13527727-4 |
What is the highest number of games with 1 loss and points less than 18? | CREATE TABLE "world_championship_group_a_finland" (
"team" text,
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT MAX("games") FROM "world_championship_group_a_finland" WHERE "lost"=1 AND "points"<18; | 2-14271063-1 |
Which City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0? | CREATE TABLE "brazil_national_team" (
"date" text,
"city" text,
"result" text,
"score" text,
"competition" text
); | SELECT "city" FROM "brazil_national_team" WHERE "result"='w' AND "competition"='international friendly (unofficial match)' AND "score"='1-0'; | 2-15168881-6 |
Which Date has a Result of w, and a Score of 3-0? | CREATE TABLE "brazil_national_team" (
"date" text,
"city" text,
"result" text,
"score" text,
"competition" text
); | SELECT "date" FROM "brazil_national_team" WHERE "result"='w' AND "score"='3-0'; | 2-15168881-6 |
Which City has a Date of june 9, 1976? | CREATE TABLE "brazil_national_team" (
"date" text,
"city" text,
"result" text,
"score" text,
"competition" text
); | SELECT "city" FROM "brazil_national_team" WHERE "date"='june 9, 1976'; | 2-15168881-6 |
Which City has a Date of may 19, 1976? | CREATE TABLE "brazil_national_team" (
"date" text,
"city" text,
"result" text,
"score" text,
"competition" text
); | SELECT "city" FROM "brazil_national_team" WHERE "date"='may 19, 1976'; | 2-15168881-6 |
What are the total number of laps for Tom Bridger? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "classification" WHERE "driver"='tom bridger'; | 2-1358396-1 |
What are the lowest laps of Graham Hill? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "classification" WHERE "driver"='graham hill'; | 2-1358396-1 |
What are the lowest laps of grid 17? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "classification" WHERE "grid"=17; | 2-1358396-1 |
Which Avg/G has a Gain of 16, and a Name of barnes, freddie, and a Loss smaller than 2? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT SUM("avg_g") FROM "rushing" WHERE "gain"=16 AND "name"='barnes, freddie' AND "loss"<2; | 2-15128839-19 |
Which average Long has a Gain smaller than 16, and a Loss smaller than 6? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT AVG("long") FROM "rushing" WHERE "gain"<16 AND "loss"<6; | 2-15128839-19 |
Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, and a Name of sheehan, tyler, and a Long larger than 11? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("gain") FROM "rushing" WHERE "loss">2 AND "avg_g">-6 AND "name"='sheehan, tyler' AND "long">11; | 2-15128839-19 |
Which Avg/G is the lowest one that has a Long larger than 8, and a Loss smaller than 34, and a Gain larger than 16, and a Name of bullock, chris? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("avg_g") FROM "rushing" WHERE "long">8 AND "loss"<34 AND "gain">16 AND "name"='bullock, chris'; | 2-15128839-19 |
Which Loss has a Name of bullock, chris, and a Long smaller than 36? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT SUM("loss") FROM "rushing" WHERE "name"='bullock, chris' AND "long"<36; | 2-15128839-19 |
How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT SUM("long") FROM "rushing" WHERE "loss">2 AND "gain"=157 AND "avg_g"<129; | 2-15128839-19 |
What is the fewest number of places for a skater from Norway with fewer than 1524.9 points? | CREATE TABLE "ladies_singles" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"places" real
); | SELECT MIN("places") FROM "ladies_singles" WHERE "nation"='norway' AND "points"<1524.9; | 2-1473118-3 |
What home has Philadelphia as the visitor, and december 4 as the date? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "regular_season" WHERE "visitor"='philadelphia' AND "date"='december 4'; | 2-14191335-4 |
What record has a decision of parent, Philadelphia as the home, with december 12 as the date? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "decision"='parent' AND "home"='philadelphia' AND "date"='december 12'; | 2-14191335-4 |
Which Tournament has a Score of 6–4, 6–2? | CREATE TABLE "singles_titles" (
"date" real,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "singles_titles" WHERE "score"='6–4, 6–2'; | 2-15290654-2 |
Which Score has an Opponent in the final of mehdi tahiri? | CREATE TABLE "singles_titles" (
"date" real,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_titles" WHERE "opponent_in_the_final"='mehdi tahiri'; | 2-15290654-2 |
Which Date has a Score of 6–3, 7–6? | CREATE TABLE "singles_titles" (
"date" real,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT SUM("date") FROM "singles_titles" WHERE "score"='6–3, 7–6'; | 2-15290654-2 |
Which Date has a Score of 7–6(3), 4–6, 6–2? | CREATE TABLE "singles_titles" (
"date" real,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT SUM("date") FROM "singles_titles" WHERE "score"='7–6(3), 4–6, 6–2'; | 2-15290654-2 |
Which Surface has a Tournament of olbia? | CREATE TABLE "singles_titles" (
"date" real,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "surface" FROM "singles_titles" WHERE "tournament"='olbia'; | 2-15290654-2 |
What was the attendance at the week 7 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=7; | 2-14609917-2 |
What was the result of the game after week 3 against the New York Giants? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week">3 AND "opponent"='new york giants'; | 2-14609917-2 |
Who was the opponent at the week 6 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"=6; | 2-14609917-2 |
What is the lowest loss that Jarius Wright has had where he also has had a gain bigger than 1. | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" text
); | SELECT MIN("loss") FROM "rushing" WHERE "name"='jarius wright' AND "gain">1; | 2-14515360-19 |
How much was the first place prize for the American golf classic located in Ohio? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
); | SELECT "1st_prize" FROM "tournament_results" WHERE "location"='ohio' AND "tournament"='american golf classic'; | 2-14685298-1 |
What date was the Monsanto open located in Florida? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
); | SELECT "date" FROM "tournament_results" WHERE "location"='florida' AND "tournament"='monsanto open'; | 2-14685298-1 |
What was the score of Johnny Miller (7)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
); | SELECT "score" FROM "tournament_results" WHERE "winner"='johnny miller (7)'; | 2-14685298-1 |
What is the total number of years that have divisions greater than 4? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT COUNT("year") FROM "year_by_year" WHERE "division">4; | 2-14685454-1 |
What is the highest division for years earlier than 2011? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT MAX("division") FROM "year_by_year" WHERE "year"<2011; | 2-14685454-1 |
In what Week were there less than 30,348 in Attendance with a Result of W 37-21? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "attendance"<'30,348' AND "result"='w 37-21'; | 2-15123113-1 |
What is the Week number on November 30, 1958 with more than 33,240 in Attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='november 30, 1958' AND "attendance">'33,240'; | 2-15123113-1 |
What was the Result on November 9, 1958? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "date"='november 9, 1958'; | 2-15123113-1 |
What was the Attendance on Week 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "week"=8; | 2-15123113-1 |
Which season did not qualify for UEFA competitions? | CREATE TABLE "year_by_year_performance" (
"season" text,
"competition" text,
"round" text,
"against" text,
"played" text,
"drew" text,
"lost" text,
"goals_for" text,
"goals_against" text
); | SELECT "season" FROM "year_by_year_performance" WHERE "against"='did not qualify for uefa competitions'; | 2-15170581-1 |
How many games were lost that had goals against of 5? | CREATE TABLE "year_by_year_performance" (
"season" text,
"competition" text,
"round" text,
"against" text,
"played" text,
"drew" text,
"lost" text,
"goals_for" text,
"goals_against" text
); | SELECT "lost" FROM "year_by_year_performance" WHERE "goals_against"='5'; | 2-15170581-1 |
How many draws were there with goals against that did not qualify for UEFA competitions? | CREATE TABLE "year_by_year_performance" (
"season" text,
"competition" text,
"round" text,
"against" text,
"played" text,
"drew" text,
"lost" text,
"goals_for" text,
"goals_against" text
); | SELECT "drew" FROM "year_by_year_performance" WHERE "goals_against"='did not qualify for uefa competitions'; | 2-15170581-1 |
Which competition did not qualify for UEFA competitions in the 1970-71 season? | CREATE TABLE "year_by_year_performance" (
"season" text,
"competition" text,
"round" text,
"against" text,
"played" text,
"drew" text,
"lost" text,
"goals_for" text,
"goals_against" text
); | SELECT "competition" FROM "year_by_year_performance" WHERE "lost"='did not qualify for uefa competitions' AND "season"='1970-71'; | 2-15170581-1 |
What is the attendance in texas stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "venue"='texas stadium'; | 2-14656128-2 |
What is the home team score for the team that has a home field of the Telstra Dome? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
); | SELECT "home_team_score" FROM "round_22" WHERE "ground"='telstra dome'; | 2-14312471-7 |
What is the date for the home team score of 6.5 (41)? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
); | SELECT "date" FROM "round_22" WHERE "home_team_score"='6.5 (41)'; | 2-14312471-7 |
Which home team had an away team of the Brisbane Lions? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
); | SELECT "home_team" FROM "round_22" WHERE "away_team"='brisbane lions'; | 2-14312471-7 |
What is the report for the team with a home ground of MCG and a home team score of 6.5 (41)? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
); | SELECT "report" FROM "round_22" WHERE "ground"='mcg' AND "home_team_score"='6.5 (41)'; | 2-14312471-7 |
What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3? | CREATE TABLE "comparison_of_some_cameras_compatible_wi" (
"camera" text,
"sensor_resolution" text,
"sensor" text,
"output" text,
"cpu_usage" text,
"ir_le_ds" text
); | SELECT "sensor" FROM "comparison_of_some_cameras_compatible_wi" WHERE "sensor_resolution"='355x288' AND "camera"='naturalpoint trackir 3'; | 2-13751214-1 |
What was the sensor resolution with a minimal CPU usage for a naturalpoint trackir 3 pro? | CREATE TABLE "comparison_of_some_cameras_compatible_wi" (
"camera" text,
"sensor_resolution" text,
"sensor" text,
"output" text,
"cpu_usage" text,
"ir_le_ds" text
); | SELECT "sensor_resolution" FROM "comparison_of_some_cameras_compatible_wi" WHERE "cpu_usage"='minimal' AND "camera"='naturalpoint trackir 3 pro'; | 2-13751214-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.