text
stringlengths
411
1.74k
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "padas_quarters" ( "name" text, "pada_1" text, "pada_2" text, "pada_3" text, "pada_4" text );. Question: "which Pada 3 has a Pada 2 of ΰ€šΰ₯‡ che?". [/INST] SELECT "pada_3" FROM "padas_quarters" WHERE "pada_2"='ΰ€šΰ₯‡ che';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "padas_quarters" ( "name" text, "pada_1" text, "pada_2" text, "pada_3" text, "pada_4" text );. Question: "What is the Name of ΰ€™ ng/na?". [/INST] SELECT "name" FROM "padas_quarters" WHERE "pada_3"='ΰ€™ ng/na';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "padas_quarters" ( "name" text, "pada_1" text, "pada_2" text, "pada_3" text, "pada_4" text );. Question: "What kind of Pada 4 has a Pada 1 of ΰ€–ΰ₯€ ju/khi?". [/INST] SELECT "pada_4" FROM "padas_quarters" WHERE "pada_1"='ΰ€–ΰ₯€ ju/khi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "padas_quarters" ( "name" text, "pada_1" text, "pada_2" text, "pada_3" text, "pada_4" text );. Question: "What kind of Pada 1 has a Pada 2 of ΰ€Έΰ€Ύ sa?". [/INST] SELECT "pada_1" FROM "padas_quarters" WHERE "pada_2"='ΰ€Έΰ€Ύ sa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "team_classification" text );. Question: "Name the points classification for stage of 18b". [/INST] SELECT "points_classification" FROM "jersey_progress" WHERE "stage"='18b';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "team_classification" text );. Question: "Name the points classification of stage 16". [/INST] SELECT "points_classification" FROM "jersey_progress" WHERE "stage"='16';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "hinduism_by_country" ( "region" text, "country" text, "total_population_2011_est" real, "hindu_pct_of_population" text, "hindu_total" text );. Question: "Total Population (2011 est) larger than 30,262,610, and a Hindu total of 63,718 involves what country?". [/INST] SELECT "country" FROM "hinduism_by_country" WHERE "total_population_2011_est">'30,262,610' AND "hindu_total"='63,718';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "What is the round of the match with Emanuel Newton as the opponent?". [/INST] SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='emanuel newton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "What is the location of the match with Aron Lofton as the opponent?". [/INST] SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='aron lofton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "What is the location of the match with an event of ecc 8: comeback?". [/INST] SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='ecc 8: comeback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "Who is the opponent of the match with a win result and a time of 3:02?". [/INST] SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "time"='3:02';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "What is the method of the match with 1 round and a time of 1:58?". [/INST] SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "time"='1:58';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );. Question: "How many people attended the game on September 19, 1976?". [/INST] SELECT COUNT("attendance") FROM "schedule" WHERE "date"='september 19, 1976';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );. Question: "What is the lowest week number where they played against the Detroit Lions?". [/INST] SELECT MIN("week") FROM "schedule" WHERE "opponent"='detroit lions';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );. Question: "What is the average attendance for the game on September 26, 1976?". [/INST] SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 26, 1976';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text );. Question: "Which pick has a school/club team that is kentucky?". [/INST] SELECT "pick" FROM "nfl_draft" WHERE "school_club_team"='kentucky';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text );. Question: "Which player is it that has a pick of 147?". [/INST] SELECT "player" FROM "nfl_draft" WHERE "pick"='147';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text );. Question: "Which round has a position that is cornerback?". [/INST] SELECT "round" FROM "nfl_draft" WHERE "position"='cornerback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_ft_m" text, "floors" real );. Question: "What is the height of the building named 555 17th street?". [/INST] SELECT "height_ft_m" FROM "timeline_of_tallest_buildings" WHERE "name"='555 17th street';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_ft_m" text, "floors" real );. Question: "What is the height of the building with 40 floors?". [/INST] SELECT "height_ft_m" FROM "timeline_of_tallest_buildings" WHERE "floors"=40;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "maryland_counties_ranked_by_per_capita_i" ( "county" text, "per_capita_income" text, "median_household_income" text, "population" real, "number_of_households" real );. Question: "What is the per capital income for Charles county?". [/INST] SELECT "per_capita_income" FROM "maryland_counties_ranked_by_per_capita_i" WHERE "county"='charles';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "maryland_counties_ranked_by_per_capita_i" ( "county" text, "per_capita_income" text, "median_household_income" text, "population" real, "number_of_households" real );. Question: "What is the per capital income for Washington county?". [/INST] SELECT "per_capita_income" FROM "maryland_counties_ranked_by_per_capita_i" WHERE "county"='washington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "current_status" text );. Question: "what builder is now retired". [/INST] SELECT "pennant_number" FROM "ships_of_the_class" WHERE "current_status"='retired';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "current_status" text );. Question: "what builder launched the name minerva". [/INST] SELECT "launched" FROM "ships_of_the_class" WHERE "name"='minerva';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "current_status" text );. Question: "what is the name of the builder who launched in danaide". [/INST] SELECT "launched" FROM "ships_of_the_class" WHERE "name"='danaide';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "How many wins did he have when he played under 2 events?". [/INST] SELECT COUNT("wins") FROM "summary" WHERE "events"<2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "What is his highest number of top 25s when eh played over 2 events and under 0 wins?". [/INST] SELECT MAX("top_25") FROM "summary" WHERE "events">2 AND "wins"<0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "What is his low win total when he has over 3 top 25s and under 9 cuts made?". [/INST] SELECT MIN("wins") FROM "summary" WHERE "top_25"=3 AND "cuts_made"<9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "What opponent had an attendance of 10,089?". [/INST] SELECT "opponent" FROM "game_log" WHERE "attendance"='10,089';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "stadium" text, "attendance" real, "record" text );. Question: "What was the score of the game against the Braves with a record of 41–27?". [/INST] SELECT "score" FROM "game_log" WHERE "opponent"='braves' AND "record"='41–27';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "Who was the opponent for the match were the outcome was runner-up and the score was 5-7, 1-6?". [/INST] SELECT "opponent" FROM "singles_5_3_2" WHERE "outcome"='runner-up' AND "score"='5-7, 1-6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What was the outcome of the match against Stacy Margolin?". [/INST] SELECT "outcome" FROM "singles_5_3_2" WHERE "opponent"='stacy margolin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What was the score of the match against duk-hee lee?". [/INST] SELECT "score" FROM "singles_5_3_2" WHERE "opponent"='duk-hee lee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );. Question: "How many Points have a Rank of 17th, and Wins larger than 0?". [/INST] SELECT COUNT("points") FROM "grand_prix_motorcycle_racing_results" WHERE "rank"='17th' AND "wins">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );. Question: "Which Wins have a Class of 500cc, and a Year smaller than 1975?". [/INST] SELECT "wins" FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "year"<1975;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );. Question: "Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6?". [/INST] SELECT MAX("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "points"<6;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );. Question: "Which Points is the lowest one that has a Year larger than 1974, and a Rank of 15th?". [/INST] SELECT MIN("points") FROM "grand_prix_motorcycle_racing_results" WHERE "year">1974 AND "rank"='15th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kansas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );. Question: "Frequency MHz of 88.7 had what average erp w?". [/INST] SELECT AVG("erp_w") FROM "kansas" WHERE "frequency_m_hz"=88.7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kansas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );. Question: "Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class?". [/INST] SELECT "class" FROM "kansas" WHERE "frequency_m_hz"<95.3 AND "call_sign"='k234ag';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kansas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );. Question: "Call sign of k231bg has what sum of erp w?". [/INST] SELECT SUM("erp_w") FROM "kansas" WHERE "call_sign"='k231bg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kansas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );. Question: "Class of d, and a Frequency MHz smaller than 107.7, and a ERP W smaller than 232 has what call sign?". [/INST] SELECT "call_sign" FROM "kansas" WHERE "class"='d' AND "frequency_m_hz"<107.7 AND "erp_w"<232;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kansas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );. Question: "ERP W that has a Class of d, and a Call sign of k299ar is what total number?". [/INST] SELECT COUNT("erp_w") FROM "kansas" WHERE "class"='d' AND "call_sign"='k299ar';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "Name the date for loss of ruffin (3-5)". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='ruffin (3-5)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "Name the date with loss of carman (3-12)". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='carman (3-12)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "Name the score for save of lancaster (3)". [/INST] SELECT "score" FROM "game_log" WHERE "save"='lancaster (3)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "Name the opponent with loss of sanderson (9-8)". [/INST] SELECT "opponent" FROM "game_log" WHERE "loss"='sanderson (9-8)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule_and_results" ( "game" real, "october" real, "opponent" text, "score" text, "record" text );. Question: "Which game has the highest score in October with 9?". [/INST] SELECT MAX("october") FROM "schedule_and_results" WHERE "game"=9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule_and_results" ( "game" real, "october" real, "opponent" text, "score" text, "record" text );. Question: "What was the average game with a record of 4-4-0?". [/INST] SELECT AVG("game") FROM "schedule_and_results" WHERE "record"='4-4-0';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "graph" ( "state" text, "literacy_rate_pct_2013_estimate" real, "literacy_rate_pct_2001_census" real, "literacy_rate_pct_2011_census" real, "pct_increase" text );. Question: "What was the literacy rate published in the 2001 census for the state that saw a 12.66% increase?". [/INST] SELECT "literacy_rate_pct_2001_census" FROM "graph" WHERE "pct_increase"='12.66%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "graph" ( "state" text, "literacy_rate_pct_2013_estimate" real, "literacy_rate_pct_2001_census" real, "literacy_rate_pct_2011_census" real, "pct_increase" text );. Question: "What is the average estimated 2013 literacy rate for the states that had a literacy rate of 68.81% in the 2001 census and a literacy rate higher than 79.6% in the 2011 census?". [/INST] SELECT "literacy_rate_pct_2013_estimate" FROM "graph" WHERE "literacy_rate_pct_2011_census">79.6 AND "literacy_rate_pct_2001_census"=68.81;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "graph" ( "state" text, "literacy_rate_pct_2013_estimate" real, "literacy_rate_pct_2001_census" real, "literacy_rate_pct_2011_census" real, "pct_increase" text );. Question: "What is the average increase in literacy for the states that had a rate higher than 73.2% in 2011, less than 68.81% in 2001, and an estimate of 76.8% for 2013?". [/INST] SELECT "pct_increase" FROM "graph" WHERE "literacy_rate_pct_2011_census">73.2 AND "literacy_rate_pct_2001_census"<68.81 AND "literacy_rate_pct_2013_estimate"=76.8;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "Who earned the save in the game against the Sinon Bulls when Jeriome Robertson took the loss?". [/INST] SELECT "save" FROM "regular_season" WHERE "opponent"='sinon bulls' AND "loss"='jeriome robertson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" text );. Question: "what number of people went to the tiger stadium". [/INST] SELECT "result" FROM "schedule" WHERE "venue"='tiger stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the undecided percentage of the poll where Goldberg had 6%?". [/INST] SELECT "undecided" FROM "polls" WHERE "goldberg"='6%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the date of the poll where Murray had 11% from the Suffolk University source?". [/INST] SELECT "date" FROM "polls" WHERE "source"='suffolk university' AND "murray"='11%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the undecided percentage of the poll from Suffolk University with Murray at 11%?". [/INST] SELECT "undecided" FROM "polls" WHERE "source"='suffolk university' AND "murray"='11%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the date of the poll with Silbert at 18%?". [/INST] SELECT "date" FROM "polls" WHERE "silbert"='18%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the date of the poll with Silbert at 10.0%?". [/INST] SELECT "date" FROM "polls" WHERE "silbert"='10.0%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polls" ( "source" text, "date" text, "goldberg" text, "murray" text, "silbert" text, "undecided" text );. Question: "What is the date of the poll with Goldberg at 26%?". [/INST] SELECT "date" FROM "polls" WHERE "goldberg"='26%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_points_record" ( "team" text, "games" real, "tries" real, "conversions" real, "total_points" real );. Question: "What is the smallest number of tries with conversions more than 0?". [/INST] SELECT MIN("tries") FROM "overall_points_record" WHERE "conversions">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_points_record" ( "team" text, "games" real, "tries" real, "conversions" real, "total_points" real );. Question: "What is the average number of tries for British and Irish Lions with less than 2 games?". [/INST] SELECT AVG("tries") FROM "overall_points_record" WHERE "team"='british and irish lions' AND "games"<2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_points_record" ( "team" text, "games" real, "tries" real, "conversions" real, "total_points" real );. Question: "What is the average number of conversions for the Cardiff Blues with less than 14 tries?". [/INST] SELECT AVG("conversions") FROM "overall_points_record" WHERE "team"='cardiff blues' AND "tries"<14;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indiana_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );. Question: "What is the Median family income when the Median household income is $38,137?". [/INST] SELECT "median_family_income" FROM "indiana_counties_ranked_by_per_capita_in" WHERE "median_household_income"='$38,137';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indiana_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );. Question: "What County has a Median household income of $46,872?". [/INST] SELECT "county" FROM "indiana_counties_ranked_by_per_capita_in" WHERE "median_household_income"='$46,872';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the average number of field goals scored by a right halfback who had more than 3 touchdowns?". [/INST] SELECT AVG("field_goals") FROM "michigan_88_ferris_institute_0" WHERE "position"='right halfback' AND "touchdowns">3;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What was the result of the game where 63,243 people attended after week 9?". [/INST] SELECT "result" FROM "schedule" WHERE "attendance">'63,243' AND "week">9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the week of the game played on November 28, 1974?". [/INST] SELECT MIN("week") FROM "schedule" WHERE "date"='november 28, 1974';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What Year was james mcclure Deputy, and the Name is robert mcphearson?". [/INST] SELECT "year" FROM "mayor_of_coleraine" WHERE "deputy"='james mcclure' AND "name"='robert mcphearson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What is the name of the Deputy when the Name was elizabeth black?". [/INST] SELECT "deputy" FROM "mayor_of_coleraine" WHERE "name"='elizabeth black';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What is the Name for 1997–99?". [/INST] SELECT "name" FROM "mayor_of_coleraine" WHERE "year"='1997–99';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What is the Political affiliation of deputy john dallat?". [/INST] SELECT "political_affiliation" FROM "mayor_of_coleraine" WHERE "deputy"='john dallat';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What is the name of the deputy in 1992–93?". [/INST] SELECT "deputy" FROM "mayor_of_coleraine" WHERE "year"='1992–93';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mayor_of_coleraine" ( "year" text, "name" text, "political_affiliation" text, "deputy" text, "deputy_s_affiliation" text );. Question: "What is the Deputy's affiliation in 1992–93?". [/INST] SELECT "deputy_s_affiliation" FROM "mayor_of_coleraine" WHERE "year"='1992–93';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "freedom_house_2010_2013" ( "country" text, "political_rights_2010" real, "civil_liberties_2010" real, "status_2010" text, "political_rights_2011" real, "civil_liberties_2011" real, "status_2011" text, "political_rights_2012" real, "civil_liberties_2012" real, "status_2012" text, "political_rights_2013" real, "civil_liberties_2013" real, "status_2013" text );. Question: "How many civil liberties 2013 values are associated with a 2010 political rights value of 6, civil liberties 2012 values over 5, and political rights 2011 under 6?". [/INST] SELECT COUNT("civil_liberties_2013") FROM "freedom_house_2010_2013" WHERE "political_rights_2010"=6 AND "civil_liberties_2012">5 AND "political_rights_2011"<6;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "freedom_house_2010_2013" ( "country" text, "political_rights_2010" real, "civil_liberties_2010" real, "status_2010" text, "political_rights_2011" real, "civil_liberties_2011" real, "status_2011" text, "political_rights_2012" real, "civil_liberties_2012" real, "status_2012" text, "political_rights_2013" real, "civil_liberties_2013" real, "status_2013" text );. Question: "What is the average 2012 civil liberties value associated with a 2011 status of not free, political rights 2012 over 6, and political rights 2011 over 7?". [/INST] SELECT AVG("civil_liberties_2012") FROM "freedom_house_2010_2013" WHERE "status_2011"='not free' AND "political_rights_2012">6 AND "political_rights_2011">7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "freedom_house_2010_2013" ( "country" text, "political_rights_2010" real, "civil_liberties_2010" real, "status_2010" text, "political_rights_2011" real, "civil_liberties_2011" real, "status_2011" text, "political_rights_2012" real, "civil_liberties_2012" real, "status_2012" text, "political_rights_2013" real, "civil_liberties_2013" real, "status_2013" text );. Question: "What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1?". [/INST] SELECT COUNT("civil_liberties_2011") FROM "freedom_house_2010_2013" WHERE "political_rights_2010"<3 AND "political_rights_2011"<1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "support_likelihood" ( "poll_source" text, "date" text, "candidate" text, "support" text, "consider" text, "oppose" text, "unsure" text );. Question: "What percentage of people were opposed to the candidate based on the WNBC/Marist poll that showed 8% of people were unsure?". [/INST] SELECT "oppose" FROM "support_likelihood" WHERE "unsure"='8%' AND "poll_source"='wnbc/marist poll';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "support_likelihood" ( "poll_source" text, "date" text, "candidate" text, "support" text, "consider" text, "oppose" text, "unsure" text );. Question: "What percentage of people were opposed to the candidate based on the Time Poll poll that showed 6% of people were unsure?". [/INST] SELECT "oppose" FROM "support_likelihood" WHERE "poll_source"='time poll' AND "unsure"='6%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "support_likelihood" ( "poll_source" text, "date" text, "candidate" text, "support" text, "consider" text, "oppose" text, "unsure" text );. Question: "What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him?". [/INST] SELECT "consider" FROM "support_likelihood" WHERE "poll_source"='newsweek poll' AND "oppose"='32%' AND "candidate"='rudy giuliani';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "result" text, "competition" text );. Question: "What was the result of the game in Stuttgart, West Germany and a goal number of less than 9?". [/INST] SELECT "result" FROM "international_goals" WHERE "venue"='stuttgart, west germany' AND "goal"<9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "Which Record has an Opponent of twins, and a Date of july 25?". [/INST] SELECT "record" FROM "game_log" WHERE "opponent"='twins' AND "date"='july 25';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington_counties_ranked_by_per_capita" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );. Question: "How much is per capita income when median household income is $42,845?". [/INST] SELECT "per_capita_income" FROM "washington_counties_ranked_by_per_capita" WHERE "median_household_income"='$42,845';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "Which Points have a Score of 4–1, and a Game smaller than 39?". [/INST] SELECT SUM("points") FROM "regular_season" WHERE "score"='4–1' AND "game"<39;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "Which January has a Score of 7–4, and a Game smaller than 42?". [/INST] SELECT SUM("january") FROM "regular_season" WHERE "score"='7–4' AND "game"<42;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "How many games have a Score of 1–0, and Points smaller than 66?". [/INST] SELECT COUNT("game") FROM "regular_season" WHERE "score"='1–0' AND "points"<66;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "Which Points is the lowest one that has a Score of 1–4, and a January smaller than 18?". [/INST] SELECT MIN("points") FROM "regular_season" WHERE "score"='1–4' AND "january"<18;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "alaska_boroughs_and_census_areas_ranked_" ( "borough_or_census_area" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );. Question: "Which borough or census area has a $59,596 median household income?". [/INST] SELECT "borough_or_census_area" FROM "alaska_boroughs_and_census_areas_ranked_" WHERE "median_household_income"='$59,596';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "alaska_boroughs_and_census_areas_ranked_" ( "borough_or_census_area" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );. Question: "What is the population of the area with a median family income of $71,278?". [/INST] SELECT COUNT("population") FROM "alaska_boroughs_and_census_areas_ranked_" WHERE "median_family_income"='$71,278';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "What was the Outcome of the Danish Open in 1985?". [/INST] SELECT "outcome" FROM "doubles" WHERE "venue"='danish open' AND "year"='1985';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "What was the Venue in 1986 with an Outcome of 1?". [/INST] SELECT "venue" FROM "doubles" WHERE "year"='1986' AND "outcome"='1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "What was the Outcome in 1983 of the WD Event?". [/INST] SELECT "outcome" FROM "doubles" WHERE "event"='wd' AND "year"='1983';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "In what Year did the German Open have Yoo Sang-Hee as Partner?". [/INST] SELECT "year" FROM "doubles" WHERE "partner"='yoo sang-hee' AND "venue"='german open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "What is the Outcome in the Malaysia Open with Partner Yoo Sang-Hee?". [/INST] SELECT "outcome" FROM "doubles" WHERE "partner"='yoo sang-hee' AND "venue"='malaysia open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text );. Question: "What is the Partner during the Asian Games Year?". [/INST] SELECT "partner" FROM "doubles" WHERE "year"='asian games';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the loss for August 19?". [/INST] SELECT "loss" FROM "game_log" WHERE "date"='august 19';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "rank" real, "municipality" text, "province" text, "status" text, "area_km_2" real );. Question: "What Municipality has a Rank of 44?". [/INST] SELECT "municipality" FROM "list" WHERE "rank"=44;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "rank" real, "municipality" text, "province" text, "status" text, "area_km_2" real );. Question: "What is the total Rank that has a Municipality of Winnipeg, an Area (KM 2) that's larger than 464.01?". [/INST] SELECT SUM("rank") FROM "list" WHERE "municipality"='winnipeg' AND "area_km_2">464.01;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "rank" real, "municipality" text, "province" text, "status" text, "area_km_2" real );. Question: "What is the highest Area (KM 2) for the Province of Ontario, that has the Status of Town, a Municipality of Minto, and a Rank that's smaller than 84?". [/INST] SELECT MAX("area_km_2") FROM "list" WHERE "province"='ontario' AND "status"='town' AND "municipality"='minto' AND "rank"<84;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "rank" real, "municipality" text, "province" text, "status" text, "area_km_2" real );. Question: "What's the total of Rank that has an Area (KM 2) of 1050.14?". [/INST] SELECT SUM("rank") FROM "list" WHERE "area_km_2"=1050.14;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "rank" real, "municipality" text, "province" text, "status" text, "area_km_2" real );. Question: "What is the listed Status that has the Province of Ontario and Rank of 86?". [/INST] SELECT "status" FROM "list" WHERE "province"='ontario' AND "rank"=86;</s>