IBM interview question

Easy SQL Leetcode style question