Find the name of customers whose credit score is below the average credit scores of all customers.
CREATE TABLE customer (cust_name VARCHAR, credit_score INTEGER)
SELECT cust_name FROM customer WHERE credit_score < (SELECT AVG(credit_score) FROM customer)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer (cust_name VARCHAR, credit_score INTEGER) Question: Find the name of customers whose credit score is below the average credit scores of all customers. [/INST] SELECT cust_name FROM customer WHERE credit_score < (SELECT AVG(credit_score) FROM customer) </s>