結果 : sql select smaller of two values