[update]-수정date 테이블명 set 필드명 = ‘변경할 값’ where 필드명=’중복되지 않는 값’;
update h_member set hcity='03' where hid='hong';
여러필드를 변경하고 싶을 때
, 로 추가해주기
728x90
'Database > MySQL' 카테고리의 다른 글
[Mysql] 테이블 생성하기 / select count(*) (0) | 2022.07.04 |
---|---|
[MySql] alter table 테이블명 modify 추가할 필드명 text not null; (0) | 2022.07.04 |
MySQL (0) | 2022.06.30 |
MySql Shell 명령어 (0) | 2022.06.30 |
내 컴퓨터 port 확인 하는 방법 (0) | 2022.06.30 |
댓글