sql select update 同じテーブル postgresの検索結果