Anonymous Content interview question

leetcode problems, SQL query which is a basic one.