How many days had both mean humidity above 50 and mean visibility above 8?
CREATE TABLE weather (mean_humidity VARCHAR, mean_visibility_miles VARCHAR)
SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE weather (mean_humidity VARCHAR, mean_visibility_miles VARCHAR) Question: How many days had both mean humidity above 50 and mean visibility above 8? [/INST] SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8 </s>