Marlabs interview question

leetcode easy level SQL question