Lightweight Sql Problem In Leetcode 150