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 "siena_college_research_institute_survey" ( "seq" text, "name" text, "background" real, "party_leadership" real, "communication_ability" real, "relations_with_congress" real, "court_appointments" real, "handling_of_economy" real, "luck" real, "ability_to_compromise" real, "willing_to_take_risks" real, "executive_appointments" real, "overall_ability" real, "imagination" real, "domestic_accomplishments" real, "integrity" real, "executive_ability" real, "foreign_policy_accomplishments" real, "leadership_ability" real, "intelligence" real, "avoid_crucial_mistakes" real, "experts_view" real, "overall" real );. Question: "When the ability to compromise is 13, what is background?". [/INST] SELECT MAX("background") FROM "siena_college_research_institute_survey" WHERE "ability_to_compromise"=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 "siena_college_research_institute_survey" ( "seq" text, "name" text, "background" real, "party_leadership" real, "communication_ability" real, "relations_with_congress" real, "court_appointments" real, "handling_of_economy" real, "luck" real, "ability_to_compromise" real, "willing_to_take_risks" real, "executive_appointments" real, "overall_ability" real, "imagination" real, "domestic_accomplishments" real, "integrity" real, "executive_ability" real, "foreign_policy_accomplishments" real, "leadership_ability" real, "intelligence" real, "avoid_crucial_mistakes" real, "experts_view" real, "overall" real );. Question: "When the seq is 41, what is the ability to compromise?". [/INST] SELECT MAX("ability_to_compromise") FROM "siena_college_research_institute_survey" WHERE "seq"='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 "siena_college_research_institute_survey" ( "seq" text, "name" text, "background" real, "party_leadership" real, "communication_ability" real, "relations_with_congress" real, "court_appointments" real, "handling_of_economy" real, "luck" real, "ability_to_compromise" real, "willing_to_take_risks" real, "executive_appointments" real, "overall_ability" real, "imagination" real, "domestic_accomplishments" real, "integrity" real, "executive_ability" real, "foreign_policy_accomplishments" real, "leadership_ability" real, "intelligence" real, "avoid_crucial_mistakes" real, "experts_view" real, "overall" real );. Question: "When the ability is 32, what is the leadership ability?". [/INST] SELECT MAX("leadership_ability") FROM "siena_college_research_institute_survey" WHERE "overall_ability"=32;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "siena_college_research_institute_survey" ( "seq" text, "name" text, "background" real, "party_leadership" real, "communication_ability" real, "relations_with_congress" real, "court_appointments" real, "handling_of_economy" real, "luck" real, "ability_to_compromise" real, "willing_to_take_risks" real, "executive_appointments" real, "overall_ability" real, "imagination" real, "domestic_accomplishments" real, "integrity" real, "executive_ability" real, "foreign_policy_accomplishments" real, "leadership_ability" real, "intelligence" real, "avoid_crucial_mistakes" real, "experts_view" real, "overall" real );. Question: "When 25 are willing to take risks, what is the experts view?". [/INST] SELECT MIN("experts_view") FROM "siena_college_research_institute_survey" WHERE "willing_to_take_risks"=25;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_18569389_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Name who directed the episode that was viewed by 4.22 million". [/INST] SELECT "directed_by" FROM "table1_18569389_1" WHERE "u_s_viewers_million"='4.22';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18569389_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Name the title for production code 2t6908". [/INST] SELECT "title" FROM "table1_18569389_1" WHERE "production_code"='2T6908';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18569389_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Name the total number for number in series that got 3.62 viewers". [/INST] SELECT COUNT("no_in_series") FROM "table1_18569389_1" WHERE "u_s_viewers_million"='3.62';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18569389_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Name the air date that chris long directed". [/INST] SELECT "original_air_date" FROM "table1_18569389_1" WHERE "directed_by"='Chris Long';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18569389_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Name the number of production code for 5.08". [/INST] SELECT COUNT("production_code") FROM "table1_18569389_1" WHERE "u_s_viewers_million"='5.08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When 17.07 is the loa (metres) what is the type of yacht?". [/INST] SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "loa_metres"='17.07';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When 3 is the position what is the sail number?". [/INST] SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "position"=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 "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When 3:15:28:24 is the elapsed time d:hh:mm:ss what is the type of yacht?". [/INST] SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:15:28:24';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When aspect computing is the yacht what is the sail number?". [/INST] SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "yacht"='Aspect Computing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When 6606 is the sail number what is the type of yacht?". [/INST] SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "sail_number"='6606';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "line_honours_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );. Question: "When 5 is the position what is the state or country?". [/INST] SELECT "state_country" FROM "line_honours_results_top_10" WHERE "position"=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 "a" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "Name the least ansi code for 609 population 2010". [/INST] SELECT MIN("ansi_code") FROM "a" WHERE "pop_2010"=609;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "a" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "Name the ansi code fore ashtabula". [/INST] SELECT MIN("ansi_code") FROM "a" WHERE "township"='Ashtabula';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "a" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "Name the land for ada". [/INST] SELECT COUNT("land_sqmi") FROM "a" WHERE "township"='Ada';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );. Question: "What was the position of the Atl. Colegiales team?". [/INST] SELECT MAX("position") FROM "torneo_apertura" WHERE "team"='Atl. Colegiales';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );. Question: "What was the position where the team scored 9 points?". [/INST] SELECT COUNT("position") FROM "torneo_apertura" WHERE "points"=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 "table1_18598175_2" ( "elimination_number" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );. Question: "How many player eliminated an opponent within the time frame of 32:32?". [/INST] SELECT COUNT("eliminated_by") FROM "table1_18598175_2" WHERE "time"='32:32';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18598175_2" ( "elimination_number" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );. Question: "What was the styled used to defeat the opponent within the time frame of 32:32?". [/INST] SELECT "method_of_elimination" FROM "table1_18598175_2" WHERE "time"='32:32';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18598175_2" ( "elimination_number" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );. Question: "Who won the match when the winner used the Pedigree attack?". [/INST] SELECT "eliminated_by" FROM "table1_18598175_2" WHERE "method_of_elimination"='Pedigree';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18598175_2" ( "elimination_number" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );. Question: "What was the elimination number of the fighter who fought within 27:27?". [/INST] SELECT MIN("elimination_number") FROM "table1_18598175_2" WHERE "time"='27: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 "table1_18598175_2" ( "elimination_number" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );. Question: "What was the elimination number of the fighter who fought within 26:15?". [/INST] SELECT MAX("elimination_number") FROM "table1_18598175_2" WHERE "time"='26:15';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "b" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "what is the longitude in 35.992 sqmi". [/INST] SELECT "longitude" FROM "b" WHERE "land_sqmi"='35.992';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "b" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "how many townships where pop (2010) and ater is 0.818". [/INST] SELECT COUNT("pop_2010") FROM "b" WHERE "water_sqmi"='0.818';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "what is the name of the townships with 32.222 land". [/INST] SELECT "township" FROM "s" WHERE "land_sqmi"='32.222';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "how many lands with longitude of -100.895783 are?". [/INST] SELECT COUNT("land_sqmi") FROM "s" WHERE "longitude"='-100.895783';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "how many geo id with 48.578664 are". [/INST] SELECT COUNT("geo_id") FROM "s" WHERE "latitude"='48.578664';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "what is the latitude in the township where wate is 0.288". [/INST] SELECT "latitude" FROM "s" WHERE "water_sqmi"='0.288';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "how is called the township where the latitude is 47.377790". [/INST] SELECT "township" FROM "s" WHERE "latitude"='47.377790';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "where the land is 35.990 what is the number of the geo id". [/INST] SELECT "geo_id" FROM "s" WHERE "land_sqmi"='35.990';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "d" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "Name the land where geo id is 3807717980". [/INST] SELECT "land_sqmi" FROM "d" WHERE "geo_id"=3807717980;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "d" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "Name the latitude for deer lake". [/INST] SELECT "latitude" FROM "d" WHERE "township"='Deer Lake';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "If the water square milage is 1.701, what is the land square milage?". [/INST] SELECT "land_sqmi" FROM "g" WHERE "water_sqmi"='1.701';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "In Cavalier County and the geo id is larger than 3801931620.0, what is the population?". [/INST] SELECT "pop_2010" FROM "g" WHERE "county"='Cavalier' AND "geo_id">3801931620.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 "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "If the population is 1858, what is the maximum ansi code?". [/INST] SELECT MAX("ansi_code") FROM "g" WHERE "pop_2010"=1858;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "If the longitude is -97.473110, what is the minimum geo id?". [/INST] SELECT MIN("geo_id") FROM "g" WHERE "longitude"='-97.473110';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "If the ansi code is 1036632, what is the name of the township?". [/INST] SELECT "township" FROM "g" WHERE "ansi_code"=1036632;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "If the land square milage is 10.950, what is the longitude?". [/INST] SELECT "longitude" FROM "g" WHERE "land_sqmi"='10.950';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "i" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "What township is located at longitude -99.287270?". [/INST] SELECT "township" FROM "i" WHERE "longitude"='-99.287270';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "i" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "What is the longitude of the township at ANSI code 1759682?". [/INST] SELECT "longitude" FROM "i" WHERE "ansi_code"=1759682;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "i" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "How many square miles of water does the township at latitude 48.064751 have?". [/INST] SELECT "water_sqmi" FROM "i" WHERE "latitude"='48.064751';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "i" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" text, "water_sqmi" text, "latitude" text, "longitude" text, "geo_id" real, "ansi_code" real );. Question: "What is the geo code of the township with ANSI code 1759243?". [/INST] SELECT "geo_id" FROM "i" WHERE "ansi_code"=1759243;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When santiago del estero is the hometown who is the contestant?". [/INST] SELECT "contestant" FROM "contestants" WHERE "hometown"='Santiago del Estero';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When belarus is the country what is the hometown?". [/INST] SELECT "hometown" FROM "contestants" WHERE "country"='Belarus';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When bahamas is the country what is the height in centimeters?". [/INST] SELECT "height_cm" FROM "contestants" WHERE "country"='Bahamas';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When finland is the country how many hometowns are there?". [/INST] SELECT COUNT("hometown") FROM "contestants" WHERE "country"='Finland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When johannesburg is the hometown who is the contestant?". [/INST] SELECT "contestant" FROM "contestants" WHERE "hometown"='Johannesburg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "contestants" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );. Question: "When valora roucek is the contestant how many heights in centimeters are there?". [/INST] SELECT COUNT("height_cm") FROM "contestants" WHERE "contestant"='Valora Roucek';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18646111_13" ( "athlete" text, "class" text, "event" text, "round_1" text, "round_2" text, "round_3" text, "1_8_finals" text, "quarterfinals" text, "semifinals" text, "final_bronze_medal_contest" text );. Question: "Name the round 1 for team event". [/INST] SELECT "round_1" FROM "table1_18646111_13" WHERE "event"='Team';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18646111_13" ( "athlete" text, "class" text, "event" text, "round_1" text, "round_2" text, "round_3" text, "1_8_finals" text, "quarterfinals" text, "semifinals" text, "final_bronze_medal_contest" text );. Question: "Name the number of semifinals for tt2". [/INST] SELECT COUNT("semifinals") FROM "table1_18646111_13" WHERE "class"='TT2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18646111_13" ( "athlete" text, "class" text, "event" text, "round_1" text, "round_2" text, "round_3" text, "1_8_finals" text, "quarterfinals" text, "semifinals" text, "final_bronze_medal_contest" text );. Question: "Name the 1/8 finals for round 1 n/a". [/INST] SELECT "1_8_finals" FROM "table1_18646111_13" WHERE "round_1"='N/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 "table1_18646111_13" ( "athlete" text, "class" text, "event" text, "round_1" text, "round_2" text, "round_3" text, "1_8_finals" text, "quarterfinals" text, "semifinals" text, "final_bronze_medal_contest" text );. Question: "Name the total number of round 3 for class tt1". [/INST] SELECT COUNT("round_3") FROM "table1_18646111_13" WHERE "class"='TT1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18646111_13" ( "athlete" text, "class" text, "event" text, "round_1" text, "round_2" text, "round_3" text, "1_8_finals" text, "quarterfinals" text, "semifinals" text, "final_bronze_medal_contest" text );. Question: "Name the event for hans ruep". [/INST] SELECT "event" FROM "table1_18646111_13" WHERE "athlete"='Hans Ruep';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "properties_of_wmap_at_different_frequenc" ( "property" text, "k_band" text, "ka_band" text, "q_band" text, "v_band" text, "w_band" text );. Question: "When 4 is the v-band what is the overall amount of ka-bands?". [/INST] SELECT COUNT("ka_band") FROM "properties_of_wmap_at_different_frequenc" WHERE "v_band"='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 "properties_of_wmap_at_different_frequenc" ( "property" text, "k_band" text, "ka_band" text, "q_band" text, "v_band" text, "w_band" text );. Question: "When 8.3 is the q-band what is the property?". [/INST] SELECT "property" FROM "properties_of_wmap_at_different_frequenc" WHERE "q_band"='8.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 "properties_of_wmap_at_different_frequenc" ( "property" text, "k_band" text, "ka_band" text, "q_band" text, "v_band" text, "w_band" text );. Question: "When 5.5 is the l-band what is the v-band?". [/INST] SELECT "v_band" FROM "properties_of_wmap_at_different_frequenc" WHERE "k_band"='5.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 "properties_of_wmap_at_different_frequenc" ( "property" text, "k_band" text, "ka_band" text, "q_band" text, "v_band" text, "w_band" text );. Question: "When 2 is the k-band what is the v-band?". [/INST] SELECT "v_band" FROM "properties_of_wmap_at_different_frequenc" WHERE "k_band"='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 "properties_of_wmap_at_different_frequenc" ( "property" text, "k_band" text, "ka_band" text, "q_band" text, "v_band" text, "w_band" text );. Question: "When 2 is the ka-band how many properties are there?". [/INST] SELECT COUNT("property") FROM "properties_of_wmap_at_different_frequenc" WHERE "ka_band"='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 "table1_187239_1" ( "period" text, "kit_manufacturer" text, "main_sponsor" text, "secondary_sponsor" text, "minor_sponsors" text );. Question: "When olympikus is the main sponsor who is the secondary sponsor?". [/INST] SELECT "secondary_sponsor" FROM "table1_187239_1" WHERE "main_sponsor"='Olympikus';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_187239_1" ( "period" text, "kit_manufacturer" text, "main_sponsor" text, "secondary_sponsor" text, "minor_sponsors" text );. Question: "When ale is the main sponsor who is the secondary sponsor?". [/INST] SELECT "secondary_sponsor" FROM "table1_187239_1" WHERE "main_sponsor"='Ale';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_187239_1" ( "period" text, "kit_manufacturer" text, "main_sponsor" text, "secondary_sponsor" text, "minor_sponsors" text );. Question: "When tim brasil brokers are the minor sponsors who is the kit manufacturer?". [/INST] SELECT "kit_manufacturer" FROM "table1_187239_1" WHERE "minor_sponsors"='Tim Brasil Brokers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_187239_1" ( "period" text, "kit_manufacturer" text, "main_sponsor" text, "secondary_sponsor" text, "minor_sponsors" text );. Question: "When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors?". [/INST] SELECT "minor_sponsors" FROM "table1_187239_1" WHERE "kit_manufacturer"='Olympikus' AND "main_sponsor"='Batavo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_187239_1" ( "period" text, "kit_manufacturer" text, "main_sponsor" text, "secondary_sponsor" text, "minor_sponsors" text );. Question: "When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?". [/INST] SELECT COUNT("minor_sponsors") FROM "table1_187239_1" WHERE "kit_manufacturer"='Olympikus' AND "period"='2011';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1876825_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "What season episode is written by neil thompson?". [/INST] SELECT MIN("no_in_season") FROM "table1_1876825_6" WHERE "written_by"='Neil Thompson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1876825_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "What was the original air for the 06-03-521 production code?". [/INST] SELECT "original_air_date" FROM "table1_1876825_6" WHERE "production_code"='06-03-521';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1876825_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "What episode number in the series aired on February 8, 2004?". [/INST] SELECT MAX("no_in_series") FROM "table1_1876825_6" WHERE "original_air_date"='February 8, 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1876825_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "In season 5 what episode number was production 06-03-519?". [/INST] SELECT COUNT("no_in_season") FROM "table1_1876825_6" WHERE "production_code"='06-03-519';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "r1" real, "r2" real, "r3" real, "r4" real, "total" real, "to_par" text, "finish" text );. Question: "What was the minimum score for r2?". [/INST] SELECT MIN("r2") FROM "made_the_cut";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "r1" real, "r2" real, "r3" real, "r4" real, "total" real, "to_par" text, "finish" text );. Question: "What country had a r3 at 72, by Larry Mize?". [/INST] SELECT "country" FROM "made_the_cut" WHERE "r3"=72 AND "player"='Larry Mize';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "r1" real, "r2" real, "r3" real, "r4" real, "total" real, "to_par" text, "finish" text );. Question: "How many times did Fiji win r1?". [/INST] SELECT COUNT("r1") FROM "made_the_cut" WHERE "country"='Fiji';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "social_democratic" text, "socialist" text, "green_communist" text, "peoples_party" text, "left_bloc" text, "lead" text );. Question: "How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?". [/INST] SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='42.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 "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "social_democratic" text, "socialist" text, "green_communist" text, "peoples_party" text, "left_bloc" text, "lead" text );. Question: "What date did the Green-Communists receive 5.7%?". [/INST] SELECT "date_released" FROM "116_seats_needed_for_a_majority" WHERE "green_communist"='5.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 "season_by_season_record" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text );. Question: "If the PCT is 0.514, what was the minimum OTL?". [/INST] SELECT MIN("otl") FROM "season_by_season_record" WHERE "pct"='0.514';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_by_season_record" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text );. Question: "What was the minimum OTL amount?". [/INST] SELECT MIN("otl") FROM "season_by_season_record";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rankings" ( "num" real, "player" text, "country" text, "points" real, "events" real, "reset_points" real );. Question: "Name the least events for japan". [/INST] SELECT MIN("events") FROM "regular_season_rankings" WHERE "country"='Japan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rankings" ( "num" real, "player" text, "country" text, "points" real, "events" real, "reset_points" real );. Question: "Name the country for 22 events". [/INST] SELECT "country" FROM "regular_season_rankings" WHERE "events"=22;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rankings" ( "num" real, "player" text, "country" text, "points" real, "events" real, "reset_points" real );. Question: "Name the number of events for reset points being 98625". [/INST] SELECT COUNT("events") FROM "regular_season_rankings" WHERE "reset_points"=98625;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rankings" ( "num" real, "player" text, "country" text, "points" real, "events" real, "reset_points" real );. Question: "Name the number for fiji". [/INST] SELECT "num" FROM "regular_season_rankings" WHERE "country"='Fiji';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rankings" ( "num" real, "player" text, "country" text, "points" real, "events" real, "reset_points" real );. Question: "Name the total number of points for number 6". [/INST] SELECT COUNT("points") FROM "regular_season_rankings" WHERE "num"=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 "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "What is the location that had a driver named Pierre de Caters?". [/INST] SELECT "location" FROM "winners_of_the_circuit_des_ardennes" WHERE "driver"='Pierre de Caters';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "Who is the constructor for the car driven by George Heath?". [/INST] SELECT "constructor" FROM "winners_of_the_circuit_des_ardennes" WHERE "driver"='George Heath';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "What is the total number of drivers who have cars constructed by Mercedes-Benz?". [/INST] SELECT COUNT("driver") FROM "winners_of_the_circuit_des_ardennes" WHERE "constructor"='Mercedes-Benz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "What is the location of the car that has a constructor of Lorraine-Dietrich?". [/INST] SELECT "location" FROM "winners_of_the_circuit_des_ardennes" WHERE "constructor"='Lorraine-Dietrich';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "How many times did Charles Jarrott report?". [/INST] SELECT COUNT("report") FROM "winners_of_the_circuit_des_ardennes" WHERE "driver"='Charles Jarrott';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );. Question: "Who is the driver of the entry constructed by Mercedes-Benz?". [/INST] SELECT "driver" FROM "winners_of_the_circuit_des_ardennes" WHERE "constructor"='Mercedes-Benz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18950885_3" ( "graphics_mode" real, "char_cells" text, "pixels" text, "hardware_colours" real, "used_kb" real, "map" text, "type" text );. Question: "What is the used (kb) when the graphics mode is 4?". [/INST] SELECT MIN("used_kb") FROM "table1_18950885_3" WHERE "graphics_mode"=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 "table1_18950885_3" ( "graphics_mode" real, "char_cells" text, "pixels" text, "hardware_colours" real, "used_kb" real, "map" text, "type" text );. Question: "If graphics mode is less than 1.0, what are the char cells?". [/INST] SELECT "char_cells" FROM "table1_18950885_3" WHERE "graphics_mode"<1.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 "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "use" text, "withdrawn" real, "disposal" text );. Question: "What is the smallest converted value at number 19?". [/INST] SELECT MIN("converted") FROM "great_northern_section" WHERE "number"='19';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "use" text, "withdrawn" real, "disposal" text );. Question: "What is every previous class when the previous number is 61323?". [/INST] SELECT "previous_class" FROM "great_northern_section" WHERE "previous_number_s"=61323;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "use" text, "withdrawn" real, "disposal" text );. Question: "What is every use for number 1?". [/INST] SELECT "use" FROM "great_northern_section" WHERE "number"='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_18987377_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the original title for the last metro". [/INST] SELECT "original_title" FROM "table1_18987377_1" WHERE "film_title_used_in_nomination"='The Last Metro';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18987377_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the film title for andré téchiné category:articles with hcards". [/INST] SELECT "film_title_used_in_nomination" FROM "table1_18987377_1" WHERE "director"='André Téchiné Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18987377_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the director for coup de torchon". [/INST] SELECT "director" FROM "table1_18987377_1" WHERE "film_title_used_in_nomination"='Coup de Torchon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18987377_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the film titled for marcel camus category:articles with hcards". [/INST] SELECT "film_title_used_in_nomination" FROM "table1_18987377_1" WHERE "director"='Marcel Camus Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "season" text, "total_days_in_pbb_house" real, "duration" text, "status" text );. Question: "When cindy miranda is the name what is the home or representative town or province?". [/INST] SELECT "home_or_representative_town_or_province" FROM "regular_season_housemates" WHERE "name"='Cindy Miranda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "season" text, "total_days_in_pbb_house" real, "duration" text, "status" text );. Question: "When nel rapiz is the name what is the status?". [/INST] SELECT "status" FROM "regular_season_housemates" WHERE "name"='Nel Rapiz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "season" text, "total_days_in_pbb_house" real, "duration" text, "status" text );. Question: "When day 8-36 is the duration what is the season?". [/INST] SELECT "season" FROM "regular_season_housemates" WHERE "duration"='Day 8-36';</s>