728x90
반응형
DBeaver를 사용하여 아래 쿼리 형태로 데이터를 조회 후 수정 작업을 하고 있던 중
SELECT [COLUMN NAME] FROM [TABLE NAME] where [조건];
아래와 같은 에러창이 뜨게 되었습니다.
수정하려고 보니 테이블에 고유 키가 없는 상태라 여러 데이터가 지워질 수 있다는 경고창이였다.
따라서 아래와 같은 형태의 쿼리를 조회 후 수정 작업을 하였다.
SELECT * FROM [TABLE NAME] WHERE [조건문];
728x90
반응형
'MySQL(DB)' 카테고리의 다른 글
[바미] 데이터베이스 - Join (0) | 2024.07.28 |
---|---|
[바미] 데이터 파티셔닝 (0) | 2024.06.20 |
[바미] MySQL - 프로시저에 대해 알아봅시다. (0) | 2024.03.28 |
[바미] MySQL - Upsert (0) | 2024.03.21 |
[바미] MySQL SELECT된 결과를 INSERT하기 (0) | 2024.03.19 |