You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect.
테이블에서 키값을 이용한 update, delete 를 허용하는데 한번여 여러개의 row 를 수정 및 삭제를 하려고 할때 발생하는 에러이다.
set sql_safe_updates=0;
이 명령어로 일시적인 Safe 모드를 해제하면 실행 가능하다.
- student table
- course table
데이터베이스를 개설한 학과명은 테스트이다.
4학년 학생들의 학과는 컴퓨터이니 이를 테스트로 변경하려고 할때 변경해야 하는 row 가 2개이다.
이때
update student
set dept = (select dept
from course
where cname = '데이터베이스')
where year = 4;
이 쿼리를 실행하면 한번에 update 해야 할 row 가 2개라서 1175 에러가 발생한다.

set sql_safe_updates=0;
실행시

쿼리가 정상적으로 작동했고
4학년 학생들의 학과가 테스트로 수정되었다.