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 "tourism" ( "name_of_place" text, "height_from_sea_level_in_meters" text, "nearby_town" text, "trekking_route" text, "category" text );. Question: "If extremely adventures is the category what is the height from sea level in meters?". [/INST] SELECT "height_from_sea_level_in_meters" FROM "tourism" WHERE "category"='Extremely Adventures';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tourism" ( "name_of_place" text, "height_from_sea_level_in_meters" text, "nearby_town" text, "trekking_route" text, "category" text );. Question: "if 22km is the trekking route what is height from sea level in meters?". [/INST] SELECT "height_from_sea_level_in_meters" FROM "tourism" WHERE "trekking_route"='22km';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tourism" ( "name_of_place" text, "height_from_sea_level_in_meters" text, "nearby_town" text, "trekking_route" text, "category" text );. Question: "If the place is hemkunt sahib what is the category?". [/INST] SELECT "category" FROM "tourism" WHERE "name_of_place"='Hemkunt Sahib';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "name" text, "population_2002_census" real, "population_2007_estimation" real, "population_2011_census" real, "area_km" text, "density_pop_km" text );. Question: "What is the density in places where the 2011 census gives a population of 5402?". [/INST] SELECT "density_pop_km" FROM "statistics" WHERE "population_2011_census"=5402;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "name" text, "population_2002_census" real, "population_2007_estimation" real, "population_2011_census" real, "area_km" text, "density_pop_km" text );. Question: "What is the area in kilometers squared the population density is 137.61?". [/INST] SELECT "area_km" FROM "statistics" WHERE "density_pop_km"='137.61';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "name" text, "population_2002_census" real, "population_2007_estimation" real, "population_2011_census" real, "area_km" text, "density_pop_km" text );. Question: "How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared?". [/INST] SELECT COUNT("population_2011_census") FROM "statistics" WHERE "area_km"='132.79';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "name" text, "population_2002_census" real, "population_2007_estimation" real, "population_2011_census" real, "area_km" text, "density_pop_km" text );. Question: "How many places of whatever size have a 2007 population estimation of 7996?". [/INST] SELECT COUNT("area_km") FROM "statistics" WHERE "population_2007_estimation"=7996;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sftpa1_m_rna_transcript_variants" ( "variant_id" text, "5_utr_splice" text, "coding" text, "3_utr_sequence" text, "gen_bank_id" text );. Question: "What is the 3utr sequence when the genbank id is hq021437? ". [/INST] SELECT "3_utr_sequence" FROM "sftpa1_m_rna_transcript_variants" WHERE "gen_bank_id"='HQ021437';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sftpa1_m_rna_transcript_variants" ( "variant_id" text, "5_utr_splice" text, "coding" text, "3_utr_sequence" text, "gen_bank_id" text );. Question: "What is the coding for hq021442 genbankid?". [/INST] SELECT "coding" FROM "sftpa1_m_rna_transcript_variants" WHERE "gen_bank_id"='HQ021442';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sftpa1_m_rna_transcript_variants" ( "variant_id" text, "5_utr_splice" text, "coding" text, "3_utr_sequence" text, "gen_bank_id" text );. Question: "What is the 3'utr sequence with a variant id of ad'6a 4?". [/INST] SELECT "3_utr_sequence" FROM "sftpa1_m_rna_transcript_variants" WHERE "variant_id"='AD''6A 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 "sftpa1_m_rna_transcript_variants" ( "variant_id" text, "5_utr_splice" text, "coding" text, "3_utr_sequence" text, "gen_bank_id" text );. Question: "What is the 3'utr sequence with a variant id of acd'6a 3?". [/INST] SELECT "3_utr_sequence" FROM "sftpa1_m_rna_transcript_variants" WHERE "variant_id"='ACD''6A 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_14330096_3" ( "totalnum" real, "seriesnum" real, "title" text, "writer" text, "director" text, "original_air_date" text );. Question: "Who is the director of the episode that corresponds to the total episodes number 14? ". [/INST] SELECT "director" FROM "table1_14330096_3" WHERE "totalnum"=14;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_14330096_3" ( "totalnum" real, "seriesnum" real, "title" text, "writer" text, "director" text, "original_air_date" text );. Question: "What's the title of the episode that Rob Heyland wrote? ". [/INST] SELECT "title" FROM "table1_14330096_3" WHERE "writer"='Rob Heyland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_14330096_3" ( "totalnum" real, "seriesnum" real, "title" text, "writer" text, "director" text, "original_air_date" text );. Question: "What number from the total number of episodes is the episode written by Julian Unthank?". [/INST] SELECT "seriesnum" FROM "table1_14330096_3" WHERE "writer"='Julian Unthank';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rose_bowl_michigan_49_stanford_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many touchdowns did Redden score?". [/INST] SELECT MIN("touchdowns") FROM "rose_bowl_michigan_49_stanford_0" WHERE "player"='Redden';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rose_bowl_michigan_49_stanford_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What was the most extra points?". [/INST] SELECT MAX("extra_points") FROM "rose_bowl_michigan_49_stanford_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 "rose_bowl_michigan_49_stanford_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What position did the player who scored 4 extra points play?". [/INST] SELECT "position" FROM "rose_bowl_michigan_49_stanford_0" WHERE "extra_points"=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 "rose_bowl_michigan_49_stanford_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many points where scored by the right end?". [/INST] SELECT COUNT("points") FROM "rose_bowl_michigan_49_stanford_0" WHERE "position"='Right end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "prior_experience" text );. Question: "How many Games Started are there for Hugh White ?". [/INST] SELECT "games_started" FROM "varsity_letter_winners" WHERE "player"='Hugh 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 "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "prior_experience" text );. Question: "How many entries are there for Class for the player Everett Sweeley?". [/INST] SELECT COUNT("class") FROM "varsity_letter_winners" WHERE "player"='Everett Sweeley';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "prior_experience" text );. Question: "How many entries are there for class when the prior experience is shasta h.s.". [/INST] SELECT COUNT("class") FROM "varsity_letter_winners" WHERE "prior_experience"='Shasta H.S.';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "prior_experience" text );. Question: "What is hugh white's weight?". [/INST] SELECT MAX("weight") FROM "varsity_letter_winners" WHERE "player"='Hugh 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 "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "prior_experience" text );. Question: "What is the weight for the player who is 6' 2"?". [/INST] SELECT MAX("weight") FROM "varsity_letter_winners" WHERE "height"='6'' 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 "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many field goals did Walter Shaw make?". [/INST] SELECT COUNT("field_goals_5_points") FROM "scoring_leaders" WHERE "player"='Walter Shaw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many field goals were made by the person with 100 points in total?". [/INST] SELECT MAX("field_goals_5_points") FROM "scoring_leaders" WHERE "total_points"=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 "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many touchdowns were made by the person with 7 extra points?". [/INST] SELECT COUNT("touchdowns_5_points") FROM "scoring_leaders" WHERE "extra_points_1_point"=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 "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many touchdowns did Albert Herrnstein make?". [/INST] SELECT "touchdowns_5_points" FROM "scoring_leaders" WHERE "player"='Albert Herrnstein';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many touchdowns did Bruce Shorts make?". [/INST] SELECT MAX("touchdowns_5_points") FROM "scoring_leaders" WHERE "player"='Bruce Shorts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns_5_points" real, "extra_points_1_point" real, "field_goals_5_points" real, "total_points" real );. Question: "How many players made 4 touchdowns?". [/INST] SELECT COUNT("player") FROM "scoring_leaders" WHERE "touchdowns_5_points"=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 "michigan_55_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name all the players for fullback". [/INST] SELECT "player" FROM "michigan_55_albion_0" WHERE "position"='Fullback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_55_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the position for shorts". [/INST] SELECT "position" FROM "michigan_55_albion_0" WHERE "player"='Shorts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which player made 4 touchdowns while playing left halfback?". [/INST] SELECT "player" FROM "michigan_128_buffalo_0" WHERE "touchdowns"=4 AND "position"='Left halfback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which left end player made the most points?". [/INST] SELECT MAX("points") FROM "michigan_128_buffalo_0" WHERE "position"='Left end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the least amount of points made by Herrnstein?". [/INST] SELECT MIN("points") FROM "michigan_128_buffalo_0" WHERE "player"='Herrnstein';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the least amount of field goals made by a player?". [/INST] SELECT MIN("field_goals") FROM "michigan_128_buffalo_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 "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which position did Redden play?". [/INST] SELECT "position" FROM "michigan_128_buffalo_0" WHERE "player"='Redden';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_128_buffalo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the least amount of extra points made in by a player?". [/INST] SELECT MIN("extra_points") FROM "michigan_128_buffalo_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 "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text );. Question: "What is the previous experience of the player from East Jordan, Michigan?". [/INST] SELECT "previous_experience" FROM "varsity_letter_winners" WHERE "hometown"='East Jordan, Michigan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text );. Question: "What was the class of the player who played right tackle?". [/INST] SELECT "class" FROM "varsity_letter_winners" WHERE "position"='Right tackle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text );. Question: "How many players are from Sioux City, Iowa?". [/INST] SELECT COUNT("player") FROM "varsity_letter_winners" WHERE "hometown"='Sioux City, Iowa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text );. Question: "Where is George W. Gregory from?". [/INST] SELECT "hometown" FROM "varsity_letter_winners" WHERE "player"='George W. Gregory';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text );. Question: "What was George W. Gregory's class?". [/INST] SELECT "class" FROM "varsity_letter_winners" WHERE "player"='George W. Gregory';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_60_indiana_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "what is the maximum number of points?". [/INST] SELECT MAX("points") FROM "michigan_60_indiana_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 "michigan_60_indiana_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "was herb graver a starter?". [/INST] SELECT "starter" FROM "michigan_60_indiana_0" WHERE "player"='Herb Graver';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which player scored 14 touchdowns?". [/INST] SELECT "player" FROM "scoring_leaders" WHERE "touchdowns"=14;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many points did Duncan Thompson score?". [/INST] SELECT MAX("points") FROM "scoring_leaders" WHERE "player"='Duncan 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 "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the highest number of extra points?". [/INST] SELECT MAX("extra_points") FROM "scoring_leaders";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_72_physicians_surgeons_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What players played the position of left tackle?". [/INST] SELECT "player" FROM "michigan_72_physicians_surgeons_0" WHERE "position"='Left tackle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_72_physicians_surgeons_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many field goals were made by someone playing position of right end?". [/INST] SELECT COUNT("field_goals") FROM "michigan_72_physicians_surgeons_0" WHERE "position"='Right end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_72_physicians_surgeons_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which players have made a total of 12 extra points?". [/INST] SELECT "player" FROM "michigan_72_physicians_surgeons_0" WHERE "extra_points"=12;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_72_physicians_surgeons_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Which positions have made 4 touchdowns?". [/INST] SELECT "position" FROM "michigan_72_physicians_surgeons_0" WHERE "touchdowns"=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 "michigan_72_physicians_surgeons_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "When the total points are 22 how many total touchdowns have been made?". [/INST] SELECT "touchdowns" FROM "michigan_72_physicians_surgeons_0" WHERE "points"=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 "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many points were scored by someone who's position was right tackle?". [/INST] SELECT COUNT("points") FROM "michigan_88_ferris_institute_0" WHERE "position"='Right tackle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the least amount of touchdowns scored on the chart?". [/INST] SELECT MIN("touchdowns") FROM "michigan_88_ferris_institute_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 "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many points were scored by Rolla Bigelow?". [/INST] SELECT "points" FROM "michigan_88_ferris_institute_0" WHERE "player"='Rolla Bigelow';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many touchdowns were scored by players who scored more than 5.0 extra points?". [/INST] SELECT COUNT("touchdowns") FROM "michigan_88_ferris_institute_0" WHERE "extra_points">5.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 "michigan_88_ferris_institute_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the lowest amount of field goals on the chart? ". [/INST] SELECT MIN("field_goals") FROM "michigan_88_ferris_institute_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 "michigan_95_kalamazoo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the least points for patrick". [/INST] SELECT MIN("points") FROM "michigan_95_kalamazoo_0" WHERE "player"='Patrick';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_95_kalamazoo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the starter for schulte". [/INST] SELECT "starter" FROM "michigan_95_kalamazoo_0" WHERE "player"='Schulte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_95_kalamazoo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the total number of points for the right end". [/INST] SELECT COUNT("points") FROM "michigan_95_kalamazoo_0" WHERE "position"='Right end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_95_kalamazoo_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the number of players when starter is no and touchdowns is 1 for right halfback". [/INST] SELECT COUNT("player") FROM "michigan_95_kalamazoo_0" WHERE "starter"='No' AND "touchdowns"=1 AND "position"='Right halfback';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_14346689_1" ( "series_num" real, "season_num" real, "title" text, "story_by" text, "teleplay_by" text, "directed_by" text, "original_air_date" text );. Question: "What was the series number of the episode directed by Rob Bailey?". [/INST] SELECT MAX("series_num") FROM "table1_14346689_1" WHERE "directed_by"='Rob Bailey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "episodes" ( "season" real, "episodes" real, "premiere_date" text, "end_date" text, "timeslot" text );. Question: "Name the timeslot for season 5". [/INST] SELECT "timeslot" FROM "episodes" WHERE "season"=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 "physical" ( "island" text, "gaelic_name" text, "area_ha" real, "population" real, "highest_point" text, "height_m" real );. Question: "What is the area of Colonsay Island?". [/INST] SELECT MIN("area_ha") FROM "physical" WHERE "island"='Colonsay';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "win_loss_records" ( "quarterback" text, "jersey_no" text, "games_started" real, "wins" real, "losses" real, "ties" real, "winning_pct" text );. Question: "How many ties were there for game 36 started?". [/INST] SELECT COUNT("ties") FROM "win_loss_records" WHERE "games_started"=36;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "win_loss_records" ( "quarterback" text, "jersey_no" text, "games_started" real, "wins" real, "losses" real, "ties" real, "winning_pct" text );. Question: "What is the winning pct for jersey 15?". [/INST] SELECT "winning_pct" FROM "win_loss_records" WHERE "jersey_no"='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 "win_loss_records" ( "quarterback" text, "jersey_no" text, "games_started" real, "wins" real, "losses" real, "ties" real, "winning_pct" text );. Question: "Who is the quarter back for a winning pct of .792". [/INST] SELECT "quarterback" FROM "win_loss_records" WHERE "winning_pct"='.792';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "win_loss_records" ( "quarterback" text, "jersey_no" text, "games_started" real, "wins" real, "losses" real, "ties" real, "winning_pct" text );. Question: "How many lost games for jersey number 2 and games started is less than 7.0?". [/INST] SELECT "losses" FROM "win_loss_records" WHERE "jersey_no"='2' AND "games_started"<7.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 "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "last_match" text, "replaced_by" text );. Question: "Name the total number of date of vacancy for manner of departure being resigned and outgoing manager is geninho". [/INST] SELECT COUNT("date_of_vacancy") FROM "managerial_changes" WHERE "manner_of_departure"='Resigned' AND "outgoing_manager"='Geninho';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );. Question: "Who led the points classification when Roman Kreuziger led the young rider classification?". [/INST] SELECT "points_classification" FROM "classification_leadership" WHERE "young_rider_classification"='Roman Kreuziger';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );. Question: "Who won the stage when Fumiyuki Beppu won the combativity award?". [/INST] SELECT "winner" FROM "classification_leadership" WHERE "combativity_award"='Fumiyuki Beppu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );. Question: "Who won stage 18?". [/INST] SELECT "winner" FROM "classification_leadership" WHERE "stage"=18;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );. Question: "Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0?". [/INST] SELECT "winner" FROM "classification_leadership" WHERE "points_classification"='Mark Cavendish' AND "general_classification"='Rinaldo Nocentini' AND "stage"<11.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 "lillehammer" ( "rank" real, "name" text, "nationality" text, "1st_m" text, "2nd_m" text, "points" text, "overall_nt_points" text, "overall_wc_points_rank" text );. Question: "Name the 1st m for nor". [/INST] SELECT "1st_m" FROM "lillehammer" WHERE "nationality"='NOR';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lillehammer" ( "rank" real, "name" text, "nationality" text, "1st_m" text, "2nd_m" text, "points" text, "overall_nt_points" text, "overall_wc_points_rank" text );. Question: "Name the 2nd for 1st m being 124.5". [/INST] SELECT "2nd_m" FROM "lillehammer" WHERE "1st_m"='124.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 "lillehammer" ( "rank" real, "name" text, "nationality" text, "1st_m" text, "2nd_m" text, "points" text, "overall_nt_points" text, "overall_wc_points_rank" text );. Question: "Name the 2nd m for gregor schlierenzauer". [/INST] SELECT "2nd_m" FROM "lillehammer" WHERE "name"='Gregor Schlierenzauer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lillehammer" ( "rank" real, "name" text, "nationality" text, "1st_m" text, "2nd_m" text, "points" text, "overall_nt_points" text, "overall_wc_points_rank" text );. Question: "Name the number of overall nt points for 248.9". [/INST] SELECT COUNT("overall_nt_points") FROM "lillehammer" WHERE "points"='248.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_14460937_1" ( "pos" real, "member_association" text, "points_total_500" real, "clubs" real, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "How many times has the playoff been 1 in the contest for the afc cup?". [/INST] SELECT COUNT("afc_cup") FROM "table1_14460937_1" WHERE "play_off"=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_14460937_1" ( "pos" real, "member_association" text, "points_total_500" real, "clubs" real, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "How many times has the points total for the afc cup competion been 289?". [/INST] SELECT COUNT("afc_cup") FROM "table1_14460937_1" WHERE "points_total_500"=289;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_14460937_1" ( "pos" real, "member_association" text, "points_total_500" real, "clubs" real, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "When the group stage has been 4 what is the largest playoff?". [/INST] SELECT MAX("play_off") FROM "table1_14460937_1" WHERE "group_stage"=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_1446600_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );. Question: "What is the date the successor was seated for the georgia 6th district?". [/INST] SELECT "date_successor_seated" FROM "table1_1446600_4" WHERE "district"='Georgia 6th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1446600_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );. Question: "How many successors are from the georgia 2nd district?". [/INST] SELECT COUNT("successor") FROM "table1_1446600_4" WHERE "district"='Georgia 2nd';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "tv" text, "result" text, "record" text );. Question: "Show all the time(et) where the opponent is the Cincinnati Bengals.". [/INST] SELECT "time_et" FROM "schedule" WHERE "opponent"='Cincinnati Bengals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "tv" text, "result" text, "record" text );. Question: "List the total number of records from Lambeau Field.". [/INST] SELECT COUNT("record") FROM "schedule" WHERE "location"='Lambeau Field';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "tv" text, "result" text, "record" text );. Question: "Who was the opposing team played at Riverfront Stadium?". [/INST] SELECT "opponent" FROM "schedule" WHERE "location"='Riverfront Stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "tv" text, "result" text, "record" text );. Question: "How many days were the Kansas City Chiefs the opposing team?". [/INST] SELECT COUNT("date") FROM "schedule" WHERE "opponent"='Kansas City Chiefs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_country" ( "nation" text, "winners" real, "runners_up" real, "third_place" real, "fourth_place" real );. Question: "How many teams named argentina?". [/INST] SELECT MAX("fourth_place") FROM "by_country" WHERE "nation"='Argentina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_country" ( "nation" text, "winners" real, "runners_up" real, "third_place" real, "fourth_place" real );. Question: "How many times did argentina win?". [/INST] SELECT MAX("winners") FROM "by_country" WHERE "nation"='Argentina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "What is the number of s sikh where 955 is the number of buddhists?". [/INST] SELECT "s_sikh" FROM "table_2_census_information_for_2001" WHERE "buddhist"='955';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "How many buddhists are where s jain have 941?". [/INST] SELECT "buddhist" FROM "table_2_census_information_for_2001" WHERE "s_jain"='941';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "What is the christian amount where work participation rate is the composition?". [/INST] SELECT "christians" FROM "table_2_census_information_for_2001" WHERE "composition"='Work Participation Rate';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "How many s hindu are where buddhists are 955?". [/INST] SELECT "s_hindu" FROM "table_2_census_information_for_2001" WHERE "buddhist"='955';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "What is the data point for s hindu where the buddhist data point is 73.0%?". [/INST] SELECT COUNT("s_hindu") FROM "table_2_census_information_for_2001" WHERE "buddhist"='73.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 "table_2_census_information_for_2001" ( "composition" text, "s_hindu" text, "s_muslim" text, "christians" text, "s_sikh" text, "buddhist" text, "s_jain" text, "others" text );. Question: "How many data points for chrstians are 39.7?". [/INST] SELECT COUNT("composition") FROM "table_2_census_information_for_2001" WHERE "christians"='39.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 "arkansas" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real );. Question: "Name the hometown for ventrell jenkins". [/INST] SELECT "hometown" FROM "arkansas" WHERE "name"='Ventrell Jenkins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "arkansas" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real );. Question: "Name the class when position is rt". [/INST] SELECT "class" FROM "arkansas" WHERE "position"='RT';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text );. Question: "Which players college is Tennessee?". [/INST] SELECT "player" FROM "nfl_draft" WHERE "college"='Tennessee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text );. Question: "What college did Byron Williams attend?". [/INST] SELECT "college" FROM "nfl_draft" WHERE "player"='Byron Williams';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text );. Question: "What is the lowest pick number?". [/INST] SELECT MIN("pick_num") FROM "nfl_draft";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text );. Question: "What position is Jessie Clark?". [/INST] SELECT "position" FROM "nfl_draft" WHERE "player"='Jessie Clark';</s>