How many Patent outcomes are generated from all the projects?
CREATE TABLE Project_outcomes (outcome_code VARCHAR)
SELECT COUNT(*) FROM Project_outcomes WHERE outcome_code = 'Patent'
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Project_outcomes (outcome_code VARCHAR) Question: How many Patent outcomes are generated from all the projects? [/INST] SELECT COUNT(*) FROM Project_outcomes WHERE outcome_code = 'Patent' </s>