System Design Problem Leetcode Sql Questions