SQL

[SQL] update, set - 테이블 내 데이터 값 변경하기

춘식이2 2022. 8. 30. 01:59

update 문법

UPDATE [table name]
SET [컬럼] = 변경할 값
WHERE [컬럼] 조건

 

update enrollments
set year = 2015
where id >=20 and id <= 100