Your reasoning for home prices comparing median income to median home prices using lender qualifications is flawed.
The problem : Median income is based on ranking ALL households. Homeowners make up ~60% or less of households in San Diego.
Therefore the folks in the median income range are at the very bottom portion of the home buying chain. Think starter condos when comparing to median incomes.