메모장
MySQL You can't specify target table 'tablename' for update in FROM clause 본문
DataBase
MySQL You can't specify target table 'tablename' for update in FROM clause
doopang 2024. 10. 24. 10:42-- SELECT 한번 더 해줌
SELECT SEQ
FROM (SELECT COALESCE(SEQ, 0) + 1 AS SEQ
FROM tablename) AS t
'DataBase' 카테고리의 다른 글
MyBatis foreach (0) | 2024.11.11 |
---|---|
MariaDB 암호화, 복호화 (0) | 2024.06.25 |
MariaDB 컬럼명, 컬럼 코멘트로 테이블 조회 (0) | 2024.06.24 |
MariaDB Procedure 반복문 (0) | 2023.02.20 |
MariaDB 콤마(,)로 구분되어 있는 문자열에서 정확한 값 조건으로 조회 (0) | 2023.02.15 |