question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Date of april 9 had what score?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='april 9';
2-13978258-4
Record of 11–12 involved what average attendance figures?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT AVG("attendance") FROM "game_log" WHERE "record"='11–12';
2-13978258-4
What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
CREATE TABLE "list_of_special_elections" ( "district" real, "congress" text, "date" text, "predecessor" text, "winner" text );
SELECT "predecessor" FROM "list_of_special_elections" WHERE "district"<11 AND "congress"='68th' AND "date"='may 1, 1923';
2-13608244-1
What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth?
CREATE TABLE "frequency_specifications" ( "hyper_transport_version" real, "year" real, "max_ht_frequency" text, "max_link_width" text, "max_aggregate_bandwidth_bi_directional" text, "max_bandwidth_at_16_bit_unidirectional" text, "max_bandwidth_at_32_bit_unidirectional" text );
SELECT "hyper_transport_version" FROM "frequency_specifications" WHERE "max_aggregate_bandwidth_bi_directional"='22.4 gb/s';
2-143270-1
What is the Max Aggregate bandwidth with a HyperTransport of 2?
CREATE TABLE "frequency_specifications" ( "hyper_transport_version" real, "year" real, "max_ht_frequency" text, "max_link_width" text, "max_aggregate_bandwidth_bi_directional" text, "max_bandwidth_at_16_bit_unidirectional" text, "max_bandwidth_at_32_bit_unidirectional" text );
SELECT "max_aggregate_bandwidth_bi_directional" FROM "frequency_specifications" WHERE "hyper_transport_version"=2;
2-143270-1
Who was the opposing team during the game in Zagreb?
CREATE TABLE "1963" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "opponent" FROM "1963" WHERE "city"='zagreb';
2-14305653-41
The record of 35-31 has what score?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='35-31';
2-13955731-4
On June 12 what score had an attendance larger than 43,191?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "attendance">'43,191' AND "date"='june 12';
2-13955731-4
Which Manufacturer has 1 lap and had an accident?
CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "manufacturer" FROM "250cc_classification" WHERE "laps"=1 AND "time_retired"='accident';
2-13719531-2
Which rider has a Manufacturer of honda with a time of +44.814?
CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "rider" FROM "250cc_classification" WHERE "manufacturer"='honda' AND "time_retired"='+44.814';
2-13719531-2
How many grids have a time of +1:21.239 and more than 25 laps?
CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "250cc_classification" WHERE "time_retired"='+1:21.239' AND "laps">25;
2-13719531-2
What is the average episode number on 19 March 1993 with Jim Sweeney as performer 1?
CREATE TABLE "series_5" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT AVG("episode") FROM "series_5" WHERE "performer_1"='jim sweeney' AND "date"='19 march 1993';
2-14934885-6
Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4?
CREATE TABLE "series_5" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_2" FROM "series_5" WHERE "performer_4"='josie lawrence' AND "date"='9 april 1993';
2-14934885-6
What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?
CREATE TABLE "series_5" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "date" FROM "series_5" WHERE "performer_2"='ryan stiles' AND "performer_3"='colin mochrie' AND "performer_4"='tony slattery';
2-14934885-6
Who is performer 4 on episode 3, where Jim Sweeney was performer 1?
CREATE TABLE "series_5" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_4" FROM "series_5" WHERE "performer_1"='jim sweeney' AND "episode"=3;
2-14934885-6
What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4?
CREATE TABLE "series_5" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT SUM("episode") FROM "series_5" WHERE "performer_1"='jim sweeney' AND "performer_4"='mike mcshane';
2-14934885-6
Which Wrestler has an Entered of 5, and a Pinned of mvp?
CREATE TABLE "results" ( "number" text, "wrestler" text, "entered" real, "pinned" text, "method" text );
SELECT "wrestler" FROM "results" WHERE "entered"=5 AND "pinned"='mvp';
2-14463440-4
What route with the line color brown has the lowest number of stations served?
CREATE TABLE "lines" ( "line_color" text, "line" text, "route" text, "stations_served" real, "length" text );
SELECT MIN("stations_served") FROM "lines" WHERE "line_color"='brown';
2-15039992-1
Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MAX("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='torpedo yaroslavl (rus)';
2-14344681-14
Which Round has a Player of todd fedoruk?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT SUM("round") FROM "draft_picks" WHERE "player"='todd fedoruk';
2-14344681-14
How much Grid has a Time/Retired of +1 lap, and a Driver of sébastien bourdais, and Laps larger than 70?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "race" WHERE "time_retired"='+1 lap' AND "driver"='sébastien bourdais' AND "laps">70;
2-14270784-2
How many Laps have a Driver of david coulthard, and a Grid smaller than 14?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("laps") FROM "race" WHERE "driver"='david coulthard' AND "grid"<14;
2-14270784-2
How many Laps have a Grid of 15?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "race" WHERE "grid"=15;
2-14270784-2
Which Catalogno was #160 us?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "catalogno" FROM "studio_albums" WHERE "remark"='#160 us';
2-1505839-1
What title was released in 1971?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "title" FROM "studio_albums" WHERE "year"=1971;
2-1505839-1
Whati s the format for the catalogno of st 491?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "format" FROM "studio_albums" WHERE "catalogno"='st 491';
2-1505839-1
What year was remark #104 us?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "year" FROM "studio_albums" WHERE "remark"='#104 us';
2-1505839-1
What title had a remark of #21 us [riaa certified gold january 3, 1990]?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "title" FROM "studio_albums" WHERE "remark"='#21 us [riaa certified gold january 3, 1990]';
2-1505839-1
What catalogno was in 1971 and had a remark of #27 us?
CREATE TABLE "studio_albums" ( "year" real, "title" text, "format" text, "label" text, "catalogno" text, "remark" text );
SELECT "catalogno" FROM "studio_albums" WHERE "year"=1971 AND "remark"='#27 us';
2-1505839-1
what AAAAA class has the school year of 1990-91?
CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aaaaa" FROM "individual_overall" WHERE "school_year"='1990-91';
2-14603212-1
what AAA class has a school year of 1989-90?
CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aaa" FROM "individual_overall" WHERE "school_year"='1989-90';
2-14603212-1
What school year has a AAAA class of college station a&m consolidated?
CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "school_year" FROM "individual_overall" WHERE "class_aaaa"='college station a&m consolidated';
2-14603212-1
what AA class has a AAA class of commerce?
CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aa" FROM "individual_overall" WHERE "class_aaa"='commerce';
2-14603212-1
What is the average week for the game against baltimore colts with less than 41,062 in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "opponent"='baltimore colts' AND "attendance"<'41,062';
2-15122858-2
What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "opponent"='philadelphia eagles' AND "attendance"<'31,066';
2-15122858-2
What is the highest attendance for the game after week 1 on November 12, 1961?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "week">1 AND "date"='november 12, 1961';
2-15122858-2
What was the result of the game on week 4?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week"=4;
2-15122858-2
What is the lowest Round of joe patterson?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MIN("round") FROM "nfl_draft" WHERE "player"='joe patterson';
2-15093658-1
Which School/Club Team has a Round larger than 16?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "school_club_team" FROM "nfl_draft" WHERE "round">16;
2-15093658-1
What is listed as the highest Points that's got a Position that's smaller than 1?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MAX("points") FROM "torneo_clausura" WHERE "position"<1;
2-14876228-2
What is the Draws average that has a Played that's smaller than 18?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT AVG("draws") FROM "torneo_clausura" WHERE "played"<18;
2-14876228-2
What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MIN("wins") FROM "torneo_clausura" WHERE "team"='olimpia' AND "draws"<4;
2-14876228-2
What is the highest Played that's for the Team of Cerro Porteño, with a Position that's larger than 1?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MAX("played") FROM "torneo_clausura" WHERE "team"='cerro porteño' AND "position">1;
2-14876228-2
Which tournament included an opponent of Marinko Matosevic?
CREATE TABLE "singles_2_6_9" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_2_6_9" WHERE "opponent"='marinko matosevic';
2-15271980-2
Who was the opponent when the score was 6-3, 6-3?
CREATE TABLE "singles_2_6_9" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_2_6_9" WHERE "score"='6-3, 6-3';
2-15271980-2
Can you tell me the Record that has the Home of ny islanders?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "december" WHERE "home"='ny islanders';
2-13909437-4
Can you tell me the Record that has the Date of december 15?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "december" WHERE "date"='december 15';
2-13909437-4
Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "december" WHERE "home"='detroit' AND "visitor"='phoenix';
2-13909437-4
Can you tell me the Date that has the Visitor of florida?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "december" WHERE "visitor"='florida';
2-13909437-4
Which position had f/laps that was test driver?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "position" FROM "career_summary" WHERE "f_laps"='test driver';
2-1527343-1
Which poles were there for the 8th position?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "poles" FROM "career_summary" WHERE "position"='8th';
2-1527343-1
What race was there in the formula one series when there was a test driver?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "races" FROM "career_summary" WHERE "series"='formula one' AND "poles"='test driver';
2-1527343-1
Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5?
CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );
SELECT AVG("extra_points_1_point") FROM "scoring_leaders" WHERE "total_points"<30 AND "touchdowns_5_points"=5;
2-14342210-14
How many Touchdowns (5 points) have an Extra points 1 point of 0, and a Field goals (5 points) larger than 0?
CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );
SELECT COUNT("touchdowns_5_points") FROM "scoring_leaders" WHERE "extra_points_1_point"=0 AND "field_goals_5_points">0;
2-14342210-14
Which Extra points 1 point is the highest one that has a Total Points smaller than 8?
CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );
SELECT MAX("extra_points_1_point") FROM "scoring_leaders" WHERE "total_points"<8;
2-14342210-14
Which Extra points 1 point is the lowest one that has a Player of walter shaw?
CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );
SELECT MIN("extra_points_1_point") FROM "scoring_leaders" WHERE "player"='walter shaw';
2-14342210-14
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );
SELECT COUNT("field_goals_5_points") FROM "scoring_leaders" WHERE "total_points"=123 AND "touchdowns_5_points">13;
2-14342210-14
When did the Mixed double Women's singles of isabel rocha, from the year 1970, and a Women's doubles of isabel rocha ana margarida?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "mixed_doubles" FROM "past_winners" WHERE "women_s_singles"='isabel rocha' AND "year">1970 AND "women_s_doubles"='isabel rocha ana margarida';
2-13857463-1
What was the Mixed doubles that has a Women's players of maria gomes zamy gomes, and men's players of fernando silva ricardo fernandes?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "mixed_doubles" FROM "past_winners" WHERE "women_s_doubles"='maria gomes zamy gomes' AND "men_s_doubles"='fernando silva ricardo fernandes';
2-13857463-1
What was the Men's singles from the Year of 1966?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "past_winners" WHERE "year"=1966;
2-13857463-1
What was the Women's doubles that has a Men's singles of fernando silva, and in the year 1996?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "women_s_doubles" FROM "past_winners" WHERE "men_s_singles"='fernando silva' AND "year"<1996;
2-13857463-1
What happened in the Men's doubles that had a Men's singles of marco vasconcelos, and a Year larger than 2000, and a Mixed doubles of alexandre paixão filipa lamy, and a Women's singles of telma santos?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_doubles" FROM "past_winners" WHERE "men_s_singles"='marco vasconcelos' AND "year">2000 AND "mixed_doubles"='alexandre paixão filipa lamy' AND "women_s_singles"='telma santos';
2-13857463-1
How many people attended the game with parent recording the decision and a Record of 42–18–10?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT SUM("attendance") FROM "regular_season" WHERE "decision"='parent' AND "record"='42–18–10';
2-13908184-7
What is the team's record when vancouver was at home?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "record" FROM "regular_season" WHERE "home"='vancouver';
2-13908184-7
Name the date for result of w 23-3 and attendance more than 25,000 for week more than 7
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "attendance">'25,000' AND "week">7 AND "result"='w 23-3';
2-15125011-1
Name the opponent on november 22, 1942
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "date"='november 22, 1942';
2-15125011-1
What score did the Green Bay Packers get as visitor?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "score" FROM "schedule" WHERE "visitor"='green bay packers';
2-15116625-1
On October 31 what team played at home?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "home" FROM "schedule" WHERE "date"='october 31';
2-15116625-1
On December 5 what team played their home game?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "home" FROM "schedule" WHERE "date"='december 5';
2-15116625-1
How many people attended the game on October 31?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "date"='october 31';
2-15116625-1
What nationality is Rob Nicholson?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "player"='rob nicholson';
2-14305802-18
What college or club team did Steve Jones play for?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='steve jones';
2-14305802-18
What nationality is Barry Duench?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "player"='barry duench';
2-14305802-18
What was Saskatoon Accelerators score on January 6, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "score" FROM "exhibition_schedule" WHERE "home_team"='saskatoon accelerators' AND "date"='january 6, 2008';
2-14187634-2
What was the score on April 6, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "score" FROM "exhibition_schedule" WHERE "date"='april 6, 2008';
2-14187634-2
Which home team played on April 5, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "home_team" FROM "exhibition_schedule" WHERE "date"='april 5, 2008';
2-14187634-2
Which home team played on January 5, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "home_team" FROM "exhibition_schedule" WHERE "date"='january 5, 2008';
2-14187634-2
What was the score at CN Centre on April 5, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "score" FROM "exhibition_schedule" WHERE "stadium"='cn centre' AND "date"='april 5, 2008';
2-14187634-2
What was the score for Edmonton Drillers on January 6, 2008?
CREATE TABLE "exhibition_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "score" FROM "exhibition_schedule" WHERE "visiting_team"='edmonton drillers' AND "date"='january 6, 2008';
2-14187634-2
How much Silver has a Nation of mexico, and a Total larger than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "nation"='mexico' AND "total">1;
2-14244631-6
How much Bronze has a Gold larger than 0, and a Total smaller than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medal_table" WHERE "gold">0 AND "total"<1;
2-14244631-6
How much Bronze has a Nation of mexico, and a Total larger than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "nation"='mexico' AND "total">1;
2-14244631-6
In which District(s) has a Democrat held office since 1998?
CREATE TABLE "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text );
SELECT "district" FROM "results" WHERE "party"='democrat' AND "elected">1998;
2-13870048-3
Which Rank is the Country of soviet union with a Total smaller than 19?
CREATE TABLE "total_team_ranking" ( "rank" real, "country" text, "1st_place" real, "2nd_place" real, "3rd_place" real, "total" real );
SELECT MIN("rank") FROM "total_team_ranking" WHERE "country"='soviet union' AND "total"<19;
2-142333-2
What is the lowest Rank of Denmark County with a Total smaller than 1?
CREATE TABLE "total_team_ranking" ( "rank" real, "country" text, "1st_place" real, "2nd_place" real, "3rd_place" real, "total" real );
SELECT MIN("rank") FROM "total_team_ranking" WHERE "country"='denmark' AND "total"<1;
2-142333-2
Who was the loser of the heavyweight division fight that lasted a time of 2:24?
CREATE TABLE "televised_card" ( "weight_division" text, "winner" text, "loser" text, "method" text, "round" real, "time" text );
SELECT "loser" FROM "televised_card" WHERE "weight_division"='heavyweight' AND "time"='2:24';
2-15157472-1
What was the weight division for the fight that ended in a TKO (strikes)?
CREATE TABLE "televised_card" ( "weight_division" text, "winner" text, "loser" text, "method" text, "round" real, "time" text );
SELECT "weight_division" FROM "televised_card" WHERE "method"='tko (strikes)';
2-15157472-1
Who was the loser of the fight against antonio silva?
CREATE TABLE "televised_card" ( "weight_division" text, "winner" text, "loser" text, "method" text, "round" real, "time" text );
SELECT "loser" FROM "televised_card" WHERE "winner"='antonio silva';
2-15157472-1
What was the average number of rounds in the fight where Tank Abbott lost?
CREATE TABLE "televised_card" ( "weight_division" text, "winner" text, "loser" text, "method" text, "round" real, "time" text );
SELECT AVG("round") FROM "televised_card" WHERE "loser"='tank abbott';
2-15157472-1
In what Round was a Defensive Tackle Pick # less than 19?
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 "position"='defensive tackle' AND "pick_num"<19;
2-15198842-45
What is the Pick # with an Overall of 19?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "atlanta_falcons_draft_history" WHERE "overall"=19;
2-15198842-45
What is the event result for athlete Ali Ekranpour?
CREATE TABLE "muay" ( "athlete" text, "event" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "event" FROM "muay" WHERE "athlete"='ali ekranpour';
2-14350710-31
What is the final result for the 63.5 kg?
CREATE TABLE "muay" ( "athlete" text, "event" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "final" FROM "muay" WHERE "event"='63.5 kg';
2-14350710-31
What was the date of the tournament in Scotland with a score of 270 (–18)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );
SELECT "date" FROM "tournament_results" WHERE "score"='270 (–18)' AND "location"='scotland';
2-14611720-1
Where was the tournament won by Hale Irwin (19)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );
SELECT "location" FROM "tournament_results" WHERE "winner"='hale irwin (19)';
2-14611720-1
How much is vinculum when the parentheses are 0.(81)?
CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text );
SELECT "vinculum" FROM "notation" WHERE "parentheses"='0.(81)';
2-13612447-1
What fraction has a value for dots of 0.\dot{3}?
CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text );
SELECT "fraction" FROM "notation" WHERE "dots"='0.\dot{3}';
2-13612447-1
What is the dot value when the ellipsis is 0.012345679…?
CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text );
SELECT "dots" FROM "notation" WHERE "ellipsis"='0.012345679…';
2-13612447-1
What fraction has parentheses of 0.(3)?
CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text );
SELECT "fraction" FROM "notation" WHERE "parentheses"='0.(3)';
2-13612447-1
What is the value for parentheses with a dots value of 0.\dot{6}?
CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text );
SELECT "parentheses" FROM "notation" WHERE "dots"='0.\dot{6}';
2-13612447-1