Minimum Common Multiple Leetcode Sql Server