First Duplicate Value Leetcode Problems Sql