what is the number of sites when the number of screens is 687 and rank is more than 7?
CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR)
SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR) Question: what is the number of sites when the number of screens is 687 and rank is more than 7? [/INST] SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7 </s>