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 average Caboolture population with a Redcliffe population greater than 27,327, a Pine Rivers population greater than 119,236, and a total population greater than 344,878 after 1971? | CREATE TABLE "population" (
"year" real,
"population_total" real,
"caboolture" real,
"pine_rivers" real,
"redcliffe" real
); | SELECT AVG("caboolture") FROM "population" WHERE "redcliffe">'27,327' AND "pine_rivers">'119,236' AND "year">1971 AND "population_total">'344,878'; | 2-12523323-1 |
In which place is Emmet French? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "player"='emmet french'; | 2-12572213-2 |
What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "gold_coast" FROM "1995" WHERE "melbourne"='yes' AND "perth"='no' AND "adelaide"='yes'; | 2-12230393-4 |
What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "melbourne" FROM "1995" WHERE "adelaide"='yes' AND "sydney"='yes' AND "perth"='yes' AND "gold_coast"='no'; | 2-12230393-4 |
What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "melbourne" FROM "1995" WHERE "gold_coast"='no' AND "perth"='no' AND "auckland"='no' AND "sydney"='no'; | 2-12230393-4 |
What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "gold_coast" FROM "1995" WHERE "adelaide"='yes' AND "auckland"='no' AND "perth"='yes'; | 2-12230393-4 |
What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "gold_coast" FROM "1995" WHERE "melbourne"='yes' AND "sydney"='yes' AND "auckland"='no' AND "perth"='no'; | 2-12230393-4 |
What is the result for Melbourne when Adelaide is no, and Auckland is yes? | CREATE TABLE "1995" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "melbourne" FROM "1995" WHERE "adelaide"='no' AND "auckland"='yes'; | 2-12230393-4 |
Who won on 3 june? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "winner" FROM "stage_results" WHERE "date"='3 june'; | 2-12514326-1 |
Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "date" FROM "stage_results" WHERE "race_leader"='hermann buse ( ger )' AND "stage"='5'; | 2-12514326-1 |
Which race Leader has a Stage of 7? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "race_leader" FROM "stage_results" WHERE "stage"='7'; | 2-12514326-1 |
Which date has a Stage of 12? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "date" FROM "stage_results" WHERE "stage"='12'; | 2-12514326-1 |
What was the result for song of the year award in 1994? | CREATE TABLE "apra_awards" (
"year" real,
"country" text,
"nominated_work" text,
"award" text,
"result" text
); | SELECT "result" FROM "apra_awards" WHERE "year"=1994 AND "award"='song of the year'; | 2-12662040-2 |
What was the result for work made by Neil Finn? | CREATE TABLE "apra_awards" (
"year" real,
"country" text,
"nominated_work" text,
"award" text,
"result" text
); | SELECT "result" FROM "apra_awards" WHERE "nominated_work"='neil finn'; | 2-12662040-2 |
what is the money for argentina? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT COUNT("money") FROM "final_round" WHERE "country"='argentina'; | 2-12531523-6 |
what is the money for trevor immelman? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "money" FROM "final_round" WHERE "player"='trevor immelman'; | 2-12531523-6 |
what is the place for ireland? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "country"='ireland'; | 2-12531523-6 |
What result was a date of 20/03/2008 with leeds as the opponent | CREATE TABLE "2008_fixtures_results" (
"date" text,
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"goals" text,
"attendance" real,
"report" text
); | SELECT "result" FROM "2008_fixtures_results" WHERE "opponent"='leeds' AND "date"='20/03/2008'; | 2-13018700-4 |
What was the HT for the game at Stadio Luigi Ferraris? | CREATE TABLE "independent_state_of_croatia" (
"date" text,
"score" text,
"h_t" text,
"venue" text,
"competition" text
); | SELECT "h_t" FROM "independent_state_of_croatia" WHERE "venue"='stadio luigi ferraris'; | 2-12980043-2 |
What was the HT for the game at Zagreb, with a full-time score of 0-2? | CREATE TABLE "independent_state_of_croatia" (
"date" text,
"score" text,
"h_t" text,
"venue" text,
"competition" text
); | SELECT "h_t" FROM "independent_state_of_croatia" WHERE "venue"='zagreb' AND "score"='0-2'; | 2-12980043-2 |
What was the competition that was played in Zurich? | CREATE TABLE "independent_state_of_croatia" (
"date" text,
"score" text,
"h_t" text,
"venue" text,
"competition" text
); | SELECT "competition" FROM "independent_state_of_croatia" WHERE "venue"='zurich'; | 2-12980043-2 |
When was the first game associated with over 4 losses? | CREATE TABLE "rugby_russia_internationals_1994" (
"first_game" real,
"played" real,
"drawn" real,
"lost" real,
"percentage" text
); | SELECT "first_game" FROM "rugby_russia_internationals_1994" WHERE "lost">4; | 2-13106281-1 |
What is the lowest number of games drawn associated with over 39 games played? | CREATE TABLE "rugby_russia_internationals_1994" (
"first_game" real,
"played" real,
"drawn" real,
"lost" real,
"percentage" text
); | SELECT MIN("drawn") FROM "rugby_russia_internationals_1994" WHERE "played">39; | 2-13106281-1 |
What is the highest number of losses when there are under 1 games played? | CREATE TABLE "rugby_russia_internationals_1994" (
"first_game" real,
"played" real,
"drawn" real,
"lost" real,
"percentage" text
); | SELECT MAX("lost") FROM "rugby_russia_internationals_1994" WHERE "played"<1; | 2-13106281-1 |
What location has more than 2 games with 2:56? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "location" FROM "summary" WHERE "game">2 AND "time"='2:56'; | 2-1219513-1 |
What location has October 10 as date? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "location" FROM "summary" WHERE "date"='october 10'; | 2-1219513-1 |
what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? | CREATE TABLE "community_council" (
"parties_and_voter_communities" text,
"pct_2006" real,
"seats_2006" real,
"pct_2001" real,
"seats_2001" real
); | SELECT MAX("seats_2006") FROM "community_council" WHERE "pct_2001"=39 AND "seats_2001"<12; | 2-12200964-1 |
what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5? | CREATE TABLE "community_council" (
"parties_and_voter_communities" text,
"pct_2006" real,
"seats_2006" real,
"pct_2001" real,
"seats_2001" real
); | SELECT SUM("seats_2006") FROM "community_council" WHERE "parties_and_voter_communities"='voter turnout in %' AND "pct_2006">51.5; | 2-12200964-1 |
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? | CREATE TABLE "community_council" (
"parties_and_voter_communities" text,
"pct_2006" real,
"seats_2006" real,
"pct_2001" real,
"seats_2001" real
); | SELECT SUM("seats_2001") FROM "community_council" WHERE "parties_and_voter_communities"='cdu' AND "seats_2006">10; | 2-12200964-1 |
What was the loss of the game when the record was 3β2? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text,
"stadium" text
); | SELECT "loss" FROM "game_log" WHERE "record"='3β2'; | 2-12238001-7 |
Who was the opponent at the game that had a loss of Shields (1β1)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text,
"stadium" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='shields (1β1)'; | 2-12238001-7 |
Who is the opponent for Andrew Symonds in the 2004 season? | CREATE TABLE "highest_individual_score" (
"runs" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
); | SELECT "opponent" FROM "highest_individual_score" WHERE "player"='andrew symonds' AND "season"='2004'; | 2-12643669-8 |
Name th country of origin for journey | CREATE TABLE "75_million_to_79_million_records" (
"artist" text,
"country_of_origin" text,
"period_active" text,
"release_year_of_first_charted_record" real,
"genre" text,
"claimed_sales" text
); | SELECT "country_of_origin" FROM "75_million_to_79_million_records" WHERE "artist"='journey'; | 2-1291598-6 |
Name the period active for enya | CREATE TABLE "75_million_to_79_million_records" (
"artist" text,
"country_of_origin" text,
"period_active" text,
"release_year_of_first_charted_record" real,
"genre" text,
"claimed_sales" text
); | SELECT "period_active" FROM "75_million_to_79_million_records" WHERE "artist"='enya'; | 2-1291598-6 |
Name the genre for release-year of firsst charted less than 1980 and origin of jamaica | CREATE TABLE "75_million_to_79_million_records" (
"artist" text,
"country_of_origin" text,
"period_active" text,
"release_year_of_first_charted_record" real,
"genre" text,
"claimed_sales" text
); | SELECT "genre" FROM "75_million_to_79_million_records" WHERE "release_year_of_first_charted_record"<1980 AND "country_of_origin"='jamaica'; | 2-1291598-6 |
In which election was the constituency abolished? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='constituency abolished'; | 2-12264624-1 |
What was the 1st party with a 1st member of John Willis Fleming? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "members_of_parliament" WHERE "1st_member"='john willis fleming'; | 2-12264624-1 |
What is the 1st party when the 2nd party is constituency abolished? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "members_of_parliament" WHERE "2nd_party"='constituency abolished'; | 2-12264624-1 |
Who is the 2nd member during 1885 election? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "2nd_member" FROM "members_of_parliament" WHERE "election"='1885'; | 2-12264624-1 |
What is the 1st party during the 1857 election? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "members_of_parliament" WHERE "election"='1857'; | 2-12264624-1 |
Which language has the percentage of 2.54? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "language" FROM "language" WHERE "percentage_pct"='2.54'; | 2-12334267-1 |
What is the number of females that has the Polish language? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "females" FROM "language" WHERE "language"='polish'; | 2-12334267-1 |
What was the number of males that had the number females 62 331? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "males" FROM "language" WHERE "females"='62 331'; | 2-12334267-1 |
Which position has a sophomore class? | CREATE TABLE "women" (
"season" text,
"player" text,
"school" text,
"position" text,
"class" text
); | SELECT "position" FROM "women" WHERE "class"='sophomore'; | 2-1243492-3 |
What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472? | CREATE TABLE "final_competition_scores" (
"state" text,
"preliminaries" real,
"interview" real,
"swimsuit" real,
"evening_gown" real,
"average" real
); | SELECT MIN("preliminaries") FROM "final_competition_scores" WHERE "evening_gown"=8.472; | 2-12270475-1 |
Which Set 3 has a Set 1 of 25β20? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "set_3" FROM "pool_a" WHERE "set_1"='25β20'; | 2-12126365-3 |
Which Set 3 has a Time of 10:00, and a Set 2 of 25β19? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "set_3" FROM "pool_a" WHERE "time"='10:00' AND "set_2"='25β19'; | 2-12126365-3 |
Which Set 1 has a Set 3 of 16β25? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "set_1" FROM "pool_a" WHERE "set_3"='16β25'; | 2-12126365-3 |
Which Set 3 has a Score of 0β3, a Time of 18:30, and a Date of july 10? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "set_3" FROM "pool_a" WHERE "score"='0β3' AND "time"='18:30' AND "date"='july 10'; | 2-12126365-3 |
Which score has a Set 2 of 17β25, and a Total of 48β75? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "score" FROM "pool_a" WHERE "set_2"='17β25' AND "total"='48β75'; | 2-12126365-3 |
Which set 3 has a Time of 10:00, and a Score of 3β2, and a Total of 113β102? | CREATE TABLE "pool_a" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text,
"report" text
); | SELECT "set_3" FROM "pool_a" WHERE "time"='10:00' AND "score"='3β2' AND "total"='113β102'; | 2-12126365-3 |
Is it live or studio before 1983? | CREATE TABLE "discography" (
"year" real,
"title" text,
"role" text,
"cast" text,
"live_studio" text,
"label" text
); | SELECT "live_studio" FROM "discography" WHERE "year"<1983; | 2-12266166-1 |
What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"country" text,
"score" real,
"to_par" text,
"1st_prize" real
); | SELECT COUNT("1st_prize") FROM "winners" WHERE "country"='united states' AND "score"<271 AND "year">1964 AND "winner"='bobby mitchell'; | 2-12919860-2 |
What is the round for marcus howard? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "indianapolis_colts_draft_history" WHERE "name"='marcus howard'; | 2-13312898-56 |
What is the highest laps with a 30 finish? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT MAX("laps") FROM "indy_500_results" WHERE "finish"='30'; | 2-1235785-1 |
What is the rank of the 150.163 qual? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "qual"='150.163'; | 2-1235785-1 |
What is the lowest laps with a 142.744 qual? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT MIN("laps") FROM "indy_500_results" WHERE "qual"='142.744'; | 2-1235785-1 |
What year had less than 160 laps and a rank of 26? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "year" FROM "indy_500_results" WHERE "laps"<160 AND "rank"='26'; | 2-1235785-1 |
for the other of soun, what's the khmer? | CREATE TABLE "numbers_from_0_5" (
"value" real,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text
); | SELECT "khmer" FROM "numbers_from_0_5" WHERE "other"='soun'; | 2-1270572-2 |
for the other of mouy, what's the khmer? | CREATE TABLE "numbers_from_0_5" (
"value" real,
"khmer" real,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"other" text
); | SELECT "khmer" FROM "numbers_from_0_5" WHERE "other"='mouy'; | 2-1270572-2 |
What is the language of the film directed by Hans Kristensen? | CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
); | SELECT "language" FROM "references" WHERE "director"='hans kristensen'; | 2-13009407-1 |
What is the original title of the film for which Dersu Uzala was nominated? | CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
); | SELECT "original_title" FROM "references" WHERE "film_title_used_in_nomination"='dersu uzala'; | 2-13009407-1 |
What is Argentina's language? | CREATE TABLE "references" (
"country" text,
"film_title_used_in_nomination" text,
"language" text,
"original_title" text,
"director" text
); | SELECT "language" FROM "references" WHERE "country"='argentina'; | 2-13009407-1 |
What chassis did Jolly Club Spa used after 1985? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year">1985 AND "entrant"='jolly club spa'; | 2-1226710-1 |
What engine was paired with Minardi m187? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "chassis"='minardi m187'; | 2-1226710-1 |
What is the highest points with g Tyres and Minardi m187? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "tyres"='g' AND "chassis"='minardi m187'; | 2-1226710-1 |
What Chassis has g Tyres before 1987? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "tyres"='g' AND "year"<1987; | 2-1226710-1 |
How many years were g Tyres and Minardi m187 used? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "tyres"='g' AND "chassis"='minardi m187'; | 2-1226710-1 |
What engine what in the vehicle when adt champion racing ranked in 1st place? | CREATE TABLE "complete_american_le_mans_series_results" (
"year" real,
"entrant" text,
"class" text,
"chassis" text,
"engine" text,
"tyres" text,
"rank" text,
"points" real
); | SELECT "engine" FROM "complete_american_le_mans_series_results" WHERE "rank"='1st' AND "entrant"='adt champion racing'; | 2-1219777-5 |
What Chassis ranked 18th? | CREATE TABLE "complete_american_le_mans_series_results" (
"year" real,
"entrant" text,
"class" text,
"chassis" text,
"engine" text,
"tyres" text,
"rank" text,
"points" real
); | SELECT "chassis" FROM "complete_american_le_mans_series_results" WHERE "rank"='18th'; | 2-1219777-5 |
What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points? | CREATE TABLE "complete_american_le_mans_series_results" (
"year" real,
"entrant" text,
"class" text,
"chassis" text,
"engine" text,
"tyres" text,
"rank" text,
"points" real
); | SELECT "class" FROM "complete_american_le_mans_series_results" WHERE "points"<206 AND "chassis"='audi r8' AND "entrant"='adt champion racing' AND "rank"='1st'; | 2-1219777-5 |
Who were the winner and nominees in 2001? | CREATE TABLE "nickelodeon_movies" (
"year" real,
"category" text,
"film" text,
"winner_nominee_s" text,
"result" text
); | SELECT "winner_nominee_s" FROM "nickelodeon_movies" WHERE "year"=2001; | 2-1305286-7 |
Who is nominated for the film Rugrats Go Wild? | CREATE TABLE "nickelodeon_movies" (
"year" real,
"category" text,
"film" text,
"winner_nominee_s" text,
"result" text
); | SELECT "winner_nominee_s" FROM "nickelodeon_movies" WHERE "result"='nominated' AND "film"='rugrats go wild'; | 2-1305286-7 |
How many goals did he score with under 26 appearances for werder bremen? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"country" text,
"competition" text,
"apps" real,
"goals" real
); | SELECT COUNT("goals") FROM "statistics" WHERE "apps"<26 AND "club"='werder bremen'; | 2-12471124-1 |
How many goals did he have in the bundesliga with under 7 appearances? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"country" text,
"competition" text,
"apps" real,
"goals" real
); | SELECT AVG("goals") FROM "statistics" WHERE "competition"='bundesliga' AND "apps"<7; | 2-12471124-1 |
What season did he have 7 appearances? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"country" text,
"competition" text,
"apps" real,
"goals" real
); | SELECT "season" FROM "statistics" WHERE "apps"=7; | 2-12471124-1 |
What is the to par for the score 73-71=144? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "score"='73-71=144'; | 2-13073611-2 |
What area did Julius Boros play at? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='julius boros'; | 2-13073611-2 |
What country has a score of 74-70=144 | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "score"='74-70=144'; | 2-13073611-2 |
Which of the Canterbury has a Central District of 276* M.D. Crowe & P.S. Briasco V (C) 1986/87? | CREATE TABLE "highest_partnerships" (
"auckland" text,
"canterbury" text,
"central_districts" text,
"otago" text,
"wellington" text
); | SELECT "canterbury" FROM "highest_partnerships" WHERE "central_districts"='276* m.d. crowe & p.s. briasco v (c) 1986/87'; | 2-12898654-7 |
What is Auckland thats got Otago of 184 R.C. Blunt & W. Hawksworth V (C) 1931/32? | CREATE TABLE "highest_partnerships" (
"auckland" text,
"canterbury" text,
"central_districts" text,
"otago" text,
"wellington" text
); | SELECT "auckland" FROM "highest_partnerships" WHERE "otago"='184 r.c. blunt & w. hawksworth v (c) 1931/32'; | 2-12898654-7 |
What tournament was after 2009? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
); | SELECT "tournament" FROM "achievements" WHERE "year">2009; | 2-13045657-1 |
What event was held in Chihuahua, Mexico? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
); | SELECT "event" FROM "achievements" WHERE "venue"='chihuahua, mexico'; | 2-13045657-1 |
Can you tell me the total number of Rank that has the Area (km 2) smaller than 2,040, and the Population smaller than 1,234,596? | CREATE TABLE "with_population_above_1_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT COUNT("rank") FROM "with_population_above_1_million" WHERE "area_km_2"<'2,040' AND "population"<'1,234,596'; | 2-128608-1 |
Can you tell me the sun of Population that has the Country/Region of hong kong, and the Rank smaller than 2? | CREATE TABLE "with_population_above_1_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT SUM("population") FROM "with_population_above_1_million" WHERE "country_region"='hong kong' AND "rank"<2; | 2-128608-1 |
Who is the manager with the Hewlett-Packard shirt sponsor? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "manager_1" FROM "personnel_and_kits" WHERE "shirt_sponsor"='hewlett-packard'; | 2-1269575-1 |
Who is the captain of the team that has a kit manufacturer of Fox Leisure? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "captain" FROM "personnel_and_kits" WHERE "kit_manufacturer"='fox leisure'; | 2-1269575-1 |
One2one is the shirt sponsor for the captain of what team? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "captain" FROM "personnel_and_kits" WHERE "shirt_sponsor"='one2one'; | 2-1269575-1 |
What company is the kit manufacturer that Gareth Southgate belongs to? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "kit_manufacturer" FROM "personnel_and_kits" WHERE "captain"='gareth southgate'; | 2-1269575-1 |
for the tournament of world amateur championship what was the result in 2010? | CREATE TABLE "awards_and_honours" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
); | SELECT "result" FROM "awards_and_honours" WHERE "year"=2010 AND "tournament"='world amateur championship'; | 2-12426364-1 |
Which location had a race that took place on 22 July 2011 and has a rank greater than 8? | CREATE TABLE "junior_under_20_men" (
"rank" real,
"fastest_time_s" real,
"wind_m_s" real,
"athlete" text,
"country" text,
"date" text,
"location" text
); | SELECT "location" FROM "junior_under_20_men" WHERE "rank">8 AND "date"='22 july 2011'; | 2-1231316-4 |
How many gold medals for the school with 2 total medals and under 0 bronzes? | CREATE TABLE "percussion_scholastic_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
); | SELECT COUNT("gold_medals") FROM "percussion_scholastic_open_class" WHERE "total_medals"=2 AND "bronze_medals"<0; | 2-1305623-14 |
How many gold medals for bellbrook HS with less than 1 silver? | CREATE TABLE "percussion_scholastic_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
); | SELECT COUNT("gold_medals") FROM "percussion_scholastic_open_class" WHERE "ensemble"='bellbrook hs' AND "silver_medals"<1; | 2-1305623-14 |
How many silvers for a school with 2 golds and over 2 total? | CREATE TABLE "percussion_scholastic_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
); | SELECT "silver_medals" FROM "percussion_scholastic_open_class" WHERE "gold_medals"=2 AND "total_medals">2; | 2-1305623-14 |
How many gold medals for the school with less than 1 total? | CREATE TABLE "percussion_scholastic_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
); | SELECT COUNT("gold_medals") FROM "percussion_scholastic_open_class" WHERE "total_medals"<1; | 2-1305623-14 |
What is the entrant for 1967? | CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" text
); | SELECT "entrant" FROM "formula_one_world_championship_results" WHERE "year"=1967; | 2-1226546-1 |
What ist he entrant later than 1963 with an eagle MK1 chassis? | CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" text
); | SELECT "entrant" FROM "formula_one_world_championship_results" WHERE "year">1963 AND "chassis"='eagle mk1'; | 2-1226546-1 |
What is the entrant that has 0 points? | CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" text
); | SELECT "entrant" FROM "formula_one_world_championship_results" WHERE "pts"='0'; | 2-1226546-1 |
What is the earliest year with 16 points? | CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" text
); | SELECT MIN("year") FROM "formula_one_world_championship_results" WHERE "pts"='16'; | 2-1226546-1 |
Name the venue for margin less than 66 and opponent of north queensland cowboys | CREATE TABLE "biggest_wins" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT "venue" FROM "biggest_wins" WHERE "margin"<66 AND "opponent"='north queensland cowboys'; | 2-13274816-9 |
Subsets and Splits