How do people afford a £2m house?

What sort of salaries are people earning to afford something like this? A big standard 3 bed terrace in zone 2-3 must be close to £2m. What sort of jobs are people doing to be able to afford that? Joint income must be around £300k and a £800k deposit?? How do people afford this much money?