Sollicitatievraag bij Amazon

For the SQL question, it was pretty basic calculation.