WHAT RANK DOES LEONARD NIMOY HAVE?
CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR)
SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR) Question: WHAT RANK DOES LEONARD NIMOY HAVE? [/INST] SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy" </s>