System Design Problem Leetcode Sql Interview