Starbucks interview question

Leetcode SQL assessment was presented.