Question d’entretien chez Amazon

For the SQL question, it was pretty basic calculation.