結果 : sql smaller of two values