Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Quantos estados havia quando houve uma matrícula de 2789?
 ###Tabelas: CREATE TABLE popularity_of_terrestrial_tv_stations (popularity_of_terrestrial_tv_stations_id AUTO_INCREMENT PRIMARY KEY, TV Station (Operator) VARCHAR, 2005 INT, 2006 INT, 2007 INT, 2008 INT, 2009 INT, 2010 INT, 2011 1H INT) CREATE TABLE member_schools (member_schools_id AUTO_INCREMENT PRIMARY KEY, Institution VARCHAR, City VARCHAR, State VARCHAR, Team Name VARCHAR, Affiliation VARCHAR, Enrollment INT, Home Conference VARCHAR) CREATE TABLE list_of_interchanges_and_features (list_of_interchanges_and_features_id AUTO_INCREMENT PRIMARY KEY, Name VARCHAR, Dist. from Origin VARCHAR, Dist. from Terminus VARCHAR, Speed Limit VARCHAR, Location (all in Nagano ) VARCHAR) CREATE TABLE financial_comparisons_between_top_10_banks_in_indonesia_-_2006 (financial_comparisons_between_top_10_banks_in_indonesia_-_2006_id AUTO_INCREMENT PRIMARY KEY, Bank VARCHAR, Asset INT, Loans INT, NPL Net VARCHAR, Deposits INT, Net Interest Income INT, Non-Interest Income INT, Net Profit INT, No. of Employees VARCHAR, No. of Branches/Offices INT, No. of ATMs VARCHAR) CREATE TABLE michigan_65_ohio_normal_0 (michigan_65_ohio_normal_0_id AUTO_INCREMENT PRIMARY KEY, Player VARCHAR, Position VARCHAR, Starter VARCHAR, Touchdowns INT, Extra points INT, Field goals INT, Points INT)  
SELECT COUNT State FROM member_schools WHERE Enrollment = 2789