question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT AVG("cuts_made") FROM "summary" WHERE "top_5"=3 AND "top_10"<5;
2-1891067-3
What's the sum of Top-25 that has an Events that is smaller than 10?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT COUNT("top_25") FROM "summary" WHERE "events"<10;
2-1891067-3
What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT COUNT("top_10") FROM "summary" WHERE "events">16 AND "top_5">5;
2-1891067-3
What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?
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 "tournament"='pga championship' AND "top_5"<2;
2-1891067-3
When the nominee(s) is john wells what is the episode for a year before 2004?
CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "episode" FROM "humanitas_prize" WHERE "year"<2004 AND "nominee_s"='john wells';
2-18540176-11
What is the result when the nominee(s) of janine sherman?
CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "result" FROM "humanitas_prize" WHERE "nominee_s"='janine sherman';
2-18540176-11
What is the result for a year after 2003, when the nominee(s) is john wells?
CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "result" FROM "humanitas_prize" WHERE "year">2003 AND "nominee_s"='john wells';
2-18540176-11
What is the earliest year with a result of nominated, and a nominee(s) of john wells, for an episode of "makemba"?
CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT MIN("year") FROM "humanitas_prize" WHERE "result"='nominated' AND "nominee_s"='john wells' AND "episode"='\"makemba\"';
2-18540176-11
What is the purse in 2003, which had a 1-1/16 distance?
CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text );
SELECT "purse" FROM "winners_of_the_allaire_du_pont_distaff_s" WHERE "distance"='1-1/16' AND "year"=2003;
2-18797258-1
Who is the trainer of the winner skylighter?
CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text );
SELECT "trainer" FROM "winners_of_the_allaire_du_pont_distaff_s" WHERE "winner"='skylighter';
2-18797258-1
What is the distance with a 1:46.32 time?
CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text );
SELECT "distance" FROM "winners_of_the_allaire_du_pont_distaff_s" WHERE "time"='1:46.32';
2-18797258-1
What is the average year with a 1:42.85 time?
CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text );
SELECT AVG("year") FROM "winners_of_the_allaire_du_pont_distaff_s" WHERE "time"='1:42.85';
2-18797258-1
What is the distance in 2006?
CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text );
SELECT "distance" FROM "winners_of_the_allaire_du_pont_distaff_s" WHERE "year"=2006;
2-18797258-1
Who was the director of Clean Pastures?
CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text );
SELECT "director" FROM "1937" WHERE "title"='clean pastures';
2-18792938-8
What was the release date for Production Number 8181?
CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text );
SELECT "release_date" FROM "1937" WHERE "production_num"='8181';
2-18792938-8
What series was directed by Frank Tashlin and has the production number, 8053?
CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text );
SELECT "series" FROM "1937" WHERE "director"='frank tashlin' AND "production_num"='8053';
2-18792938-8
What series was called Egghead Rides Again?
CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text );
SELECT "series" FROM "1937" WHERE "title"='egghead rides again';
2-18792938-8
What is the Tie no of the Port Vale Away game?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "first_round_proper" WHERE "away_team"='port vale';
2-18711843-1
What is the Score of the Halifax Town Home game?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "home_team"='halifax town';
2-18711843-1
What is the Score of the Scarborough Home game?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "home_team"='scarborough';
2-18711843-1
Which college did the player who went to the Boston Patriots go to?
CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "seventeenth_round" WHERE "team"='boston patriots';
2-18652198-17
What was the highest pick number of the player who went to LSU in college?
CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick") FROM "seventeenth_round" WHERE "college"='lsu';
2-18652198-17
Which college did the player picked number 136 go to?
CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "seventeenth_round" WHERE "pick"=136;
2-18652198-17
Which college did the player picked larger than 130 by the New York Jets go to?
CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "seventeenth_round" WHERE "pick">130 AND "team"='new york jets';
2-18652198-17
What lane was Emily Seebohm in?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT COUNT("lane") FROM "semifinal_2" WHERE "name"='emily seebohm';
2-18625437-5
What is the quantity for railway 263?
CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text );
SELECT "quantity" FROM "passenger_and_express_train_locomotives" WHERE "railway_number_s"='263';
2-18843924-2
What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text );
SELECT "year_s_of_manufacture" FROM "passenger_and_express_train_locomotives" WHERE "railway_number_s"='26 (ii) …63 (ii) , 188–193';
2-18843924-2
What are the railway number(s) for year(s) of manufacture of 1905–1906?
CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text );
SELECT "railway_number_s" FROM "passenger_and_express_train_locomotives" WHERE "year_s_of_manufacture"='1905–1906';
2-18843924-2
Who is the rb player from team oakland?
CREATE TABLE "first_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "first_round" WHERE "position"='rb' AND "team"='oakland';
2-18652117-1
What is the team of the player from ohio state?
CREATE TABLE "first_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "team" FROM "first_round" WHERE "college"='ohio state';
2-18652117-1
What is the highest rank in Uzbekistan with a time larger than 11.44?
CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real );
SELECT MAX("rank") FROM "round_1" WHERE "country"='uzbekistan' AND "time">11.44;
2-18568955-2
What is the average heat ranked at 30?
CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real );
SELECT AVG("heat") FROM "round_1" WHERE "rank"=30;
2-18568955-2
What is the average time in a rank of 61?
CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real );
SELECT AVG("time") FROM "round_1" WHERE "rank"=61;
2-18568955-2
How much Capacity has a Vehicle of 2003 holden commodore ute?
CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text );
SELECT COUNT("capacity") FROM "rookie_rallye_modern_competition" WHERE "vehicle"='2003 holden commodore ute';
2-18394791-4
Which Navigator has a Total Time of 08:29?
CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text );
SELECT "navigator" FROM "rookie_rallye_modern_competition" WHERE "total_time"='08:29';
2-18394791-4
Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti?
CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text );
SELECT MIN("capacity") FROM "rookie_rallye_modern_competition" WHERE "class"='cm22' AND "vehicle"='1999 subaru impreza wrx sti';
2-18394791-4
Which Driver has a Capacity smaller than 5700, and a Total Time of 08:29?
CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text );
SELECT "driver" FROM "rookie_rallye_modern_competition" WHERE "capacity"<5700 AND "total_time"='08:29';
2-18394791-4
What is the total number of losses for teams with more than 0 byes?
CREATE TABLE "2009_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("losses") FROM "2009_ladder" WHERE "byes">0;
2-18975610-2
What is the sum of draws for teams with against of 1731 and under 10 losses?
CREATE TABLE "2009_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT SUM("draws") FROM "2009_ladder" WHERE "against"=1731 AND "losses"<10;
2-18975610-2
When was Tree Cornered Tweety, directed by Friz Freleng, released?
CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text );
SELECT "release_date" FROM "1956" WHERE "director"='friz freleng' AND "title"='tree cornered tweety';
2-18792948-7
When was Too Hop to Handle released?
CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text );
SELECT "release_date" FROM "1956" WHERE "title"='too hop to handle';
2-18792948-7
From which series is the title Barbary Coast Bunny?
CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text );
SELECT "series" FROM "1956" WHERE "title"='barbary coast bunny';
2-18792948-7
Who did the Lyrics (l) / Music (m) for the song in 23 Place?
CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text );
SELECT "lyrics_l_music_m" FROM "online_voting_19_30_january_2009" WHERE "place"='23';
2-18993214-1
What are the Votes for the Song by Artist Filipa Batista?
CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text );
SELECT "votes" FROM "online_voting_19_30_january_2009" WHERE "artist"='filipa batista';
2-18993214-1
What is the Votes for the Song in Place 9?
CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text );
SELECT "votes" FROM "online_voting_19_30_january_2009" WHERE "place"='9';
2-18993214-1
What is the Artist of the Song "Procuro-Me Em Mim"?
CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text );
SELECT "artist" FROM "online_voting_19_30_january_2009" WHERE "song"='\"procuro-me em mim\"';
2-18993214-1
What is the Artist of the Song with a Place of withdrawn?
CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text );
SELECT "artist" FROM "online_voting_19_30_january_2009" WHERE "place"='withdrawn';
2-18993214-1
Which week had a result of L 38-21?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "result"='l 38-21';
2-18814667-2
Who was the opponent after week 8 that had 72,190 people in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "week">8 AND "attendance"='72,190';
2-18814667-2
Who won the Gold Medal in Moscow after the year 1982?
CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text );
SELECT "gold" FROM "world_championships_men" WHERE "year">1982 AND "place"='moscow';
2-18938143-1
What is the lowest total that has a rank less than 8, a silver greater than 6, and 20 as the bronze?
CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "women" WHERE "rank"<8 AND "silver">6 AND "bronze"=20;
2-18907412-4
What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 26?
CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "women" WHERE "gold">3 AND "nation"='soviet union (urs)' AND "bronze">26;
2-18907412-4
What is the highest silver that has 57 as the total, with a bronze greater than 20?
CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "women" WHERE "total"=57 AND "bronze">20;
2-18907412-4
What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation?
CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "rank" FROM "women" WHERE "gold">0 AND "bronze"=0 AND "nation"='germany (ger)';
2-18907412-4
How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold greater than 0?
CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "women" WHERE "total"=1 AND "nation"='spain (esp)' AND "gold">0;
2-18907412-4
Which Prominence (m) has a Peak of nakanai mountains high point, and an Elevation (m) smaller than 2,316?
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real );
SELECT AVG("prominence_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='nakanai mountains high point' AND "elevation_m"<'2,316';
2-18946749-2
How much Col (m) has a Prominence (m) larger than 1,897, and a Rank smaller than 6?
CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real );
SELECT COUNT("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "prominence_m">'1,897' AND "rank"<6;
2-18946749-2
What position Jason Fitzgerald played?
CREATE TABLE "supplemental_first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text );
SELECT "position" FROM "supplemental_first_round_selections" WHERE "player"='jason fitzgerald';
2-18470615-2
Jason Romano played for what team?
CREATE TABLE "supplemental_first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text );
SELECT "team" FROM "supplemental_first_round_selections" WHERE "player"='jason romano';
2-18470615-2
What are the dimensions of the amp with a 180W output?
CREATE TABLE "current_amplifier_models" ( "model" text, "poweramp" text, "dimensions" text, "mass" text, "form_factor_s" text, "output" text );
SELECT "dimensions" FROM "current_amplifier_models" WHERE "output"='180w';
2-1844725-1
Which player was from Fermanagh and had an average score of 22?
CREATE TABLE "top_scorers" ( "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real );
SELECT AVG("average") FROM "top_scorers" WHERE "total"=22 AND "county"='fermanagh';
2-18581951-2
How many total points did Oisin McConville have from his 5 matches?
CREATE TABLE "top_scorers" ( "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real );
SELECT COUNT("total") FROM "top_scorers" WHERE "player"='oisin mcconville' AND "matches"<5;
2-18581951-2
How many attendances have October 30, 1977 as the date, with a week greater than 7?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "date"='october 30, 1977' AND "week">7;
2-18673955-1
What is the lowest attendance that has l 42-35 as the result, with a week less than 13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("attendance") FROM "schedule" WHERE "result"='l 42-35' AND "week"<13;
2-18673955-1
Who is from south korea and has a heat less than 3?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT "name" FROM "heats" WHERE "heat"<3 AND "nationality"='south korea';
2-18625708-3
What is the highest heat of the athlete from spain with a lane less than 7?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT MAX("heat") FROM "heats" WHERE "nationality"='spain' AND "lane"<7;
2-18625708-3
What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT AVG("lane") FROM "heats" WHERE "nationality"='japan' AND "time"='4:37.35' AND "heat"<3;
2-18625708-3
What is the lowest Gold count if the Bronze is 4 and Silver is greater than 5?
CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("gold") FROM "medal_table_by_country" WHERE "bronze"=4 AND "silver">5;
2-18395409-3
What is the Average for Silver medals that have more than 17 Golds?
CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "medal_table_by_country" WHERE "gold">17;
2-18395409-3
What is the highest number of Silver medals with a Total greater than 14 and more than 15 Bronze medals?
CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_table_by_country" WHERE "total">14 AND "bronze">15;
2-18395409-3
Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra?
CREATE TABLE "best_songs_in_telugu" ( "year" real, "song_title" text, "film" text, "co_singer" text, "music_director" text );
SELECT "music_director" FROM "best_songs_in_telugu" WHERE "co_singer"='hemachandra' AND "film"='khaleja';
2-18550192-2
What is the film from 2013 with a song title of "neetho edo" with a solo co-singer?
CREATE TABLE "best_songs_in_telugu" ( "year" real, "song_title" text, "film" text, "co_singer" text, "music_director" text );
SELECT "film" FROM "best_songs_in_telugu" WHERE "year"=2013 AND "co_singer"='solo' AND "song_title"='\"neetho edo\"';
2-18550192-2
What was the score for the matchup having attendance of 354?
CREATE TABLE "past_winners" ( "year" real, "date" text, "winners" text, "score" text, "runners_up" text, "att" real );
SELECT "score" FROM "past_winners" WHERE "att"=354;
2-18591635-1
What nation had a medal total of less than 10, less than 1 bronze medal, in rank 11?
CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medalists_per_nation" WHERE "total"<10 AND "bronze"<1 AND "rank"='11';
2-1868008-2
How many gold medals did the team that won a total of 10 medals and 3 silver medals win?
CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "gold" FROM "medalists_per_nation" WHERE "silver"=3 AND "total"=10;
2-1868008-2
What is the total number of medals won by teams that won more than 11 bronze medals?
CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medalists_per_nation" WHERE "bronze">11;
2-1868008-2
What is the lowest react of the athlete from the United States who has a lane less than 4?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real );
SELECT MIN("react") FROM "semifinal_1" WHERE "country"='united states' AND "lane"<4;
2-18569021-4
What is the lowest of the athlete from sri lanka who has a lane greater than 8?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real );
SELECT MIN("react") FROM "semifinal_1" WHERE "country"='sri lanka' AND "lane">8;
2-18569021-4
What is the average react of athlete muna lee, who is ranked greater than 3?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real );
SELECT AVG("react") FROM "semifinal_1" WHERE "athlete"='muna lee' AND "rank">3;
2-18569021-4
What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real );
SELECT AVG("lane") FROM "semifinal_1" WHERE "time">22.57 AND "react"<0.245 AND "country"='cuba';
2-18569021-4
What is the average react of the athlete with a time less than 22.29 and a rank greater than 1?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real );
SELECT AVG("react") FROM "semifinal_1" WHERE "time"<22.29 AND "rank">1;
2-18569021-4
Who is the Opponent on December 7, 2003?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "date"='december 7, 2003';
2-18766048-1
What is the Tv Time of the game with an Attendance of 73,578?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT "tv_time" FROM "schedule" WHERE "attendance"='73,578';
2-18766048-1
What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167?
CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real );
SELECT MAX("result") FROM "final" WHERE "name"='wallace spearmon' AND "reaction_time">0.167;
2-18569011-17
What was the result for Lane 3?
CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real );
SELECT "result" FROM "final" WHERE "lane"=3;
2-18569011-17
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real );
SELECT MIN("result") FROM "final" WHERE "reaction_time">0.185 AND "name"='christian malcolm' AND "lane">3;
2-18569011-17
What are the lowest conceded with 1 draw, and a score larger than 14?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MIN("conceded") FROM "torneo_clausura" WHERE "draws"=1 AND "scored">14;
2-18607260-6
What are the lowest losses with more than 13 scored, and more than 7 draws?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MIN("losses") FROM "torneo_clausura" WHERE "scored">13 AND "draws">7;
2-18607260-6
What is the average played for less than 8 points?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT AVG("played") FROM "torneo_clausura" WHERE "points"<8;
2-18607260-6
What competition has a Result of 1–2?
CREATE TABLE "hong_kong" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text );
SELECT "competition" FROM "hong_kong" WHERE "result"='1–2';
2-18699027-2
What is moving from fee in Hun country?
CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_fee" text );
SELECT "moving_from" FROM "in" WHERE "country"='hun';
2-18539546-7
What is thr type in Aut country?
CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_fee" text );
SELECT "type" FROM "in" WHERE "country"='aut';
2-18539546-7
Who is the owner of the radio station that plays adult hits?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "owner" FROM "radio" WHERE "format"='adult hits';
2-18409326-1
What is the call sign for the radio owned by astral media?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "call_sign" FROM "radio" WHERE "owner"='astral media';
2-18409326-1
What is the frequency for the radio owned by bell media with a call sign of chsu-fm?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "frequency" FROM "radio" WHERE "owner"='bell media' AND "call_sign"='chsu-fm';
2-18409326-1
What is the branding for the radio with a frequency of 1150 am?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "branding" FROM "radio" WHERE "frequency"='1150 am';
2-18409326-1
What was the format for the radio with a frequency of 00 96.3 fm?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "format" FROM "radio" WHERE "frequency"='00 96.3 fm';
2-18409326-1
Who is the owner of the radio frequency of 0 101.5 fm?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "owner" FROM "radio" WHERE "frequency"='0 101.5 fm';
2-18409326-1
how many times is the name matt targett and the lane higher than 7?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT COUNT("time") FROM "semifinal_2" WHERE "name"='matt targett' AND "lane">7;
2-18624623-5
what is the highest time when the rank is less than 5 and the name is eamon sullivan?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real );
SELECT MAX("time") FROM "semifinal_2" WHERE "rank"<5 AND "name"='eamon sullivan';
2-18624623-5