DML数据操纵语言
--创建表T_HQ_BM2 --create table t_hq_bm2 as select * from t_hq_bm; commit; --添加行内容 --insert into t_hq_bm2 values ('105','宣传部','22222222'); commit; --删除部门编码为105的行 --delete t_hq_bm2 where bumenbm = '105'; commit; --添加行内容 --insert into t_hq_bm2 (bumenbm,lianxidh) values ('105','22222222'); commit; 更新所有的联系电话为333 update t_hq_bm2 set lianxidh = '333'; commit; --更新部门编码为103的联系电话为666 update t_hq_bm2 set lianxidh = '666' where bumenbm = '103'; commit; --删除表内容 delete t_hq_bm2; commit;