当前位置:网站首页>10. Update operation
10. Update operation
2022-04-23 07:40:00 【Ah Dai cloth clothes cool】
10. update operation
1.insert
insert into emp(empno,ename,job,hiredate,sal,deptno)
values(9527,' Tang Bohu ',' Painter ',now(),6666,50);
2.delete
Delete all the salary higher than in the marketing department 5000 The employees'
delete from emp
where deptno=(select deptno from dept where dname=' The Marketing Department ')
and sal>5000;
3.update
take smith Of job Set to manager,sal Set to 8888,comm Set to 666
update emp
set
job='manager',sal=8888,comm=666
where ename='smith';
版权声明
本文为[Ah Dai cloth clothes cool]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230622239224.html
边栏推荐
猜你喜欢

FSM有限状态机

Background management system framework, there is always what you want

Us photo cloud editing helps BiliBili upgrade its experience

快速下载vscode的方法

Source Insight 4.0常见问题
![[Educational Codeforces Round 80] 解题报告](/img/54/2fd298ddce3cd3e28a8fe42b3b8a42.png)
[Educational Codeforces Round 80] 解题报告

‘npm‘不是内部或外部命令,也不是可运行的程序 或批处理文件

组合数求解与(扩展)卢卡斯定理

超级宝典&编程指南(红蓝宝书)-读书笔记

Educational Codeforces Round 81 (Rated for Div. 2)
随机推荐
ESP32学习-GPIO的使用与配置
VScode
[Ted series] how does a habit change my life
Mysql隔离级别
2022.3.14 阿里笔试
LATEX使用
Dirichlet 前缀和(数论优化式子复杂度利器)
11.表和库的管理
Object. Create() principle, object Create() specification, handwritten object create(),Object. Create() usage
javscript获取文件真实后缀名
关于素数的不到100个秘密
判断字符串首尾是否包含目标参数:startsWith()、endsWith()方法
[hdu6833]A Very Easy Math Problem(莫比乌斯反演)
kaggle-房价预测实战
The difference between null and undefined
简易随机点名抽奖(js下编写)
[hdu6868]Absolute Math(推式子+莫比乌斯反演)
‘npm‘不是内部或外部命令,也不是可运行的程序 或批处理文件
Design optimization of MySQL database
13. User and authority management