How many regional seats were there with the SNP party and where the number of total seats was bigger than 46?
CREATE TABLE table_name_77 (regional_seats VARCHAR, party VARCHAR, total_seats VARCHAR)
SELECT COUNT(regional_seats) FROM table_name_77 WHERE party = "snp" AND total_seats > 46
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (regional_seats VARCHAR, party VARCHAR, total_seats VARCHAR) Question: How many regional seats were there with the SNP party and where the number of total seats was bigger than 46? [/INST] SELECT COUNT(regional_seats) FROM table_name_77 WHERE party = "snp" AND total_seats > 46 </s>