leetcode sql basic questions