How many distinct payment methods are used by parties?
CREATE TABLE parties (payment_method_code VARCHAR)
SELECT COUNT(DISTINCT payment_method_code) FROM parties
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE parties (payment_method_code VARCHAR) Question: How many distinct payment methods are used by parties? [/INST] SELECT COUNT(DISTINCT payment_method_code) FROM parties </s>