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 "regular_season_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "season" text, "total_days_in_pbb_house" real, "duration" text, "status" text );. Question: "When luz mcclinton is the name what is the season?". [/INST] SELECT "season" FROM "regular_season_housemates" WHERE "name"='Luz McClinton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "season" text, "total_days_in_pbb_house" real, "duration" text, "status" text );. Question: "When yen galagnara is the name what is the highest total days in the pbb house?". [/INST] SELECT MAX("total_days_in_pbb_house") FROM "regular_season_housemates" WHERE "name"='Yen Galagnara';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "day_2_afternoon_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );. Question: "How many match numbers have team europe listed as osku palermaa?". [/INST] SELECT COUNT("match_no") FROM "day_2_afternoon_session" WHERE "team_europe"='Osku Palermaa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "day_3_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );. Question: "When osku palermaa is on the europe team how many match numbers are there?". [/INST] SELECT COUNT("match_no") FROM "day_3_evening_session" WHERE "team_europe"='Osku Palermaa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "day_3_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );. Question: "When paul moor is on the europe team who is on the usa team?". [/INST] SELECT "team_usa" FROM "day_3_evening_session" WHERE "team_europe"='Paul Moor';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );. Question: "Name the mountains classification for team columbia". [/INST] SELECT "mountains_classification" FROM "jersey_progress" WHERE "team_classification"='Team Columbia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );. Question: "Name the number of stage winners for team columbia". [/INST] SELECT COUNT("stage_winner") FROM "jersey_progress" WHERE "team_classification"='Team Columbia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );. Question: "Name the mountains classification for alexander kristoff". [/INST] SELECT "mountains_classification" FROM "jersey_progress" WHERE "points_classification"='Alexander Kristoff';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "black_population_of_london" ( "rank" real, "london_borough" text, "black_african_population" real, "black_caribbean_population" real, "other_black_population" real, "total_black_population" real );. Question: "How much is the other black population when the black African population is 37811?". [/INST] SELECT MIN("other_black_population") FROM "black_population_of_london" WHERE "black_african_population"=37811;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "black_population_of_london" ( "rank" real, "london_borough" text, "black_african_population" real, "black_caribbean_population" real, "other_black_population" real, "total_black_population" real );. Question: "Where are the london borough with the black caribbean population of 17974?". [/INST] SELECT "london_borough" FROM "black_population_of_london" WHERE "black_caribbean_population"=17974;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "black_population_of_london" ( "rank" real, "london_borough" text, "black_african_population" real, "black_caribbean_population" real, "other_black_population" real, "total_black_population" real );. Question: "What is the rank of london borough in southwark?". [/INST] SELECT "rank" FROM "black_population_of_london" WHERE "london_borough"='Southwark';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "black_population_of_london" ( "rank" real, "london_borough" text, "black_african_population" real, "black_caribbean_population" real, "other_black_population" real, "total_black_population" real );. Question: "What is the black caribbean population when the other black population is 2243?". [/INST] SELECT MAX("black_caribbean_population") FROM "black_population_of_london" WHERE "other_black_population"=2243;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "black_population_of_london" ( "rank" real, "london_borough" text, "black_african_population" real, "black_caribbean_population" real, "other_black_population" real, "total_black_population" real );. Question: "What is the black caribbean population when the black African population is less than 10552.0?". [/INST] SELECT MIN("black_caribbean_population") FROM "black_population_of_london" WHERE "black_african_population"<10552.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 "u_s_television_ratings" ( "season" real, "timeslot" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "u_s_viewers_in_millions" text, "rating_adults_18_49" text );. Question: "What time slot had an adult rating of 0.6?". [/INST] SELECT "timeslot" FROM "u_s_television_ratings" WHERE "rating_adults_18_49"='0.6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "u_s_television_ratings" ( "season" real, "timeslot" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "u_s_viewers_in_millions" text, "rating_adults_18_49" text );. Question: "What season finale date has 2.02 million u.s. Viewers?". [/INST] SELECT "season_finale" FROM "u_s_television_ratings" WHERE "u_s_viewers_in_millions"='2.02';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_television_ratings" ( "season" real, "timeslot" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "u_s_viewers_in_millions" text, "rating_adults_18_49" text );. Question: "How many million u.s. Viewers watched season 1?". [/INST] SELECT "u_s_viewers_in_millions" FROM "u_s_television_ratings" WHERE "season"=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 "u_s_television_ratings" ( "season" real, "timeslot" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "u_s_viewers_in_millions" text, "rating_adults_18_49" text );. Question: "How many tv series had an adult rating of 1.2?". [/INST] SELECT COUNT("tv_season") FROM "u_s_television_ratings" WHERE "rating_adults_18_49"='1.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 "institutions" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "Where is the University that is also called Hawks?". [/INST] SELECT "location" FROM "institutions" WHERE "nickname"='Hawks';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "Where is the University that is also called Owls?". [/INST] SELECT "location" FROM "institutions" WHERE "nickname"='Owls';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "How many University founded in 1863?". [/INST] SELECT COUNT("enrollment") FROM "institutions" WHERE "founded"=1863;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "Where is the University that plays in the American Athletic Conference?". [/INST] SELECT "location" FROM "institutions" WHERE "conference"='American Athletic Conference';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "What is the affiliation of the University called Explorers?". [/INST] SELECT "affiliation" FROM "institutions" WHERE "nickname"='Explorers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "year_joined" real, "nickname" text, "conference" text );. Question: "What is the nickname of Drexel University?". [/INST] SELECT "nickname" FROM "institutions" WHERE "institution"='Drexel 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 "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the brand in Metro Manila?". [/INST] SELECT "branding" FROM "nbc_radio_stations" WHERE "location"='Metro Manila';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the brand in Cabanatuan?". [/INST] SELECT "branding" FROM "nbc_radio_stations" WHERE "location"='Cabanatuan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the power at the cebu station?". [/INST] SELECT "power_k_w" FROM "nbc_radio_stations" WHERE "location"='Cebu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the frequency of 101.5 News FM?". [/INST] SELECT "frequency" FROM "nbc_radio_stations" WHERE "branding"='101.5 News FM';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "Where is the frequency 102.3mhz and 5kw power?". [/INST] SELECT "location" FROM "nbc_radio_stations" WHERE "power_k_w"='5kW' AND "frequency"='102.3MHz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nbc_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "Where is the frequency 92.3mhz?". [/INST] SELECT "location" FROM "nbc_radio_stations" WHERE "frequency"='92.3MHz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" real, "no" real, "driver" text, "constructor" text, "q1_order" real, "q1_time" text, "q1_pos" real, "q1_q2_time" text );. Question: "What is the highest no.?". [/INST] SELECT MAX("no") FROM "qualifying";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" real, "no" real, "driver" text, "constructor" text, "q1_order" real, "q1_time" text, "q1_pos" real, "q1_q2_time" text );. Question: "What is the q1+q2 time in which q1 is 1:18.574?". [/INST] SELECT "q1_q2_time" FROM "qualifying" WHERE "q1_time"='1:18.574';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" real, "no" real, "driver" text, "constructor" text, "q1_order" real, "q1_time" text, "q1_pos" real, "q1_q2_time" text );. Question: "when q1 pos is 8 what is the q1+q2 time?". [/INST] SELECT "q1_q2_time" FROM "qualifying" WHERE "q1_pos"=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 "qualifying" ( "pos" real, "no" real, "driver" text, "constructor" text, "q1_order" real, "q1_time" text, "q1_pos" real, "q1_q2_time" text );. Question: "when the q1+q2 time was 2.34.736, what was the total pos number?". [/INST] SELECT COUNT("pos") FROM "qualifying" WHERE "q1_q2_time"='2.34.736';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" real, "no" real, "driver" text, "constructor" text, "q1_order" real, "q1_time" text, "q1_pos" real, "q1_q2_time" text );. Question: "When the q1 time is 1:16.218 what is the highest q1 pos? ". [/INST] SELECT MAX("q1_pos") FROM "qualifying" WHERE "q1_time"='1:16.218';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );. Question: "What is the smallest 8-car sets if 4-car sets is 47?". [/INST] SELECT MIN("8_car_sets") FROM "production" WHERE "4_car_sets"=47;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );. Question: "What is the largest 6-car-sets for fiscal year 1968?". [/INST] SELECT MAX("6_car_sets") FROM "production" WHERE "fiscal_year"=1968;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );. Question: "What is the lowest fiscal year if total vehicles is 490?". [/INST] SELECT MIN("fiscal_year") FROM "production" WHERE "total_vehicles"=490;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "postgraduate_medical_courses" ( "discipline" text, "degree_diploma" text, "total_seats" real, "recognised_seats" real, "permitted_seats" real );. Question: "Name the degree for otorhinolaryngology". [/INST] SELECT "degree_diploma" FROM "postgraduate_medical_courses" WHERE "discipline"='Otorhinolaryngology';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "postgraduate_medical_courses" ( "discipline" text, "degree_diploma" text, "total_seats" real, "recognised_seats" real, "permitted_seats" real );. Question: "Name the total seats for otorhinolaryngology". [/INST] SELECT "total_seats" FROM "postgraduate_medical_courses" WHERE "discipline"='Otorhinolaryngology';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "postgraduate_medical_courses" ( "discipline" text, "degree_diploma" text, "total_seats" real, "recognised_seats" real, "permitted_seats" real );. Question: "Name the recognised seats for pharmacology". [/INST] SELECT "recognised_seats" FROM "postgraduate_medical_courses" WHERE "discipline"='Pharmacology';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "postgraduate_medical_courses" ( "discipline" text, "degree_diploma" text, "total_seats" real, "recognised_seats" real, "permitted_seats" real );. Question: "Name the total number of seats for general surgery". [/INST] SELECT COUNT("permitted_seats") FROM "postgraduate_medical_courses" WHERE "discipline"='General Surgery';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "postgraduate_medical_courses" ( "discipline" text, "degree_diploma" text, "total_seats" real, "recognised_seats" real, "permitted_seats" real );. Question: "Name the least recognised seats". [/INST] SELECT MIN("recognised_seats") FROM "postgraduate_medical_courses";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "racing_teams" ( "name" text, "nation" text, "seasons" text, "championship_titles" text, "race_starts" real, "poles" real, "wins" real, "podiums" real, "fastest_laps" real );. Question: "How many nations do the FMS international team represent?". [/INST] SELECT COUNT("nation") FROM "racing_teams" WHERE "name"='FMS International';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "racing_teams" ( "name" text, "nation" text, "seasons" text, "championship_titles" text, "race_starts" real, "poles" real, "wins" real, "podiums" real, "fastest_laps" real );. Question: "What is the smallest number of fastest laps listed?". [/INST] SELECT MIN("fastest_laps") FROM "racing_teams";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "racing_teams" ( "name" text, "nation" text, "seasons" text, "championship_titles" text, "race_starts" real, "poles" real, "wins" real, "podiums" real, "fastest_laps" real );. Question: "How many championship titles for LRS Formula / Laurent Rédon Motorsport?". [/INST] SELECT "championship_titles" FROM "racing_teams" WHERE "name"='LRS Formula / Laurent Rédon Motorsport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19329117_1" ( "official_name" text, "version" text, "release" real, "date_of_release" text, "comments" text );. Question: "What's the version of AutoCAD Architectural Desktop 3?". [/INST] SELECT "version" FROM "table1_19329117_1" WHERE "official_name"='AutoCAD Architectural Desktop 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 "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "In what season did the team get in the conference finals of the playoffs?". [/INST] SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Conference Finals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What was the team's status in the USISL Pro League playoffs?". [/INST] SELECT "playoffs" FROM "year_by_year" WHERE "league"='USISL Pro League';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "In what year did the team compete in the 2nd, Northeast season of the USL PDL League?". [/INST] SELECT "year" FROM "year_by_year" WHERE "league"='USL PDL' AND "regular_season"='2nd, Northeast';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What did the team do in the Open Cup in the 2nd, Northeast season of the USISL D-3 Pro League?". [/INST] SELECT "open_cup" FROM "year_by_year" WHERE "league"='USISL D-3 Pro League' AND "regular_season"='2nd, Northeast';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "In what year did the team compete in the USISL Pro League?". [/INST] SELECT "year" FROM "year_by_year" WHERE "league"='USISL Pro League';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_census" ( "province" text, "arabs_2001" real, "pct_2001" text, "arabs_2011" real, "pct_2011" text );. Question: "If %2001 is 0.1%, what is the minimum Arabs 2001 number?". [/INST] SELECT MIN("arabs_2001") FROM "2011_census" WHERE "pct_2001"='0.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 "2011_census" ( "province" text, "arabs_2001" real, "pct_2001" text, "arabs_2011" real, "pct_2011" text );. Question: "If the province is Manitoba, what is the Arabs 2001 number?". [/INST] SELECT MAX("arabs_2001") FROM "2011_census" WHERE "province"='Manitoba';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_census" ( "province" text, "arabs_2001" real, "pct_2001" text, "arabs_2011" real, "pct_2011" text );. Question: "What is the province amount if the % 2011 is 0.0%". [/INST] SELECT COUNT("province") FROM "2011_census" WHERE "pct_2011"='0.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 "2011_census" ( "province" text, "arabs_2001" real, "pct_2001" text, "arabs_2011" real, "pct_2011" text );. Question: "If the province is British Columbia, what is the Arabs 2001 total number?". [/INST] SELECT COUNT("arabs_2001") FROM "2011_census" WHERE "province"='British Columbia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_census" ( "province" text, "arabs_2001" real, "pct_2001" text, "arabs_2011" real, "pct_2011" text );. Question: "If the province is Nunavut, what is the Arabs 2011 amount?". [/INST] SELECT "arabs_2011" FROM "2011_census" WHERE "province"='Nunavut';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_9" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winners_share" real );. Question: "When did the tournament, in which the runner-up was Song-Hee Kim, happen". [/INST] SELECT "date" FROM "lpga_tour_9" WHERE "runner_s_up"='Song-Hee Kim';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_9" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winners_share" real );. Question: "What was the amount of winners share (in $) in the game with a margin victory of 2 strokes?". [/INST] SELECT "winners_share" FROM "lpga_tour_9" WHERE "margin_of_victory"='2 strokes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_9" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winners_share" real );. Question: "What was the winning score in the Sybase Classic tournament?". [/INST] SELECT "winning_score" FROM "lpga_tour_9" WHERE "tournament"='Sybase Classic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_9" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winners_share" real );. Question: "What was the winning score in the tournament, ending with Birdie Kim as a runner-up?". [/INST] SELECT "winning_score" FROM "lpga_tour_9" WHERE "runner_s_up"='Birdie Kim';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "How many Latin Americans were there in the Northwest Territories in 2011?". [/INST] SELECT MIN("latin_americans_2011") FROM "latin_american_population_of_canada_by_c" WHERE "province"='Northwest Territories';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "How many results of the count of Latin Americans in Yukon in 2001 are there?". [/INST] SELECT COUNT("latin_americans_2001") FROM "latin_american_population_of_canada_by_c" WHERE "province"='Yukon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%?". [/INST] SELECT "pct_2001" FROM "latin_american_population_of_canada_by_c" WHERE "pct_2011"='0.8%' AND "province"='Manitoba';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%?". [/INST] SELECT "pct_2001" FROM "latin_american_population_of_canada_by_c" WHERE "pct_2011"='0.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 "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "How many Latin Americans were there in 2001 in the province with 0.0% 2001 and 0.2% 2011?". [/INST] SELECT MAX("latin_americans_2001") FROM "latin_american_population_of_canada_by_c" WHERE "pct_2001"='0.0%' AND "pct_2011"='0.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 "latin_american_population_of_canada_by_c" ( "province" text, "latin_americans_2001" real, "pct_2001" text, "latin_americans_2011" real, "pct_2011" text );. Question: "How many Latin Americans lived in 2011 in Saskatchewan?". [/INST] SELECT MIN("latin_americans_2011") FROM "latin_american_population_of_canada_by_c" WHERE "province"='Saskatchewan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "How many different index numbers are there for an ozone, running 8 hourly mean of 66-99?". [/INST] SELECT COUNT("index") FROM "united_kingdom" WHERE "ozone_running_8_hourly_mean_g_m_3"='66-99';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "What's the count of pm 10 particles when the pm 2.5 particles are at 59-66?". [/INST] SELECT "pm10_particles_24_hour_mean_g_m_3" FROM "united_kingdom" WHERE "pm2_5_particles_24_hour_mean_g_m_3"='59-66';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "What's the number of pm10 particles when sulphur dioxide is at 266-354?". [/INST] SELECT "pm10_particles_24_hour_mean_g_m_3" FROM "united_kingdom" WHERE "sulphur_dioxide_15_minute_mean_g_m_3"='266-354';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "What's the sulphur dioxide count when the ozone is at 121-140?". [/INST] SELECT "sulphur_dioxide_15_minute_mean_g_m_3" FROM "united_kingdom" WHERE "ozone_running_8_hourly_mean_g_m_3"='121-140';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "What's the sulphur dioxide count when the nitrogen dioxide is 468-534?". [/INST] SELECT "sulphur_dioxide_15_minute_mean_g_m_3" FROM "united_kingdom" WHERE "nitrogen_dioxide_hourly_mean_g_m_3"='468-534';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_kingdom" ( "index" real, "ozone_running_8_hourly_mean_g_m_3" text, "nitrogen_dioxide_hourly_mean_g_m_3" text, "sulphur_dioxide_15_minute_mean_g_m_3" text, "pm10_particles_24_hour_mean_g_m_3" text, "pm2_5_particles_24_hour_mean_g_m_3" text );. Question: "What's the nitrogen dioxide count where the sulphur dioxide is at 0-88?". [/INST] SELECT "nitrogen_dioxide_hourly_mean_g_m_3" FROM "united_kingdom" WHERE "sulphur_dioxide_15_minute_mean_g_m_3"='0-88';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_chart" ( "driver" text, "aaa_1902_1955" real, "usac_1956_1995" real, "cart_1979_2003" real, "champ_car_world_series_2004_2007" real, "izod_indy_car_series_1996_present" real, "combined_total" real );. Question: "What is the minimum number of wins possible for the Champ Car World Series among all the drivers?". [/INST] SELECT MIN("champ_car_world_series_2004_2007") FROM "wins_chart";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_chart" ( "driver" text, "aaa_1902_1955" real, "usac_1956_1995" real, "cart_1979_2003" real, "champ_car_world_series_2004_2007" real, "izod_indy_car_series_1996_present" real, "combined_total" real );. Question: "What is the most Champ Car wins for any driver with a USAC record of 2?". [/INST] SELECT MAX("champ_car_world_series_2004_2007") FROM "wins_chart" WHERE "usac_1956_1995"=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 "total_playoff_berths" ( "teams_with_division_titles" text, "division_championships" real, "playoff_berths" real, "afc_titles" real, "super_bowl_wins" real );. Question: "How many afc titles did the Cleveland Browns have?". [/INST] SELECT MAX("afc_titles") FROM "total_playoff_berths" WHERE "teams_with_division_titles"='Cleveland Browns';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "total_playoff_berths" ( "teams_with_division_titles" text, "division_championships" real, "playoff_berths" real, "afc_titles" real, "super_bowl_wins" real );. Question: "How many division championships did the Pittsburgh Steelers have?". [/INST] SELECT "division_championships" FROM "total_playoff_berths" WHERE "teams_with_division_titles"='Pittsburgh Steelers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "total_playoff_berths" ( "teams_with_division_titles" text, "division_championships" real, "playoff_berths" real, "afc_titles" real, "super_bowl_wins" real );. Question: "How many afc titles were there when there were 2 super bowl wins?". [/INST] SELECT MAX("afc_titles") FROM "total_playoff_berths" WHERE "super_bowl_wins"=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 "total_playoff_berths" ( "teams_with_division_titles" text, "division_championships" real, "playoff_berths" real, "afc_titles" real, "super_bowl_wins" real );. Question: "How many division title teams were in the division championships 9 times?". [/INST] SELECT COUNT("teams_with_division_titles") FROM "total_playoff_berths" WHERE "division_championships"=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 "total_playoff_berths" ( "teams_with_division_titles" text, "division_championships" real, "playoff_berths" real, "afc_titles" real, "super_bowl_wins" real );. Question: "What is the highest number of division championships where playoff berths were 11?". [/INST] SELECT MAX("division_championships") FROM "total_playoff_berths" WHERE "playoff_berths"=11;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts_of_major_productions" ( "role" text, "original_broadway_cast" text, "current_broadway_cast" text, "original_toronto_cast" text, "first_national_tour_cast" text, "original_australian_cast" text, "original_west_end_cast" text, "current_west_end_cast" text, "second_national_tour_cast" text, "second_national_tour_year_2" text );. Question: "Who in the original Toronto cast played the character played by Kate Rockwell in the current Broadway cast?". [/INST] SELECT "original_toronto_cast" FROM "casts_of_major_productions" WHERE "current_broadway_cast"='Kate Rockwell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts_of_major_productions" ( "role" text, "original_broadway_cast" text, "current_broadway_cast" text, "original_toronto_cast" text, "first_national_tour_cast" text, "original_australian_cast" text, "original_west_end_cast" text, "current_west_end_cast" text, "second_national_tour_cast" text, "second_national_tour_year_2" text );. Question: "What member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast?". [/INST] SELECT "current_west_end_cast" FROM "casts_of_major_productions" WHERE "original_west_end_cast"='Jodie Jacobs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts_of_major_productions" ( "role" text, "original_broadway_cast" text, "current_broadway_cast" text, "original_toronto_cast" text, "first_national_tour_cast" text, "original_australian_cast" text, "original_west_end_cast" text, "current_west_end_cast" text, "second_national_tour_cast" text, "second_national_tour_year_2" text );. Question: "What member of the current Broadway cast plays the character played by Constantine Maroulis from the original Broadway cast?". [/INST] SELECT "current_broadway_cast" FROM "casts_of_major_productions" WHERE "original_broadway_cast"='Constantine Maroulis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts_of_major_productions" ( "role" text, "original_broadway_cast" text, "current_broadway_cast" text, "original_toronto_cast" text, "first_national_tour_cast" text, "original_australian_cast" text, "original_west_end_cast" text, "current_west_end_cast" text, "second_national_tour_cast" text, "second_national_tour_year_2" text );. Question: "How many different actors from the Second national tour year 2 played the character played by Oliver Tompsett from the original West End cast?". [/INST] SELECT COUNT("second_national_tour_year_2") FROM "casts_of_major_productions" WHERE "original_west_end_cast"='Oliver Tompsett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts_of_major_productions" ( "role" text, "original_broadway_cast" text, "current_broadway_cast" text, "original_toronto_cast" text, "first_national_tour_cast" text, "original_australian_cast" text, "original_west_end_cast" text, "current_west_end_cast" text, "second_national_tour_cast" text, "second_national_tour_year_2" text );. Question: "What member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast?". [/INST] SELECT "original_toronto_cast" FROM "casts_of_major_productions" WHERE "first_national_tour_cast"='Constantine Maroulis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collections" ( "num" real, "volume_line" text, "volume_title" text, "creators" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "Name the # for bill finger edmond hamilton dick sprang , et al.". [/INST] SELECT "num" FROM "collections" WHERE "creators"='Bill Finger Edmond Hamilton Dick Sprang , et al.';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collections" ( "num" real, "volume_line" text, "volume_title" text, "creators" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "Name the volume line for number 8". [/INST] SELECT "volume_line" FROM "collections" WHERE "num"=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 "collections" ( "num" real, "volume_line" text, "volume_title" text, "creators" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "Name the total number for material collected for 978-1401221935". [/INST] SELECT COUNT("material_collected") FROM "collections" WHERE "isbn"='978-1401221935';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collections" ( "num" real, "volume_line" text, "volume_title" text, "creators" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "Name the umbr of creators for flash of two worlds". [/INST] SELECT COUNT("creators") FROM "collections" WHERE "volume_title"='Flash of Two Worlds';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collections" ( "num" real, "volume_line" text, "volume_title" text, "creators" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "Name the total number of material collected for justice league of america by george pérez, vol. 2". [/INST] SELECT COUNT("material_collected") FROM "collections" WHERE "volume_title"='Justice League of America by George Pérez, Vol. 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 "the_most_no_1_single_s_in_the_history" ( "number_one_s" real, "artist_s" text, "song_s_weeks" text, "issue_years" text, "whole_weeks" real );. Question: "What is the highest overall number one(s)?". [/INST] SELECT MAX("number_one_s") FROM "the_most_no_1_single_s_in_the_history";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19611329_1" ( "player" text, "years_with_dodgers" text, "role_with_dodgers" text, "inducted_as" text, "year_inducted" real );. Question: "Name the player for 1945 for player". [/INST] SELECT "player" FROM "table1_19611329_1" WHERE "year_inducted"=1945 AND "inducted_as"='Player';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19611329_1" ( "player" text, "years_with_dodgers" text, "role_with_dodgers" text, "inducted_as" text, "year_inducted" real );. Question: "Name the inducted as for joe medwick category:articles with hcards". [/INST] SELECT "inducted_as" FROM "table1_19611329_1" WHERE "player"='Joe Medwick Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1963459_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );. Question: "What teams drive cars manufactured by Toyota?". [/INST] SELECT "team" FROM "table1_1963459_2" WHERE "manufacturer"='Toyota';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1963459_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );. Question: "What is Jon Thorne's average speed?". [/INST] SELECT "average_speed_mph" FROM "table1_1963459_2" WHERE "team"='Jon Thorne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1963459_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );. Question: "What day did the race in 1974 take place on?". [/INST] SELECT "date" FROM "table1_1963459_2" WHERE "year"=1974;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1963459_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );. Question: "What is Tony Stewart's average speed?". [/INST] SELECT "average_speed_mph" FROM "table1_1963459_2" WHERE "driver"='Tony Stewart';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1963459_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );. Question: "What year was the average speed 145.24". [/INST] SELECT MAX("year") FROM "table1_1963459_2" WHERE "average_speed_mph"='145.24';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_25_15_10" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );. Question: "How many surfaces were played on in 2005 where the score was 6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6?". [/INST] SELECT COUNT("surface") FROM "doubles_25_15_10" WHERE "year"=2005 AND "score"='6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_25_15_10" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );. Question: "Who are the opponents of Mike Byron and partner in matches where the score was 6–4, 4–6, 7–6 (7–4)?". [/INST] SELECT "opponents" FROM "doubles_25_15_10" WHERE "score"='6–4, 4–6, 7–6 (7–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 "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What player is from the California Golden Seals?". [/INST] SELECT "player" FROM "round_ten" WHERE "nhl_team"='California Golden Seals';</s>