Insert Using Join On Sql Statement Distinct