sql problem solving questions leetcode