結果 : sql server max date between 2 values