Lightweight Sql Problem Leetcode 752