What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights?
CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR)
SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR) Question: What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? [/INST] SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6 </s>