If you mean San Francisco, that isn't really an option with a family. There exist 4-bedroom houses with yards (little tiny yards) in San Francisco, but even the old 1960s ones go for about $1,800,000.
More parents are willing to raise kids in 'burbs than go with city schools.
Most suburban school districts far excel urban ones.