Error 1093 (ER_UPDATE_TABLE_USED)
SQLSTATE = HY000
Message = "You can't specify target table 'x' for update in FROM clause"
mysql에서는 서브쿼리의 form절과 업데이트 target 모두를 같은 테이블로 사용할 수 없다
update tbl_a
set no = 'a'
where seq in (select * from ( select seq from tbl_a where x = 'b' ) as t )
한번더 감싸준다.