테이블 데이터 CRUD
Create > insert into
Read > select
Update > update
Delete > delete
Update > update
-- 데이터의 값을 변경!
-- 고양이 이름이 키티 인 고양이의 나이를 2살로 변경.
update cats
set age = 2
where name = '키티';
'MySQL' 카테고리의 다른 글
[MySQL] 문자열 컬럼 데이터 가공 함수 concat(), substring(), replace(), reverse(), char_length(), upper(), lower() (0) | 2024.05.13 |
---|---|
[MySQL] 테이블 데이터 삭제 Delete (0) | 2024.05.13 |
[MySQL] 테이블 원하는 컬럼, 데이터만 Select 하기 (0) | 2024.05.13 |
[MySQL] Null, Not Null, Default (0) | 2024.05.13 |
[MySQL] 테이블에 데이터 insert 하기 (0) | 2024.05.13 |