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 "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: " what's the聽evening gown聽where聽state聽is south dakota". [/INST] SELECT "evening_gown" FROM "final_competition_scores" WHERE "state"='South Dakota';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "what is the total number of聽average聽where聽evening gown聽is 8.988". [/INST] SELECT COUNT("average") FROM "final_competition_scores" WHERE "evening_gown"='8.988';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Name the men's singles of marina yakusheva elena shimko". [/INST] SELECT "mens_singles" FROM "21st_century" WHERE "womens_doubles"='Marina Yakusheva Elena Shimko';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What are the womens singles of imam sodikin irawan andi tandaputra?". [/INST] SELECT "womens_singles" FROM "21st_century" WHERE "mens_doubles"='Imam Sodikin Irawan Andi Tandaputra';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What are the womens singles of naoko fukuman kurumi yonao?". [/INST] SELECT "womens_singles" FROM "21st_century" WHERE "womens_doubles"='Naoko Fukuman Kurumi Yonao';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What is the womens singles of marcus ellis gabrielle white?". [/INST] SELECT "womens_singles" FROM "21st_century" WHERE "mixed_doubles"='Marcus Ellis Gabrielle White';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What is the mens singles of 2008?". [/INST] SELECT "mens_singles" FROM "21st_century" WHERE "year"=2008;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administrative_divisions" ( "no" text, "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );. Question: "what is the gdp ( bn ) where capital is capital?". [/INST] SELECT "gdp_bn" FROM "administrative_divisions" WHERE "capital"='Capital';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administrative_divisions" ( "no" text, "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );. Question: "what is the population where the area (sq. mi.) is area (sq. mi.)?". [/INST] SELECT "population" FROM "administrative_divisions" WHERE "area_sq_mi"='Area (sq. mi.)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?". [/INST] SELECT "light_vehicle" FROM "table1_1211545_2" WHERE "heavy_vehicle_2_axles"='R87.00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00?". [/INST] SELECT "name" FROM "table1_1211545_2" WHERE "heavy_vehicle_2_axles"='R87.00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza?". [/INST] SELECT "heavy_vehicle_3_4_axles" FROM "table1_1211545_2" WHERE "name"='Verkeerdevlei Toll Plaza';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the location of the Carousel toll plaza?". [/INST] SELECT "location" FROM "table1_1211545_2" WHERE "name"='Carousel Toll Plaza';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the toll for light vehicles at the plaza between bela bela and modimolle?". [/INST] SELECT "light_vehicle" FROM "table1_1211545_2" WHERE "location"='between Bela Bela and Modimolle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1211545_2" ( "name" text, "location" text, "light_vehicle" text, "heavy_vehicle_2_axles" text, "heavy_vehicle_3_4_axles" text, "heavy_vehicle_5_axles" text );. Question: "What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50?". [/INST] SELECT "name" FROM "table1_1211545_2" WHERE "heavy_vehicle_2_axles"='R20.50';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "launch_list" ( "name" text, "alt_name" text, "launch_date" text, "id" text, "mass_kg" real, "decay_date" text, "perigee_km" real, "apogee_km" real, "inclination" text );. Question: "What is the inclination when the alt name is OPS-1584?". [/INST] SELECT "inclination" FROM "launch_list" WHERE "alt_name"='OPS-1584';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "launch_list" ( "name" text, "alt_name" text, "launch_date" text, "id" text, "mass_kg" real, "decay_date" text, "perigee_km" real, "apogee_km" real, "inclination" text );. Question: "What is the maximum apogee for samos f3-3?". [/INST] SELECT MAX("apogee_km") FROM "launch_list" WHERE "name"='SAMOS F3-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 "launch_list" ( "name" text, "alt_name" text, "launch_date" text, "id" text, "mass_kg" real, "decay_date" text, "perigee_km" real, "apogee_km" real, "inclination" text );. Question: "What was the maximum perigee on 1969-01-09?". [/INST] SELECT MAX("perigee_km") FROM "launch_list" WHERE "decay_date"='1969-01-09';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "launch_list" ( "name" text, "alt_name" text, "launch_date" text, "id" text, "mass_kg" real, "decay_date" text, "perigee_km" real, "apogee_km" real, "inclination" text );. Question: "How many alt names does 1964-011a have?". [/INST] SELECT COUNT("alt_name") FROM "launch_list" WHERE "id"='1964-011A';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text, "leftfielder" text, "starting_pitcher" text );. Question: "Who played SS when paul konerko played 1st base?". [/INST] SELECT "shortstop" FROM "opening_day_starting_lineups" WHERE "first_baseman"='Paul Konerko';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text, "leftfielder" text, "starting_pitcher" text );. Question: "Who played 2nd base when nomar garciaparra was at 1st base?". [/INST] SELECT "second_baseman" FROM "opening_day_starting_lineups" WHERE "first_baseman"='Nomar Garciaparra';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text, "leftfielder" text, "starting_pitcher" text );. Question: "Who was the RF when the SP was vicente padilla?". [/INST] SELECT "rightfielder" FROM "opening_day_starting_lineups" WHERE "starting_pitcher"='Vicente Padilla';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text, "leftfielder" text, "starting_pitcher" text );. Question: "Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP.". [/INST] SELECT "shortstop" FROM "opening_day_starting_lineups" WHERE "second_baseman"='Jim Lefebvre' AND "centerfielder"='Willie Davis' AND "starting_pitcher"='Don Drysdale';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "league" text, "rank" real, "games" real, "points" real, "gf" real, "ga" real, "manager" text, "top_scorer" text, "goals" real );. Question: "Who is the top scorer where gf is 41?". [/INST] SELECT "top_scorer" FROM "results" WHERE "gf"=41;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "league" text, "rank" real, "games" real, "points" real, "gf" real, "ga" real, "manager" text, "top_scorer" text, "goals" real );. Question: "How many goals were scored in the 2005-06 season?". [/INST] SELECT "goals" FROM "results" WHERE "season"='2005-06';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "league" text, "rank" real, "games" real, "points" real, "gf" real, "ga" real, "manager" text, "top_scorer" text, "goals" real );. Question: "How many seasons had a rank of 16?". [/INST] SELECT COUNT("season") FROM "results" WHERE "rank"=16;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "season" text, "league" text, "rank" real, "games" real, "points" real, "gf" real, "ga" real, "manager" text, "top_scorer" text, "goals" real );. Question: "Who is the manager whose rank is 16?". [/INST] SELECT "manager" FROM "results" WHERE "rank"=16;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "season" text, "league" text, "rank" real, "games" real, "points" real, "gf" real, "ga" real, "manager" text, "top_scorer" text, "goals" real );. Question: "What is the rank of manager Rob Mcdonald?". [/INST] SELECT COUNT("rank") FROM "results" WHERE "manager"='Rob McDonald';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "episode" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What's the order number of the song originally performed by Rickie Lee Jones?". [/INST] SELECT "order_num" FROM "performances" WHERE "original_artist"='Rickie Lee 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 "performances" ( "episode" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What was the result of the Top 3 episode?". [/INST] SELECT "result" FROM "performances" WHERE "episode"='Top 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 "performances" ( "episode" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What's the total number of songs originally performed by Anna Nalick?". [/INST] SELECT COUNT("song_choice") FROM "performances" WHERE "original_artist"='Anna Nalick';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "episode" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "Which one of the songs was originally performed by Rickie Lee Jones?". [/INST] SELECT "song_choice" FROM "performances" WHERE "original_artist"='Rickie Lee 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 "performances" ( "episode" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What's the original artist of the song performed in the top 3 episode?". [/INST] SELECT "original_artist" FROM "performances" WHERE "episode"='Top 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 "election_results_1945_2000" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "What is the # of seats one for the election in 1974?". [/INST] SELECT "num_of_seats_won" FROM "election_results_1945_2000" WHERE "election"=1974;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results_1945_2000" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "How many times was the # of total votes 2582322?". [/INST] SELECT COUNT("num_of_seats_won") FROM "election_results_1945_2000" WHERE "num_of_total_votes"=2582322;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results_1945_2000" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "What year was the election when the # of seats won was 65?". [/INST] SELECT "election" FROM "election_results_1945_2000" WHERE "num_of_seats_won"=65;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results_1945_2000" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "What is the election year when the # of candidates nominated was 262?". [/INST] SELECT COUNT("election") FROM "election_results_1945_2000" WHERE "num_of_candidates_nominated"=262;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results_1945_2000" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "What was the lowest # of total votes?". [/INST] SELECT MIN("num_of_total_votes") FROM "election_results_1945_2000";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "What is the strongs words compounded when the english spelling is jonadab?". [/INST] SELECT "strongs_words_compounded" FROM "table_of_theophoric_names_with_yeho_and_" WHERE "english_spelling"='Jonadab';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "What is the strong words compounded when the strongs transliteration is yowyariyb?". [/INST] SELECT "strongs_words_compounded" FROM "table_of_theophoric_names_with_yeho_and_" WHERE "strongs_transliteration"='Yowyariyb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "What is the english spelling of the word that has the strongs trasliteration of y e howram?". [/INST] SELECT "english_spelling" FROM "table_of_theophoric_names_with_yeho_and_" WHERE "strongs_transliteration"='Y e howram';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "What is the strongs # of the english spelling word jehojakin?". [/INST] SELECT "strongs_num" FROM "table_of_theophoric_names_with_yeho_and_" WHERE "english_spelling"='Jehojakin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "What is the strongs transliteration of the hebrew word 讬讜止讞指谞指谉?". [/INST] SELECT "strongs_transliteration" FROM "table_of_theophoric_names_with_yeho_and_" WHERE "hebrew_word"='讬讜止讞指谞指谉';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_theophoric_names_with_yeho_and_" ( "strongs_num" real, "hebrew_word" text, "strongs_transliteration" text, "strongs_words_compounded" text, "english_spelling" text );. Question: "How many strongs transliteration of the english spelling of the work jehojakin?". [/INST] SELECT COUNT("strongs_transliteration") FROM "table_of_theophoric_names_with_yeho_and_" WHERE "english_spelling"='Jehojakin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12485020_1" ( "ds_division" text, "main_town" text, "divisional_secretary" text, "gn_divisions" real, "area_km_2" real, "sri_lankan_tamil" real, "sri_lankan_moors" real, "sinhalese" real, "burgher" real, "other" real, "total" real, "population_density_km_2" real );. Question: "Kaluvanchikudy is the main town in what DS division?". [/INST] SELECT "ds_division" FROM "table1_12485020_1" WHERE "main_town"='Kaluvanchikudy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12485020_1" ( "ds_division" text, "main_town" text, "divisional_secretary" text, "gn_divisions" real, "area_km_2" real, "sri_lankan_tamil" real, "sri_lankan_moors" real, "sinhalese" real, "burgher" real, "other" real, "total" real, "population_density_km_2" real );. Question: "What DS division has S. L. M. Haneefa as the divisional secretary?". [/INST] SELECT "ds_division" FROM "table1_12485020_1" WHERE "divisional_secretary"='S. L. M. Haneefa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12485020_1" ( "ds_division" text, "main_town" text, "divisional_secretary" text, "gn_divisions" real, "area_km_2" real, "sri_lankan_tamil" real, "sri_lankan_moors" real, "sinhalese" real, "burgher" real, "other" real, "total" real, "population_density_km_2" real );. Question: "What is the name of the DS division where the divisional secretary is S. H. Muzammil?". [/INST] SELECT "ds_division" FROM "table1_12485020_1" WHERE "divisional_secretary"='S. H. Muzammil';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "year" real, "population_region_total" real, "population_mareeba" real, "population_atherton" real, "population_herberton" real, "population_eacham" real );. Question: "How many figures are given for the region's total in 1947?". [/INST] SELECT COUNT("population_region_total") FROM "population" WHERE "year"=1947;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "year" real, "population_region_total" real, "population_mareeba" real, "population_atherton" real, "population_herberton" real, "population_eacham" real );. Question: "What was the smallest population figure for Mareeba?". [/INST] SELECT MIN("population_mareeba") FROM "population";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12570759_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "How many millions of U.S. viewers watched the episode "Buzzkill"? ". [/INST] SELECT COUNT("u_s_viewers_millions") FROM "table1_12570759_2" WHERE "title"='\"Buzzkill\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12570759_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "How many episodes were watched by 12.72 million U.S. viewers?". [/INST] SELECT COUNT("written_by") FROM "table1_12570759_2" WHERE "u_s_viewers_millions"='12.72';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12570759_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "How many millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey?". [/INST] SELECT "u_s_viewers_millions" FROM "table1_12570759_2" WHERE "directed_by"='Rob Bailey' AND "written_by"='Pam Veasey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "How many persons had immunity in the episode when Wanda was eliminated?". [/INST] SELECT COUNT("immunity") FROM "table1_1272844_2" WHERE "eliminated"='Wanda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "What is the name of the episode in which Jenn is eliminated?". [/INST] SELECT "episode_title" FROM "table1_1272844_2" WHERE "eliminated"='Jenn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "What was the vote tally on the episode aired May 5, 2005?". [/INST] SELECT "vote" FROM "table1_1272844_2" WHERE "air_date"='May 5, 2005';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "Who received the reward on the episode where the finish was "3rd voted out day 8"?". [/INST] SELECT "reward" FROM "table1_1272844_2" WHERE "finish"='3rd Voted Out Day 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 "table1_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"?". [/INST] SELECT "vote" FROM "table1_1272844_2" WHERE "finish"='10th Voted Out 3rd Jury Member Day 30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1272844_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "How many votes were taken when the outcome was "6th voted out day 12"?". [/INST] SELECT COUNT("vote") FROM "table1_1272844_2" WHERE "finish"='6th Voted Out Day 12';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "compound_tense_stems_examples" ( "perfect_stem" text, "future_stem" text, "imperfect_stem" text, "short_stem" text, "meaning" text );. Question: "What is the short stem for garbitzen?". [/INST] SELECT "short_stem" FROM "compound_tense_stems_examples" WHERE "imperfect_stem"='garbitzen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "compound_tense_stems_examples" ( "perfect_stem" text, "future_stem" text, "imperfect_stem" text, "short_stem" text, "meaning" text );. Question: "What is the perfect stem for pozten?". [/INST] SELECT "perfect_stem" FROM "compound_tense_stems_examples" WHERE "imperfect_stem"='pozten';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "compound_tense_stems_examples" ( "perfect_stem" text, "future_stem" text, "imperfect_stem" text, "short_stem" text, "meaning" text );. Question: "Name the perfect stem for jo". [/INST] SELECT COUNT("perfect_stem") FROM "compound_tense_stems_examples" WHERE "short_stem"='jo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "compound_tense_stems_examples" ( "perfect_stem" text, "future_stem" text, "imperfect_stem" text, "short_stem" text, "meaning" text );. Question: "What is the number for future stem for poztu?". [/INST] SELECT COUNT("future_stem") FROM "compound_tense_stems_examples" WHERE "perfect_stem"='poztu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_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: "Name the try bonus of points against at 430". [/INST] SELECT "try_bonus" FROM "2008_2009_table" WHERE "points_against"='430';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_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: "Name the losing bonus of 96 points". [/INST] SELECT "losing_bonus" FROM "2008_2009_table" WHERE "points"='96';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_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: "Name the points against for 51 points". [/INST] SELECT "points_against" FROM "2008_2009_table" WHERE "points"='51';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_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: "Name the tries against for 87 points". [/INST] SELECT "tries_against" FROM "2008_2009_table" WHERE "points"='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 "2008_2009_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: "Name the tries against for drawn". [/INST] SELECT COUNT("tries_against") FROM "2008_2009_table" WHERE "drawn"='Drawn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_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: "Name the losing bonus for 27". [/INST] SELECT "losing_bonus" FROM "2008_2009_table" WHERE "tries_for"='27';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "numbered_colt_military_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );. Question: "What is the rear sight in the Cole model no. 735?". [/INST] SELECT "rear_sight" FROM "numbered_colt_military_models" WHERE "colt_model_no"='735';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "numbered_colt_military_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );. Question: "What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation? ". [/INST] SELECT "colt_model_no" FROM "numbered_colt_military_models" WHERE "bayonet_lug"='No' AND "stock"='2nd Generation' AND "case_deflector"='No' AND "name"='GAU-5A/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 "numbered_colt_military_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );. Question: "What's the type of muzzle devices on the models with round hand guards?". [/INST] SELECT "muzzle_device" FROM "numbered_colt_military_models" WHERE "hand_guards"='Round';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "format" ( "phase" text, "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );. Question: "Clubs involved is 8, what number would you find from winners from previous round?". [/INST] SELECT "winners_from_previous_round" FROM "format" WHERE "clubs_involved"=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 "format" ( "phase" text, "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );. Question: "From the round name of third round; what would the new entries this round that would be found?". [/INST] SELECT "new_entries_this_round" FROM "format" WHERE "round"='Third Round';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "format" ( "phase" text, "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );. Question: "When looking at new entries this round and seeing 8; what number in total is there for clubs remaining?". [/INST] SELECT COUNT("clubs_remaining") FROM "format" WHERE "new_entries_this_round"='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 "format" ( "phase" text, "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );. Question: "During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round?". [/INST] SELECT "winners_from_previous_round" FROM "format" WHERE "phase"='First Phase' AND "clubs_involved"=16;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "format" ( "phase" text, "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );. Question: "The new entries this round was shown to be 12, in which phase would you find this?". [/INST] SELECT "phase" FROM "format" WHERE "new_entries_this_round"='12';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12842068_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );. Question: "What country submitted miehen ty枚?". [/INST] SELECT "submitting_country" FROM "table1_12842068_1" WHERE "original_title"='Miehen ty枚';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12842068_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );. Question: "What was the title of the movie from lebanon?". [/INST] SELECT "film_title_used_in_nomination" FROM "table1_12842068_1" WHERE "submitting_country"='Lebanon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_12842068_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );. Question: "What country submitted the movie the orphanage?". [/INST] SELECT "submitting_country" FROM "table1_12842068_1" WHERE "film_title_used_in_nomination"='The Orphanage';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "What year did University of Saskatchewan have their first season?". [/INST] SELECT MAX("first_season") FROM "canada_west_football_conference_hardy_tr" WHERE "institution"='University of Saskatchewan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "What football stadium has a school enrollment of 43579?". [/INST] SELECT "football_stadium" FROM "canada_west_football_conference_hardy_tr" WHERE "enrollment"=43579;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "How many endowments does Mosaic Stadium have?". [/INST] SELECT COUNT("endowment") FROM "canada_west_football_conference_hardy_tr" WHERE "football_stadium"='Mosaic 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 "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "What is the enrollment for Foote Field?". [/INST] SELECT MAX("enrollment") FROM "canada_west_football_conference_hardy_tr" WHERE "football_stadium"='Foote Field';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "How many cities have an enrollment of 19082?". [/INST] SELECT COUNT("city") FROM "canada_west_football_conference_hardy_tr" WHERE "enrollment"=19082;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_barclays" ( "num" text, "player" text, "country" text, "score" text, "to_par" real, "points" real, "winnings" real );. Question: "Name the number of points for south korea". [/INST] SELECT COUNT("points") FROM "the_barclays" WHERE "country"='South Korea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_dismissals_in_career" ( "rank" real, "dismissals" real, "player" text, "innings" real, "catches" real, "stumpings" real );. Question: "How many dismissals did the player Peter McGlashan have?". [/INST] SELECT "dismissals" FROM "most_dismissals_in_career" WHERE "player"='Peter McGlashan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_dismissals_in_career" ( "rank" real, "dismissals" real, "player" text, "innings" real, "catches" real, "stumpings" real );. Question: "How many stumpings did the player Tim Latham have?". [/INST] SELECT MAX("stumpings") FROM "most_dismissals_in_career" WHERE "player"='Tim Latham';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_dismissals_in_career" ( "rank" real, "dismissals" real, "player" text, "innings" real, "catches" real, "stumpings" real );. Question: "List the ranks of all dismissals with a value of 4". [/INST] SELECT "rank" FROM "most_dismissals_in_career" WHERE "dismissals"=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 "most_dismissals_in_career" ( "rank" real, "dismissals" real, "player" text, "innings" real, "catches" real, "stumpings" real );. Question: "How many innings had a total of 2 catches and 0 stumpings?". [/INST] SELECT COUNT("innings") FROM "most_dismissals_in_career" WHERE "catches"=2 AND "stumpings"=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 "table1_1341395_36" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "In what district was the incumbent Steve Chabot? ". [/INST] SELECT "district" FROM "table1_1341395_36" WHERE "incumbent"='Steve Chabot';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1341395_36" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Incumbent Deborah Pryce was a member of what party? ". [/INST] SELECT "party" FROM "table1_1341395_36" WHERE "incumbent"='Deborah Pryce';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "Who were the candidates in the election where Saxby Chambliss was the incumbent?". [/INST] SELECT "candidates" FROM "georgia" WHERE "incumbent"='Saxby Chambliss';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What party does William J. Jefferson?". [/INST] SELECT "party" FROM "louisiana" WHERE "incumbent"='William J. Jefferson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What were the results for incumbent Jim McCrery?". [/INST] SELECT "results" FROM "louisiana" WHERE "incumbent"='Jim McCrery';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "How many candidates were elected first in 1980?". [/INST] SELECT COUNT("candidates") FROM "louisiana" WHERE "first_elected"=1980;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What district does John Cooksey represent?". [/INST] SELECT "district" FROM "louisiana" WHERE "incumbent"='John Cooksey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "illinois" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What district was John Porter elected in?". [/INST] SELECT "district" FROM "illinois" WHERE "incumbent"='John Porter';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "illinois" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What was the result in Illinois 7?". [/INST] SELECT "results" FROM "illinois" WHERE "district"='Illinois 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "illinois" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "Who were the candidates in the district where Jerry Costello won?". [/INST] SELECT "candidates" FROM "illinois" WHERE "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 "texas" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "How many times did incumbent ruben hinojosa get elected?". [/INST] SELECT COUNT("results") FROM "texas" WHERE "incumbent"='Ruben Hinojosa';</s>