How many different last names do the actors and actresses have?
CREATE TABLE actor (last_name VARCHAR)
SELECT COUNT(DISTINCT last_name) FROM actor
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE actor (last_name VARCHAR) Question: How many different last names do the actors and actresses have? [/INST] SELECT COUNT(DISTINCT last_name) FROM actor </s>