Two Out Of Three Leetcode Sql Problems