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 Ch1 in the region served by Central Tablelands? | CREATE TABLE "main_transmitters" (
"region_served" text,
"ch_1" text,
"on_air_date" text,
"analogue_power" text,
"digital_power" text,
"analogue_haat" text,
"digital_haat" text,
"transmitter_location" text
); | SELECT "ch_1" FROM "main_transmitters" WHERE "region_served"='central tablelands'; | 2-13596926-1 |
What transmitter location has digital power of 570kw? | CREATE TABLE "main_transmitters" (
"region_served" text,
"ch_1" text,
"on_air_date" text,
"analogue_power" text,
"digital_power" text,
"analogue_haat" text,
"digital_haat" text,
"transmitter_location" text
); | SELECT "transmitter_location" FROM "main_transmitters" WHERE "digital_power"='570kw'; | 2-13596926-1 |
What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points? | CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
); | SELECT COUNT("year") FROM "grand_prix_motorcycle_racing_results" WHERE "team"='yamaha' AND "wins"=0 AND "rank"='8th' AND "points">22; | 2-14890914-3 |
Name the total number of rounds for gina carano | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "opponent"='gina carano'; | 2-13653576-2 |
What is the difference related to 2 losses and fewer than 10 points? | CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT "points_difference" FROM "first_round" WHERE "lost"=2 AND "points"<10; | 2-14100026-1 |
Where did the game(s) against Iowa take place? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "site" FROM "schedule" WHERE "opponent"='iowa'; | 2-14725662-2 |
What is the Outcome of the Doubles played on Carpet? | CREATE TABLE "doubles_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_5" WHERE "surface"='carpet'; | 2-15113825-5 |
What was the Surface during the match with Partner Debbie Graham? | CREATE TABLE "doubles_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_5" WHERE "partner"='debbie graham'; | 2-15113825-5 |
What was the Partner on February 23, 1997? | CREATE TABLE "doubles_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "partner" FROM "doubles_5" WHERE "date"='february 23, 1997'; | 2-15113825-5 |
What was the Tournament on May 24, 1992 played on a Clay Surface? | CREATE TABLE "doubles_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "tournament" FROM "doubles_5" WHERE "surface"='clay' AND "date"='may 24, 1992'; | 2-15113825-5 |
What was the Surface in the match with a Score of 7–5, 6–7, 4–6? | CREATE TABLE "doubles_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_5" WHERE "score"='7–5, 6–7, 4–6'; | 2-15113825-5 |
What is the frequency MHz in tremonton, utah with a ERP W larger than 30? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"fcc_info" text
); | SELECT "frequency_m_hz" FROM "translators" WHERE "erp_w">30 AND "city_of_license"='tremonton, utah'; | 2-14161798-1 |
What is k275av call sign's highest erp w? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"fcc_info" text
); | SELECT MAX("erp_w") FROM "translators" WHERE "call_sign"='k275av'; | 2-14161798-1 |
Name the year for american conference semifinals | CREATE TABLE "year_by_year" (
"year" real,
"record" text,
"regular_season_finish" text,
"playoffs" text,
"avg_attend" real
); | SELECT "year" FROM "year_by_year" WHERE "playoffs"='american conference semifinals'; | 2-1428018-1 |
Name the total number of years for quarterfinals | CREATE TABLE "year_by_year" (
"year" real,
"record" text,
"regular_season_finish" text,
"playoffs" text,
"avg_attend" real
); | SELECT COUNT("year") FROM "year_by_year" WHERE "playoffs"='quarterfinals'; | 2-1428018-1 |
4th Runner-up smaller than 1, and a 5th Runner-up of 0, and a Miss World smaller than 2 has which lowest 3rd Runner-up? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MIN("3rd_runner_up") FROM "top_20_countries_by_tally" WHERE "4th_runner_up"<1 AND "5th_runner_up"=0 AND "miss_world"<2; | 2-150343-3 |
Country/Territory of india, and a 4th Runner-up smaller than 1 has which lowest rank? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MIN("rank") FROM "top_20_countries_by_tally" WHERE "country_territory"='india' AND "4th_runner_up"<1; | 2-150343-3 |
Rank larger than 3, and a 6th Runner-up larger than 0, and a 5th Runner-up smaller than 1 has which lowest 1st Runner-up? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MIN("1st_runner_up") FROM "top_20_countries_by_tally" WHERE "rank">3 AND "6th_runner_up">0 AND "5th_runner_up"<1; | 2-150343-3 |
5th Runner-up smaller than 0 has the lowest semifinalists? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT MIN("semifinalists") FROM "top_20_countries_by_tally" WHERE "5th_runner_up"<0; | 2-150343-3 |
3rd Runner-up of 2, and a Country/Territory of venezuela has what sum of 4th runner-up? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT SUM("4th_runner_up") FROM "top_20_countries_by_tally" WHERE "3rd_runner_up"=2 AND "country_territory"='venezuela'; | 2-150343-3 |
2nd Runner-up larger than 4, and a Country/Territory of israel, and a 4th Runner-up smaller than 0 has which sum of 6th Runner-up? | CREATE TABLE "top_20_countries_by_tally" (
"rank" real,
"country_territory" text,
"miss_world" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"5th_runner_up" real,
"6th_runner_up" real,
"semifinalists" real,
"total" real
); | SELECT SUM("6th_runner_up") FROM "top_20_countries_by_tally" WHERE "2nd_runner_up">4 AND "country_territory"='israel' AND "4th_runner_up"<0; | 2-150343-3 |
Who is the Runner-up that has a Season less than 2005? | CREATE TABLE "finals" (
"season" real,
"winner" text,
"score" text,
"runner_up" text,
"venue" text
); | SELECT "runner_up" FROM "finals" WHERE "season"<2005; | 2-14157023-1 |
Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? | CREATE TABLE "finals" (
"season" real,
"winner" text,
"score" text,
"runner_up" text,
"venue" text
); | SELECT MAX("season") FROM "finals" WHERE "score"='3 – 3 aet , 4–3 pen'; | 2-14157023-1 |
Which Season has a Score of 3 – 3 aet , 4–3 pen | CREATE TABLE "finals" (
"season" real,
"winner" text,
"score" text,
"runner_up" text,
"venue" text
); | SELECT "season" FROM "finals" WHERE "score"='3 – 3 aet , 4–3 pen'; | 2-14157023-1 |
How many rounds had an overall of 211? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "atlanta_falcons_draft_history" WHERE "overall"=211; | 2-15198842-35 |
What is the mean pick number for the cornerback position when the overall is less than 134? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("pick_num") FROM "atlanta_falcons_draft_history" WHERE "position"='cornerback' AND "overall"<134; | 2-15198842-35 |
Which 1956 has a County of vâlcea, and a 2011 smaller than 371714? | CREATE TABLE "see_also" (
"county" text,
"1948" real,
"1956" real,
"1966" real,
"1977" real,
"1992" real,
"2002" real,
"2011" real
); | SELECT SUM("1956") FROM "see_also" WHERE "county"='vâlcea' AND "2011"<371714; | 2-15268661-1 |
Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308? | CREATE TABLE "see_also" (
"county" text,
"1948" real,
"1956" real,
"1966" real,
"1977" real,
"1992" real,
"2002" real,
"2011" real
); | SELECT MIN("2011") FROM "see_also" WHERE "1948"<15872624 AND "1966"=263103 AND "1992">266308; | 2-15268661-1 |
Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? | CREATE TABLE "see_also" (
"county" text,
"1948" real,
"1956" real,
"1966" real,
"1977" real,
"1992" real,
"2002" real,
"2011" real
); | SELECT MIN("1992") FROM "see_also" WHERE "1977"<385577 AND "2011">340310 AND "2002">300123 AND "1948">280524; | 2-15268661-1 |
Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? | CREATE TABLE "see_also" (
"county" text,
"1948" real,
"1956" real,
"1966" real,
"1977" real,
"1992" real,
"2002" real,
"2011" real
); | SELECT MIN("1977") FROM "see_also" WHERE "county"='zzz bucharest' AND "2011"<1883425; | 2-15268661-1 |
What is the site of the game that had an attendance of 54,040? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "game_site" FROM "schedule" WHERE "attendance"='54,040'; | 2-14877607-1 |
What is the attendance of the game against the houston oilers? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='houston oilers'; | 2-14877607-1 |
What was the date of the game on week 7? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=7; | 2-14877607-1 |
How many fans attended the game at Bye? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "game_site"='bye'; | 2-14877607-1 |
Which winner had a location of Iowa? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "winner" FROM "tournament_results" WHERE "location"='iowa'; | 2-14685360-1 |
Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? | CREATE TABLE "women_s_doubles_10_finals_3_titles_7_run" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponents_in_the_final" FROM "women_s_doubles_10_finals_3_titles_7_run" WHERE "partner"='katarina srebotnik' AND "championship"='wimbledon (4)'; | 2-1514559-1 |
Who was the partner when the championship was us open on a hard surface? | CREATE TABLE "women_s_doubles_10_finals_3_titles_7_run" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "partner" FROM "women_s_doubles_10_finals_3_titles_7_run" WHERE "surface"='hard' AND "championship"='us open'; | 2-1514559-1 |
What was the surface for Julie Halard when the final score was 6–3, 6–2? | CREATE TABLE "women_s_doubles_10_finals_3_titles_7_run" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "women_s_doubles_10_finals_3_titles_7_run" WHERE "partner"='julie halard' AND "score_in_the_final"='6–3, 6–2'; | 2-1514559-1 |
What was the outcome when the oppenent was serena williams venus williams and had a hard surface? | CREATE TABLE "women_s_doubles_10_finals_3_titles_7_run" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "women_s_doubles_10_finals_3_titles_7_run" WHERE "opponents_in_the_final"='serena williams venus williams' AND "surface"='hard'; | 2-1514559-1 |
How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("played") FROM "torneio_rio_s_o_paulo" WHERE "drawn"=2 AND "position">3 AND "points"<10; | 2-15299641-1 |
Which average Against has a Difference of 10, and a Lost smaller than 2? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "difference"='10' AND "lost"<2; | 2-15299641-1 |
How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903? | CREATE TABLE "second_division" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT AVG("attendance") FROM "second_division" WHERE "result_f_a"='0 – 2' AND "date"='31 january 1903'; | 2-15066758-1 |
How many Attendances on 13 april 1903? | CREATE TABLE "second_division" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "attendance" FROM "second_division" WHERE "date"='13 april 1903'; | 2-15066758-1 |
How many Attendances have a H / A of h on 7 march 1903? | CREATE TABLE "second_division" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT MIN("attendance") FROM "second_division" WHERE "h_a"='h' AND "date"='7 march 1903'; | 2-15066758-1 |
Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? | CREATE TABLE "second_division" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "opponents" FROM "second_division" WHERE "h_a"='a' AND "result_f_a"='2 – 0' AND "attendance">'30,000'; | 2-15066758-1 |
When is The Opponents of lincoln city and a H / A of a? | CREATE TABLE "second_division" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "date" FROM "second_division" WHERE "opponents"='lincoln city' AND "h_a"='a'; | 2-15066758-1 |
What is the score for the Dec 11 game? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "december"=11; | 2-14034799-4 |
Which game has an opponent of Phoenix Coyotes and was before Dec 9? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("game") FROM "schedule_and_results" WHERE "opponent"='phoenix coyotes' AND "december"<9; | 2-14034799-4 |
What is the December game that led to an 11-13-5 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT MAX("december") FROM "schedule_and_results" WHERE "record"='11-13-5'; | 2-14034799-4 |
What was the record after game 41? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "game"=41; | 2-14034799-4 |
Which Overall has a College of florida state, and a Round larger than 2? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("overall") FROM "jacksonville_jaguars_draft_history" WHERE "college"='florida state' AND "round">2; | 2-15100419-10 |
How many Picks have a Position of kicker, and an Overall smaller than 137? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "position"='kicker' AND "overall"<137; | 2-15100419-10 |
Which Position has a Pick # of 18? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "jacksonville_jaguars_draft_history" WHERE "pick_num"=18; | 2-15100419-10 |
Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "college" FROM "jacksonville_jaguars_draft_history" WHERE "round"<7 AND "pick_num"<27 AND "name"='anthony maddox'; | 2-15100419-10 |
How much Overall has a Pick # larger than 9, and a Round larger than 5? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "jacksonville_jaguars_draft_history" WHERE "pick_num">9 AND "round">5; | 2-15100419-10 |
Which score was for the Spurs as visitors with record of 35–16? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "score" FROM "february" WHERE "visitor"='spurs' AND "record"='35–16'; | 2-13667936-7 |
Which record was for Warriors at home? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "record" FROM "february" WHERE "home"='warriors'; | 2-13667936-7 |
English title of malèna had what original title? | CREATE TABLE "2000_2009" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director" text
); | SELECT "original_title" FROM "2000_2009" WHERE "english_title"='malèna'; | 2-1476746-5 |
Original title of возвращение / vozvrashcheniye had what English title? | CREATE TABLE "2000_2009" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director" text
); | SELECT "english_title" FROM "2000_2009" WHERE "original_title"='возвращение / vozvrashcheniye'; | 2-1476746-5 |
Director of christophe barratier had what highest year? | CREATE TABLE "2000_2009" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director" text
); | SELECT MAX("year") FROM "2000_2009" WHERE "director"='christophe barratier'; | 2-1476746-5 |
English title of amélie had what year? | CREATE TABLE "2000_2009" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director" text
); | SELECT "year" FROM "2000_2009" WHERE "english_title"='amélie'; | 2-1476746-5 |
Original title of das leben der anderen had what director? | CREATE TABLE "2000_2009" (
"year" real,
"english_title" text,
"original_title" text,
"country" text,
"director" text
); | SELECT "director" FROM "2000_2009" WHERE "original_title"='das leben der anderen'; | 2-1476746-5 |
Who was the director where the role was Fred Ayres? | CREATE TABLE "1931_1940" (
"date" text,
"theatre_studio_or_network" text,
"role" text,
"dance_partner" text,
"director" text
); | SELECT "director" FROM "1931_1940" WHERE "role"='fred ayres'; | 2-15186990-4 |
What was the theatre where Peter P. Peters is the role? | CREATE TABLE "1931_1940" (
"date" text,
"theatre_studio_or_network" text,
"role" text,
"dance_partner" text,
"director" text
); | SELECT "theatre_studio_or_network" FROM "1931_1940" WHERE "role"='peter p. peters'; | 2-15186990-4 |
Who are the Runner(s)-up with a Margin of 1 stroke? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "wins_5" WHERE "margin"='1 stroke'; | 2-1510351-4 |
Who are the Runner(s)-up with a Margin of 3 strokes? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "wins_5" WHERE "margin"='3 strokes'; | 2-1510351-4 |
What is the highest Year with of the open championship? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT MAX("year") FROM "wins_5" WHERE "championship"='the open championship'; | 2-1510351-4 |
What is the Winning score in 1956? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "wins_5" WHERE "year"=1956; | 2-1510351-4 |
What is the Winning score in 1965? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "wins_5" WHERE "year"=1965; | 2-1510351-4 |
What Year had a Runner(s)-up of flory van donck? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "year" FROM "wins_5" WHERE "runner_s_up"='flory van donck'; | 2-1510351-4 |
What is the release Date for the Region in New Zealand ? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "date" FROM "release_history" WHERE "region"='new zealand'; | 2-15038728-5 |
What is the release Date for the New Zealand Region? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "date" FROM "release_history" WHERE "region"='new zealand'; | 2-15038728-5 |
What is the Date of Catalogue number 602517739468? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "date" FROM "release_history" WHERE "catalogue"='602517739468'; | 2-15038728-5 |
In what Region was the Catalogue number 1785089 released? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "region" FROM "release_history" WHERE "catalogue"='1785089'; | 2-15038728-5 |
Which city of license has a frequency less than 100.1? | CREATE TABLE "low_powered_translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "low_powered_translators" WHERE "frequency_m_hz"<100.1; | 2-14993344-2 |
What is the ERP W with a call sign at w261cq? | CREATE TABLE "low_powered_translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "low_powered_translators" WHERE "call_sign"='w261cq'; | 2-14993344-2 |
What is the average value for ERP W when frequency is more than 100.1? | CREATE TABLE "low_powered_translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT AVG("erp_w") FROM "low_powered_translators" WHERE "frequency_m_hz">100.1; | 2-14993344-2 |
What frequency has call sign w228bg? | CREATE TABLE "low_powered_translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "frequency_m_hz" FROM "low_powered_translators" WHERE "call_sign"='w228bg'; | 2-14993344-2 |
What is the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5? | CREATE TABLE "low_powered_translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT AVG("erp_w") FROM "low_powered_translators" WHERE "city_of_license"='beardstown, illinois' AND "frequency_m_hz">93.5; | 2-14993344-2 |
What was the sum of the winner's shares for US Senior Opens won by Brad Bryant before 2007? | CREATE TABLE "winners" (
"year" real,
"champion" text,
"country" text,
"venue" text,
"location" text,
"score" text,
"winner_s_share" real
); | SELECT SUM("winner_s_share") FROM "winners" WHERE "champion"='brad bryant' AND "year"<2007; | 2-1528962-1 |
What was the winning score in 2000? | CREATE TABLE "winners" (
"year" real,
"champion" text,
"country" text,
"venue" text,
"location" text,
"score" text,
"winner_s_share" real
); | SELECT "score" FROM "winners" WHERE "year"=2000; | 2-1528962-1 |
What is the average winner's share won by Billy Casper? | CREATE TABLE "winners" (
"year" real,
"champion" text,
"country" text,
"venue" text,
"location" text,
"score" text,
"winner_s_share" real
); | SELECT AVG("winner_s_share") FROM "winners" WHERE "champion"='billy casper'; | 2-1528962-1 |
Name the weekly rank for sunday, june 14, 2009 | CREATE TABLE "season_2_2008_2009" (
"airdate" text,
"celebrities" text,
"rating" real,
"share" real,
"18_49" text,
"viewers_millions" real,
"weekly_rank" text,
"prod_code" real
); | SELECT "weekly_rank" FROM "season_2_2008_2009" WHERE "airdate"='sunday, june 14, 2009'; | 2-13673176-4 |
Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "overall"=184 AND "round">6; | 2-15100419-3 |
How many picks have an Overall of 114? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "overall"=114; | 2-15100419-3 |
Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("overall") FROM "jacksonville_jaguars_draft_history" WHERE "name"='daimon shelton' AND "round">6; | 2-15100419-3 |
Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "overall">21 AND "college"='north carolina' AND "round"<3; | 2-15100419-3 |
Which Position has an Overall larger than 147, and a Pick # of 21? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "jacksonville_jaguars_draft_history" WHERE "overall">147 AND "pick_num"=21; | 2-15100419-3 |
What is cornell's lowest pick number? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "college"='cornell'; | 2-15100419-3 |
Which Eviction result has a Net vote of 31.86%? | CREATE TABLE "s_e_voting_system_result" (
"eviction_no" real,
"nominee" text,
"vote_to_save" text,
"vote_to_evict" text,
"net_vote" text,
"eviction_result" text
); | SELECT "eviction_result" FROM "s_e_voting_system_result" WHERE "net_vote"='31.86%'; | 2-15162479-8 |
Which Nominee has a Vote to Save of 1.98%? | CREATE TABLE "s_e_voting_system_result" (
"eviction_no" real,
"nominee" text,
"vote_to_save" text,
"vote_to_evict" text,
"net_vote" text,
"eviction_result" text
); | SELECT "nominee" FROM "s_e_voting_system_result" WHERE "vote_to_save"='1.98%'; | 2-15162479-8 |
Which Vote to Evict has a Vote to Save of 21.22%? | CREATE TABLE "s_e_voting_system_result" (
"eviction_no" real,
"nominee" text,
"vote_to_save" text,
"vote_to_evict" text,
"net_vote" text,
"eviction_result" text
); | SELECT "vote_to_evict" FROM "s_e_voting_system_result" WHERE "vote_to_save"='21.22%'; | 2-15162479-8 |
Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%? | CREATE TABLE "s_e_voting_system_result" (
"eviction_no" real,
"nominee" text,
"vote_to_save" text,
"vote_to_evict" text,
"net_vote" text,
"eviction_result" text
); | SELECT "vote_to_save" FROM "s_e_voting_system_result" WHERE "eviction_no"<14 AND "vote_to_evict"='5.42%'; | 2-15162479-8 |
What is the average rank of a nation that had 219,721 in 2012? | CREATE TABLE "top_10_international_visitors_in_vietnam" (
"rank" real,
"country" text,
"2011" real,
"2012" real,
"2013_jan_sep_link" text
); | SELECT AVG("rank") FROM "top_10_international_visitors_in_vietnam" WHERE "2012"='219,721'; | 2-14965573-2 |
In what Round was Pick 138? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "pick"=138; | 2-14828495-1 |
What is John Crawford's Nationality? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "nationality" FROM "draft_picks" WHERE "player"='john crawford'; | 2-14828495-1 |
What is the ERP W for K236AM? | CREATE TABLE "kansas" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "kansas" WHERE "call_sign"='k236am'; | 2-14993391-1 |
What is the average frequency in MHz for stations with an ERP W of 170? | CREATE TABLE "kansas" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT AVG("frequency_m_hz") FROM "kansas" WHERE "erp_w"=170; | 2-14993391-1 |
What is K236AM's lowest frequency in MHz? | CREATE TABLE "kansas" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MIN("frequency_m_hz") FROM "kansas" WHERE "call_sign"='k236am'; | 2-14993391-1 |
What class is assigned to frequencies lower than 90.5? | CREATE TABLE "kansas" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "kansas" WHERE "frequency_m_hz"<90.5; | 2-14993391-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.