Question d’entretien chez loanDepot

How do you calculate weighted average in SQL?