当前位置:网站首页>mysql设置触发器问题
mysql设置触发器问题
2022-07-05 06:33:00 【CSDN问答】
在考生文件夹下给出的企业数据库db_ emp中包含职工 表tb_ employee和部门 门表tb_ dept.
职工表有部门号(deptno) ,工资(salary) ,部门表有 部门]号(deptno) 、 部门名称(dname)
设计一个名称为t_ emp的触发器, 完成的功能是:当删除 部门表中的记录时,将职工表中的部门号(deptno) 置 空。并使用命令删除部门号(deptno) 为D2的行触发该触发器,并查看结果。
边栏推荐
猜你喜欢

UTC, GPS time and Tai

'mongoexport 'is not an internal or external command, nor is it a runnable program or batch file.

Orin 两种刷机方式

Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams

Utf8 encoding

Vscode creates its own code template

3.Oracle-控制文件的管理

将webApp或者H5页面打包成App

Mutual transformation between two-dimensional array and sparse array (sparse matrix)

5. Oracle TABLESPACE
随机推荐
5.Oracle-表空间
Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
RecyclerView的应用
Vant Weapp SwipeCell設置多個按鈕
Design specification for mobile folding screen
Knapsack problem acwing 9 Group knapsack problem
Relevant information of National Natural Science Foundation of China
2022/6/29-日报
数据库Mysql全部
ADG5412FBRUZ-RL7应用 双电源模拟开关和多路复用器IC
P3265 [jloi2015] equipment purchase
namespace
confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
2022 winter vacation training game 5
Architecture
Game theory acwing 892 Steps Nim game
All English in the code
[moviepy] unable to find a solution for exe