Database: california_schools
Question: Of all the schools with a mailing state address in California, how many are active in San Joaquin city?
SQL: SELECT COUNT(CDSCode) FROM schools WHERE City = 'San Joaquin' AND MailState = 'CA' AND StatusType = 'Active'