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