結果 : sql set value based on another table