How many persons are not body builders?
CREATE TABLE body_builder (people_id VARCHAR, People_ID VARCHAR); CREATE TABLE people (people_id VARCHAR, People_ID VARCHAR)
SELECT COUNT(*) FROM people WHERE NOT people_id IN (SELECT People_ID FROM body_builder)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE body_builder (people_id VARCHAR, People_ID VARCHAR); CREATE TABLE people (people_id VARCHAR, People_ID VARCHAR) Question: How many persons are not body builders? [/INST] SELECT COUNT(*) FROM people WHERE NOT people_id IN (SELECT People_ID FROM body_builder) </s>