Domanda di colloquio di Amazon

Basic-average difficulty LeetCode SQL question