Unique Path In Leetcode Sql Queries