What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR)
SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR) Question: What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0? [/INST] SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0 </s>