question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
what is the school when the location is rochester? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" text,
"previous_conference" text,
"year_left" text
); | SELECT "school" FROM "former_members" WHERE "location"='rochester'; | 2-18765652-2 |
what is the location when the school is muncie burris? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" text,
"previous_conference" text,
"year_left" text
); | SELECT "location" FROM "former_members" WHERE "school"='muncie burris'; | 2-18765652-2 |
what is the mascot when the school is warsaw? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" text,
"previous_conference" text,
"year_left" text
); | SELECT "mascot" FROM "former_members" WHERE "school"='warsaw'; | 2-18765652-2 |
what is the mascot when the county is 43 kosciusko? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" text,
"previous_conference" text,
"year_left" text
); | SELECT "mascot" FROM "former_members" WHERE "county"='43 kosciusko'; | 2-18765652-2 |
what is the county when the year left is 1998? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" text,
"previous_conference" text,
"year_left" text
); | SELECT "county" FROM "former_members" WHERE "year_left"='1998'; | 2-18765652-2 |
which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )? | CREATE TABLE "satellite_awards" (
"year" real,
"category" text,
"film" text,
"result" text,
"lost_to" text
); | SELECT "film" FROM "satellite_awards" WHERE "category"='best actress – musical or comedy' AND "lost_to"='nicole kidman ( moulin rouge! )'; | 2-18747538-6 |
which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? | CREATE TABLE "satellite_awards" (
"year" real,
"category" text,
"film" text,
"result" text,
"lost_to" text
); | SELECT "category" FROM "satellite_awards" WHERE "result"='nominated' AND "lost_to"='jennifer westfeldt ( kissing jessica stein )'; | 2-18747538-6 |
Which the Lost to is in 2000 | CREATE TABLE "satellite_awards" (
"year" real,
"category" text,
"film" text,
"result" text,
"lost_to" text
); | SELECT "lost_to" FROM "satellite_awards" WHERE "year"=2000; | 2-18747538-6 |
What is the average attendance for games against the Pittsburgh Steelers when the opponents scored more than 0 points? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='pittsburgh steelers' AND "opponents">0; | 2-18847456-2 |
Who is the team that has a pick less than 154 and an offensive guard position? | CREATE TABLE "twentieth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "team" FROM "twentieth_round" WHERE "position"='offensive guard' AND "pick"<154; | 2-18652198-20 |
What is the Weight of the GK Player with 2012 Club of CN Atlètic-Barceloneta? | CREATE TABLE "current_roster" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "weight" FROM "current_roster" WHERE "pos"='gk' AND "2012_club"='cn atlètic-barceloneta'; | 2-18985137-1 |
What is the Height of the CF Player with 2012 club of Posillipo? | CREATE TABLE "current_roster" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "height" FROM "current_roster" WHERE "pos"='cf' AND "2012_club"='posillipo'; | 2-18985137-1 |
What is the Attendance of Game 24? | CREATE TABLE "conference_premier" (
"game" real,
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text,
"attendance" real
); | SELECT SUM("attendance") FROM "conference_premier" WHERE "game"=24; | 2-18703579-2 |
What is the Venue of Game 41 with a Score F–A of 1–2? | CREATE TABLE "conference_premier" (
"game" real,
"date" text,
"opponents" text,
"venue" text,
"result" text,
"score_f_a" text,
"attendance" real
); | SELECT "venue" FROM "conference_premier" WHERE "score_f_a"='1–2' AND "game"=41; | 2-18703579-2 |
Who are the opponents in the February 19, 1996 final? | CREATE TABLE "doubles_36_20_16" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponents_in_the_final" FROM "doubles_36_20_16" WHERE "date"='february 19, 1996'; | 2-18622227-4 |
What was the final score on March 22, 1993? | CREATE TABLE "doubles_36_20_16" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "doubles_36_20_16" WHERE "date"='march 22, 1993'; | 2-18622227-4 |
What is the outcome on June 9, 1997? | CREATE TABLE "doubles_36_20_16" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "doubles_36_20_16" WHERE "date"='june 9, 1997'; | 2-18622227-4 |
What school has an IHSAA Class of aaa, and their mascot is Tiger Cubs? | 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 "school" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aaa' AND "mascot"='tiger cubs'; | 2-18974097-15 |
What is the IHSAA Football Class for county 67 putnam at Greencastle? | 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 "county"='67 putnam' AND "school"='greencastle'; | 2-18974097-15 |
What school has more than 533 enrolled and is an IHSAA Football Class of aa? | 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 "school" FROM "indiana_high_school_athletics_conference" WHERE "enrollment">533 AND "ihsaa_football_class"='aa'; | 2-18974097-15 |
Where is the IHSAA Class of aaa school with more than 590 enrolled? | 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 "ihsaa_class"='aaa' AND "enrollment">590; | 2-18974097-15 |
Which location has 111 as the days held? | CREATE TABLE "title_history" (
"wrestlers" text,
"reign" text,
"days_held" text,
"location" text,
"event" text
); | SELECT "location" FROM "title_history" WHERE "days_held"='111'; | 2-18963089-2 |
What days held has 1 as the reign with eden black as the wrestlers? | CREATE TABLE "title_history" (
"wrestlers" text,
"reign" text,
"days_held" text,
"location" text,
"event" text
); | SELECT "days_held" FROM "title_history" WHERE "reign"='1' AND "wrestlers"='eden black'; | 2-18963089-2 |
What wrestlers have summer brawl 2006 as the event? | CREATE TABLE "title_history" (
"wrestlers" text,
"reign" text,
"days_held" text,
"location" text,
"event" text
); | SELECT "wrestlers" FROM "title_history" WHERE "event"='summer brawl 2006'; | 2-18963089-2 |
What is the average amount of points larger than 154 laps? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT AVG("points") FROM "race" WHERE "laps">154; | 2-18600952-2 |
What home team played against Crystal Palace? | CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='crystal palace'; | 2-18726561-3 |
What is the lowest win % with a 0-2 record and more than 2 apps? | CREATE TABLE "by_team" (
"rank" real,
"team" text,
"apps" real,
"record" text,
"win_pct" real
); | SELECT MIN("win_pct") FROM "by_team" WHERE "record"='0-2' AND "apps">2; | 2-18634046-2 |
What is the lowest apps for rank 3 and 0% wins? | CREATE TABLE "by_team" (
"rank" real,
"team" text,
"apps" real,
"record" text,
"win_pct" real
); | SELECT MIN("apps") FROM "by_team" WHERE "rank"=3 AND "win_pct"<0; | 2-18634046-2 |
What artist had a peak position under 2, and more than 200,000 in sales? | CREATE TABLE "top_10_albums" (
"rank" real,
"artist" text,
"album" text,
"peak_position" real,
"sales" real,
"certification" text
); | SELECT "artist" FROM "top_10_albums" WHERE "peak_position"<2 AND "sales">'200,000'; | 2-18382509-1 |
Which points has place smaller than 2? | CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
); | SELECT "points" FROM "results" WHERE "place"<2; | 2-185194-1 |
What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"num_county" text,
"year_joined" real,
"previous_conference" text
); | SELECT "size" FROM "membership" WHERE "year_joined"<1974 AND "ihsaa_class"='aa' AND "num_county"='89 wayne' AND "school"='centerville'; | 2-18973139-1 |
What's the year that Hagerstown joined? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"num_county" text,
"year_joined" real,
"previous_conference" text
); | SELECT "year_joined" FROM "membership" WHERE "school"='hagerstown'; | 2-18973139-1 |
What county is Fountain City? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"num_county" text,
"year_joined" real,
"previous_conference" text
); | SELECT "num_county" FROM "membership" WHERE "location"='fountain city'; | 2-18973139-1 |
What's the previous conference of Fountain City with a size more than 287? | CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"num_county" text,
"year_joined" real,
"previous_conference" text
); | SELECT "previous_conference" FROM "membership" WHERE "size">287 AND "location"='fountain city'; | 2-18973139-1 |
What is the people's party with an 8.0% green-communist? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "people_s_party" FROM "116_seats_needed_for_a_majority" WHERE "green_communist"='8.0%'; | 2-1879742-1 |
What is the social democrat released on October 10, 1999? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "social_democratic" FROM "116_seats_needed_for_a_majority" WHERE "date_released"='october 10, 1999'; | 2-1879742-1 |
What is the green-communist with a 15.5% lead? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "green_communist" FROM "116_seats_needed_for_a_majority" WHERE "lead"='15.5%'; | 2-1879742-1 |
What is the left bloc with a 49.0% socialist? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "left_bloc" FROM "116_seats_needed_for_a_majority" WHERE "socialist"='49.0%'; | 2-1879742-1 |
Which polling institute has a 30.7% for social democratic? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "polling_institute" FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='30.7%'; | 2-1879742-1 |
What is the people's party with a 30.0% social democratic? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text,
"lead" text
); | SELECT "people_s_party" FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='30.0%'; | 2-1879742-1 |
What is the week with w 31-21 result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "week" FROM "schedule" WHERE "result"='w 31-21'; | 2-18842997-2 |
In week 7, what was the average attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "week"=7; | 2-18842997-2 |
Who was the opponent on september 10, 1979? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "date"='september 10, 1979'; | 2-18842997-2 |
When was twenty released? | CREATE TABLE "discography" (
"date_of_release" text,
"title" text,
"billboard_peak" text,
"riaa_cert" text,
"label" text
); | SELECT "date_of_release" FROM "discography" WHERE "title"='twenty'; | 2-18713-1 |
On what date was god & guns released? | CREATE TABLE "discography" (
"date_of_release" text,
"title" text,
"billboard_peak" text,
"riaa_cert" text,
"label" text
); | SELECT "date_of_release" FROM "discography" WHERE "title"='god & guns'; | 2-18713-1 |
What was the Billboard peak for the album released on September 12, 2000 by sanctuary? | CREATE TABLE "discography" (
"date_of_release" text,
"title" text,
"billboard_peak" text,
"riaa_cert" text,
"label" text
); | SELECT "billboard_peak" FROM "discography" WHERE "label"='sanctuary' AND "date_of_release"='september 12, 2000'; | 2-18713-1 |
Where did god & guns peak on the Billboard? | CREATE TABLE "discography" (
"date_of_release" text,
"title" text,
"billboard_peak" text,
"riaa_cert" text,
"label" text
); | SELECT "billboard_peak" FROM "discography" WHERE "title"='god & guns'; | 2-18713-1 |
What was the Billboard peak for the album released on February 2, 1976 by MCA? | CREATE TABLE "discography" (
"date_of_release" text,
"title" text,
"billboard_peak" text,
"riaa_cert" text,
"label" text
); | SELECT "billboard_peak" FROM "discography" WHERE "label"='mca' AND "date_of_release"='february 2, 1976'; | 2-18713-1 |
What venue was the tour match against eastern province played at with more than 0 against? | CREATE TABLE "results" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "venue" FROM "results" WHERE "status"='tour match' AND "against">0 AND "opposing_team"='eastern province'; | 2-18690879-1 |
What is the status of the game where there was more than 22 against? | CREATE TABLE "results" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "status" FROM "results" WHERE "against">22; | 2-18690879-1 |
In which game did the opponents score 14 points? | CREATE TABLE "schedule" (
"game" text,
"date" text,
"opponent" text,
"result" text,
"lions_points" text,
"opponents" text,
"record" text,
"streak" text,
"attendance" text
); | SELECT "game" FROM "schedule" WHERE "opponents"='14'; | 2-18811930-2 |
What was the streak after the game on Dec. 12? | CREATE TABLE "schedule" (
"game" text,
"date" text,
"opponent" text,
"result" text,
"lions_points" text,
"opponents" text,
"record" text,
"streak" text,
"attendance" text
); | SELECT "streak" FROM "schedule" WHERE "date"='dec. 12'; | 2-18811930-2 |
What's the AMT 3.0 when it has a feature of Vlan Settings for Intel AMT Network Interfaces? | CREATE TABLE "comparison_of_amt_versions" (
"feature" text,
"amt_1_0_desktop" text,
"amt_2_0_2_1_desktop" text,
"amt_2_5_2_6_mobile" text,
"amt_3_0_desktop" text,
"amt_4_0_mobile" text,
"amt_5_0_desktop" text,
"6_0_desktop_mobile" text,
"7_0_8_0_desktop_mobile" text
); | SELECT "amt_3_0_desktop" FROM "comparison_of_amt_versions" WHERE "feature"='vlan settings for intel amt network interfaces'; | 2-18925475-1 |
What is the number of silver when bronze is 0, and rank is less than 2? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("silver") FROM "medal_table" WHERE "bronze"=0 AND "rank"<2; | 2-1877416-2 |
What is the silver when the Total is 1, and Gold is 1? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "medal_table" WHERE "total"=1 AND "gold"=1; | 2-1877416-2 |
What is the number of silver when the total is less than 1? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medal_table" WHERE "total"<1; | 2-1877416-2 |
What is the largest silver number when the rank is smaller than 1? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "rank"<1; | 2-1877416-2 |
What is the number of bronze when the total is smaller than 1? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_table" WHERE "total"<1; | 2-1877416-2 |
What is the highest number of bronze when silver is larger than 0, rank is larger than 3? | CREATE TABLE "medal_table" (
"rank" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "silver">0 AND "rank">3; | 2-1877416-2 |
What is the lowest number of silvers for countries in rank 12 with more than 0 bronze? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medals_table" WHERE "rank"='12' AND "bronze">0; | 2-18936318-4 |
What is the most number of silvers for teams in rank 5 with more than 6 total medals? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_table" WHERE "rank"='5' AND "total">6; | 2-18936318-4 |
What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medals_table" WHERE "total"=3 AND "silver"<2; | 2-18936318-4 |
What's the number of wins when the flags were less than 8 and 52.11% of wins? | CREATE TABLE "win_loss_record" (
"club" text,
"active" text,
"wins" real,
"losses" real,
"draws" real,
"percentage_wins" text,
"flags" real
); | SELECT COUNT("wins") FROM "win_loss_record" WHERE "percentage_wins"='52.11%' AND "flags"<8; | 2-18628904-27 |
What's the most flags that had 473 wins and less than 633 losses? | CREATE TABLE "win_loss_record" (
"club" text,
"active" text,
"wins" real,
"losses" real,
"draws" real,
"percentage_wins" text,
"flags" real
); | SELECT MAX("flags") FROM "win_loss_record" WHERE "wins"=473 AND "losses"<633; | 2-18628904-27 |
How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10? | CREATE TABLE "win_loss_record" (
"club" text,
"active" text,
"wins" real,
"losses" real,
"draws" real,
"percentage_wins" text,
"flags" real
); | SELECT "wins" FROM "win_loss_record" WHERE "flags">6 AND "draws">10 AND "club"='south warrnambool'; | 2-18628904-27 |
What are the losses of Warrnambool with a draw less than 19? | CREATE TABLE "win_loss_record" (
"club" text,
"active" text,
"wins" real,
"losses" real,
"draws" real,
"percentage_wins" text,
"flags" real
); | SELECT AVG("losses") FROM "win_loss_record" WHERE "club"='warrnambool' AND "draws"<19; | 2-18628904-27 |
What is the Location of the Competition with a Rank-Final of 10? | CREATE TABLE "senior_career" (
"year" real,
"competition_description" text,
"location" text,
"apparatus" text,
"rank_final" text
); | SELECT "location" FROM "senior_career" WHERE "rank_final"='10'; | 2-18507967-4 |
How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank? | CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "men" WHERE "silver"=2 AND "nation"='bulgaria (bul)' AND "rank"<18; | 2-18907412-3 |
What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6? | CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "men" WHERE "rank">6 AND "nation"='great britain (gbr)' AND "silver">1; | 2-18907412-3 |
What's the total silver medals having less than 2 gold and 2 bronze? | CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "men" WHERE "bronze"=2 AND "gold"<2; | 2-18907412-3 |
Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0? | CREATE TABLE "yellow_cards" (
"name" text,
"championship" real,
"league_cup" real,
"fa_cup" real,
"total" real
); | SELECT "name" FROM "yellow_cards" WHERE "championship">2 AND "total">4 AND "fa_cup">0; | 2-18884038-6 |
Which Video has a Channel smaller than 35.66, and a Programming of nhk world? | CREATE TABLE "digital_channels" (
"channel" real,
"video" text,
"aspect" text,
"psip_short_name" text,
"programming" text
); | SELECT "video" FROM "digital_channels" WHERE "channel"<35.66 AND "programming"='nhk world'; | 2-1882668-1 |
Which Video has a PSIP Short Name of rt? | CREATE TABLE "digital_channels" (
"channel" real,
"video" text,
"aspect" text,
"psip_short_name" text,
"programming" text
); | SELECT "video" FROM "digital_channels" WHERE "psip_short_name"='rt'; | 2-1882668-1 |
Which Programming has a Channel of 35.4? | CREATE TABLE "digital_channels" (
"channel" real,
"video" text,
"aspect" text,
"psip_short_name" text,
"programming" text
); | SELECT "programming" FROM "digital_channels" WHERE "channel"=35.4; | 2-1882668-1 |
what is the lowest vuelta wins when the rank is 19 and combo is more than 0? | CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"vuelta_wins" real,
"points" real,
"combo" real,
"different_holders" real
); | SELECT MIN("vuelta_wins") FROM "per_country" WHERE "rank"='19' AND "combo">0; | 2-18676973-3 |
How many times is the country ireland and points more than 4? | CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"vuelta_wins" real,
"points" real,
"combo" real,
"different_holders" real
); | SELECT COUNT("vuelta_wins") FROM "per_country" WHERE "country"='ireland' AND "points">4; | 2-18676973-3 |
What is the format for the MHCP-66 Catalog? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "catalog"='mhcp-66'; | 2-1846051-1 |
What Catalog came out on August 20, 1965? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "date"='august 20, 1965'; | 2-1846051-1 |
What is the catalog with an LP Format and under the Simply Vinyl label? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "format"='lp' AND "label"='simply vinyl'; | 2-1846051-1 |
What date had a CD format, under Columbia/Legacy from the UK? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "format"='cd' AND "label"='columbia/legacy' AND "country"='uk'; | 2-1846051-1 |
What country has an LP format, catalog s 31503? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "country" FROM "release_history" WHERE "format"='lp' AND "catalog"='s 31503'; | 2-1846051-1 |
What is the format for Catalog CL 2372? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "catalog"='cl 2372'; | 2-1846051-1 |
What event has european championships as the tournament, with 2006 as the year? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text,
"points" text
); | SELECT "event" FROM "achievements" WHERE "tournament"='european championships' AND "year"=2006; | 2-18755723-1 |
What average year has international meeting & national championships as the tournament? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text,
"points" text
); | SELECT AVG("year") FROM "achievements" WHERE "tournament"='international meeting & national championships'; | 2-18755723-1 |
What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text,
"points" text
); | SELECT MIN("year") FROM "achievements" WHERE "tournament"='hypo-meeting' AND "points"='8002'; | 2-18755723-1 |
Who was the opponent in the match that lasted 4:17? | 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 "time"='4:17'; | 2-18981955-2 |
Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)? | 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 "round"<3 AND "method"='submission (triangle choke)'; | 2-18981955-2 |
Which event had Carlos Alexandre Pereira as opponent? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='carlos alexandre pereira'; | 2-18981955-2 |
Where was the match that resulted in a win in 4:16 held? | 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 "res"='win' AND "time"='4:16'; | 2-18981955-2 |
What's the population that has a median family income of $50,553? | CREATE TABLE "texas_counties_ranked_by_per_capita_inco" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT COUNT("population") FROM "texas_counties_ranked_by_per_capita_inco" WHERE "median_family_income"='$50,553'; | 2-1840551-1 |
What is the highest rank for the team of egypt? | CREATE TABLE "heat_6" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT MAX("rank") FROM "heat_6" WHERE "country"='egypt'; | 2-18662643-7 |
Who was the athlete from egypt with q in the notes? | CREATE TABLE "heat_6" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "athlete" FROM "heat_6" WHERE "notes"='q' AND "country"='egypt'; | 2-18662643-7 |
What is the 2FM for SW Ireland? | CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" real,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" real
); | SELECT "2_fm_m_hz" FROM "main_sites" WHERE "service_area"='sw ireland'; | 2-18475946-2 |
Name Event of Medal of gold and a Name of duncan white? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "medal"='gold' AND "name"='duncan white'; | 2-18916531-3 |
Name the Event of the Games of 1950 auckland and a Medal of bronze? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "games"='1950 auckland' AND "medal"='bronze'; | 2-18916531-3 |
Which Medal has a Name of alex obeyesekera? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "list_of_medalists" WHERE "name"='alex obeyesekera'; | 2-18916531-3 |
Which Event has a Medal of gold and a Name of barney henricus? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "medal"='gold' AND "name"='barney henricus'; | 2-18916531-3 |
Name the Event of sudesh peiris? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "name"='sudesh peiris'; | 2-18916531-3 |
What year was the developer(s) Bioware? | CREATE TABLE "game_trailers" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT AVG("year") FROM "game_trailers" WHERE "developer_s"='bioware'; | 2-1851722-31 |
What is the genre for 2009 on Playstation 3? | CREATE TABLE "game_trailers" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "genre" FROM "game_trailers" WHERE "year">2009 AND "platform_s"='playstation 3'; | 2-1851722-31 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.