question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "college" FROM "atlanta_falcons_draft_history" WHERE "round">4 AND "overall"<237 AND "name"='ted cottrell'; | 2-15198842-4 |
What is the smallest overall for Oregon State? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("overall") FROM "atlanta_falcons_draft_history" WHERE "college"='oregon state'; | 2-15198842-4 |
What is the class of the qb, Josh Riddell? | CREATE TABLE "roster" (
"name" text,
"height" text,
"weight" text,
"class" text,
"position" text,
"hometown" text
); | SELECT "class" FROM "roster" WHERE "position"='qb' AND "name"='josh riddell'; | 2-14946438-46 |
What position does Jamar Chaney play? | CREATE TABLE "roster" (
"name" text,
"height" text,
"weight" text,
"class" text,
"position" text,
"hometown" text
); | SELECT "position" FROM "roster" WHERE "name"='jamar chaney'; | 2-14946438-46 |
What hometown is Kyle love from? | CREATE TABLE "roster" (
"name" text,
"height" text,
"weight" text,
"class" text,
"position" text,
"hometown" text
); | SELECT "hometown" FROM "roster" WHERE "name"='kyle love'; | 2-14946438-46 |
Which Attendance has a Home of philadelphia, and Points smaller than 23? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT SUM("attendance") FROM "game_log" WHERE "home"='philadelphia' AND "points"<23; | 2-14335332-4 |
Which Visitor has a Record of 9–12–5? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "visitor" FROM "game_log" WHERE "record"='9–12–5'; | 2-14335332-4 |
Which Date has a Visitor of boston? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "game_log" WHERE "visitor"='boston'; | 2-14335332-4 |
What is the date for the grass surface final against Nathan Healey? | CREATE TABLE "futures_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "date" FROM "futures_titles" WHERE "surface"='grass' AND "opponent_in_the_final"='nathan healey'; | 2-15162099-4 |
What was the score of the final against Dane Propoggia? | CREATE TABLE "futures_titles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "futures_titles" WHERE "opponent_in_the_final"='dane propoggia'; | 2-15162099-4 |
What was the total score when the E score was larger than 9.6 and the A score was 6? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT "total" FROM "groups_10_clubs" WHERE "e_score">9.6 AND "a_score"=6; | 2-14737891-10 |
What was the average E score when the T score was less than 4? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT AVG("e_score") FROM "groups_10_clubs" WHERE "t_score"<4; | 2-14737891-10 |
What was the average T score when the E score was larger than 9.6 and the team was from Spain? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT AVG("t_score") FROM "groups_10_clubs" WHERE "nation"='spain' AND "e_score">9.6; | 2-14737891-10 |
What was the total number of A scores for Japan when the T score was more than 4? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT COUNT("a_score") FROM "groups_10_clubs" WHERE "nation"='japan' AND "t_score">4; | 2-14737891-10 |
What was the sum of the E scores when the total score was 19.466? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT SUM("e_score") FROM "groups_10_clubs" WHERE "total"=19.466; | 2-14737891-10 |
What is the total number of E scores when the total score was 19.7 and the A score was more than 6? | CREATE TABLE "groups_10_clubs" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
); | SELECT COUNT("e_score") FROM "groups_10_clubs" WHERE "total"=19.7 AND "a_score">6; | 2-14737891-10 |
What is the highest number of draws with 14 points and less than 7 games? | CREATE TABLE "world_championship_group_c_netherlands" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT MAX("drawn") FROM "world_championship_group_c_netherlands" WHERE "points"=14 AND "games"<7; | 2-14328543-3 |
What was the attendance at the game with a record of 4-5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "record"='4-5'; | 2-15305748-1 |
What was the date of the week 16 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=16; | 2-15305748-1 |
What was the record at the game with a result of W 13-12 after week 4? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" text
); | SELECT "record" FROM "schedule" WHERE "week">4 AND "result"='w 13-12'; | 2-15305748-1 |
Who was the opponent at the game attended by 62,019 before week 17? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"<17 AND "attendance"='62,019'; | 2-15305748-1 |
Name the surface for january 8, 2001 | CREATE TABLE "atp_doubles_finals_13_6_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "surface" FROM "atp_doubles_finals_13_6_7" WHERE "date"='january 8, 2001'; | 2-15271897-2 |
Name the outcome for jordan kerr july 19, 2004 | CREATE TABLE "atp_doubles_finals_13_6_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "atp_doubles_finals_13_6_7" WHERE "partnering"='jordan kerr' AND "date"='july 19, 2004'; | 2-15271897-2 |
Name the score for opponents of nathan healey igor kunitsyn | CREATE TABLE "atp_doubles_finals_13_6_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "score" FROM "atp_doubles_finals_13_6_7" WHERE "opponents_in_the_final"='nathan healey igor kunitsyn'; | 2-15271897-2 |
Name the outcome for opponents of jonas björkman john mcenroe | CREATE TABLE "atp_doubles_finals_13_6_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "atp_doubles_finals_13_6_7" WHERE "opponents_in_the_final"='jonas björkman john mcenroe'; | 2-15271897-2 |
Name the surface for paul goldstein and date of october 2, 2006 | CREATE TABLE "atp_doubles_finals_13_6_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "surface" FROM "atp_doubles_finals_13_6_7" WHERE "partnering"='paul goldstein' AND "date"='october 2, 2006'; | 2-15271897-2 |
Which Games have a Drawn smaller than 1, and a Lost smaller than 1? | CREATE TABLE "world_championship_group_c_spain" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT "games" FROM "world_championship_group_c_spain" WHERE "drawn"<1 AND "lost"<1; | 2-14190283-9 |
Which Drawn is the lowest one that has a Lost of 5, and Points larger than 4? | CREATE TABLE "world_championship_group_c_spain" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT MIN("drawn") FROM "world_championship_group_c_spain" WHERE "lost"=5 AND "points">4; | 2-14190283-9 |
Which Government has 57 seats? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"government" text
); | SELECT "government" FROM "general_election_results" WHERE "seats"=57; | 2-147622-1 |
How many seats does the 6th Dail have? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"government" text
); | SELECT COUNT("seats") FROM "general_election_results" WHERE "d_il"='6th'; | 2-147622-1 |
What is the number of the dail with 61 seats? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"government" text
); | SELECT "d_il" FROM "general_election_results" WHERE "seats"=61; | 2-147622-1 |
What is the lowest number of seats from the election with 27.0% of votes? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"government" text
); | SELECT MIN("seats") FROM "general_election_results" WHERE "share_of_votes"='27.0%'; | 2-147622-1 |
What is the 6th dail share of votes? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"government" text
); | SELECT "share_of_votes" FROM "general_election_results" WHERE "d_il"='6th'; | 2-147622-1 |
What was the highest week when the record was 1-3? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT MAX("week") FROM "schedule" WHERE "record"='1-3'; | 2-14597907-1 |
Who was the opponent at the game attended by 62,657? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='62,657'; | 2-14597907-1 |
What is the year built for the Fay No. 4? | CREATE TABLE "inland_steam_and_river_boats_of_coos_bay" (
"name" text,
"type" text,
"year_built" real,
"where_built" text,
"length" text
); | SELECT MAX("year_built") FROM "inland_steam_and_river_boats_of_coos_bay" WHERE "name"='fay no. 4'; | 2-15289945-1 |
Where the length is 91', what is the year built? | CREATE TABLE "inland_steam_and_river_boats_of_coos_bay" (
"name" text,
"type" text,
"year_built" real,
"where_built" text,
"length" text
); | SELECT "year_built" FROM "inland_steam_and_river_boats_of_coos_bay" WHERE "length"='91'''; | 2-15289945-1 |
What is the address for the Scorpions' mascot? | CREATE TABLE "elementary_schools_grades_k_6" (
"elementary_schools" text,
"mascot" text,
"address" text,
"principal_2013_2014" text,
"assistant_principal_2013_2014" text
); | SELECT "address" FROM "elementary_schools_grades_k_6" WHERE "mascot"='scorpions'; | 2-14254419-3 |
What is the address for the assistant principal named Kelly Papke? | CREATE TABLE "elementary_schools_grades_k_6" (
"elementary_schools" text,
"mascot" text,
"address" text,
"principal_2013_2014" text,
"assistant_principal_2013_2014" text
); | SELECT "address" FROM "elementary_schools_grades_k_6" WHERE "assistant_principal_2013_2014"='kelly papke'; | 2-14254419-3 |
What was the mascot for the 2013-2014 principal named Frank Hendricsen? | CREATE TABLE "elementary_schools_grades_k_6" (
"elementary_schools" text,
"mascot" text,
"address" text,
"principal_2013_2014" text,
"assistant_principal_2013_2014" text
); | SELECT "mascot" FROM "elementary_schools_grades_k_6" WHERE "principal_2013_2014"='frank hendricsen'; | 2-14254419-3 |
Who were the assistant and main principals of Kat Hughes? | CREATE TABLE "elementary_schools_grades_k_6" (
"elementary_schools" text,
"mascot" text,
"address" text,
"principal_2013_2014" text,
"assistant_principal_2013_2014" text
); | SELECT "assistant_principal_2013_2014" FROM "elementary_schools_grades_k_6" WHERE "principal_2013_2014"='kat hughes'; | 2-14254419-3 |
What is the address for the school that has the coyotes mascot? | CREATE TABLE "elementary_schools_grades_k_6" (
"elementary_schools" text,
"mascot" text,
"address" text,
"principal_2013_2014" text,
"assistant_principal_2013_2014" text
); | SELECT "address" FROM "elementary_schools_grades_k_6" WHERE "mascot"='coyotes'; | 2-14254419-3 |
What is the result of the game played at Jinan? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "venue"='jinan'; | 2-14660578-1 |
What is the score of the game on November 10, 2006? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='november 10, 2006'; | 2-14660578-1 |
What is the date of the game held at Lahore? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "venue"='lahore'; | 2-14660578-1 |
What were the total number of entries in 2001 that had a front row smaller than 13? | CREATE TABLE "most_starts_from_front_row_in_a_season" (
"driver" text,
"season" text,
"entries" real,
"front_row_starts" real,
"percentage" text
); | SELECT COUNT("entries") FROM "most_starts_from_front_row_in_a_season" WHERE "season"='2001' AND "front_row_starts"<13; | 2-13599687-37 |
What are the lowest entries for a front row smaller than 15 where Michael Schumacher was driving? | CREATE TABLE "most_starts_from_front_row_in_a_season" (
"driver" text,
"season" text,
"entries" real,
"front_row_starts" real,
"percentage" text
); | SELECT MIN("entries") FROM "most_starts_from_front_row_in_a_season" WHERE "front_row_starts"<15 AND "driver"='michael schumacher'; | 2-13599687-37 |
What was the highest front row starts for Alain Prost? | CREATE TABLE "most_starts_from_front_row_in_a_season" (
"driver" text,
"season" text,
"entries" real,
"front_row_starts" real,
"percentage" text
); | SELECT MAX("front_row_starts") FROM "most_starts_from_front_row_in_a_season" WHERE "driver"='alain prost'; | 2-13599687-37 |
Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0? | CREATE TABLE "2009_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("against") FROM "2009_ladder" WHERE "losses">2 AND "wins"=8 AND "byes"<0; | 2-14756291-11 |
Which Draws have Wins larger than 14? | CREATE TABLE "2009_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("draws") FROM "2009_ladder" WHERE "wins">14; | 2-14756291-11 |
How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10? | CREATE TABLE "2009_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("losses") FROM "2009_ladder" WHERE "ntfa_div_2"='perth' AND "wins"<10; | 2-14756291-11 |
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14? | CREATE TABLE "2009_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("byes") FROM "2009_ladder" WHERE "against"<1647 AND "ntfa_div_2"='fingal valley' AND "wins"<14; | 2-14756291-11 |
How many grids were there races with more than 10 laps and a time of +34.121? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("grid") FROM "sprint_race" WHERE "time"='+34.121' AND "laps">10; | 2-13745048-3 |
What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("grid") FROM "sprint_race" WHERE "laps"=10 AND "driver"='jonathan summerton'; | 2-13745048-3 |
What is the average grid number that had Team China with less than 10 laps? | CREATE TABLE "sprint_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("grid") FROM "sprint_race" WHERE "laps"<10 AND "team"='china'; | 2-13745048-3 |
Which Creator has the Latest stable release of unknown, and a Name of myeclipse? | CREATE TABLE "general" (
"name" text,
"creator" text,
"platform_os" text,
"first_public_release" text,
"latest_stable_release" text,
"open_source" text,
"programming_language_used" text
); | SELECT "creator" FROM "general" WHERE "latest_stable_release"='unknown' AND "name"='myeclipse'; | 2-1496061-1 |
Which Platform / OS has a Name of altova umodel? | CREATE TABLE "general" (
"name" text,
"creator" text,
"platform_os" text,
"first_public_release" text,
"latest_stable_release" text,
"open_source" text,
"programming_language_used" text
); | SELECT "platform_os" FROM "general" WHERE "name"='altova umodel'; | 2-1496061-1 |
Which Programming language used has a First public release of 1997? | CREATE TABLE "general" (
"name" text,
"creator" text,
"platform_os" text,
"first_public_release" text,
"latest_stable_release" text,
"open_source" text,
"programming_language_used" text
); | SELECT "programming_language_used" FROM "general" WHERE "first_public_release"='1997'; | 2-1496061-1 |
Which First public release has a Name of rational software modeler? | CREATE TABLE "general" (
"name" text,
"creator" text,
"platform_os" text,
"first_public_release" text,
"latest_stable_release" text,
"open_source" text,
"programming_language_used" text
); | SELECT "first_public_release" FROM "general" WHERE "name"='rational software modeler'; | 2-1496061-1 |
What is the College of Rice's highest overall for the guard position? | 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"='guard' AND "college"='rice'; | 2-15198842-1 |
What is Tommy Nobis' position that has fewer than 16 picks? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "atlanta_falcons_draft_history" WHERE "pick_num"<16 AND "name"='tommy nobis'; | 2-15198842-1 |
What was the score when the Rangers were playing against the Vancouver Canucks? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "opponent"='vancouver canucks'; | 2-14056030-5 |
Who were the opponents on January 27? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "january"=27; | 2-14056030-5 |
Who was the opponent for game number less than 47 and a record of 24-13-4? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "game"<47 AND "record"='24-13-4'; | 2-14056030-5 |
What is the average january number when the game number was higher than 39 and the opponent was the Vancouver Canucks? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("january") FROM "schedule_and_results" WHERE "opponent"='vancouver canucks' AND "game">39; | 2-14056030-5 |
What is the Drawn number with a Points against of correct as of 08:50 10 may 2009? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "drawn" FROM "2008_2009_table" WHERE "points_against"='correct as of 08:50 10 may 2009'; | 2-14070062-4 |
What is the Tries against when lost shows 12 for pontycymmer rfc? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "tries_against" FROM "2008_2009_table" WHERE "lost"='12' AND "club"='pontycymmer rfc'; | 2-14070062-4 |
What is the Points against for the ystradgynlais rfc club? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "points_against" FROM "2008_2009_table" WHERE "club"='ystradgynlais rfc'; | 2-14070062-4 |
What is the Club name what shows 405 for the Points against? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "club" FROM "2008_2009_table" WHERE "points_against"='405'; | 2-14070062-4 |
What shows for Try bonus when the points against are 451? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "try_bonus" FROM "2008_2009_table" WHERE "points_against"='451'; | 2-14070062-4 |
Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2? | CREATE TABLE "o_reilly_200_memphis" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT SUM("pos") FROM "o_reilly_200_memphis" WHERE "make"='chevrolet' AND "driver"='jack sprague' AND "car_num"<2; | 2-14292964-15 |
How many Car numbers have a Driver of erik darnell, and a Pos smaller than 2? | CREATE TABLE "o_reilly_200_memphis" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT COUNT("car_num") FROM "o_reilly_200_memphis" WHERE "driver"='erik darnell' AND "pos"<2; | 2-14292964-15 |
Which Pos has a Car # of 33? | CREATE TABLE "o_reilly_200_memphis" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT SUM("pos") FROM "o_reilly_200_memphis" WHERE "car_num"=33; | 2-14292964-15 |
Which Pos has a Team of circle bar racing, and a Car # smaller than 14? | CREATE TABLE "o_reilly_200_memphis" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT MAX("pos") FROM "o_reilly_200_memphis" WHERE "team"='circle bar racing' AND "car_num"<14; | 2-14292964-15 |
Which Pos has a Car # larger than 2, and a Team of billy ballew motorsports? | CREATE TABLE "o_reilly_200_memphis" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT AVG("pos") FROM "o_reilly_200_memphis" WHERE "car_num">2 AND "team"='billy ballew motorsports'; | 2-14292964-15 |
What is the lowest points that has 135 as 2nd (m)? | CREATE TABLE "engelberg" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT MIN("points") FROM "engelberg" WHERE "2nd_m"=135; | 2-14407512-7 |
What is the overall WC points (rank) that has 139 as the 2nd (m)? | CREATE TABLE "engelberg" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT "overall_wc_points_rank" FROM "engelberg" WHERE "2nd_m"=139; | 2-14407512-7 |
How many 2nd (m) have aut as the nationality, with 4 as the rank, and a 1st less than 122.5? | CREATE TABLE "engelberg" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT SUM("2nd_m") FROM "engelberg" WHERE "nationality"='aut' AND "rank"=4 AND "1st_m"<122.5; | 2-14407512-7 |
What name has a 1st (m) greater than 124.5, and a 2nd (m) greater than 136? | CREATE TABLE "engelberg" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT "name" FROM "engelberg" WHERE "1st_m">124.5 AND "2nd_m">136; | 2-14407512-7 |
What Rank is the Director(s) of satoko okita? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "rank" FROM "2004_2005" WHERE "director_s"='satoko okita'; | 2-13770546-3 |
What country is the film hi no tsugi ha rekishi from? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "country" FROM "2004_2005" WHERE "film"='hi no tsugi ha rekishi'; | 2-13770546-3 |
Which Director(s) made the film hanzubon no ojisan and received a prize of ¥300,000? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "director_s" FROM "2004_2005" WHERE "prize"='¥300,000' AND "film"='hanzubon no ojisan'; | 2-13770546-3 |
Which country did the Director(s) of kota nagaoka come from and win ¥300,000? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "country" FROM "2004_2005" WHERE "prize"='¥300,000' AND "director_s"='kota nagaoka'; | 2-13770546-3 |
What Director won a prize of ¥2,000,000? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "director_s" FROM "2004_2005" WHERE "prize"='¥2,000,000'; | 2-13770546-3 |
What Rank is the director of maximilian jezo-parovsky? | CREATE TABLE "2004_2005" (
"rank" text,
"film" text,
"director_s" text,
"country" text,
"prize" text
); | SELECT "rank" FROM "2004_2005" WHERE "director_s"='maximilian jezo-parovsky'; | 2-13770546-3 |
Who had the most high assists from Milwaukee? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "game_log" WHERE "team"='milwaukee'; | 2-13619053-5 |
Who scored the most point on December 13? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "date"='december 13'; | 2-13619053-5 |
What's the Loss for the game that had a 22-24 record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='22-24'; | 2-14269540-5 |
What was the date that Elvir Krehmic made a high jump record? | CREATE TABLE "men" (
"nation" text,
"height" text,
"athlete" text,
"venue" text,
"date" text
); | SELECT "date" FROM "men" WHERE "athlete"='elvir krehmic'; | 2-13791-13 |
Which spine has 12 issues? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT "spine" FROM "other_bibliographic_details" WHERE "number_of_issues"=12; | 2-151686-3 |
How many issues end on jan–72? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT SUM("number_of_issues") FROM "other_bibliographic_details" WHERE "end_month"='jan–72'; | 2-151686-3 |
Which masthead ends on oct–69? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT "masthead" FROM "other_bibliographic_details" WHERE "end_month"='oct–69'; | 2-151686-3 |
What is the game number held on May 2? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT AVG("game") FROM "playoffs" WHERE "date"='may 2'; | 2-14208857-10 |
Which Season has a Postseason of promoted runner-up? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"division" text,
"pos" real,
"postseason" text,
"cup_competitions" text
); | SELECT "season" FROM "season_by_season" WHERE "postseason"='promoted runner-up'; | 2-14468296-1 |
What is the attendance of the match with a record 20-11? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "attendance" FROM "game_log" WHERE "record"='20-11'; | 2-13553341-3 |
What is the date of the match with a 28-15 record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='28-15'; | 2-13553341-3 |
Which opponent did they play against on April 16? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT "opponent" FROM "playoffs" WHERE "date"='april 16'; | 2-14208857-9 |
What circuit was after round 2 in Victoria? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state_territory" text,
"date" text,
"winning_driver" text
); | SELECT "circuit" FROM "calendar" WHERE "round">2 AND "state_territory"='victoria'; | 2-14100733-1 |
What is the state the winning driver Jamie Whincup from in round 2? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state_territory" text,
"date" text,
"winning_driver" text
); | SELECT "state_territory" FROM "calendar" WHERE "winning_driver"='jamie whincup' AND "round"=2; | 2-14100733-1 |
What date in October did the Flyers play against the Toronto Maple Leafs? | CREATE TABLE "regular_season" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "october" FROM "regular_season" WHERE "opponent"='toronto maple leafs'; | 2-14294324-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.