question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What country had the car with the Jawa 350cc engine? | CREATE TABLE "list" (
"country" text,
"automobile_name" text,
"manufacturer" text,
"engine_make_capacity" text,
"year" text
); | SELECT "country" FROM "list" WHERE "engine_make_capacity"='jawa 350cc'; | 2-15659438-1 |
In what country was the car with the čz 171cc engine? | CREATE TABLE "list" (
"country" text,
"automobile_name" text,
"manufacturer" text,
"engine_make_capacity" text,
"year" text
); | SELECT "country" FROM "list" WHERE "engine_make_capacity"='čz 171cc'; | 2-15659438-1 |
What is the name of the car that was made in the years 1956-1958? | CREATE TABLE "list" (
"country" text,
"automobile_name" text,
"manufacturer" text,
"engine_make_capacity" text,
"year" text
); | SELECT "automobile_name" FROM "list" WHERE "year"='1956-1958'; | 2-15659438-1 |
What is the name of the car manufactured by Letecke Zavody N.P., Jinonice? | CREATE TABLE "list" (
"country" text,
"automobile_name" text,
"manufacturer" text,
"engine_make_capacity" text,
"year" text
); | SELECT "automobile_name" FROM "list" WHERE "manufacturer"='letecke zavody n.p., jinonice'; | 2-15659438-1 |
Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963? | CREATE TABLE "list" (
"country" text,
"automobile_name" text,
"manufacturer" text,
"engine_make_capacity" text,
"year" text
); | SELECT "manufacturer" FROM "list" WHERE "engine_make_capacity"='jawa 249cc' AND "year"='1956-1963'; | 2-15659438-1 |
What is the Set 2 with a Date that is jun 29? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_2" FROM "results_pool_c" WHERE "date"='jun 29'; | 2-15945725-7 |
What is the Set 1 with a Set 2 that is 25-19? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_1" FROM "results_pool_c" WHERE "set_2"='25-19'; | 2-15945725-7 |
What is the Set 5 with a Date that is jun 29? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_5" FROM "results_pool_c" WHERE "date"='jun 29'; | 2-15945725-7 |
When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text,
"construction_completed" text,
"partially_deleted" text,
"deleted" text
); | SELECT "construction_completed" FROM "superfund_sites" WHERE "listed"='09/21/1984' AND "deleted"='11/04/1999'; | 2-15732843-1 |
What is the partially deleted result for a completed construction of m– in St. Maries Creosote? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text,
"construction_completed" text,
"partially_deleted" text,
"deleted" text
); | SELECT "partially_deleted" FROM "superfund_sites" WHERE "construction_completed"='–' AND "name"='st. maries creosote'; | 2-15732843-1 |
What is the partially deleted result for Bunker Hill Mining & Metallurgical? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text,
"construction_completed" text,
"partially_deleted" text,
"deleted" text
); | SELECT "partially_deleted" FROM "superfund_sites" WHERE "name"='bunker hill mining & metallurgical'; | 2-15732843-1 |
What is the partially deleted result for a deleted of m– in Valley? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text,
"construction_completed" text,
"partially_deleted" text,
"deleted" text
); | SELECT "partially_deleted" FROM "superfund_sites" WHERE "deleted"='–' AND "county"='valley'; | 2-15732843-1 |
How many matches ended with more than 22 points? | CREATE TABLE "second_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT SUM("match") FROM "second_league" WHERE "points">22; | 2-15434792-3 |
What is the value in 1965 when 7 is the value for 1967? | CREATE TABLE "grand_tour_results_timeline" (
"1965" text,
"1966" text,
"1967" text,
"1968" text,
"1969" text,
"1970" text,
"1971" text,
"1972" text
); | SELECT "1965" FROM "grand_tour_results_timeline" WHERE "1967"='7'; | 2-1568184-1 |
What is the value in 1971 when 30 is the value for 1969? | CREATE TABLE "grand_tour_results_timeline" (
"1965" text,
"1966" text,
"1967" text,
"1968" text,
"1969" text,
"1970" text,
"1971" text,
"1972" text
); | SELECT "1971" FROM "grand_tour_results_timeline" WHERE "1969"='30'; | 2-1568184-1 |
What was the value in 1966 with a 0 value in 1969? | CREATE TABLE "grand_tour_results_timeline" (
"1965" text,
"1966" text,
"1967" text,
"1968" text,
"1969" text,
"1970" text,
"1971" text,
"1972" text
); | SELECT "1966" FROM "grand_tour_results_timeline" WHERE "1969"='0'; | 2-1568184-1 |
Who was the player moving to Arminia Bielefeld? | CREATE TABLE "squad_changes" (
"nat" text,
"name" text,
"moving_to" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "name" FROM "squad_changes" WHERE "moving_to"='arminia bielefeld'; | 2-15956066-3 |
What tournament had a Winning score of –9 (69-72-68-70=279)? | CREATE TABLE "pga_tour_wins_13" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_13" WHERE "winning_score"='–9 (69-72-68-70=279)'; | 2-1544297-2 |
What was the winning score of the Greater Vancouver Open tournament? | CREATE TABLE "pga_tour_wins_13" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_13" WHERE "tournament"='greater vancouver open'; | 2-1544297-2 |
Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes? | CREATE TABLE "pga_tour_wins_13" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "pga_tour_wins_13" WHERE "margin_of_victory"='3 strokes' AND "winning_score"='–13 (68-70-66-71=275)'; | 2-1544297-2 |
What was the Margin of victory in the southwest golf classic Tournament? | CREATE TABLE "pga_tour_wins_13" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_13" WHERE "tournament"='southwest golf classic'; | 2-1544297-2 |
When the Winning score was –9 (69-72-68-70=279), what was the Margin of victory? | CREATE TABLE "pga_tour_wins_13" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_13" WHERE "winning_score"='–9 (69-72-68-70=279)'; | 2-1544297-2 |
What height has a floor count less than 25? | CREATE TABLE "tallest_buildings_by_state_or_territory" (
"state_territory" text,
"building" text,
"height" text,
"floor_count" real,
"completed" real
); | SELECT "height" FROM "tallest_buildings_by_state_or_territory" WHERE "floor_count"<25; | 2-1560126-1 |
What state/territory has 121 m as the height? | CREATE TABLE "tallest_buildings_by_state_or_territory" (
"state_territory" text,
"building" text,
"height" text,
"floor_count" real,
"completed" real
); | SELECT "state_territory" FROM "tallest_buildings_by_state_or_territory" WHERE "height"='121 m'; | 2-1560126-1 |
What state/territory has lovett tower as the building? | CREATE TABLE "tallest_buildings_by_state_or_territory" (
"state_territory" text,
"building" text,
"height" text,
"floor_count" real,
"completed" real
); | SELECT "state_territory" FROM "tallest_buildings_by_state_or_territory" WHERE "building"='lovett tower'; | 2-1560126-1 |
What was the date of the game against Oakland Raiders? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "season_schedule" WHERE "opponent"='oakland raiders'; | 2-15428626-1 |
What year has 2 wins? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "year" FROM "performance_summary_in_champions_league" WHERE "wins"='2'; | 2-15829930-8 |
What is the success rate for the year 2012? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "success_rate" FROM "performance_summary_in_champions_league" WHERE "year"='2012'; | 2-15829930-8 |
What was the win for 4 matches with a success rate of 25%? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "wins" FROM "performance_summary_in_champions_league" WHERE "matches"='4' AND "success_rate"='25%'; | 2-15829930-8 |
what was the win for the 6 matches? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "wins" FROM "performance_summary_in_champions_league" WHERE "matches"='6'; | 2-15829930-8 |
What is the losses for the 5 matches? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "losses" FROM "performance_summary_in_champions_league" WHERE "matches"='5'; | 2-15829930-8 |
What is the losses for the year 2012? | CREATE TABLE "performance_summary_in_champions_league" (
"year" text,
"matches" text,
"wins" text,
"losses" text,
"no_result" text,
"success_rate" text
); | SELECT "losses" FROM "performance_summary_in_champions_league" WHERE "year"='2012'; | 2-15829930-8 |
What is the average Total with a Gold that is larger than 4? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medal_table" WHERE "gold">4; | 2-15615996-1 |
What is the average Total with a Bronze that is larger than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medal_table" WHERE "bronze">1; | 2-15615996-1 |
Who were the Brazil scorers for the World Cup Competition with a 1-2 score? | CREATE TABLE "brazil_national_team" (
"date" text,
"result" text,
"score" text,
"brazil_scorers" text,
"competition" text
); | SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "competition"='world cup' AND "score"='1-2'; | 2-15371152-3 |
Which competition had a 4-3 score? | CREATE TABLE "brazil_national_team" (
"date" text,
"result" text,
"score" text,
"brazil_scorers" text,
"competition" text
); | SELECT "competition" FROM "brazil_national_team" WHERE "score"='4-3'; | 2-15371152-3 |
What is the highest Top-5 that has 18 or more events with a Top-25 of 23? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_5") FROM "summary" WHERE "events">18 AND "top_25"=23; | 2-1584996-5 |
What is the lowest cuts made that had a Top-25 less than 6 and wins greater than 0? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("cuts_made") FROM "summary" WHERE "top_25"<6 AND "wins"<0; | 2-1584996-5 |
What race did Glenn Seton win on the Sandown International Raceway circuit? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "race_title" FROM "race_calendar" WHERE "winner"='glenn seton' AND "circuit"='sandown international raceway'; | 2-15374407-2 |
What date was the race at Oran Park ran? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "date" FROM "race_calendar" WHERE "race_title"='oran park'; | 2-15374407-2 |
What is the largest number of assists for the second rank when there were less than 2 games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT MAX("assists") FROM "assists" WHERE "rank"=2 AND "games"<2; | 2-16050349-12 |
What is the smallest rank when there are more than 2 games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT MIN("rank") FROM "assists" WHERE "games">2; | 2-16050349-12 |
What is the mean number of games for pablo prigioni when there are more than 14 assists? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT AVG("games") FROM "assists" WHERE "name"='pablo prigioni' AND "assists">14; | 2-16050349-12 |
What region has 57 vehicles? | CREATE TABLE "list_of_trolleybus_systems_in_russia" (
"region" text,
"location" text,
"from" text,
"depots_12_09" real,
"routes_12_09" real,
"vehicles_12_09" real
); | SELECT "region" FROM "list_of_trolleybus_systems_in_russia" WHERE "vehicles_12_09"=57; | 2-15375896-4 |
What was the Score after 1991 in Category IVA? | CREATE TABLE "doubles" (
"year" real,
"category" text,
"champions" text,
"runners_up" text,
"score" text
); | SELECT "score" FROM "doubles" WHERE "year">1991 AND "category"='iva'; | 2-16157440-2 |
What was the Score in 2002? | CREATE TABLE "doubles" (
"year" real,
"category" text,
"champions" text,
"runners_up" text,
"score" text
); | SELECT "score" FROM "doubles" WHERE "year"=2002; | 2-16157440-2 |
What was the Category before 1995? | CREATE TABLE "doubles" (
"year" real,
"category" text,
"champions" text,
"runners_up" text,
"score" text
); | SELECT "category" FROM "doubles" WHERE "year"<1995; | 2-16157440-2 |
What was the Category after 1991 with a Score of 7-5, 6-7, 6-2? | CREATE TABLE "doubles" (
"year" real,
"category" text,
"champions" text,
"runners_up" text,
"score" text
); | SELECT "category" FROM "doubles" WHERE "year">1991 AND "score"='7-5, 6-7, 6-2'; | 2-16157440-2 |
What was the issue date for the song by Paul Mccartney and Michael Jackson? | CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date_s" text,
"weeks_on_top" real,
"song" text,
"artist" text
); | SELECT "issue_date_s" FROM "see_also" WHERE "artist"='paul mccartney and michael jackson'; | 2-15425670-1 |
What is the smallest number of seats with INC as an election winner and BJP incumbent? | CREATE TABLE "chhattisgarh_result" (
"state" text,
"seats_a_cs" real,
"date_of_counting" text,
"incumbent" text,
"election_winner" text
); | SELECT MIN("seats_a_cs") FROM "chhattisgarh_result" WHERE "election_winner"='inc' AND "incumbent"='bjp'; | 2-15329030-1 |
Who was the election winner with a BJP incumbent in Chhattisgarh? | CREATE TABLE "chhattisgarh_result" (
"state" text,
"seats_a_cs" real,
"date_of_counting" text,
"incumbent" text,
"election_winner" text
); | SELECT "election_winner" FROM "chhattisgarh_result" WHERE "incumbent"='bjp' AND "state"='chhattisgarh'; | 2-15329030-1 |
When was the date of counting with less than 87 seats, INC as incumbent and INC as election winner? | CREATE TABLE "chhattisgarh_result" (
"state" text,
"seats_a_cs" real,
"date_of_counting" text,
"incumbent" text,
"election_winner" text
); | SELECT "date_of_counting" FROM "chhattisgarh_result" WHERE "seats_a_cs"<87 AND "incumbent"='inc' AND "election_winner"='inc'; | 2-15329030-1 |
Which country has an IATA of EVN? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "destinations" WHERE "iata"='evn'; | 2-1597410-1 |
What is the name of the airport located in Russia with an IATA of AER? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "country"='russia' AND "iata"='aer'; | 2-1597410-1 |
What is the name of the airport located in Russia with an IATA of KRR? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "country"='russia' AND "iata"='krr'; | 2-1597410-1 |
What is the name of the airport with an ICAO of ULLI? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "icao"='ulli'; | 2-1597410-1 |
What is the ICAO for the destination in Armenia? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "country"='armenia'; | 2-1597410-1 |
What is the name of the airport with an IATA of KUF? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "iata"='kuf'; | 2-1597410-1 |
What is the status of Author Del Corro? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"location" text
); | SELECT "status" FROM "newly_named_dinosaurs" WHERE "authors"='del corro'; | 2-15678216-2 |
What is the location of the authors of Molnar? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"location" text
); | SELECT "location" FROM "newly_named_dinosaurs" WHERE "authors"='molnar'; | 2-15678216-2 |
What is the status of Prenocephale? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"location" text
); | SELECT "status" FROM "newly_named_dinosaurs" WHERE "name"='prenocephale'; | 2-15678216-2 |
What is the novel that has a valid status, located in Mongolia, and named Prenocephale? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"location" text
); | SELECT "novelty" FROM "newly_named_dinosaurs" WHERE "status"='valid' AND "location"='mongolia' AND "name"='prenocephale'; | 2-15678216-2 |
What is the novelty of Tylocephale? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"location" text
); | SELECT "novelty" FROM "newly_named_dinosaurs" WHERE "name"='tylocephale'; | 2-15678216-2 |
Which team 1 has vfl gummersbach as team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "round_of_16" WHERE "team_2"='vfl gummersbach'; | 2-15757906-11 |
What is the 2nd leg that has 31-37 as the 1st leg? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "round_of_16" WHERE "1st_leg"='31-37'; | 2-15757906-11 |
Which team 1 has cbm valladolid as team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "round_of_16" WHERE "team_2"='cbm valladolid'; | 2-15757906-11 |
What 2nd leg has rk gold club kozina as team 1? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "round_of_16" WHERE "team_1"='rk gold club kozina'; | 2-15757906-11 |
What 1st leg has 52-70 as the agg.? | CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "round_of_16" WHERE "agg"='52-70'; | 2-15757906-11 |
What was the surface for October 10, 2004? | CREATE TABLE "singles_13_7_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_13_7_6" WHERE "date"='october 10, 2004'; | 2-1554049-2 |
What was the surface for the opponent Roger Federer? | CREATE TABLE "singles_13_7_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_13_7_6" WHERE "opponent"='roger federer'; | 2-1554049-2 |
How many years was the 400 m event in the olympic games? | CREATE TABLE "competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT COUNT("year") FROM "competition_record" WHERE "competition"='olympic games' AND "event"='400 m'; | 2-16036353-2 |
How many were in attendance of the game with l 26-21 result? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "season_schedule" WHERE "result"='l 26-21'; | 2-15991313-3 |
Who is the opponent for the game with 37,845 people in attendance? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "season_schedule" WHERE "attendance"='37,845'; | 2-15991313-3 |
How many silver medals were there with 2 gold medals and more than 2 bronze medals? | CREATE TABLE "all_time_medal_tables" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "silver" FROM "all_time_medal_tables" WHERE "gold"=2 AND "bronze">2; | 2-1603424-2 |
What is the smallest total number of medals for rank 11 and more than 0 silver medals? | CREATE TABLE "all_time_medal_tables" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "all_time_medal_tables" WHERE "rank"='11' AND "silver">0; | 2-1603424-2 |
What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States? | CREATE TABLE "all_time_medal_tables" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "all_time_medal_tables" WHERE "bronze">2 AND "nation"='united states' AND "gold">1; | 2-1603424-2 |
What is the largest number of gold medals for Canada with more than 7 bronze medals? | CREATE TABLE "all_time_medal_tables" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "all_time_medal_tables" WHERE "nation"='canada' AND "bronze">7; | 2-1603424-2 |
What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States? | CREATE TABLE "all_time_medal_tables" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("silver") FROM "all_time_medal_tables" WHERE "total"<23 AND "nation"='united states' AND "bronze">3; | 2-1603424-2 |
When was Steve Williams in Zurich and his result was 10.07? | CREATE TABLE "100_meters" (
"year" real,
"result" real,
"world_rank" text,
"location" text,
"date" text
); | SELECT "date" FROM "100_meters" WHERE "location"='zurich' AND "result"=10.07; | 2-15369913-3 |
What is the largest number lost with 0 draws and less than 12 points for Gwardia Katowice? | CREATE TABLE "south_group" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT MAX("lost") FROM "south_group" WHERE "draw"=0 AND "team"='gwardia katowice' AND "points"<12; | 2-15432872-6 |
What is the highest number of draws with 6 losses and less than 15 points? | CREATE TABLE "south_group" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT MAX("draw") FROM "south_group" WHERE "lost"=6 AND "points"<15; | 2-15432872-6 |
How many draws correspond to more than 11 losses in a match less than 14? | CREATE TABLE "south_group" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT COUNT("draw") FROM "south_group" WHERE "lost">11 AND "match"<14; | 2-15432872-6 |
What is the Director of Children of Sarajevo? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "submissions" WHERE "film_title_used_in_nomination"='children of sarajevo'; | 2-16081644-1 |
What is the Result of the 2010 (83rd) Ceremony? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "result" FROM "submissions" WHERE "year_ceremony"='2010 (83rd)'; | 2-16081644-1 |
What is the Result of the 2013 (86th) Ceremony? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "result" FROM "submissions" WHERE "year_ceremony"='2013 (86th)'; | 2-16081644-1 |
What is the Original title of Children of Sarajevo? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='children of sarajevo'; | 2-16081644-1 |
In the 2012 (85th) Ceremony, what was the Original title of the film not nominated? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "submissions" WHERE "result"='not nominated' AND "year_ceremony"='2012 (85th)'; | 2-16081644-1 |
What is the lowest draw number for the song ranked 6th with more than 43 points? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT MIN("draw") FROM "references" WHERE "points">43 AND "rank"='6th'; | 2-15696018-1 |
What is the total sum of points for songs performed by Partners in Crime? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT SUM("points") FROM "references" WHERE "performer"='partners in crime'; | 2-15696018-1 |
What is the class of facility ID 150935? | CREATE TABLE "broadcast_translators_of_wzxv" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"facility_id" real,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "broadcast_translators_of_wzxv" WHERE "facility_id"=150935; | 2-15493221-1 |
Which city has a facility ID greater than 150833? | CREATE TABLE "broadcast_translators_of_wzxv" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"facility_id" real,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "broadcast_translators_of_wzxv" WHERE "facility_id">150833; | 2-15493221-1 |
What position does the player from the Toronto Argonauts play? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_one" WHERE "cfl_team"='toronto argonauts'; | 2-15817998-1 |
What was the 1st leg for Team 2 Concepto Egile? | CREATE TABLE "matches" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "matches" WHERE "team_2"='concepto egile'; | 2-15505376-2 |
Which team 1 has team 2, Gomera? | CREATE TABLE "matches" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "matches" WHERE "team_2"='gomera'; | 2-15505376-2 |
What public team was founded prior to 1883? | CREATE TABLE "naia_football_independents" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"team" text,
"primary_conference" text
); | SELECT "team" FROM "naia_football_independents" WHERE "founded"<1883 AND "type"='public'; | 2-15617076-1 |
Who has exactly 342 spikes? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real
); | SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"=342; | 2-15859432-6 |
What is the smallest number of spikes for players with a weight of 83 and height over 190? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real
); | SELECT MIN("spike") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight"=83 AND "height">190; | 2-15859432-6 |
What is Class, when Power is 78 Watts? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "class" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "power"='78 watts'; | 2-1585090-1 |
What is Power, when Identifier is CBEB-FM? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "power" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "identifier"='cbeb-fm'; | 2-1585090-1 |
What is Identifier, when City of License is Terrace Bay? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "identifier" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "city_of_license"='terrace bay'; | 2-1585090-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.