What are all the customer phone numbers under the most popular policy type?
CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR)
SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT TOP 1 policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR) Question: What are all the customer phone numbers under the most popular policy type? [/INST] SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT TOP 1 policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC) </s>