question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen? | 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 "manner_of_departure"='end of tenure as caretaker' AND "replaced_by"='jesper hansen'; | 2-17876216-5 |
What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker? | 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"='pre-season' AND "manner_of_departure"='end of tenure as caretaker'; | 2-17876216-5 |
What place is Fredrik Jacobson from? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "player"='fredrik jacobson'; | 2-18049082-4 |
What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "score"<67 AND "place"='t1' AND "player"='tiger woods'; | 2-18049082-4 |
What place is player Brad Faxon from? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "player"='brad faxon'; | 2-18049082-4 |
What is Sweden's lowest score? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MIN("score") FROM "first_round" WHERE "country"='sweden'; | 2-18049082-4 |
Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? | CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
); | SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "year_built">1894 AND "parish_prestegjeld"='jostedal parish'; | 2-178398-1 |
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje? | CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
); | SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "parish_prestegjeld"='hafslo parish' AND "church_name"='hafslo kyrkje'; | 2-178398-1 |
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes? | CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
); | SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "parish_prestegjeld"='hafslo parish' AND "location_of_the_church"='urnes'; | 2-178398-1 |
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne? | CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
); | SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "year_built"<1883 AND "parish_prestegjeld"='jostedal parish' AND "location_of_the_church"='gaupne'; | 2-178398-1 |
Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje? | CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
); | SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "church_name"='jostedal kyrkje'; | 2-178398-1 |
What's the national title of miss international ikumi yoshimatsu? | CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
); | SELECT "national_title" FROM "titleholders" WHERE "miss_international"='ikumi yoshimatsu'; | 2-1816311-1 |
What's the earliest year the philippines won? | CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
); | SELECT MIN("year") FROM "titleholders" WHERE "country_territory"='philippines'; | 2-1816311-1 |
What's the average year lebanon won? | CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
); | SELECT AVG("year") FROM "titleholders" WHERE "country_territory"='lebanon'; | 2-1816311-1 |
What country or territory is małgorzata rożniecka from? | CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
); | SELECT "country_territory" FROM "titleholders" WHERE "miss_international"='małgorzata rożniecka'; | 2-1816311-1 |
Which team had a league of regionalliga süd? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "teams" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "league"='regionalliga süd'; | 2-17918213-7 |
What was the home for season 1949-50? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "home" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "season"='1949-50'; | 2-17918213-7 |
Which season had a home 2-3? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "season" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "home"='2-3'; | 2-17918213-7 |
Which team had a season 1954-55? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "teams" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "season"='1954-55'; | 2-17918213-7 |
What season has an away 2-0? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "season" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "away"='2-0'; | 2-17918213-7 |
What team has a home of 2-3? | CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
); | SELECT "teams" FROM "bc_augsburg_versus_tsv_schwaben_augsburg" WHERE "home"='2-3'; | 2-17918213-7 |
What is the total that wehn Lithuania is the nation, and Silver is more than 0? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medals_table" WHERE "nation"='lithuania' AND "silver">0; | 2-17766676-3 |
What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("rank") FROM "medals_table" WHERE "bronze">0 AND "gold">1 AND "nation"='japan' AND "silver"<0; | 2-17766676-3 |
What is the rank when the total is less than 1? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("rank") FROM "medals_table" WHERE "total"<1; | 2-17766676-3 |
What is the total when silver is more than 0, and bronze less than 0? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "medals_table" WHERE "silver">0 AND "bronze"<0; | 2-17766676-3 |
What is the rank that when Serbia is the nation, and gold is larger than 0? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medals_table" WHERE "nation"='serbia' AND "gold">0; | 2-17766676-3 |
Which Year(s) won has a To par smaller than 12, and a Player of john daly? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "year_s_won" FROM "missed_the_cut" WHERE "to_par"<12 AND "player"='john daly'; | 2-17807292-2 |
Which Player has a To par of 12, and a Country of fiji? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "player" FROM "missed_the_cut" WHERE "to_par"=12 AND "country"='fiji'; | 2-17807292-2 |
Which Total has a To par larger than 12? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT MIN("total") FROM "missed_the_cut" WHERE "to_par">12; | 2-17807292-2 |
How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT SUM("to_par") FROM "missed_the_cut" WHERE "total">149 AND "country"='united states' AND "year_s_won"='1997'; | 2-17807292-2 |
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? | CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
); | SELECT "network" FROM "list_of_most_watched_television_broadcas" WHERE "rank">5 AND "show"='2012 summer olympics closing ceremony in london'; | 2-182410-14 |
Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 | CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
); | SELECT SUM("rank") FROM "list_of_most_watched_television_broadcas" WHERE "network"='bbc one' AND "number_of_viewers"='30.15million'; | 2-182410-14 |
When has a Rank larger than 2 and a Network of itv? | CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
); | SELECT "date" FROM "list_of_most_watched_television_broadcas" WHERE "rank">2 AND "network"='itv'; | 2-182410-14 |
What is the Term of office for Leonard Reynolds of NSW? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
); | SELECT "term_of_office" FROM "see_also" WHERE "state"='nsw' AND "member"='leonard reynolds'; | 2-1784361-1 |
What state shows for Cunningham? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
); | SELECT "state" FROM "see_also" WHERE "electorate"='cunningham'; | 2-1784361-1 |
What is the Electorate when the term of office was 1955–1972, for Peter Howson? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
); | SELECT "electorate" FROM "see_also" WHERE "term_of_office"='1955–1972' AND "member"='peter howson'; | 2-1784361-1 |
What party has a term of office of 1951–1966, and a State of sa? | CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
); | SELECT "party" FROM "see_also" WHERE "term_of_office"='1951–1966' AND "state"='sa'; | 2-1784361-1 |
What was the Attendance at Jobing.com Arena? | CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
); | SELECT COUNT("attendance") FROM "preseason" WHERE "arena"='jobing.com arena'; | 2-17798130-1 |
What is the Date of the game with a Loss of Leneveu (1–0–1)? | CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
); | SELECT "date" FROM "preseason" WHERE "loss"='leneveu (1–0–1)'; | 2-17798130-1 |
What is the Date with a game with a Record of 2–1–1? | CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
); | SELECT "date" FROM "preseason" WHERE "record"='2–1–1'; | 2-17798130-1 |
What is the Score at Jobing.com Arena? | CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
); | SELECT "score" FROM "preseason" WHERE "arena"='jobing.com arena'; | 2-17798130-1 |
What is the Opponent of the game on September 26? | CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
); | SELECT "opponent" FROM "preseason" WHERE "date"='september 26'; | 2-17798130-1 |
What Label has a Region of united states, and a Format of cassette? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "region"='united states' AND "format"='cassette'; | 2-183362-1 |
What Date has a Label of grilled cheese? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "label"='grilled cheese'; | 2-183362-1 |
What Catalog has a Label of geffen records / universal music special markets? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "label"='geffen records / universal music special markets'; | 2-183362-1 |
What Label has a Format of cd, and a Catalog of crgd 86136? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "format"='cd' AND "catalog"='crgd 86136'; | 2-183362-1 |
What Region has a Catalog of crgd 86136? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "region" FROM "release_history" WHERE "catalog"='crgd 86136'; | 2-183362-1 |
What Label has a Catalog of 486 136-2? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "catalog"='486 136-2'; | 2-183362-1 |
Which Date has an Attendance larger than 51,338, and an Opponent of manchester united? | CREATE TABLE "first_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "first_division" WHERE "attendance">'51,338' AND "opponent"='manchester united'; | 2-17907102-2 |
Which Opponent has a Result of 0-3? | CREATE TABLE "first_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "first_division" WHERE "result"='0-3'; | 2-17907102-2 |
What is the total attendance with a 1-0 result, at Venue H, and Round SF? | CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT SUM("attendance") FROM "uefa_cup_winner_s_cup" WHERE "result"='1-0' AND "venue"='h' AND "round"='sf'; | 2-17960512-5 |
What is the lowest attendance at Venue H in Round R2? | CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "uefa_cup_winner_s_cup" WHERE "venue"='h' AND "round"='r2'; | 2-17960512-5 |
What is the highest attendance for the opponents Club Brugge in Venue A? | CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "uefa_cup_winner_s_cup" WHERE "opponent"='club brugge' AND "venue"='a'; | 2-17960512-5 |
What is the round for the opponent CSKA Sofia in Venue A? | CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "round" FROM "uefa_cup_winner_s_cup" WHERE "opponent"='cska sofia' AND "venue"='a'; | 2-17960512-5 |
What player placed t10? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "place"='t10'; | 2-18164650-3 |
What was Bernhard Langer's highest score? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MAX("score") FROM "first_round" WHERE "player"='bernhard langer'; | 2-18164650-3 |
What was Craig Stadler's lowest score for United states? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MIN("score") FROM "first_round" WHERE "country"='united states' AND "player"='craig stadler'; | 2-18164650-3 |
What Money (£) has a Country of ireland? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "money" FROM "final_round" WHERE "country"='ireland'; | 2-18166348-7 |
What Player has a Place of t10? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_round" WHERE "place"='t10'; | 2-18166348-7 |
What To par has a Score of 71-73-71-71=286? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "score"='71-73-71-71=286'; | 2-18166348-7 |
What Place has a To par of –4? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "to_par"='–4'; | 2-18166348-7 |
What Score has a Place of t8, and a Country of scotland? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "score" FROM "final_round" WHERE "place"='t8' AND "country"='scotland'; | 2-18166348-7 |
What To par has a Country of united states, and a Score of 67-66-78-77=288? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "score"='67-66-78-77=288'; | 2-18166348-7 |
What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT AVG("money") FROM "final_leaderboard" WHERE "country"='united states' AND "to_par"='+3'; | 2-18369370-4 |
What is Money ( $ ), when Player is "Morgan Pressel"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "money" FROM "final_leaderboard" WHERE "player"='morgan pressel'; | 2-18369370-4 |
What is Place, when Player is "Mi Hyun Kim"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "player"='mi hyun kim'; | 2-18369370-4 |
What was the tonnage on 30 march 1943? | CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT AVG("tonnage") FROM "raiding_history" WHERE "date"='30 march 1943'; | 2-17794265-1 |
What was the fate on 27 june 1942? | CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT "fate" FROM "raiding_history" WHERE "date"='27 june 1942'; | 2-17794265-1 |
What was the tonnage on 12 september 1942? | CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT "tonnage" FROM "raiding_history" WHERE "date"='12 september 1942'; | 2-17794265-1 |
What was Yugoslavia's fate? | CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT "fate" FROM "raiding_history" WHERE "nationality"='yugoslavia'; | 2-17794265-1 |
What is the status of the ship INS Ranvir? | CREATE TABLE "ships_of_the_class" (
"name" text,
"pennant" text,
"builder" text,
"homeport" text,
"commissioned" text,
"status" text
); | SELECT "status" FROM "ships_of_the_class" WHERE "name"='ins ranvir'; | 2-1800202-1 |
Who was the builder of the ship INS Rana? | CREATE TABLE "ships_of_the_class" (
"name" text,
"pennant" text,
"builder" text,
"homeport" text,
"commissioned" text,
"status" text
); | SELECT "builder" FROM "ships_of_the_class" WHERE "name"='ins rana'; | 2-1800202-1 |
What is the place in 2007 for the song " work your magic "? | CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
); | SELECT "place" FROM "eurovision_song_contest_entries" WHERE "year"=2007 AND "song"='\" work your magic \"'; | 2-17632536-1 |
Who is the Composer of " peace will come "? | CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
); | SELECT "composer" FROM "eurovision_song_contest_entries" WHERE "song"='\" peace will come \"'; | 2-17632536-1 |
What year shows 248 (sf: 217) points? | CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
); | SELECT COUNT("year") FROM "eurovision_song_contest_entries" WHERE "points"='248 (sf: 217)'; | 2-17632536-1 |
What is the place later than 2007, with 141 (sf:83) points? | CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
); | SELECT "place" FROM "eurovision_song_contest_entries" WHERE "year">2007 AND "points"='141 (sf:83)'; | 2-17632536-1 |
What artist shows 2007 and composer of Hayko? | CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
); | SELECT "artist" FROM "eurovision_song_contest_entries" WHERE "year"=2007 AND "composer"='hayko'; | 2-17632536-1 |
What place is Corey Pavin in? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "player"='corey pavin'; | 2-18116595-6 |
Which 1991-92 has a 1993-94 smaller than 34, and a Team of argentinos juniors? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT "1991_92" FROM "relegation" WHERE "1993_94"<34 AND "team"='argentinos juniors'; | 2-17968282-1 |
How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT SUM("points") FROM "relegation" WHERE "average"<1 AND "played">38 AND "team"='gimnasia de la plata'; | 2-17968282-1 |
Which 1992-93 has Played of 114, and a 1991-92 of 48? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT "1992_93" FROM "relegation" WHERE "played"=114 AND "1991_92"='48'; | 2-17968282-1 |
Which 1991-92 has a 1993-94 of 43? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT "1991_92" FROM "relegation" WHERE "1993_94"=43; | 2-17968282-1 |
Which 1992-93 has a 1993-94 of 43? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT "1992_93" FROM "relegation" WHERE "1993_94"=43; | 2-17968282-1 |
Which Atomic property has Helium of 4.16? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "atomic_property" FROM "atomic_properties" WHERE "helium"='4.16'; | 2-18225689-5 |
Which Krypton has Neon of 10? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "krypton" FROM "atomic_properties" WHERE "neon"='10'; | 2-18225689-5 |
Which Radon has Neon of 4.79? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "radon" FROM "atomic_properties" WHERE "neon"='4.79'; | 2-18225689-5 |
Which Neon has Atomic property of average valence electron energy (avee)? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "neon" FROM "atomic_properties" WHERE "atomic_property"='average valence electron energy (avee)'; | 2-18225689-5 |
Which Radon has Atomic property of outer shell electron configuration? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "radon" FROM "atomic_properties" WHERE "atomic_property"='outer shell electron configuration'; | 2-18225689-5 |
Which Xenon has Neon of 20.1797(6)? | CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
); | SELECT "xenon" FROM "atomic_properties" WHERE "neon"='20.1797(6)'; | 2-18225689-5 |
What is the highest attendance of the game with eastwood town as the away team? | CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT MAX("attendance") FROM "ties" WHERE "away_team"='eastwood town'; | 2-18054397-17 |
What place is Scott McCarron in? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "player"='scott mccarron'; | 2-18059698-7 |
What is Alexandr Elke's Weight? | CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "weight" FROM "kazakhstan" WHERE "name"='alexandr elke'; | 2-17759945-9 |
What is the Name of the D Player from the Dinamo Moscow Club? | CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "name" FROM "kazakhstan" WHERE "club"='dinamo moscow' AND "pos"='d'; | 2-17759945-9 |
What is the Date of Birth of the Player from the CSK VMF Moscow Club? | CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "date_of_birth" FROM "kazakhstan" WHERE "club"='csk vmf moscow'; | 2-17759945-9 |
What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)? | CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "weight" FROM "kazakhstan" WHERE "club"='dshnk almaty' AND "height"='m (ft 6in)'; | 2-17759945-9 |
Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38? | CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT SUM("position") FROM "relegation_playoff" WHERE "goals_against"<43 AND "wins">14 AND "played">38; | 2-17846691-2 |
Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32? | CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("goals_for") FROM "relegation_playoff" WHERE "position"<16 AND "wins"<19 AND "goals_against"<32; | 2-17846691-2 |
Which Points have Goals against of 32, and Played larger than 38? | CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("points") FROM "relegation_playoff" WHERE "goals_against"=32 AND "played">38; | 2-17846691-2 |
Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35? | CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT AVG("position") FROM "relegation_playoff" WHERE "goals_against"<59 AND "goals_for">32 AND "draws">9 AND "points">35; | 2-17846691-2 |
What district re-elected a Republican? | CREATE TABLE "connecticut" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
); | SELECT "district" FROM "connecticut" WHERE "party"='republican' AND "results"='re-elected'; | 2-1805191-8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.