結果 : sql select and update another table