question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("points") FROM "race" WHERE "grid">7 AND "driver"='alex tagliani' AND "laps"<85; | 2-18805166-2 |
What is the total number of wins for a nation that played fewer than 8 matches and a Wins percentage of 62.5%? | CREATE TABLE "by_country" (
"country" text,
"matches" real,
"wins" real,
"wins_pct" text,
"draws" real,
"draws_pct" text,
"loses" real,
"loses_pct" text,
"against" real,
"for_against_ratio" text
); | SELECT COUNT("wins") FROM "by_country" WHERE "wins_pct"='62.5%' AND "matches"<8; | 2-18420346-3 |
What is the highest number of matches for a nation with a Loses percentage of 26.67% and fewer than 90 draws? | CREATE TABLE "by_country" (
"country" text,
"matches" real,
"wins" real,
"wins_pct" text,
"draws" real,
"draws_pct" text,
"loses" real,
"loses_pct" text,
"against" real,
"for_against_ratio" text
); | SELECT MAX("matches") FROM "by_country" WHERE "loses_pct"='26.67%' AND "draws"<90; | 2-18420346-3 |
What date has uefa euro 2008 qualification as the competition? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='uefa euro 2008 qualification'; | 2-1868963-3 |
What date has friendly as the competition, with pretoria, South Africa as the venue? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='friendly' AND "venue"='pretoria, south africa'; | 2-1868963-3 |
What is the lowest final score of the American Cup competition before 2009? | CREATE TABLE "senior_career" (
"year" real,
"competition_description" text,
"location" text,
"apparatus" text,
"rank_final" real,
"score_final" real
); | SELECT MIN("score_final") FROM "senior_career" WHERE "competition_description"='american cup' AND "year"<2009; | 2-18507967-2 |
What is the result for the game before week 7 against BYE? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week"<7 AND "opponent"='bye'; | 2-18722259-2 |
What was the date for the game after week 16? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week">16; | 2-18722259-2 |
What was the attendance for the game against tampa bay buccaneers? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='tampa bay buccaneers'; | 2-18722259-2 |
What was the date of the game after week 5 with 62,262 fans attending? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week">5 AND "attendance"='62,262'; | 2-18722259-2 |
Which Location has a Record of 5–2–1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='5–2–1'; | 2-18377709-2 |
Which Record has an Event of inoki bom-ba-ye 2002? | 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 "event"='inoki bom-ba-ye 2002'; | 2-18377709-2 |
Which Opponent has a Record of 2–0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='2–0'; | 2-18377709-2 |
Which Record has a Round larger than 2, and an Event of bellator 38? | 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 "round">2 AND "event"='bellator 38'; | 2-18377709-2 |
What was John Jones's pick#? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT SUM("pick") FROM "first_round_selections" WHERE "player"='john jones'; | 2-18610536-1 |
What was the pick # of the player who has a hometown/school of Atlanta, GA? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT AVG("pick") FROM "first_round_selections" WHERE "hometown_school"='atlanta, ga'; | 2-18610536-1 |
What is the El Canal de las Estrellas held from June 14, 2009 to February 23, 2010? | CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
); | SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "june_14_2009"='february 23, 2010'; | 2-18498743-1 |
What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday? | CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
); | SELECT "monday_to_friday" FROM "broadcasters" WHERE "ma_ana_es_para_siempre"='impreuna pentru totdeauna'; | 2-18498743-1 |
When does the El Canal de las Estrellas of pop tv show from Monday to Friday? | CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
); | SELECT "monday_to_friday" FROM "broadcasters" WHERE "el_canal_de_las_estrellas"='pop tv'; | 2-18498743-1 |
What is the enrollment for the AAAA class in IHSAA? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT SUM("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aaaa'; | 2-18942405-13 |
What is the IHSAA Football class at Culver? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "location"='culver'; | 2-18942405-13 |
What school has the Lancers as their mascot? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='lancers'; | 2-18942405-13 |
What is the total enrollment at Laville? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT COUNT("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "school"='laville'; | 2-18942405-13 |
What is the highest average for teams ranked higher than 9? | CREATE TABLE "2012_ncaa_football_attendance_leaders" (
"rank" real,
"team" text,
"games" real,
"total" real,
"avg" real
); | SELECT MAX("avg") FROM "2012_ncaa_football_attendance_leaders" WHERE "rank">9; | 2-1873992-2 |
What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "2008_club" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "name"='nadia centoni category:articles with hcards'; | 2-18719696-9 |
What is the name for the 2008 club Despar Sirio Perugia? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='despar sirio perugia'; | 2-18719696-9 |
What is the spike for the 2008 club Despar Sirio Perugia? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "spike" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='despar sirio perugia'; | 2-18719696-9 |
What is the spike for 2008 club Yamamay Busto Arsizio? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "spike" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='yamamay busto arsizio'; | 2-18719696-9 |
Which 2008 club has the name Francesca Piccinini Category:Articles with hCards? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "2008_club" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "name"='francesca piccinini category:articles with hcards'; | 2-18719696-9 |
What is the least amount of wins when against is 1314? | CREATE TABLE "1933_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("wins") FROM "1933_ladder" WHERE "against"=1314; | 2-18628904-7 |
What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws? | CREATE TABLE "1933_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("against") FROM "1933_ladder" WHERE "wins"=8 AND "club"='south warrnambool' AND "draws"<0; | 2-18628904-7 |
What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws? | CREATE TABLE "1933_ladder" (
"club" text,
"wins" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("wins") FROM "1933_ladder" WHERE "against">1155 AND "club"='warrnambool' AND "draws">0; | 2-18628904-7 |
What score has 15.0% as the 2012? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "score" FROM "grade_distribution" WHERE "2012"='15.0%'; | 2-1865258-1 |
What 2012 has 2 as the score? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "grade_distribution" WHERE "score"='2'; | 2-1865258-1 |
What 2008 has 14.2% as the 2009? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "grade_distribution" WHERE "2009"='14.2%'; | 2-1865258-1 |
What score has 15.0% as the 2012? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "score" FROM "grade_distribution" WHERE "2012"='15.0%'; | 2-1865258-1 |
What 2009 has 18.5% as the 2007? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "grade_distribution" WHERE "2007"='18.5%'; | 2-1865258-1 |
What 2011 has 12.7% as the 2010? | CREATE TABLE "grade_distribution" (
"score" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2011" FROM "grade_distribution" WHERE "2010"='12.7%'; | 2-1865258-1 |
What is the Week of the game with a Result of L 24-0? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT MAX("week") FROM "schedule" WHERE "result"='l 24-0'; | 2-18600857-1 |
What is the Week number on December 18, 1960? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='december 18, 1960'; | 2-18600857-1 |
Which Draws % has Wins larger than 1, and Loses % of 0%, and a Team of al-zawraa? | CREATE TABLE "overall" (
"team" text,
"matches" real,
"wins" real,
"wins_pct" text,
"draws" real,
"draws_pct" text,
"loses" real,
"loses_pct" text,
"against" real
); | SELECT "draws_pct" FROM "overall" WHERE "wins">1 AND "loses_pct"='0%' AND "team"='al-zawraa'; | 2-18800287-1 |
Which pick played the Defensive End position? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school" text
); | SELECT "pick" FROM "nfl_draft" WHERE "position"='defensive end'; | 2-18908350-1 |
How many picks were taken before round 3 and played Linebacker? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school" text
); | SELECT COUNT("pick") FROM "nfl_draft" WHERE "position"='linebacker' AND "round"<3; | 2-18908350-1 |
What is the average number of silver medals won among nations that won 9 medals total? | CREATE TABLE "overall" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "overall" WHERE "total"=9; | 2-18771517-8 |
Which Round has a Pick larger than 179? | CREATE TABLE "2001_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT MAX("round") FROM "2001_ohio_state_buckeyes_football_team" WHERE "pick">179; | 2-18965552-2 |
What is jamar martin's highest pick? | CREATE TABLE "2001_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT MAX("pick") FROM "2001_ohio_state_buckeyes_football_team" WHERE "player"='jamar martin'; | 2-18965552-2 |
What teams rank is higher than 4 with a speed of 104.574mph? | CREATE TABLE "race_6b_ultra_lightweight_manx_grand_pri" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "team" FROM "race_6b_ultra_lightweight_manx_grand_pri" WHERE "rank">4 AND "speed"='104.574mph'; | 2-18649514-10 |
What team does Anthony Redmond ride for? | CREATE TABLE "race_6b_ultra_lightweight_manx_grand_pri" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "team" FROM "race_6b_ultra_lightweight_manx_grand_pri" WHERE "rider"='anthony redmond'; | 2-18649514-10 |
What was the speed with a time of 1:03.41.86 and a rank smaller than 3? | CREATE TABLE "race_6b_ultra_lightweight_manx_grand_pri" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "speed" FROM "race_6b_ultra_lightweight_manx_grand_pri" WHERE "rank"<3 AND "time"='1:03.41.86'; | 2-18649514-10 |
What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "enrollment">473 AND "ihsaa_class"='aaa' AND "num_county"='72 scott'; | 2-18942405-5 |
What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"<627 AND "ihsaa_class"='aa' AND "school"='eastern pekin'; | 2-18942405-5 |
What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT MAX("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aaa' AND "mascot"='dragons'; | 2-18942405-5 |
What's the county of Eastern Pekin school with fewer than 774 enrolled? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT "num_county" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"<774 AND "school"='eastern pekin'; | 2-18942405-5 |
What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aaa' AND "mascot"='panthers'; | 2-18942405-5 |
What's the IHSAA Class when the mascot was the Musketeers? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"num_county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='musketeers'; | 2-18942405-5 |
Who was the director of Chaser on the Rocks? | CREATE TABLE "1965" (
"title" text,
"series" text,
"director" text,
"characters" text,
"release_date" text
); | SELECT "director" FROM "1965" WHERE "title"='chaser on the rocks'; | 2-18792950-6 |
What are the characters from the movie Suppressed Duck? | CREATE TABLE "1965" (
"title" text,
"series" text,
"director" text,
"characters" text,
"release_date" text
); | SELECT "characters" FROM "1965" WHERE "title"='suppressed duck'; | 2-18792950-6 |
How many picks on average did Jay Bruchak have before round 6? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT AVG("pick") FROM "draft_picks" WHERE "player"='jay bruchak' AND "round"<6; | 2-18409079-1 |
How many rounds did Pierre Bland have a pick larger than 148? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT COUNT("round") FROM "draft_picks" WHERE "pick">148 AND "player"='pierre bland'; | 2-18409079-1 |
What was the earliest round that Purdue had a pick larger than 10? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "college"='purdue' AND "pick">10; | 2-18409079-1 |
How many picks did Jay Bruchak have? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT COUNT("pick") FROM "draft_picks" WHERE "player"='jay bruchak'; | 2-18409079-1 |
In what round was the Alianza home game? | CREATE TABLE "attendance" (
"attendance" real,
"round" text,
"date" text,
"home" text,
"score" text,
"away" text,
"venue" text,
"weekday" text,
"time_of_day" text
); | SELECT "round" FROM "attendance" WHERE "home"='alianza'; | 2-18522916-4 |
What was the visiting team that played a round 16 game? | CREATE TABLE "attendance" (
"attendance" real,
"round" text,
"date" text,
"home" text,
"score" text,
"away" text,
"venue" text,
"weekday" text,
"time_of_day" text
); | SELECT "away" FROM "attendance" WHERE "round"='round 16'; | 2-18522916-4 |
How many weeks have an Attendance of 62,289? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "attendance"='62,289'; | 2-18908161-2 |
Which Week has an Attendance larger than 65,070? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("week") FROM "schedule" WHERE "attendance">'65,070'; | 2-18908161-2 |
Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "opponent"='atlanta falcons' AND "attendance"<'63,114'; | 2-18908161-2 |
which Tms has a Season of 2013? | CREATE TABLE "records" (
"season" text,
"division" text,
"tms" text,
"pos" text,
"pff_nmcc" text,
"ufl_cup" text,
"afc_pc" text
); | SELECT "tms" FROM "records" WHERE "season"='2013'; | 2-18946789-2 |
What's the population with a code more than 90902 and an area less than 1,335.47? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT MIN("population") FROM "main_places" WHERE "code">90902 AND "area_km_2"<'1,335.47'; | 2-1894556-1 |
What's the most area of Bochum Part 2 with a population less than 15,911? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT MAX("area_km_2") FROM "main_places" WHERE "place"='bochum part 2' AND "population"<'15,911'; | 2-1894556-1 |
What's the place with an area of less than 2,198.72 and a code more than 90909? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT "place" FROM "main_places" WHERE "area_km_2"<'2,198.72' AND "code">90909; | 2-1894556-1 |
What is the Original NFL team of the CB Player? | CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
); | SELECT "original_nfl_team" FROM "notable_undrafted_players" WHERE "pos"='cb'; | 2-18652198-21 |
What is the College of the WR Player from SWC Conf? | CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
); | SELECT "college" FROM "notable_undrafted_players" WHERE "conf"='swc' AND "pos"='wr'; | 2-18652198-21 |
What Player is from the College of memphis? | CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
); | SELECT "player" FROM "notable_undrafted_players" WHERE "college"='memphis'; | 2-18652198-21 |
What is the College of the LB Player with Big Ten Conf.? | CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
); | SELECT "college" FROM "notable_undrafted_players" WHERE "pos"='lb' AND "conf"='big ten'; | 2-18652198-21 |
How many draws are there when there are 11 wins, and more than 7 losses? | CREATE TABLE "2011_ladder" (
"sunrayia_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("draws") FROM "2011_ladder" WHERE "wins"=11 AND "losses">7; | 2-18975610-4 |
What is the draws when there are less than 3 losses and more than 16 wins? | CREATE TABLE "2011_ladder" (
"sunrayia_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("draws") FROM "2011_ladder" WHERE "losses"<3 AND "wins">16; | 2-18975610-4 |
What is the wins when there are 5 losses, and against is more than 1205? | CREATE TABLE "2011_ladder" (
"sunrayia_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("wins") FROM "2011_ladder" WHERE "losses"=5 AND "against">1205; | 2-18975610-4 |
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294? | CREATE TABLE "2011_ladder" (
"sunrayia_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("losses") FROM "2011_ladder" WHERE "sunrayia_fl"='red cliffs' AND "against">2294; | 2-18975610-4 |
What is the number against when losses are smaller than 3, and wins arelarger than 16? | CREATE TABLE "2011_ladder" (
"sunrayia_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("against") FROM "2011_ladder" WHERE "losses"<3 AND "wins">16; | 2-18975610-4 |
What is the Notes of the Frequency with Call sign CFUN-FM-1? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "notes" FROM "radio" WHERE "call_sign"='cfun-fm-1'; | 2-18520022-1 |
What is the Format of FM 100.5 Licensed to Hope? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "format" FROM "radio" WHERE "notes"='licensed to hope' AND "frequency"='fm 100.5'; | 2-18520022-1 |
What is the Notes of the Frequency with a call sign of CBUE-FM? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "notes" FROM "radio" WHERE "call_sign"='cbue-fm'; | 2-18520022-1 |
what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? | CREATE TABLE "head_to_head_record" (
"competition" text,
"played" real,
"spartak" real,
"draw" real,
"dynamo" real
); | SELECT AVG("dynamo") FROM "head_to_head_record" WHERE "draw">0 AND "played"<15 AND "spartak">1; | 2-18708013-1 |
what is the highest spartak when played is less than 15 and dynamo is less than 3? | CREATE TABLE "head_to_head_record" (
"competition" text,
"played" real,
"spartak" real,
"draw" real,
"dynamo" real
); | SELECT MAX("spartak") FROM "head_to_head_record" WHERE "played"<15 AND "dynamo"<3; | 2-18708013-1 |
what is the most draw when the competition is soviet league and dynamo is more than 34? | CREATE TABLE "head_to_head_record" (
"competition" text,
"played" real,
"spartak" real,
"draw" real,
"dynamo" real
); | SELECT MAX("draw") FROM "head_to_head_record" WHERE "competition"='soviet league' AND "dynamo">34; | 2-18708013-1 |
what is the sum of spartak when played is 102 and draw is less than 19? | CREATE TABLE "head_to_head_record" (
"competition" text,
"played" real,
"spartak" real,
"draw" real,
"dynamo" real
); | SELECT SUM("spartak") FROM "head_to_head_record" WHERE "played"=102 AND "draw"<19; | 2-18708013-1 |
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24? | CREATE TABLE "head_to_head_record" (
"competition" text,
"played" real,
"spartak" real,
"draw" real,
"dynamo" real
); | SELECT MIN("dynamo") FROM "head_to_head_record" WHERE "spartak">9 AND "competition"='totals' AND "draw">24; | 2-18708013-1 |
What's the result when the Washington Redskins were the opponents on a week after 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "week">8 AND "opponent"='washington redskins'; | 2-18684522-1 |
What is the 4.45 for Anna Rogowska from Poland? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"4_30" text,
"4_45" text,
"4_55" text,
"result" real
); | SELECT "4_45" FROM "final" WHERE "nationality"='poland' AND "name"='anna rogowska'; | 2-18569185-4 |
What is the 4.45 for Yelena Isinbayeva? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"4_30" text,
"4_45" text,
"4_55" text,
"result" real
); | SELECT "4_45" FROM "final" WHERE "name"='yelena isinbayeva'; | 2-18569185-4 |
What is Anna Rogowska's average result? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"4_30" text,
"4_45" text,
"4_55" text,
"result" real
); | SELECT AVG("result") FROM "final" WHERE "name"='anna rogowska'; | 2-18569185-4 |
What national has 4.45 for o and 4.55 for xo? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"4_30" text,
"4_45" text,
"4_55" text,
"result" real
); | SELECT "nationality" FROM "final" WHERE "4_45"='o' AND "4_55"='xo'; | 2-18569185-4 |
What is the sum of staterooms in with a year buit of 2008, and a crew less than 28? | CREATE TABLE "ships_cruising_in_asia" (
"ship_name" text,
"year_built" real,
"length" text,
"crew" real,
"guests" real,
"staterooms" real,
"comments" text
); | SELECT SUM("staterooms") FROM "ships_cruising_in_asia" WHERE "year_built"=2008 AND "crew"<28; | 2-18622103-4 |
What is the total for guests with a ship name of rv indochina, and a crew smaller than 28? | CREATE TABLE "ships_cruising_in_asia" (
"ship_name" text,
"year_built" real,
"length" text,
"crew" real,
"guests" real,
"staterooms" real,
"comments" text
); | SELECT COUNT("guests") FROM "ships_cruising_in_asia" WHERE "ship_name"='rv indochina' AND "crew"<28; | 2-18622103-4 |
what is the country when the total is 111 and the day 1 is 69? | CREATE TABLE "qualification_round" (
"rank" real,
"athlete" text,
"country" text,
"day_1" real,
"total" real
); | SELECT "country" FROM "qualification_round" WHERE "total"=111 AND "day_1"=69; | 2-18652763-3 |
what is the average rank when the day 1 is less than 71 and the country is romania? | CREATE TABLE "qualification_round" (
"rank" real,
"athlete" text,
"country" text,
"day_1" real,
"total" real
); | SELECT AVG("rank") FROM "qualification_round" WHERE "day_1"<71 AND "country"='romania'; | 2-18652763-3 |
how many times is the athlete jin di and the total less than 118? | CREATE TABLE "qualification_round" (
"rank" real,
"athlete" text,
"country" text,
"day_1" real,
"total" real
); | SELECT COUNT("rank") FROM "qualification_round" WHERE "athlete"='jin di' AND "total"<118; | 2-18652763-3 |
What is the highest goal for a GEO nat., that ended after 2010? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" real
); | SELECT MAX("goals") FROM "squad_information" WHERE "nat"='geo' AND "ends">2010; | 2-18887450-1 |
what is the venue when the year is 2006, the competition is asian games and the event is 400 m? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "venue" FROM "achievements" WHERE "year"=2006 AND "competition"='asian games' AND "event"='400 m'; | 2-18755745-1 |
what is the venue when the event is 4x400 m relay and the competition is asian championships? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "venue" FROM "achievements" WHERE "event"='4x400 m relay' AND "competition"='asian championships'; | 2-18755745-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.