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 "table1_20704243_6" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "Which episode aired on august19,2012?". [/INST] SELECT "title" FROM "table1_20704243_6" WHERE "original_air_date"='August19,2012';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "european_wide_flange_beams_hea_and_heb" ( "type" text, "beam_height_mm" real, "flange_width_mm" real, "web_thickness_mm" text, "flange_thickness_mm" text, "weight_kg_m" text, "cross_section_area_cm_2" text, "moment_of_inertia_in_torsion_j_cm_4" text );. Question: "What is the weight with a cross section area of 25.3?". [/INST] SELECT "weight_kg_m" FROM "european_wide_flange_beams_hea_and_heb" WHERE "cross_section_area_cm_2"='25.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 "european_wide_flange_beams_hea_and_heb" ( "type" text, "beam_height_mm" real, "flange_width_mm" real, "web_thickness_mm" text, "flange_thickness_mm" text, "weight_kg_m" text, "cross_section_area_cm_2" text, "moment_of_inertia_in_torsion_j_cm_4" text );. Question: "How many weights are there when the flange with is 304?". [/INST] SELECT COUNT("weight_kg_m") FROM "european_wide_flange_beams_hea_and_heb" WHERE "flange_width_mm"=304;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "european_wide_flange_beams_hea_and_heb" ( "type" text, "beam_height_mm" real, "flange_width_mm" real, "web_thickness_mm" text, "flange_thickness_mm" text, "weight_kg_m" text, "cross_section_area_cm_2" text, "moment_of_inertia_in_torsion_j_cm_4" text );. Question: "What is the web thickness if the flange width is 100?". [/INST] SELECT "web_thickness_mm" FROM "european_wide_flange_beams_hea_and_heb" WHERE "flange_width_mm"=100;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "european_wide_flange_beams_hea_and_heb" ( "type" text, "beam_height_mm" real, "flange_width_mm" real, "web_thickness_mm" text, "flange_thickness_mm" text, "weight_kg_m" text, "cross_section_area_cm_2" text, "moment_of_inertia_in_torsion_j_cm_4" text );. Question: "If the cross-section area is 21.2, what is the weight?". [/INST] SELECT "weight_kg_m" FROM "european_wide_flange_beams_hea_and_heb" WHERE "cross_section_area_cm_2"='21.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 "european_wide_flange_beams_hea_and_heb" ( "type" text, "beam_height_mm" real, "flange_width_mm" real, "web_thickness_mm" text, "flange_thickness_mm" text, "weight_kg_m" text, "cross_section_area_cm_2" text, "moment_of_inertia_in_torsion_j_cm_4" text );. Question: "What is the flange thickness when the weight is 19.9?". [/INST] SELECT "flange_thickness_mm" FROM "european_wide_flange_beams_hea_and_heb" WHERE "weight_kg_m"='19.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_20726262_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed the episode with a production code of 4WAB05?". [/INST] SELECT "directedby" FROM "table1_20726262_5" WHERE "production_code"='4WAB05';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20726262_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "When did the episode titled "family recipe" originally air? ". [/INST] SELECT "originalairdate" FROM "table1_20726262_5" WHERE "title"='\"Family Recipe\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20726262_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed the episode with a production code of 4WAB04?". [/INST] SELECT "directedby" FROM "table1_20726262_5" WHERE "production_code"='4WAB04';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20726262_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "What episode is titled "Authority Vested"?". [/INST] SELECT MAX("no_in_season") FROM "table1_20726262_6" WHERE "title"='\"Authority Vested\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20726262_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed the episode titled "Andare Pescare"?". [/INST] SELECT "directedby" FROM "table1_20726262_6" WHERE "title"='\"Andare Pescare\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20726262_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directedby" text, "writtenby" text, "originalairdate" text, "production_code" text, "u_s_viewers_million" text );. Question: "What episode was directed by Karen Gaviola?". [/INST] SELECT MIN("no_in_season") FROM "table1_20726262_6" WHERE "directedby"='Karen Gaviola';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "What was the score on February 8, 1992?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='February 8, 1992';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "Who is the opponent in game 5?". [/INST] SELECT "opponent" FROM "game_log" WHERE "num"='5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "What is the date of game 5?". [/INST] SELECT "date" FROM "game_log" WHERE "num"='5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "What was attendance on March 11, 1995?". [/INST] SELECT MIN("attendance") FROM "game_log" WHERE "date"='March 11, 1995';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "What was the score when 7260 people attended the game?". [/INST] SELECT "score" FROM "game_log" WHERE "attendance"=7260;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "How many games resulted in a loss?". [/INST] SELECT "num" FROM "game_log" WHERE "record"='Loss';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" text, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "What is the date of game 7?". [/INST] SELECT "date" FROM "game_log" WHERE "num"='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 "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real );. Question: "What is the Obama# when McCain% is 64.4%?". [/INST] SELECT MAX("obamanum") FROM "by_county" WHERE "mc_cainpct"='64.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 "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real );. Question: "Name the Others# when McCain# is 4730.". [/INST] SELECT "othersnum" FROM "by_county" WHERE "mc_cainnum"=4730;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real );. Question: "What County was the Obama% at 41.7%?". [/INST] SELECT "county" FROM "by_county" WHERE "obamapct"='41.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 "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real );. Question: "When McCain% was 64.8%, what is the Others#?". [/INST] SELECT "othersnum" FROM "by_county" WHERE "mc_cainpct"='64.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 "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real );. Question: "What was the Obama% when McCain% was 61.2%?". [/INST] SELECT "obamapct" FROM "by_county" WHERE "mc_cainpct"='61.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 "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "Name the date for attendance 9372". [/INST] SELECT "date" FROM "game_log" WHERE "attendance"=9372;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "Name the record for january 18, 1997". [/INST] SELECT "record" FROM "game_log" WHERE "date"='January 18, 1997';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );. Question: "Name the score for march 29, 1997". [/INST] SELECT "score" FROM "game_log" WHERE "date"='March 29, 1997';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "How tall is the contestant from Honduras?". [/INST] SELECT "height_ft" FROM "contestants" WHERE "country"='Honduras';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "What country is the contestant from Chihuahua from?". [/INST] SELECT "country" FROM "contestants" WHERE "hometown"='Chihuahua';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "What contestant is 173 cm tall?". [/INST] SELECT "contestant" FROM "contestants" WHERE "height_cm"=173;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "What country is the contestant from Salto from?". [/INST] SELECT "country" FROM "contestants" WHERE "hometown"='Salto';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "How tall is the contestant from Guatemala?". [/INST] SELECT "height_cm" FROM "contestants" WHERE "country"='Guatemala';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "How much would you expect the enrollment to be in Springfield?". [/INST] SELECT MIN("enrollment") FROM "public_universities" WHERE "location_s"='Springfield';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "where would you find a public university which was founded in 1915?". [/INST] SELECT "location_s" FROM "public_universities" WHERE "control"='Public university' AND "founded"=1915;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "What is the only type of university that was founded in 1873?". [/INST] SELECT "control" FROM "public_universities" WHERE "founded"=1873;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "What enrollement would you expect if you were attending the university in St. Louis?". [/INST] SELECT "enrollment" FROM "public_universities" WHERE "location_s"='St. Louis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "Which school would you come across if you were in Kirksville?". [/INST] SELECT "school" FROM "public_universities" WHERE "location_s"='Kirksville';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "public_universities" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment" real, "founded" real );. Question: "What type of school would you see when visiting Missouri Western State University?". [/INST] SELECT "control" FROM "public_universities" WHERE "school"='Missouri Western State University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "university_of_north_carolina_system" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2012" real, "founded" real );. Question: "When east carolina university is the school what is the highest year founded?". [/INST] SELECT MAX("founded") FROM "university_of_north_carolina_system" WHERE "school"='East Carolina University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "university_of_north_carolina_system" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2012" real, "founded" real );. Question: "When 1927 is the founded year how many measurements of enrollment in 2012 are there?". [/INST] SELECT COUNT("enrollment_2012") FROM "university_of_north_carolina_system" WHERE "founded"=1927;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "university_of_north_carolina_system" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2012" real, "founded" real );. Question: "When western carolina university is the school what is the control?". [/INST] SELECT "control" FROM "university_of_north_carolina_system" WHERE "school"='Western Carolina University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "university_of_north_carolina_system" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2012" real, "founded" real );. Question: "When university of north carolina at charlotte is the school what is the lowest enrollment in 2012?". [/INST] SELECT MIN("enrollment_2012") FROM "university_of_north_carolina_system" WHERE "school"='University of North Carolina at Charlotte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "What is the enrollment for the school in bottineau?". [/INST] SELECT "enrollment_fall_2010" FROM "active_institutions" WHERE "location_s"='Bottineau';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "What is the control for the school accredited by the higher learning commission ( nca ), ccne?". [/INST] SELECT "control" FROM "active_institutions" WHERE "accreditation"='The Higher Learning Commission ( NCA ), CCNE';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "What year was the school founded with an 898 enrollment?". [/INST] SELECT MAX("founded") FROM "active_institutions" WHERE "enrollment_fall_2010"=898;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "How many schools founded in 2006?". [/INST] SELECT COUNT("accreditation") FROM "active_institutions" WHERE "founded"=2006;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "What is the accrediation for united tribes technical college?". [/INST] SELECT "accreditation" FROM "active_institutions" WHERE "school"='United Tribes Technical College';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2005" text, "founded" real );. Question: "What is the latest founding date? ". [/INST] SELECT MAX("founded") FROM "active_institutions";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2005" text, "founded" real );. Question: "What was the enrollment (2005) for baccalaureate colleges , for Granite State College?". [/INST] SELECT "enrollment_2005" FROM "active_institutions" WHERE "type"='Baccalaureate college' AND "school"='Granite State College';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2005" text, "founded" real );. Question: "What year is the founding year, for the school that had an enrollment in 2005 of 963?". [/INST] SELECT "founded" FROM "active_institutions" WHERE "enrollment_2005"='963';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2005" text, "founded" real );. Question: "What school had an enrollment in 2005 of 69?". [/INST] SELECT "school" FROM "active_institutions" WHERE "enrollment_2005"='69';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "active_institutions" ( "school" text, "location_s" text, "control" text, "type" text, "enrollment_2005" text, "founded" real );. Question: "How many students enrolled in 2005 at New Hampshire Institute of Art?". [/INST] SELECT "enrollment_2005" FROM "active_institutions" WHERE "school"='New Hampshire Institute of Art';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the most founded for enrollment 2005 being 1285". [/INST] SELECT MAX("founded") FROM "institutions" WHERE "enrollment_2005"=1285;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the main location for public and masters university". [/INST] SELECT "main_location" FROM "institutions" WHERE "control"='Public' AND "type"='Masters university';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the type for mcminnville". [/INST] SELECT "type" FROM "institutions" WHERE "main_location"='McMinnville';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the control for albany". [/INST] SELECT "control" FROM "institutions" WHERE "main_location"='Albany';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the least founded for gutenberg college". [/INST] SELECT MIN("founded") FROM "institutions" WHERE "school"='Gutenberg College';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "institutions" ( "school" text, "main_location" text, "control" text, "type" text, "enrollment_2005" real, "founded" real );. Question: "Name the type for 1245 enrollment". [/INST] SELECT "type" FROM "institutions" WHERE "enrollment_2005"=1245;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_207795_1" ( "english_title" text, "russian_title" text, "published_in_russian" text, "published_in_english" text, "type_of_work" text );. Question: "when type of work is novel and published in english is 1977, what was published in russian?". [/INST] SELECT "published_in_russian" FROM "table1_207795_1" WHERE "type_of_work"='novel' AND "published_in_english"='1977';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_207795_1" ( "english_title" text, "russian_title" text, "published_in_russian" text, "published_in_english" text, "type_of_work" text );. Question: "How many types of work is хромая судьба?". [/INST] SELECT COUNT("type_of_work") FROM "table1_207795_1" WHERE "russian_title"='Хромая судьба';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_207795_1" ( "english_title" text, "russian_title" text, "published_in_russian" text, "published_in_english" text, "type_of_work" text );. Question: "What is the russian title of the ugly swans?". [/INST] SELECT "russian_title" FROM "table1_207795_1" WHERE "english_title"='The Ugly Swans';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_207795_1" ( "english_title" text, "russian_title" text, "published_in_russian" text, "published_in_english" text, "type_of_work" text );. Question: "when it published in english is n/a and published in russian is 1986, what is the type of work?". [/INST] SELECT "type_of_work" FROM "table1_207795_1" WHERE "published_in_english"='N/A' AND "published_in_russian"='1986';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senate" ( "state" text, "senator" text, "party" text, "switched_party" text, "prior_background" text, "religion" text, "birth_year" real );. Question: "List the presbyterian members of the senate.". [/INST] SELECT "senator" FROM "senate" WHERE "religion"='Presbyterian';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senate" ( "state" text, "senator" text, "party" text, "switched_party" text, "prior_background" text, "religion" text, "birth_year" real );. Question: "Which state does congressman jim demint represent?". [/INST] SELECT "state" FROM "senate" WHERE "senator"='Jim DeMint';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "tie_no" real, "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );. Question: "Name the total number of tie number for team 2 osijek". [/INST] SELECT COUNT("tie_no") FROM "second_round" WHERE "team_2"='Osijek';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_number_of_accolades" ( "recipient" text, "first_place_s" real, "second_place_s" real, "third_place_s" real, "total_placings_s" real );. Question: "What is the minimum number of total placings?". [/INST] SELECT MIN("total_placings_s") FROM "by_number_of_accolades";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "boilermakers_points" real, "opponents" real, "record" text );. Question: "What was the result of the game with the record of 3-1?". [/INST] SELECT "result" FROM "schedule" WHERE "record"='3-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 "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "boilermakers_points" real, "opponents" real, "record" text );. Question: "What was the date of the game with the record of 2-1?". [/INST] SELECT "date" FROM "schedule" WHERE "record"='2-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 "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "boilermakers_points" real, "opponents" real, "record" text );. Question: "How many games were there in the 1966 season?". [/INST] SELECT MAX("game") FROM "schedule";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "boilermakers_points" real, "opponents" real, "record" text );. Question: "What game number had a record of 3-1?". [/INST] SELECT "game" FROM "schedule" WHERE "record"='3-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 "2010_australian_open" ( "sd" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "What happened when the new points was 1705?". [/INST] SELECT "status" FROM "2010_australian_open" WHERE "new_points"=1705;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2010_australian_open" ( "sd" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "What was the max when they score 2200?". [/INST] SELECT MAX("new_points") FROM "2010_australian_open" WHERE "points"=2200;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2010_australian_open" ( "sd" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "How many points did agnieszka radwańska score?". [/INST] SELECT "points" FROM "2010_australian_open" WHERE "player"='Agnieszka Radwańska';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2010_australian_open" ( "sd" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "How many points did shahar pe'er score?". [/INST] SELECT "points_won" FROM "2010_australian_open" WHERE "player"='Shahar Pe''er';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20872722_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );. Question: "What is the weight for western ontario college?". [/INST] SELECT "weight" FROM "table1_20872722_1" WHERE "college"='Western Ontario';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20872722_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );. Question: "How many positions have round 3?". [/INST] SELECT COUNT("position") FROM "table1_20872722_1" WHERE "round"=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 "table1_20872722_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );. Question: "Which position has 225lb as weight?". [/INST] SELECT "position" FROM "table1_20872722_1" WHERE "weight"='225lb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20872722_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );. Question: "What is the round?". [/INST] SELECT MIN("round") FROM "table1_20872722_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_20872722_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );. Question: "What is the height of the cornerback position?". [/INST] SELECT COUNT("height") FROM "table1_20872722_1" WHERE "position"='Cornerback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "What is the most recent year joined?". [/INST] SELECT MAX("year_joined") FROM "schools";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "what is the affiliation of the hilltoppers mascot?". [/INST] SELECT "affiliation" FROM "schools" WHERE "mascot"='Hilltoppers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "what is the affiliation of the colors maroon and white? ". [/INST] SELECT "affiliation" FROM "schools" WHERE "colors"='Maroon and 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 "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "what is the number of enrollment of the central institution?". [/INST] SELECT "enrollment" FROM "schools" WHERE "institution"='Central';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "what is the name of the institution of the sparta, wi location?". [/INST] SELECT "institution" FROM "schools" WHERE "location"='Sparta, WI';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schools" ( "institution" text, "location" text, "year_joined" real, "affiliation" text, "enrollment" real, "mascot" text, "colors" text );. Question: "in what year did the colors red and gold join?". [/INST] SELECT COUNT("year_joined") FROM "schools" WHERE "colors"='Red and Gold';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text, "report" text );. Question: "What circuit did rick kelly win on?". [/INST] SELECT "circuit" FROM "race_calendar" WHERE "winner"='Rick Kelly';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text, "report" text );. Question: "What circuit features the placemakers v8 supercars race?". [/INST] SELECT "circuit" FROM "race_calendar" WHERE "race_title"='PlaceMakers V8 Supercars';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text, "report" text );. Question: "What dates was the falken tasmania challenge race that had triple eight race engineering as the team?". [/INST] SELECT "date" FROM "race_calendar" WHERE "team"='Triple Eight Race Engineering' AND "race_title"='Falken Tasmania Challenge';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text, "report" text );. Question: "What was the report for the winton race?". [/INST] SELECT "report" FROM "race_calendar" WHERE "race_title"='Winton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20903658_1" ( "title_subject" text, "public_office" text, "artist" text, "date_painted_created" text, "medium" text );. Question: "What medium was used for the sculpture of George Harold Baker? ". [/INST] SELECT "medium" FROM "table1_20903658_1" WHERE "title_subject"='George Harold Baker';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20903658_1" ( "title_subject" text, "public_office" text, "artist" text, "date_painted_created" text, "medium" text );. Question: "Who was the subject of the sculpture created in 1982? ". [/INST] SELECT "title_subject" FROM "table1_20903658_1" WHERE "date_painted_created"='1982';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20903658_1" ( "title_subject" text, "public_office" text, "artist" text, "date_painted_created" text, "medium" text );. Question: "Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France? ". [/INST] SELECT "title_subject" FROM "table1_20903658_1" WHERE "medium"='Bronze' AND "public_office"='colonist and soldier in Ville Marie, New France';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20903658_1" ( "title_subject" text, "public_office" text, "artist" text, "date_painted_created" text, "medium" text );. Question: "What was the public office of the subject whose sculpture was created in 1954? ". [/INST] SELECT "public_office" FROM "table1_20903658_1" WHERE "date_painted_created"='1954';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20903658_1" ( "title_subject" text, "public_office" text, "artist" text, "date_painted_created" text, "medium" text );. Question: "What medium was used for the sculpture by Ernest Richard Gause? ". [/INST] SELECT "medium" FROM "table1_20903658_1" WHERE "artist"='Ernest Richard Gause';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the originl title for no stars in the jungle". [/INST] SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='No Stars in the Jungle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the original title for not nominated result with report on death". [/INST] SELECT "original_title" FROM "submissions" WHERE "result"='Not Nominated' AND "film_title_used_in_nomination"='Report on Death';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the total number of results for octubre". [/INST] SELECT COUNT("result") FROM "submissions" WHERE "original_title"='Octubre';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the film title for la boca del lobo". [/INST] SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "original_title"='La boca del lobo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );. Question: "Name the year for reportaje a la muerte". [/INST] SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Reportaje a la muerte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "u_s_nielsen_ratings" ( "episode" real, "first_air_date" text, "rating_18_49" text, "share_18_49" real, "viewers_millions" text, "rank_timeslot" text );. Question: "Name the episode for 18-49 rating being 3.6". [/INST] SELECT COUNT("episode") FROM "u_s_nielsen_ratings" WHERE "rating_18_49"='3.6';</s>