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 "atlas_v_launches" ( "date_and_time_utc" text, "type" real, "serial_no" text, "launch_site" text, "payload" text, "type_of_payload" text, "orbit" text, "outcome" text );. Question: "For the payload of Van Allen Belts Exploration what's the serial number?". [/INST] SELECT "serial_no" FROM "atlas_v_launches" WHERE "type_of_payload"='van allen belts exploration';</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 "atlas_v_launches" ( "date_and_time_utc" text, "type" real, "serial_no" text, "launch_site" text, "payload" text, "type_of_payload" text, "orbit" text, "outcome" text );. Question: "What payload was on November 26, 2011, 15:02?". [/INST] SELECT "type_of_payload" FROM "atlas_v_launches" WHERE "date_and_time_utc"='november 26, 2011, 15: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 "atlas_v_launches" ( "date_and_time_utc" text, "type" real, "serial_no" text, "launch_site" text, "payload" text, "type_of_payload" text, "orbit" text, "outcome" text );. Question: "When was the payload of Commercial Communications Satellite amc16?". [/INST] SELECT "date_and_time_utc" FROM "atlas_v_launches" WHERE "type_of_payload"='commercial communications satellite' AND "payload"='amc16';</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 "after_ww_ii" ( "average_population_x_1000" text, "live_births" text, "deaths" text, "natural_change" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" text );. Question: "Which Average population (x 1000) has a Crude death rate (per 1000) smaller than 10.9, and a Crude birth rate (per 1000) smaller than 19.7, and a Natural change (per 1000) of 8.7, and Live births of 54 263?". [/INST] SELECT "average_population_x_1000" FROM "after_ww_ii" WHERE "crude_death_rate_per_1000"<10.9 AND "crude_birth_rate_per_1000"<19.7 AND "natural_change_per_1000"='8.7' AND "live_births"='54 263';</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 "after_ww_ii" ( "average_population_x_1000" text, "live_births" text, "deaths" text, "natural_change" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" text );. Question: "Which Natural change has a Crude death rate (per 1000) larger than 9, and Deaths of 40 399?". [/INST] SELECT "natural_change" FROM "after_ww_ii" WHERE "crude_death_rate_per_1000">9 AND "deaths"='40 399';</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 "after_ww_ii" ( "average_population_x_1000" text, "live_births" text, "deaths" text, "natural_change" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" text );. Question: "Which Live births have a Natural change (per 1000) of 12.0?". [/INST] SELECT "live_births" FROM "after_ww_ii" WHERE "natural_change_per_1000"='12.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 "attendances" ( "season" real, "average_attendance_home" real, "highest_attendance_home" text, "average_attendance_away" real, "highest_attendance_away" text, "division_section" text, "level" text, "average_attendance_league" real );. Question: "How many season have an average attendance league of 2.456?". [/INST] SELECT SUM("season") FROM "attendances" WHERE "average_attendance_league"=2.456;</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 "1994" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "Which venue has more than 19 against?". [/INST] SELECT "venue" FROM "1994" WHERE "against">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 "1994" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "How many against have a status of first test?". [/INST] SELECT COUNT("against") FROM "1994" WHERE "status"='first test';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is the Venue of the Competition on 2001-05-05?". [/INST] SELECT "venue" FROM "international_goals" WHERE "date"='2001-05-05';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is the Date of the Fifa World Cup with a Score of 1-0?". [/INST] SELECT "date" FROM "international_goals" WHERE "score"='1-0' AND "competition"='fifa world cup';</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" text, "date" text, "opponent" text, "result" text, "location" text );. Question: "What was the result of the game against the Miami Dolphins held at the Riverfront Stadium?". [/INST] SELECT "result" FROM "schedule" WHERE "location"='riverfront stadium' AND "opponent"='miami dolphins';</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" text, "date" text, "opponent" text, "result" text, "location" text );. Question: "What was the location of the game against the Houston Oilers?". [/INST] SELECT "location" FROM "schedule" WHERE "opponent"='houston oilers';</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" text, "date" text, "opponent" text, "result" text, "location" text );. Question: "What was the result of the game at the Riverfront Stadium after week 8?". [/INST] SELECT "result" FROM "schedule" WHERE "location"='riverfront stadium' AND "week"='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 "population_of_solano_county_towns" ( "city" text, "1860" text, "1870" text, "1880" text, "1890" real, "1900" real, "1910" real, "1920" real );. Question: "What is the 1880 figure when 1860 is N/A and 1910 is 494?". [/INST] SELECT "1880" FROM "population_of_solano_county_towns" WHERE "1860"='n/a' AND "1910"=494;</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 "population_of_solano_county_towns" ( "city" text, "1860" text, "1870" text, "1880" text, "1890" real, "1900" real, "1910" real, "1920" real );. Question: "What is the 1920 number when 1890 is greater than 1,236, 1910 is less than 1,177 and the city is Vacaville?". [/INST] SELECT SUM("1920") FROM "population_of_solano_county_towns" WHERE "1890">'1,236' AND "city"='vacaville' AND "1910"<'1,177';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Which competition took place on October 11, 2006?". [/INST] SELECT "competition" FROM "international_goals" WHERE "date"='october 11, 2006';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What was the score of the friendly match at Amman on February 14, 2006?". [/INST] SELECT "score" FROM "international_goals" WHERE "venue"='amman' AND "competition"='friendly' AND "date"='february 14, 2006';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Where did Ra'fat Ali play on August 17, 1999?". [/INST] SELECT "venue" FROM "international_goals" WHERE "date"='august 17, 1999';</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 "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was the place when the score was 71-69-71=211?". [/INST] SELECT "place" FROM "third_round" WHERE "score"='71-69-71=211';</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 "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was Australia's score when Peter Lonard played?". [/INST] SELECT "score" FROM "third_round" WHERE "country"='australia' AND "player"='peter lonard';</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 "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What player scored 71-69-71=211?". [/INST] SELECT "player" FROM "third_round" WHERE "score"='71-69-71=211';</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 "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was the score for Peter Lonard?". [/INST] SELECT "score" FROM "third_round" WHERE "player"='peter lonard';</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 "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was the place when the score was 68-75-68=211?". [/INST] SELECT "place" FROM "third_round" WHERE "score"='68-75-68=211';</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 "2000s_tied_10_10" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );. Question: "What was the Venue on November 26?". [/INST] SELECT "venue" FROM "2000s_tied_10_10" WHERE "date"='november 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 "2000s_tied_10_10" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );. Question: "What was the Venue of the San Francisco 49ers Home game with a Result of 30-10?". [/INST] SELECT "venue" FROM "2000s_tied_10_10" WHERE "home_team"='san francisco 49ers' AND "result"='30-10';</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 "2000s_tied_10_10" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );. Question: "What is the Result of the game on October 3?". [/INST] SELECT "result" FROM "2000s_tied_10_10" WHERE "date"='october 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 "2000s_tied_10_10" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );. Question: "What is the Venue of the 2009 St. Louis Rams Home game?". [/INST] SELECT "venue" FROM "2000s_tied_10_10" WHERE "year"=2009 AND "home_team"='st. louis rams';</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 "2000s_tied_10_10" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );. Question: "What Date after 2007 had the San Francisco 49ers as the Visiting Team?". [/INST] SELECT "date" FROM "2000s_tied_10_10" WHERE "visiting_team"='san francisco 49ers' AND "year">2007;</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_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2004, when 2008 is "WTA Premier 5 Tournaments"?". [/INST] SELECT "2004" FROM "singles_performance_timeline" WHERE "2008"='wta premier 5 tournaments';</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_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2010, when 2009 is "1"?". [/INST] SELECT "2010" FROM "singles_performance_timeline" WHERE "2009"='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 "singles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2004, when 2005 is "Not Tier I"?". [/INST] SELECT "2004" FROM "singles_performance_timeline" WHERE "2005"='not tier i';</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_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2007, when Tournament is "Madrid"?". [/INST] SELECT "2007" FROM "singles_performance_timeline" WHERE "tournament"='madrid';</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_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2011, when 2006 is "A", when 2008 is "A", and when Tournament is "Rome"?". [/INST] SELECT "2011" FROM "singles_performance_timeline" WHERE "2006"='a' AND "2008"='a' AND "tournament"='rome';</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_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );. Question: "What is 2011, when 2010 is "WTA Premier 5 Tournaments"?". [/INST] SELECT "2011" FROM "singles_performance_timeline" WHERE "2010"='wta premier 5 tournaments';</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 "egypt" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is Name, when Weight is "kg (lb)", when Club is "Gezira", and when Date of Birth is "1974-02-18"?". [/INST] SELECT "name" FROM "egypt" WHERE "weight"='kg (lb)' AND "club"='gezira' AND "date_of_birth"='1974-02-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 "egypt" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is Pos., when Height is "m (ft 10in)", and when Date of Birth is "1983-05-29"?". [/INST] SELECT "pos" FROM "egypt" WHERE "height"='m (ft 10in)' AND "date_of_birth"='1983-05-29';</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 "egypt" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is Weight, when Club is "Maadi"?". [/INST] SELECT "weight" FROM "egypt" WHERE "club"='maadi';</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 "egypt" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is Date of Birth, when Height is "Head Coach: Adel Shamala"?". [/INST] SELECT "date_of_birth" FROM "egypt" WHERE "height"='head coach: adel shamala';</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 "egypt" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is Weight, when Club is "Ahly", and when Name is "Ragy Abdel Hady"?". [/INST] SELECT "weight" FROM "egypt" WHERE "club"='ahly' AND "name"='ragy abdel hady';</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 "united_kingdom" ( "seat_order_right_to_left" real, "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text );. Question: "Which Series 1 has a Series 11 of peter jones?". [/INST] SELECT "series_1" FROM "united_kingdom" WHERE "series_11"='peter jones';</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 "united_kingdom" ( "seat_order_right_to_left" real, "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text );. Question: "Which Series 2 has a Series 3 of deborah meaden?". [/INST] SELECT "series_2" FROM "united_kingdom" WHERE "series_3"='deborah meaden';</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 "united_kingdom" ( "seat_order_right_to_left" real, "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text );. Question: "How many Seat Orders (Right to Left) have a Series 3 of deborah meaden?". [/INST] SELECT COUNT("seat_order_right_to_left") FROM "united_kingdom" WHERE "series_3"='deborah meaden';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "The player for which country had a score of 66-72=138?". [/INST] SELECT "country" FROM "second_round" WHERE "score"='66-72=138';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "In what place was Tiger Woods of the United States?". [/INST] SELECT "place" FROM "second_round" WHERE "country"='united states' AND "player"='tiger woods';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was the TO par for the player who scored 68-71=139?". [/INST] SELECT "to_par" FROM "second_round" WHERE "score"='68-71=139';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was the TO par for the player who scored 68-69=137?". [/INST] SELECT "to_par" FROM "second_round" WHERE "score"='68-69=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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "What is Illinois 13 District's Party?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='illinois 13';</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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "What is re-elected Incumbent Jerry Costello's First elected date?". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "results"='re-elected' AND "incumbent"='jerry costello';</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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "What is the Party of District of Illinois 19 with an Incumbent First elected in 1996?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1996 AND "district"='illinois 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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "What is the First Elected date of the Republican with Results of retired republican hold?". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "party"='republican' AND "results"='retired republican hold';</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_performance_timeline" ( "tournament" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text );. Question: "What is Tournament, when 2000 is "A"?". [/INST] SELECT "tournament" FROM "singles_performance_timeline" WHERE "2000"='a';</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_performance_timeline" ( "tournament" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text );. Question: "What is 1998, when 1997 is "3R", and when 1992 is "A"?". [/INST] SELECT "1998" FROM "singles_performance_timeline" WHERE "1997"='3r' AND "1992"='a';</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_performance_timeline" ( "tournament" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text );. Question: "What is 1992, when 1999 is "Year-End Championship"?". [/INST] SELECT "1992" FROM "singles_performance_timeline" WHERE "1999"='year-end championship';</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_performance_timeline" ( "tournament" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text );. Question: "What is 2005, when 1998 is "F", and when 2002 is "2R"?". [/INST] SELECT "2005" FROM "singles_performance_timeline" WHERE "1998"='f' AND "2002"='2r';</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 "vowel_plus_consonant" ( "ending" text, "american" text, "british" text, "australian" text, "examples" text );. Question: "Which British has Examples of exit?". [/INST] SELECT "british" FROM "vowel_plus_consonant" WHERE "examples"='exit';</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 "vowel_plus_consonant" ( "ending" text, "american" text, "british" text, "australian" text, "examples" text );. Question: "Which Australian has British of ɒs?". [/INST] SELECT "australian" FROM "vowel_plus_consonant" WHERE "british"='ɒs';</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 "vowel_plus_consonant" ( "ending" text, "american" text, "british" text, "australian" text, "examples" text );. Question: "Which Examples has Australian of əm?". [/INST] SELECT "examples" FROM "vowel_plus_consonant" WHERE "australian"='əm';</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 "vowel_plus_consonant" ( "ending" text, "american" text, "british" text, "australian" text, "examples" text );. Question: "Which American has British of ɛm?". [/INST] SELECT "american" FROM "vowel_plus_consonant" WHERE "british"='ɛm';</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 "vowel_plus_consonant" ( "ending" text, "american" text, "british" text, "australian" text, "examples" text );. Question: "Which Ending has British of iz, and Examples of achilles, appendices, fæces?". [/INST] SELECT "ending" FROM "vowel_plus_consonant" WHERE "british"='iz' AND "examples"='achilles, appendices, fæces';</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 "road_vehicles" ( "model" text, "first_year" real, "distribution" text, "engine" text, "displacement_cc" real, "power_hp_k_w" text );. Question: "What is the total number of First Year, when Displacement CC is greater than 4719, when Engine is V8, when Power HP (kW) is "335 (246)", and when Model is "Ghibli SS"?". [/INST] SELECT COUNT("first_year") FROM "road_vehicles" WHERE "displacement_cc">4719 AND "engine"='v8' AND "power_hp_k_w"='335 (246)' AND "model"='ghibli ss';</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 "road_vehicles" ( "model" text, "first_year" real, "distribution" text, "engine" text, "displacement_cc" real, "power_hp_k_w" text );. Question: "What is the lowest First Year, when Model is "Quattroporte (2.8)"?". [/INST] SELECT MIN("first_year") FROM "road_vehicles" WHERE "model"='quattroporte (2.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 "road_vehicles" ( "model" text, "first_year" real, "distribution" text, "engine" text, "displacement_cc" real, "power_hp_k_w" text );. Question: "What is Power HP (kW), when First Year is greater than 1965, when Distribution is "International", when Engine is V6 Biturbo, and when Model is "425"?". [/INST] SELECT "power_hp_k_w" FROM "road_vehicles" WHERE "first_year">1965 AND "distribution"='international' AND "engine"='v6 biturbo' AND "model"='425';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is Competition, when Date is "January 11, 1996", when Venue is "San Diego , United States"?". [/INST] SELECT "competition" FROM "international_goals" WHERE "date"='january 11, 1996' AND "venue"='san diego , united states';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is "Win"?". [/INST] SELECT "score" FROM "international_goals" WHERE "venue"='riyadh, saudi arabia' AND "result"='win';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is Result, when Date is "June 11, 1994", and when Venue is "Miami, United States"?". [/INST] SELECT "result" FROM "international_goals" WHERE "date"='june 11, 1994' AND "venue"='miami, united states';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is Venue, when Date is "January 6, 1995"?". [/INST] SELECT "venue" FROM "international_goals" WHERE "date"='january 6, 1995';</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" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is Score, when Date is "June 8, 1996"?". [/INST] SELECT "score" FROM "international_goals" WHERE "date"='june 8, 1996';</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 "relegation" ( "team" text, "2004_05_pts" text, "2005_06_pts" text, "2006_07_pts" real, "total_pts" real, "total_pld" real );. Question: "What is the total number of PLD for Team Arsenal?". [/INST] SELECT COUNT("total_pld") FROM "relegation" WHERE "team"='arsenal';</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 "relegation" ( "team" text, "2004_05_pts" text, "2005_06_pts" text, "2006_07_pts" real, "total_pts" real, "total_pld" real );. Question: "What is the total pld with 158 points in 2006-07, and less than 52 points in 2006-07?". [/INST] SELECT SUM("total_pld") FROM "relegation" WHERE "total_pts"=158 AND "2006_07_pts"<52;</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 "relegation" ( "team" text, "2004_05_pts" text, "2005_06_pts" text, "2006_07_pts" real, "total_pts" real, "total_pld" real );. Question: "What is the average total pld with 45 points in 2005-06, and more than 52 points in 2006-07?". [/INST] SELECT AVG("total_pld") FROM "relegation" WHERE "2005_06_pts"='45' AND "2006_07_pts">52;</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 "relegation" ( "team" text, "2004_05_pts" text, "2005_06_pts" text, "2006_07_pts" real, "total_pts" real, "total_pld" real );. Question: "What is the total number of points for a total pld less than 38?". [/INST] SELECT COUNT("total_pts") FROM "relegation" WHERE "total_pld"<38;</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, "attendance" real, "record" text, "arena" text, "points" real );. Question: "How many Points have a Score of 3–2, and an Attendance larger than 17,398?". [/INST] SELECT SUM("points") FROM "regular_season" WHERE "score"='3–2' AND "attendance">'17,398';</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, "attendance" real, "record" text, "arena" text, "points" real );. Question: "Which score has a Loss of hiller (22–15–1)?". [/INST] SELECT "score" FROM "regular_season" WHERE "loss"='hiller (22–15–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 "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real );. Question: "Which Loss has a Record of 41–32–6?". [/INST] SELECT "loss" FROM "regular_season" WHERE "record"='41–32–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 "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real );. Question: "Which Attendance has more than 90 points?". [/INST] SELECT "attendance" FROM "regular_season" WHERE "points">90;</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, "attendance" real, "record" text, "arena" text, "points" real );. Question: "On what date was the Record 41–32–6?". [/INST] SELECT "date" FROM "regular_season" WHERE "record"='41–32–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 "international_record" ( "played" real, "drawn" real, "lost" real, "winning_pct" real, "tries" real, "conversions" real, "penalties" real, "s_drop_goal" real, "points_total" real );. Question: "How many ties did he have when he had 1 penalties and more than 20 conversions?". [/INST] SELECT SUM("drawn") FROM "international_record" WHERE "penalties"=1 AND "conversions">20;</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_record" ( "played" real, "drawn" real, "lost" real, "winning_pct" real, "tries" real, "conversions" real, "penalties" real, "s_drop_goal" real, "points_total" real );. Question: "What is the least number of penalties he got when his point total was over 1419 in more than 98 games?". [/INST] SELECT MIN("penalties") FROM "international_record" WHERE "points_total"=1419 AND "played">98;</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 "accidents_and_incidents" ( "date" text, "airline" text, "aircraft_type" text, "registration" text, "people_on_board" real, "fatalities" real );. Question: "How many fatalities shows for the lockheed l-1049g?". [/INST] SELECT SUM("fatalities") FROM "accidents_and_incidents" WHERE "aircraft_type"='lockheed l-1049g';</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 "accidents_and_incidents" ( "date" text, "airline" text, "aircraft_type" text, "registration" text, "people_on_board" real, "fatalities" real );. Question: "What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g?". [/INST] SELECT AVG("people_on_board") FROM "accidents_and_incidents" WHERE "airline"='iberia' AND "aircraft_type"='lockheed l-1049g';</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 "accidents_and_incidents" ( "date" text, "airline" text, "aircraft_type" text, "registration" text, "people_on_board" real, "fatalities" real );. Question: "How many fatalities are there for the airline of spantax, with a registration of ec-arz?". [/INST] SELECT AVG("fatalities") FROM "accidents_and_incidents" WHERE "airline"='spantax' AND "registration"='ec-arz';</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 "italian_presidents_ages" ( "president" text, "date_of_inauguration" text, "age_at_inauguration" text, "end_of_term" text, "length_of_retirement" text, "lifespan" text );. Question: "What is the End of term of the President with an Age at inauguration of 78years, 160days?". [/INST] SELECT "end_of_term" FROM "italian_presidents_ages" WHERE "age_at_inauguration"='78years, 160days';</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 "italian_presidents_ages" ( "president" text, "date_of_inauguration" text, "age_at_inauguration" text, "end_of_term" text, "length_of_retirement" text, "lifespan" text );. Question: "What is the Length of retirement of the President with an Age at inauguration of 70years, 53days?". [/INST] SELECT "length_of_retirement" FROM "italian_presidents_ages" WHERE "age_at_inauguration"='70years, 53days';</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 "italian_presidents_ages" ( "president" text, "date_of_inauguration" text, "age_at_inauguration" text, "end_of_term" text, "length_of_retirement" text, "lifespan" text );. Question: "What is the Date of inauguration of the President with an Age at inauguration of 73years, 262days?". [/INST] SELECT "date_of_inauguration" FROM "italian_presidents_ages" WHERE "age_at_inauguration"='73years, 262days';</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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "Which player is from Australia?". [/INST] SELECT "player" FROM "made_the_cut" WHERE "country"='australia';</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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "Who has the highest total and a to par of +14?". [/INST] SELECT MAX("total") FROM "made_the_cut" WHERE "to_par"='+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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "Which country had a total of 282?". [/INST] SELECT "country" FROM "made_the_cut" WHERE "total"=282;</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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What country is Greg Norman from?". [/INST] SELECT "country" FROM "made_the_cut" WHERE "player"='greg norman';</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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What is Australia's to par?". [/INST] SELECT "to_par" FROM "made_the_cut" WHERE "country"='australia';</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 "lightweight_69_kg" ( "name" text, "bodyweight" real, "snatch" real, "clean_jerk" real, "total_kg" real );. Question: "Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller than 100?". [/INST] SELECT MIN("total_kg") FROM "lightweight_69_kg" WHERE "clean_jerk"<153 AND "snatch"<100;</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 "friendlies" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text );. Question: "In which competition or tour was nordsjælland the opponent with a hr Ground?". [/INST] SELECT "competition_or_tour" FROM "friendlies" WHERE "ground"='hr' AND "opponent"='nordsjælland';</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_of_players" ( "nat" text, "name" text, "first_game" text, "final_game" text, "apps" real, "goals" real );. Question: "What name has 118 as the apps?". [/INST] SELECT "name" FROM "list_of_players" WHERE "apps"=118;</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 "judges" ( "judge" text, "state" text, "born_died" text, "began_active_service" real, "ended_active_service" real );. Question: "Who was the judge for the state SD?". [/INST] SELECT "judge" FROM "judges" WHERE "state"='sd';</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 "1995" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What's the status with an against over 20 on 18/11/1995?". [/INST] SELECT "status" FROM "1995" WHERE "against">20 AND "date"='18/11/1995';</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 "1995" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What's the status on 16/12/1995?". [/INST] SELECT "status" FROM "1995" WHERE "date"='16/12/1995';</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 "1995" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What date has a status of 1995 rugby world cup and an against of 20?". [/INST] SELECT "date" FROM "1995" WHERE "status"='1995 rugby world cup' AND "against"=20;</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 "1995" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What's the total against for opposing team scotland at twickenham, london venue with a status of five nations?". [/INST] SELECT COUNT("against") FROM "1995" WHERE "status"='five nations' AND "venue"='twickenham, london' AND "opposing_teams"='scotland';</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 "1995" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "When was the status test match with an opposing team of south africa?". [/INST] SELECT "date" FROM "1995" WHERE "status"='test match' AND "opposing_teams"='south africa';</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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze?". [/INST] SELECT MIN("gold") FROM "medal_table" WHERE "silver"=4 AND "bronze">4;</s>