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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the most high points and rebounds than charles oakley (9)?". [/INST] SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='Charles Oakley (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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "who is the the incumbent with opponent being anthony weiner (d) unopposed". [/INST] SELECT "incumbent" FROM "results" WHERE "opponent"='Anthony Weiner (D) unopposed';</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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%". [/INST] SELECT "incumbent" FROM "results" WHERE "opponent"='Peter King (R) 56.0% David Mejias (D) 44.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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "what's the district with party being republican and elected being 1998". [/INST] SELECT "district" FROM "results" WHERE "party"='Republican' AND "elected"=1998;</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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "what is the minimum district with incumbent being tom reynolds". [/INST] SELECT MIN("district") FROM "results" WHERE "incumbent"='Tom Reynolds';</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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "what's the status with incumbent being eliot engel". [/INST] SELECT "status" FROM "results" WHERE "incumbent"='Eliot Engel';</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 "canadian_national_championships" ( "year" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Name the number of women's doubles for 1986". [/INST] SELECT COUNT("womens_doubles") FROM "canadian_national_championships" WHERE "year"='1986';</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 "results" ( "district" real, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "what was the lowest numbers for the winner gregory w. meeks". [/INST] SELECT MIN("elected") FROM "results" WHERE "incumbent"='Gregory W. Meeks';</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 "business_class_b_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "ht" text, "multi_1" text, "v_core" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text );. Question: "What is the frequency of the model whose part number is ado520biaa5do? ". [/INST] SELECT "frequency" FROM "business_class_b_series" WHERE "part_number_s"='ADO520BIAA5DO';</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 "business_class_b_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "ht" text, "multi_1" text, "v_core" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text );. Question: "When's the release date of the model with part number adh485biaa5do? ". [/INST] SELECT "release_date" FROM "business_class_b_series" WHERE "part_number_s"='ADH485BIAA5DO';</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 "business_class_b_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "ht" text, "multi_1" text, "v_core" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text );. Question: "What is the HT value of threw Athlon x2 5200b model? ". [/INST] SELECT "ht" FROM "business_class_b_series" WHERE "model_number"='Athlon X2 5200B';</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 "business_class_b_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "ht" text, "multi_1" text, "v_core" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text );. Question: "How many different frequencies does the model with part number ado540biaa5do? ". [/INST] SELECT COUNT("frequency") FROM "business_class_b_series" WHERE "part_number_s"='ADO540BIAA5DO';</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_in_asia" ( "region" text, "total_population" real, "hindus" real, "pct_of_hindus" text, "pct_of_hindu_total" text );. Question: "what portion of the Middle East is Hindu?". [/INST] SELECT "pct_of_hindus" FROM "hinduism_in_asia" WHERE "region"='Middle East';</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_in_asia" ( "region" text, "total_population" real, "hindus" real, "pct_of_hindus" text, "pct_of_hindu_total" text );. Question: "What is the highest number where the portion of observers is 0.163%?". [/INST] SELECT MAX("hindus") FROM "hinduism_in_asia" WHERE "pct_of_hindus"='0.163%';</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_in_asia" ( "region" text, "total_population" real, "hindus" real, "pct_of_hindus" text, "pct_of_hindu_total" text );. Question: "What is the entire inhabitants in Southeast Asia?". [/INST] SELECT MIN("total_population") FROM "hinduism_in_asia" WHERE "region"='Southeast Asia';</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" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );. Question: "what is the minimum average with highest being 2363". [/INST] SELECT MIN("average") FROM "attendances" WHERE "highest"=2363;</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" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );. Question: "what is the minimum lowest with highest being 2363". [/INST] SELECT MIN("lowest") FROM "attendances" WHERE "highest"=2363;</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" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );. Question: "what's the team with stadium being glebe park". [/INST] SELECT "team" FROM "attendances" WHERE "stadium"='Glebe Park';</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 "table1_14035132_3" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "storyboarded_by" text, "original_air_date" text, "production_code" text );. Question: "What's the production code of the episode with a series number 37b? ". [/INST] SELECT "production_code" FROM "table1_14035132_3" WHERE "no_in_series"='37b';</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 "table1_14035132_3" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "storyboarded_by" text, "original_air_date" text, "production_code" text );. Question: "On what date did the episode with a series number 31, with a story written by William Reiss, air for the first time? ". [/INST] SELECT "original_air_date" FROM "table1_14035132_3" WHERE "storyboarded_by"='William Reiss' AND "no_in_series"='31';</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 "table1_14035132_3" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "storyboarded_by" text, "original_air_date" text, "production_code" text );. Question: "When did the episode with season number 10b air for the first time? ". [/INST] SELECT "original_air_date" FROM "table1_14035132_3" WHERE "no_in_season"='10b';</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 "table1_14035132_3" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "storyboarded_by" text, "original_air_date" text, "production_code" text );. Question: "When did the episode with series number 29a originally air? ". [/INST] SELECT "original_air_date" FROM "table1_14035132_3" WHERE "no_in_series"='29a';</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 "table1_14035132_3" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "storyboarded_by" text, "original_air_date" text, "production_code" text );. Question: "How many episodes have been directed and written by Darrick Bachman and Brett Varon? ". [/INST] SELECT COUNT("directed_by") FROM "table1_14035132_3" WHERE "written_by"='Darrick Bachman and Brett Varon';</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 "lg_as" ( "local_government_area" text, "principal_town" text, "land_area_km" text, "population_2011_census" real, "density" text, "region" text );. Question: "What is the population density in the Brighton area?". [/INST] SELECT "density" FROM "lg_as" WHERE "principal_town"='Brighton';</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 "lg_as" ( "local_government_area" text, "principal_town" text, "land_area_km" text, "population_2011_census" real, "density" text, "region" text );. Question: "How many people live in the area of Sorell according to the Census of 2011?". [/INST] SELECT "population_2011_census" FROM "lg_as" WHERE "local_government_area"='Sorell';</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 "table1_1404486_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );. Question: "what is the number of area where the county is marsabit?". [/INST] SELECT COUNT("area_km_2") FROM "table1_1404486_1" WHERE "county"='Marsabit';</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 "table1_1404486_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );. Question: "what is the code of population census 2009 is 1356301?". [/INST] SELECT "code" FROM "table1_1404486_1" WHERE "population_census_2009"=1356301;</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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What's the tries against count of the team with 396 points against? ". [/INST] SELECT COUNT("tries_against") FROM "2009_2010_table" WHERE "points_against"='396';</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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "How many points does the club with a try bonus of 10 have? ". [/INST] SELECT "points" FROM "2009_2010_table" WHERE "try_bonus"='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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What's the tries for count for the team with 70 points? ". [/INST] SELECT "tries_for" FROM "2009_2010_table" WHERE "points"='70';</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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "How many clubs have a try bonus value of 5?". [/INST] SELECT COUNT("club") FROM "2009_2010_table" WHERE "try_bonus"='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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What's the losing bonus count for the club with 9 won games? ". [/INST] SELECT "losing_bonus" FROM "2009_2010_table" WHERE "won"='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 "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "How many tries for does Pontardawe RFC have? ". [/INST] SELECT "tries_for" FROM "2009_2010_table" WHERE "club"='Pontardawe RFC';</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 "afc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" text, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "How many home wins occured win the road games are larger than 3.0 but road win percentage is .000?". [/INST] SELECT "home_wins" FROM "afc_championship_game_appearances_1970_p" WHERE "road_win_pct"='.000' AND "road_games">3.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 "afc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" text, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "How many numbers were recorded when the home win percentage .667?". [/INST] SELECT COUNT("pa") FROM "afc_championship_game_appearances_1970_p" WHERE "home_win_pct"='.667';</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 "afc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" text, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "How many home losses occured when PF 13?". [/INST] SELECT COUNT("home_losses") FROM "afc_championship_game_appearances_1970_p" WHERE "pf"=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 "afc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" text, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "How many home games were there with the road win pct was .167?". [/INST] SELECT "home_games" FROM "afc_championship_game_appearances_1970_p" WHERE "road_win_pct"='.167';</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 "rotavirus_genes_and_proteins" ( "rna_segment_gene" real, "size_s_base_pair" real, "protein" text, "molecular_weight_k_da" text, "location" text, "copies_per_particle" text, "function" text );. Question: "How many copoes per particle are created in the segment that forms inner shell of the core?". [/INST] SELECT "copies_per_particle" FROM "rotavirus_genes_and_proteins" WHERE "location"='Forms inner shell of the core';</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 "rotavirus_genes_and_proteins" ( "rna_segment_gene" real, "size_s_base_pair" real, "protein" text, "molecular_weight_k_da" text, "location" text, "copies_per_particle" text, "function" text );. Question: "How many copies per particle are created by the enterotoxin?". [/INST] SELECT "copies_per_particle" FROM "rotavirus_genes_and_proteins" WHERE "function"='Enterotoxin';</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 "rotavirus_genes_and_proteins" ( "rna_segment_gene" real, "size_s_base_pair" real, "protein" text, "molecular_weight_k_da" text, "location" text, "copies_per_particle" text, "function" text );. Question: "How many base pairs are there if the molecular weight is 102?". [/INST] SELECT COUNT("size_s_base_pair") FROM "rotavirus_genes_and_proteins" WHERE "molecular_weight_k_da"='102';</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 "rotavirus_genes_and_proteins" ( "rna_segment_gene" real, "size_s_base_pair" real, "protein" text, "molecular_weight_k_da" text, "location" text, "copies_per_particle" text, "function" text );. Question: "How many copies per particle are there for the base pair that is size 1059?". [/INST] SELECT COUNT("copies_per_particle") FROM "rotavirus_genes_and_proteins" WHERE "size_s_base_pair"=1059;</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" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "what is the minimum attendance with stadium being cotton bowl". [/INST] SELECT MIN("attendance") FROM "regular_season" WHERE "stadium"='Cotton Bowl';</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" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "what's the opponent with stadium being jeppesen stadium". [/INST] SELECT "opponent" FROM "regular_season" WHERE "stadium"='Jeppesen 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 "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "what's the stadium with record being 1–1". [/INST] SELECT "stadium" FROM "regular_season" WHERE "record"='1–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" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: " how many attendance with stadium being cotton bowl". [/INST] SELECT COUNT("attendance") FROM "regular_season" WHERE "stadium"='Cotton Bowl';</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" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "what's the result with opponent being at oakland raiders". [/INST] SELECT "result" FROM "regular_season" WHERE "opponent"='at Oakland Raiders';</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" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "what is the minimum attendance with record being 4–6". [/INST] SELECT MIN("attendance") FROM "regular_season" WHERE "record"='4–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 "list" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "What's Yurchikhin Fyodor Yurchikhin's number? ". [/INST] SELECT "number" FROM "list" WHERE "astronaut"='Yurchikhin Fyodor Yurchikhin';</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" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "How long was the walk numbered at 17?". [/INST] SELECT "total_time_hours_minutes" FROM "list" WHERE "number"=17;</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" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "How many agencies did Budarin Nikolai Budarin working for? ". [/INST] SELECT COUNT("agency") FROM "list" WHERE "astronaut"='Budarin Nikolai Budarin';</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" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "What is the total EVAs of the walk that lasted 45:34?". [/INST] SELECT MAX("total_ev_as") FROM "list" WHERE "total_time_hours_minutes"='45:34';</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" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "How many different total EVAs are there for the walk that lasted 45:34?". [/INST] SELECT COUNT("total_ev_as") FROM "list" WHERE "total_time_hours_minutes"='45:34';</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" ( "number" real, "astronaut" text, "agency" text, "total_ev_as" real, "total_time_hours_minutes" text );. Question: "What agency does Anderson Clayton Anderson work for? ". [/INST] SELECT "agency" FROM "list" WHERE "astronaut"='Anderson Clayton Anderson';</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 "loaded_unloaded_freight_and_mail_tons_kg" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );. Question: "what's the year with change being +8.0%". [/INST] SELECT "year" FROM "loaded_unloaded_freight_and_mail_tons_kg" WHERE "change"='+8.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 "loaded_unloaded_freight_and_mail_tons_kg" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );. Question: "what's the domestic freight with change being +8.0%". [/INST] SELECT "domestic_freight" FROM "loaded_unloaded_freight_and_mail_tons_kg" WHERE "change"='+8.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 "loaded_unloaded_freight_and_mail_tons_kg" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );. Question: "what is the maximum international mail with total freight and mail being 145044". [/INST] SELECT MAX("international_mail") FROM "loaded_unloaded_freight_and_mail_tons_kg" WHERE "total_freight_and_mail"=145044;</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 "table1_14154271_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "results" text );. Question: "The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. ". [/INST] SELECT "results" FROM "table1_14154271_2" WHERE "gt2_winning_team"='Lars-Erik Nielsen Allan Simonsen Richard Westbrook';</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 "table1_14154271_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "results" text );. Question: "Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.". [/INST] SELECT "rnd" FROM "table1_14154271_2" WHERE "lmp2_winning_team"='Jos Verstappen Jeroen Bleekemolen';</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_communes" ( "map_key" real, "commune" text, "canton" text, "district" text, "population" real );. Question: "what is the minimum population with canton being redange". [/INST] SELECT MIN("population") FROM "list_of_communes" WHERE "canton"='Redange';</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_communes" ( "map_key" real, "commune" text, "canton" text, "district" text, "population" real );. Question: " how many canton with commune being waldbillig". [/INST] SELECT COUNT("canton") FROM "list_of_communes" WHERE "commune"='Waldbillig';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "What is the arrival time of greenbat". [/INST] SELECT MAX("arrival") FROM "locomotive_collection" WHERE "name"='Greenbat';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "Which number has Engine Shed as the location". [/INST] SELECT "no" FROM "locomotive_collection" WHERE "location"='Engine shed';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "What is the name with the builder of Kerr Stuart". [/INST] SELECT "name" FROM "locomotive_collection" WHERE "builder"='Kerr Stuart';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "Who is the builder for the location Irton Road shed". [/INST] SELECT "builder" FROM "locomotive_collection" WHERE "location"='Irton Road shed';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "Whats the status of the trains at location Museum". [/INST] SELECT "status" FROM "locomotive_collection" WHERE "location"='Museum';</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 "locomotive_collection" ( "no" text, "name" text, "livery" text, "arrival" real, "type" text, "configuration" text, "builder" text, "built" real, "status" text, "location" text );. Question: "How many are named River Esk". [/INST] SELECT COUNT("built") FROM "locomotive_collection" WHERE "name"='River Esk';</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 "helix_titles" ( "book_title" text, "issues" real, "writer" text, "artist_s" text, "publication_dates" text );. Question: "timothy truman worked on what dates". [/INST] SELECT "publication_dates" FROM "helix_titles" WHERE "artist_s"='Timothy Truman';</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 "helix_titles" ( "book_title" text, "issues" real, "writer" text, "artist_s" text, "publication_dates" text );. Question: "timothy truman worked on what books". [/INST] SELECT "book_title" FROM "helix_titles" WHERE "artist_s"='Timothy Truman';</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 "helix_titles" ( "book_title" text, "issues" real, "writer" text, "artist_s" text, "publication_dates" text );. Question: "elaine lee worked on how many issues". [/INST] SELECT COUNT("issues") FROM "helix_titles" WHERE "writer"='Elaine 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 "1995_2000" ( "season" text, "regionalliga_s_d" text, "regionalliga_west_s_dwest" text, "regionalliga_nord" text, "regionalliga_nord_ost" text );. Question: "what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth". [/INST] SELECT "regionalliga_nord" FROM "1995_2000" WHERE "regionalliga_s_d"='1. FC Nuremberg SpVgg Greuther Fürth';</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_2000" ( "season" text, "regionalliga_s_d" text, "regionalliga_west_s_dwest" text, "regionalliga_nord" text, "regionalliga_nord_ost" text );. Question: "what's the season with regionalliga nord being vfb oldenburg". [/INST] SELECT "season" FROM "1995_2000" WHERE "regionalliga_nord"='VfB Oldenburg';</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_2000" ( "season" text, "regionalliga_s_d" text, "regionalliga_west_s_dwest" text, "regionalliga_nord" text, "regionalliga_nord_ost" text );. Question: "what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen". [/INST] SELECT "regionalliga_nord" FROM "1995_2000" WHERE "regionalliga_west_s_dwest"='FC Gütersloh Rot-Weiß Essen';</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_2000" ( "season" text, "regionalliga_s_d" text, "regionalliga_west_s_dwest" text, "regionalliga_nord" text, "regionalliga_nord_ost" text );. Question: "what's the season with regionalliga west/südwest being arminia bielefeld". [/INST] SELECT "season" FROM "1995_2000" WHERE "regionalliga_west_s_dwest"='Arminia Bielefeld';</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_2000" ( "season" text, "regionalliga_s_d" text, "regionalliga_west_s_dwest" text, "regionalliga_nord" text, "regionalliga_nord_ost" text );. Question: "what's the regionalliga west/südwest with regionalliga süd being stuttgarter kickers". [/INST] SELECT "regionalliga_west_s_dwest" FROM "1995_2000" WHERE "regionalliga_s_d"='Stuttgarter Kickers';</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 "counties" ( "in_no" real, "county_name" text, "establishment_date_sw_indiana_history_statehood" text, "county_seat" text, "time_zone" text, "population_2010_rank" text, "area_sq_mi_km_2_rank" text, "twps" real, "zip_code_prefix_es" text, "pct_of_boundary_by_water" text );. Question: "When Spencer is the county what is total of the population (2010) (rank)? ". [/INST] SELECT COUNT("population_2010_rank") FROM "counties" WHERE "county_name"='Spencer';</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 "counties" ( "in_no" real, "county_name" text, "establishment_date_sw_indiana_history_statehood" text, "county_seat" text, "time_zone" text, "population_2010_rank" text, "area_sq_mi_km_2_rank" text, "twps" real, "zip_code_prefix_es" text, "pct_of_boundary_by_water" text );. Question: "When Vincennes is the county seat what is the area sq mi (km 2 ) (rank) ?". [/INST] SELECT "area_sq_mi_km_2_rank" FROM "counties" WHERE "county_seat"='Vincennes';</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 "counties" ( "in_no" real, "county_name" text, "establishment_date_sw_indiana_history_statehood" text, "county_seat" text, "time_zone" text, "population_2010_rank" text, "area_sq_mi_km_2_rank" text, "twps" real, "zip_code_prefix_es" text, "pct_of_boundary_by_water" text );. Question: "When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?". [/INST] SELECT "population_2010_rank" FROM "counties" WHERE "area_sq_mi_km_2_rank"='sqmi (km2) (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 "counties" ( "in_no" real, "county_name" text, "establishment_date_sw_indiana_history_statehood" text, "county_seat" text, "time_zone" text, "population_2010_rank" text, "area_sq_mi_km_2_rank" text, "twps" real, "zip_code_prefix_es" text, "pct_of_boundary_by_water" text );. Question: "When the % of boundary by water is 63% what is the overall number of zip code prefix(es)?". [/INST] SELECT COUNT("zip_code_prefix_es") FROM "counties" WHERE "pct_of_boundary_by_water"='63%';</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 "counties" ( "in_no" real, "county_name" text, "establishment_date_sw_indiana_history_statehood" text, "county_seat" text, "time_zone" text, "population_2010_rank" text, "area_sq_mi_km_2_rank" text, "twps" real, "zip_code_prefix_es" text, "pct_of_boundary_by_water" text );. Question: "When Spencer is the county what is the in no.?". [/INST] SELECT "in_no" FROM "counties" WHERE "county_name"='Spencer';</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 "southern_germany_1982_94" ( "season" text, "oberliga_bayern" text, "oberliga_hessen" text, "oberliga_baden_w_rttemberg" text, "oberliga_s_dwest" text );. Question: "Name the oberliga hessen for sv sandhausen and fsv salmrohr". [/INST] SELECT "oberliga_hessen" FROM "southern_germany_1982_94" WHERE "oberliga_baden_w_rttemberg"='SV Sandhausen' AND "oberliga_s_dwest"='FSV Salmrohr';</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 "southern_germany_1982_94" ( "season" text, "oberliga_bayern" text, "oberliga_hessen" text, "oberliga_baden_w_rttemberg" text, "oberliga_s_dwest" text );. Question: "Name the oberliga for where tsv 1860 munich and borussia neunkirchen". [/INST] SELECT "oberliga_baden_w_rttemberg" FROM "southern_germany_1982_94" WHERE "oberliga_bayern"='TSV 1860 Munich' AND "oberliga_s_dwest"='Borussia Neunkirchen';</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 "southern_germany_1982_94" ( "season" text, "oberliga_bayern" text, "oberliga_hessen" text, "oberliga_baden_w_rttemberg" text, "oberliga_s_dwest" text );. Question: "Name the oberliga sudwest for spvgg unterhaching for 1988-89". [/INST] SELECT "oberliga_s_dwest" FROM "southern_germany_1982_94" WHERE "oberliga_bayern"='SpVgg Unterhaching' AND "season"='1988-89';</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 "southern_germany_1982_94" ( "season" text, "oberliga_bayern" text, "oberliga_hessen" text, "oberliga_baden_w_rttemberg" text, "oberliga_s_dwest" text );. Question: "Name the season for spvgg bayreuth and fsv salmrohr". [/INST] SELECT "season" FROM "southern_germany_1982_94" WHERE "oberliga_bayern"='SpVgg Bayreuth' AND "oberliga_s_dwest"='FSV Salmrohr';</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 "southern_germany_1982_94" ( "season" text, "oberliga_bayern" text, "oberliga_hessen" text, "oberliga_baden_w_rttemberg" text, "oberliga_s_dwest" text );. Question: "Name the oberliga bayern for sv sandhausen for 1986-87". [/INST] SELECT "oberliga_bayern" FROM "southern_germany_1982_94" WHERE "oberliga_baden_w_rttemberg"='SV Sandhausen' AND "season"='1986-87';</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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were shipped?". [/INST] SELECT COUNT("black_berry_os") FROM "idc_world_wide_smartphone_shipments_mill" WHERE "other"='0.1' AND "quarter"='2012 Q2';</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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "During the quarter 2012 Q4, how many millions of android phones were shipped?". [/INST] SELECT COUNT("android") FROM "idc_world_wide_smartphone_shipments_mill" WHERE "quarter"='2012 Q4';</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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "How many million of windows phones were shipped during the quarter that shipped 216.2 million total?". [/INST] SELECT "windows_phone" FROM "idc_world_wide_smartphone_shipments_mill" WHERE "total"='216.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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "How many total smartphones were shipped during the quarter 2012 Q1?". [/INST] SELECT COUNT("total") FROM "idc_world_wide_smartphone_shipments_mill" WHERE "quarter"='2012 Q1';</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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?". [/INST] SELECT "black_berry_os" FROM "idc_world_wide_smartphone_shipments_mill" WHERE "symbian"='10.4';</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 "idc_world_wide_smartphone_shipments_mill" ( "quarter" text, "android" text, "i_os" text, "symbian" text, "black_berry_os" text, "linux" text, "windows_phone" text, "other" text, "total" text );. Question: "How man "other" millions of smartphones were shipped when 181.1 million total were shipped?". [/INST] SELECT COUNT("other") FROM "idc_world_wide_smartphone_shipments_mill" WHERE "total"='181.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 "table1_1427868_1" ( "common_name" text, "scientific_name" text, "life_span" text, "adult_weight" text, "height_at_shoulder" text, "length_of_fur" text, "load_bearing_capacity" text );. Question: "What is the load bearing capacity when the name is Camelus Dromedarius". [/INST] SELECT "load_bearing_capacity" FROM "table1_1427868_1" WHERE "scientific_name"='Camelus dromedarius';</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 "year_by_year" ( "year" real, "team_name" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What is the division for the year 2006?". [/INST] SELECT "division" FROM "year_by_year" WHERE "year"=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 "year_by_year" ( "year" real, "team_name" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What was the playoff result for the team name of bay area seals". [/INST] SELECT "playoffs" FROM "year_by_year" WHERE "team_name"='Bay Area Seals';</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 "year_by_year" ( "year" real, "team_name" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "Where did the team finish in the season when the playoff result was divisional finals.". [/INST] SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Divisional Finals';</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 "year_by_year" ( "year" real, "team_name" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What is the playoff result when the league is USISL and the regular season record is 1st, pacific.". [/INST] SELECT "playoffs" FROM "year_by_year" WHERE "league"='USISL' AND "regular_season"='1st, Pacific';</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 "year_by_year" ( "year" real, "team_name" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "How many divisions have been won when the playoff result is conference quarterfinals.". [/INST] SELECT COUNT("division") FROM "year_by_year" WHERE "playoffs"='Conference Quarterfinals';</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 "2007_competitions" ( "competition" text, "record" text, "result" text, "home_matches" real, "home_attendance" real, "avg_home_attendance" real );. Question: "What was the lowest home attendance for the southern derby?". [/INST] SELECT MIN("home_attendance") FROM "2007_competitions" WHERE "competition"='Southern Derby';</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 "2007_competitions" ( "competition" text, "record" text, "result" text, "home_matches" real, "home_attendance" real, "avg_home_attendance" real );. Question: "What was the result when the team had contested 14 home games?". [/INST] SELECT "result" FROM "2007_competitions" WHERE "home_matches"=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 "2007_competitions" ( "competition" text, "record" text, "result" text, "home_matches" real, "home_attendance" real, "avg_home_attendance" real );. Question: "What was the result when the team was 4-1?". [/INST] SELECT "result" FROM "2007_competitions" WHERE "record"='4-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 "tourism" ( "name_of_place" text, "height_from_sea_level_in_meters" text, "nearby_town" text, "trekking_route" text, "category" text );. Question: "picturesque and trekking route is the category what is the height from sea level in meters?". [/INST] SELECT "height_from_sea_level_in_meters" FROM "tourism" WHERE "category"='Picturesque and Trekking Route';</s>