question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many people attended the September 21, 1980 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 21, 1980'; | 2-18847744-2 |
Which Doubles have a Total larger than 176, and a Date smaller than 1907, and Doubles, I Class smaller than 21? | CREATE TABLE "feast_days" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MAX("doubles") FROM "feast_days" WHERE "total">176 AND "date"<1907 AND "doubles_i_class"<21; | 2-18799425-1 |
Which Total has a Date of 1602, and Greater Doubles smaller than 16? | CREATE TABLE "feast_days" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MAX("total") FROM "feast_days" WHERE "date"=1602 AND "greater_doubles"<16; | 2-18799425-1 |
How much Total has Semidoubles smaller than 78, and Doubles, II Class smaller than 17? | CREATE TABLE "feast_days" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT COUNT("total") FROM "feast_days" WHERE "semidoubles"<78 AND "doubles_ii_class"<17; | 2-18799425-1 |
Which Greater Doubles have Doubles, II Class smaller than 17? | CREATE TABLE "feast_days" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT AVG("greater_doubles") FROM "feast_days" WHERE "doubles_ii_class"<17; | 2-18799425-1 |
How much Total has Doubles of 45, and Doubles, II Class larger than 18? | CREATE TABLE "feast_days" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT COUNT("total") FROM "feast_days" WHERE "doubles"=45 AND "doubles_ii_class">18; | 2-18799425-1 |
Which Rank has a 2nd run of 1:17.170 (8)? | CREATE TABLE "semifinal_1" (
"rank" real,
"name" text,
"1st_run" text,
"2nd_run" text,
"3rd_run" text,
"total" real
); | SELECT MAX("rank") FROM "semifinal_1" WHERE "2nd_run"='1:17.170 (8)'; | 2-18603914-7 |
Which Rank has a Total smaller than 10, and a 3rd run of 36.457 (2)? | CREATE TABLE "semifinal_1" (
"rank" real,
"name" text,
"1st_run" text,
"2nd_run" text,
"3rd_run" text,
"total" real
); | SELECT MAX("rank") FROM "semifinal_1" WHERE "total"<10 AND "3rd_run"='36.457 (2)'; | 2-18603914-7 |
Which Name has a 3rd run of 36.200 (1)? | CREATE TABLE "semifinal_1" (
"rank" real,
"name" text,
"1st_run" text,
"2nd_run" text,
"3rd_run" text,
"total" real
); | SELECT "name" FROM "semifinal_1" WHERE "3rd_run"='36.200 (1)'; | 2-18603914-7 |
What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160 | CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text,
"audio" text
); | SELECT COUNT("size_steps") FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_ratio"='10:9' AND "size_cents">160; | 2-18955077-1 |
what is the value of the audio with a just ratio 21:20 | CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text,
"audio" text
); | SELECT "audio" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_ratio"='21:20'; | 2-18955077-1 |
What is the error that has a size (steps) more than 5 and a just (cents) value 536.95 | CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text,
"audio" text
); | SELECT "error" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "size_steps">5 AND "just_cents"=536.95; | 2-18955077-1 |
What is the average size (cents) with an interval of major third and size (steps) more than 5 | CREATE TABLE "size_of_intervals_in_15_equal_temperamen" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text,
"audio" text
); | SELECT AVG("size_cents") FROM "size_of_intervals_in_15_equal_temperamen" WHERE "interval_name"='major third' AND "size_steps">5; | 2-18955077-1 |
What is the average number of points for places over 7 and having a draw order of 4? | CREATE TABLE "semi_final_1_31_january_2009" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT AVG("points") FROM "semi_final_1_31_january_2009" WHERE "place">7 AND "draw"=4; | 2-18932779-4 |
What is the sum of placings for the song "Tavo Spalvos"? | CREATE TABLE "semi_final_1_31_january_2009" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT SUM("place") FROM "semi_final_1_31_january_2009" WHERE "song"='\"tavo spalvos\"'; | 2-18932779-4 |
How many league goals did the player with 10 league apps and 0 FA cup goals have? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT COUNT("league_goals") FROM "appearances_and_goals" WHERE "fa_cup_goals"=0 AND "league_apps"='10'; | 2-18513721-1 |
What was the sum of league goals where the toal was 8 and league cup goals were larger than 0? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT SUM("league_goals") FROM "appearances_and_goals" WHERE "total_goals"=8 AND "league_cup_goals">0; | 2-18513721-1 |
For the Japanese title サプリ that had 11 episodes, what is the average ratings? | CREATE TABLE "2006_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "average_ratings" FROM "2006_summer_season" WHERE "episodes"=11 AND "japanese_title"='サプリ'; | 2-18540022-3 |
When the average ratings is 10.3%, what is the average episodes? | CREATE TABLE "2006_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT AVG("episodes") FROM "2006_summer_season" WHERE "average_ratings"='10.3%'; | 2-18540022-3 |
What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~? | CREATE TABLE "2006_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT MIN("episodes") FROM "2006_summer_season" WHERE "romaji_title"='regatta~kimi to ita eien~'; | 2-18540022-3 |
With the Romaji title of Hanayome Wa Yakudoshi!, what is the Japanese title? | CREATE TABLE "2006_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "japanese_title" FROM "2006_summer_season" WHERE "romaji_title"='hanayome wa yakudoshi!'; | 2-18540022-3 |
For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~? | CREATE TABLE "2006_summer_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "japanese_title" FROM "2006_summer_season" WHERE "episodes"<11 AND "romaji_title"='regatta~kimi to ita eien~'; | 2-18540022-3 |
what is the most episodes when the average ratings is 18.8%? | CREATE TABLE "2006_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT MAX("episodes") FROM "2006_fall_season" WHERE "average_ratings"='18.8%'; | 2-18540022-4 |
How many episodes when the tv station is ntv and the japanese title is たったひとつの恋? | CREATE TABLE "2006_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "episodes" FROM "2006_fall_season" WHERE "tv_station"='ntv' AND "japanese_title"='たったひとつの恋'; | 2-18540022-4 |
what is the tv station when the romaji title is kazoku~tsuma no fuzai・otto no sonzai~? | CREATE TABLE "2006_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "tv_station" FROM "2006_fall_season" WHERE "romaji_title"='kazoku~tsuma no fuzai・otto no sonzai~'; | 2-18540022-4 |
what is the tv station when the average ratings is 19.5%? | CREATE TABLE "2006_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
); | SELECT "tv_station" FROM "2006_fall_season" WHERE "average_ratings"='19.5%'; | 2-18540022-4 |
Of all the schools that left before 2003, what is the average year joined? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT AVG("year_joined") FROM "membership" WHERE "year_left"<2003; | 2-18710130-1 |
What year did the Ingots, who left after 2007, join? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT COUNT("year_joined") FROM "membership" WHERE "mascot"='ingots' AND "year_left">2007; | 2-18710130-1 |
What is the original Release date of the Track written by Dallas Frazier? | CREATE TABLE "track_listing" (
"track" text,
"song_title" text,
"writer_s" text,
"original_artist" text,
"original_release" real,
"length" text
); | SELECT "original_release" FROM "track_listing" WHERE "writer_s"='dallas frazier'; | 2-18424482-2 |
What is the Original Artis of the Track with a Length of 2:38? | CREATE TABLE "track_listing" (
"track" text,
"song_title" text,
"writer_s" text,
"original_artist" text,
"original_release" real,
"length" text
); | SELECT "original_artist" FROM "track_listing" WHERE "length"='2:38'; | 2-18424482-2 |
What Song has a Length of 2:50? | CREATE TABLE "track_listing" (
"track" text,
"song_title" text,
"writer_s" text,
"original_artist" text,
"original_release" real,
"length" text
); | SELECT "song_title" FROM "track_listing" WHERE "length"='2:50'; | 2-18424482-2 |
What's the title when the genre is drama and network of KBS2 happening before 2011? | CREATE TABLE "television_series" (
"year" real,
"title" text,
"hangul_japanese" text,
"role" text,
"network" text,
"genre" text
); | SELECT "title" FROM "television_series" WHERE "year"<2011 AND "network"='kbs2' AND "genre"='drama'; | 2-18629727-2 |
What's the title when the genre is drama with a network of KBS2 happening in 2011? | CREATE TABLE "television_series" (
"year" real,
"title" text,
"hangul_japanese" text,
"role" text,
"network" text,
"genre" text
); | SELECT "title" FROM "television_series" WHERE "genre"='drama' AND "network"='kbs2' AND "year"=2011; | 2-18629727-2 |
What's the network in 2011? | CREATE TABLE "television_series" (
"year" real,
"title" text,
"hangul_japanese" text,
"role" text,
"network" text,
"genre" text
); | SELECT "network" FROM "television_series" WHERE "year"=2011; | 2-18629727-2 |
What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo? | CREATE TABLE "television_series" (
"year" real,
"title" text,
"hangul_japanese" text,
"role" text,
"network" text,
"genre" text
); | SELECT "hangul_japanese" FROM "television_series" WHERE "year"<2014 AND "role"='baek seung-jo'; | 2-18629727-2 |
What's the Hangul/Japanese of Boys Over Flowers that's drama? | CREATE TABLE "television_series" (
"year" real,
"title" text,
"hangul_japanese" text,
"role" text,
"network" text,
"genre" text
); | SELECT "hangul_japanese" FROM "television_series" WHERE "genre"='drama' AND "title"='boys over flowers'; | 2-18629727-2 |
What is the IHSAA class in monon? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "location"='monon'; | 2-18942405-7 |
What is the IHSAA class with 395 in enrollment? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"=395; | 2-18942405-7 |
What school has rebels 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,
"num_county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='rebels'; | 2-18942405-7 |
What is the total enrollment of the aa IHSAA class? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT COUNT("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aa'; | 2-18942405-7 |
What is the lowest enrollment at the pioneer school? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT MIN("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "school"='pioneer'; | 2-18942405-7 |
What is the average enrollment of the IHSAA A class in wolcott? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT AVG("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='a' AND "location"='wolcott'; | 2-18942405-7 |
What is the Shirt No for Henry Bell Cisnero whose height is less than 190? | CREATE TABLE "team_roster_season_2011_2012" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT MAX("shirt_no") FROM "team_roster_season_2011_2012" WHERE "height"<190 AND "player"='henry bell cisnero'; | 2-18729570-2 |
What is the Shirt No for the person whose height is 188? | CREATE TABLE "team_roster_season_2011_2012" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT SUM("shirt_no") FROM "team_roster_season_2011_2012" WHERE "height"=188; | 2-18729570-2 |
What is the height of the person whose position is Libero? | CREATE TABLE "team_roster_season_2011_2012" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT MAX("height") FROM "team_roster_season_2011_2012" WHERE "position"='libero'; | 2-18729570-2 |
What is the total for the person with free of 47.667, and technical less than 47.417? | CREATE TABLE "final" (
"country" text,
"athlete" text,
"technical" real,
"free" real,
"total" real
); | SELECT SUM("total") FROM "final" WHERE "free"=47.667 AND "technical"<47.417; | 2-18789596-2 |
What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334? | CREATE TABLE "final" (
"country" text,
"athlete" text,
"technical" real,
"free" real,
"total" real
); | SELECT MAX("technical") FROM "final" WHERE "athlete"='jiang tingting & jiang wenwen' AND "total">96.334; | 2-18789596-2 |
What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333? | CREATE TABLE "final" (
"country" text,
"athlete" text,
"technical" real,
"free" real,
"total" real
); | SELECT MIN("free") FROM "final" WHERE "athlete"='apolline dreyfuss & lila meesseman-bakir' AND "total">90.333; | 2-18789596-2 |
What is the average number of games drawn among teams that played over 14 games? | CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT AVG("drawn") FROM "first_round" WHERE "played">14; | 2-18771190-11 |
What is the total number of points combined from the teams that played over 14 games? | CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT COUNT("points") FROM "first_round" WHERE "played">14; | 2-18771190-11 |
How many points did the ESC Riverrats Geretsried, who lost more than 3 games, score? | CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT SUM("points") FROM "first_round" WHERE "lost">3 AND "name"='esc riverrats geretsried'; | 2-18771190-11 |
What is the average number of games drawn among the teams that lost over 13 games? | CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT AVG("drawn") FROM "first_round" WHERE "lost">13; | 2-18771190-11 |
What is the date of vacancy when the manner of departure is sacked and the team is nejapa? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "manner_of_departure"='sacked' AND "team"='nejapa'; | 2-18522916-5 |
what is the date of vacancy when the date of appointment is 1 january 2009? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='1 january 2009'; | 2-18522916-5 |
what is the date of vacancy when the position in table is 10th and the team is balboa? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "position_in_table"='10th' AND "team"='balboa'; | 2-18522916-5 |
Who replaced when the position in table is 5th? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "replaced_by" FROM "managerial_changes" WHERE "position_in_table"='5th'; | 2-18522916-5 |
Who is the outgoing manager when they were replaced by pablo centrone? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='pablo centrone'; | 2-18522916-5 |
what is the date of vacancy when the team is firpo and replaced by is oscar benitez? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "team"='firpo' AND "replaced_by"='oscar benitez'; | 2-18522916-5 |
Which country was ranked 8 and noted as qs? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "country" FROM "heat_2" WHERE "notes"='qs' AND "rank"=8; | 2-18646696-4 |
What are the notes for the contestants that were ranked #1? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "notes" FROM "heat_2" WHERE "rank"=1; | 2-18646696-4 |
Who did the Hawks play on 12/21/1973? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='12/21/1973'; | 2-18394824-5 |
What rank does Tricia Flores have? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "rank" FROM "qualifying_round" WHERE "name"='tricia flores'; | 2-18579260-2 |
Who is in group B and has a mark of 6.33? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "name" FROM "qualifying_round" WHERE "group"='b' AND "mark"='6.33'; | 2-18579260-2 |
What is the mark for Grenada in group A? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "mark" FROM "qualifying_round" WHERE "group"='a' AND "nationality"='grenada'; | 2-18579260-2 |
Who has a mark of 6.17 in group B? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "name" FROM "qualifying_round" WHERE "group"='b' AND "mark"='6.17'; | 2-18579260-2 |
What rank does Tatyana Lebedeva have? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "rank" FROM "qualifying_round" WHERE "name"='tatyana lebedeva'; | 2-18579260-2 |
What rank has a mark of NM and is from India? | CREATE TABLE "qualifying_round" (
"rank" text,
"group" text,
"name" text,
"nationality" text,
"mark" text
); | SELECT "rank" FROM "qualifying_round" WHERE "mark"='nm' AND "nationality"='india'; | 2-18579260-2 |
What is the sum of totals for ranks under 3 with tallies of 2-5? | CREATE TABLE "single_game" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"opposition" text
); | SELECT SUM("total") FROM "single_game" WHERE "rank"<3 AND "tally"='2-5'; | 2-18937160-2 |
Which player had a rank of 8 and tally of 1-5? | CREATE TABLE "single_game" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"opposition" text
); | SELECT "player" FROM "single_game" WHERE "rank"=8 AND "tally"='1-5'; | 2-18937160-2 |
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season? | CREATE TABLE "episodes" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"ratings" text
); | SELECT SUM("no_in_series") FROM "episodes" WHERE "written_by"='sam meikle' AND "no_in_season"=21; | 2-18428030-3 |
What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "location_attendance"='alexander memorial coliseum' AND "record"='0-1'; | 2-18409087-3 |
When was the game played that was at the Seattle Center Coliseum? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "location_attendance"='seattle center coliseum'; | 2-18409087-3 |
What is the least game that was played in Alexander Memorial Coliseum on October 16? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT MIN("game") FROM "game_log" WHERE "location_attendance"='alexander memorial coliseum' AND "date"='october 16'; | 2-18409087-3 |
What average game was played on October 16? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT AVG("game") FROM "game_log" WHERE "date"='october 16'; | 2-18409087-3 |
On what day was game 2 played? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "game"=2; | 2-18409087-3 |
What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival? | CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" real,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tourism_receipts_2011_us_per_capita" real,
"tourism_receipts_2003_as_pct_of_gdp" text,
"tourism_receipts_2003_as_pct_of_exports" text,
"tourism_competitiveness_2011_ttci" text
); | SELECT AVG("tourism_receipts_2011_millions_of_us") FROM "performance_indicators_for_international" WHERE "tourist_arrivals_2011_millions"<1.141 AND "tourism_receipts_2011_us_per_arrival">'1,449'; | 2-18524-6 |
What is the tourism competitiveness in 2011 of venezuela? | CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" real,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tourism_receipts_2011_us_per_capita" real,
"tourism_receipts_2003_as_pct_of_gdp" text,
"tourism_receipts_2003_as_pct_of_exports" text,
"tourism_competitiveness_2011_ttci" text
); | SELECT "tourism_competitiveness_2011_ttci" FROM "performance_indicators_for_international" WHERE "country"='venezuela'; | 2-18524-6 |
What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? | CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" real,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tourism_receipts_2011_us_per_capita" real,
"tourism_receipts_2003_as_pct_of_gdp" text,
"tourism_receipts_2003_as_pct_of_exports" text,
"tourism_competitiveness_2011_ttci" text
); | SELECT MAX("tourism_receipts_2011_us_per_capita") FROM "performance_indicators_for_international" WHERE "tourism_receipts_2003_as_pct_of_gdp"='19.4' AND "tourism_receipts_2011_us_per_arrival"<655; | 2-18524-6 |
What is the lowest tourism arrivals in 2011 in millions with 507 US $ per arrival in 2011 tourism receipts and less than 11,869 million of US $ in 2011 tourism receipts? | CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" real,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tourism_receipts_2011_us_per_capita" real,
"tourism_receipts_2003_as_pct_of_gdp" text,
"tourism_receipts_2003_as_pct_of_exports" text,
"tourism_competitiveness_2011_ttci" text
); | SELECT MIN("tourist_arrivals_2011_millions") FROM "performance_indicators_for_international" WHERE "tourism_receipts_2011_us_per_arrival"=507 AND "tourism_receipts_2011_millions_of_us"<'11,869'; | 2-18524-6 |
What is the highest tourism arrivals in 2011 in millions with a 3.82 tourism competitiveness in 2011 and more than 1,102 US$ per arrival in 2011 tourism receipts? | CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" real,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tourism_receipts_2011_us_per_capita" real,
"tourism_receipts_2003_as_pct_of_gdp" text,
"tourism_receipts_2003_as_pct_of_exports" text,
"tourism_competitiveness_2011_ttci" text
); | SELECT MAX("tourist_arrivals_2011_millions") FROM "performance_indicators_for_international" WHERE "tourism_competitiveness_2011_ttci"='3.82' AND "tourism_receipts_2011_us_per_arrival">'1,102'; | 2-18524-6 |
In what year was Wisconsin the runner-up? | CREATE TABLE "national_championships" (
"year" real,
"champion" text,
"score" text,
"runner_up" text,
"city" text,
"arena" text
); | SELECT "year" FROM "national_championships" WHERE "runner_up"='wisconsin'; | 2-18880361-1 |
In what arena was the North Dakota the runner-up? | CREATE TABLE "national_championships" (
"year" real,
"champion" text,
"score" text,
"runner_up" text,
"city" text,
"arena" text
); | SELECT "arena" FROM "national_championships" WHERE "runner_up"='north dakota'; | 2-18880361-1 |
What was the score of the game at the Broadmoor Arena? | CREATE TABLE "national_championships" (
"year" real,
"champion" text,
"score" text,
"runner_up" text,
"city" text,
"arena" text
); | SELECT "score" FROM "national_championships" WHERE "arena"='broadmoor arena'; | 2-18880361-1 |
Who was the runner-up at the Broadmoor Arena before 2008? | CREATE TABLE "national_championships" (
"year" real,
"champion" text,
"score" text,
"runner_up" text,
"city" text,
"arena" text
); | SELECT "runner_up" FROM "national_championships" WHERE "year"<2008 AND "arena"='broadmoor arena'; | 2-18880361-1 |
In what year was the competition at the Pepsi Arena? | CREATE TABLE "national_championships" (
"year" real,
"champion" text,
"score" text,
"runner_up" text,
"city" text,
"arena" text
); | SELECT "year" FROM "national_championships" WHERE "arena"='pepsi arena'; | 2-18880361-1 |
Which opponent has a 53-24 record? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='53-24'; | 2-18493040-9 |
Who was the opponent for game 73? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "game"='73'; | 2-18493040-9 |
who is the replacement when the team is milton keynes dons? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "replaced_by" FROM "managerial_changes" WHERE "team"='milton keynes dons'; | 2-18788823-5 |
what is the team with the position in table of 24th and the date of appointment 15 september 2008? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "team" FROM "managerial_changes" WHERE "position_in_table"='24th' AND "date_of_appointment"='15 september 2008'; | 2-18788823-5 |
what is the position in table when the team is hartlepool united? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "position_in_table" FROM "managerial_changes" WHERE "team"='hartlepool united'; | 2-18788823-5 |
what is the team geraint williams is the replacement? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='geraint williams'; | 2-18788823-5 |
what is the date of vacancy when the position in table is 16th and the outgoing manager is russell slade? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "position_in_table"='16th' AND "outgoing_manager"='russell slade'; | 2-18788823-5 |
What years have 10 (0) in the finals? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "years" FROM "most_number_of_appearances" WHERE "finals"='10 (0)'; | 2-18639024-11 |
What A-League has 6 (1) for the finals, and leigh broxham as the name? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "a_league" FROM "most_number_of_appearances" WHERE "finals"='6 (1)' AND "name"='leigh broxham'; | 2-18639024-11 |
What finals have grant brebner as the name? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "finals" FROM "most_number_of_appearances" WHERE "name"='grant brebner'; | 2-18639024-11 |
What years have 9 (0) as the finals and 133 (1) as the A-League? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "years" FROM "most_number_of_appearances" WHERE "finals"='9 (0)' AND "a_league"='133 (1)'; | 2-18639024-11 |
What years have 9 (3) as the finals? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "years" FROM "most_number_of_appearances" WHERE "finals"='9 (3)'; | 2-18639024-11 |
What years have 101 (16) as the total? | CREATE TABLE "most_number_of_appearances" (
"name" text,
"years" text,
"a_league" text,
"finals" text,
"total" text
); | SELECT "years" FROM "most_number_of_appearances" WHERE "total"='101 (16)'; | 2-18639024-11 |
Who has a time of 7:26.85 and notes of sc/d? | CREATE TABLE "quarterfinal_2" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "athlete" FROM "quarterfinal_2" WHERE "notes"='sc/d' AND "time"='7:26.85'; | 2-18662643-9 |
Ioannis Christou with a rank smaller than 6 has what notes? | CREATE TABLE "quarterfinal_2" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "notes" FROM "quarterfinal_2" WHERE "rank"<6 AND "athlete"='ioannis christou'; | 2-18662643-9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.