
1.insert
-- 1. insert
select * from bonus;
desc bonus;
insert into bonus(ename, job, sal,comm) values('홍길동','프로그래머', 600, 100 );
insert into bonus(ename, job, sal,comm) values('임꺽정','변호사', 1000, 200 );
2. update
-- 2. update
update bonus
set sal = 2000, comm = 500
where job = '프로그래머';
-- job이 변호사 인 친구의 이름을 임하룡으로 변경하시오.
update bonus
set ename = '임하룡'
where job = '변호사';
3. DELETE
-- 3. DELETE
delete from bonus where job = '프로그래머';
4.
Share article