当前位置:网站首页>mysql设置触发器问题
mysql设置触发器问题
2022-07-05 06:33:00 【CSDN问答】
在考生文件夹下给出的企业数据库db_ emp中包含职工 表tb_ employee和部门 门表tb_ dept.
职工表有部门号(deptno) ,工资(salary) ,部门表有 部门]号(deptno) 、 部门名称(dname)
设计一个名称为t_ emp的触发器, 完成的功能是:当删除 部门表中的记录时,将职工表中的部门号(deptno) 置 空。并使用命令删除部门号(deptno) 为D2的行触发该触发器,并查看结果。
边栏推荐
- Redis-02.Redis命令
- Qt项目中的日志库log4qt使用
- Volcano 资源预留特性
- Positive height system
- Application of recyclerview
- Technical conference arrangement
- LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation
- 7.Oracle-表结构
- [QT] QT multithreading development qthread
- 'mongoexport 'is not an internal or external command, nor is it a runnable program or batch file.
猜你喜欢

Paper reading report

namespace

Redis-01. First meet redis

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

Configuration method and configuration file of SolidWorks GB profile library

International Open Source firmware Foundation (osff) organization

Use ffmpeg to rotate, flip up and down, and flip horizontally

What is linting

Find the combination number acwing 888 Find the combination number IV

2. Addition and management of Oracle data files
随机推荐
Redis-02.Redis命令
Find the combination number acwing 887 Find combination number III
Cookie、Session、JWT、token四者间的区别与联系
Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a
Genesis builds a new generation of credit system
Vscode configures the typera editor for MD
Inclusion exclusion principle acwing 890 Divisible number
Orin 安装CUDA环境
2022/6/29-日报
RecyclerView的应用
Client use of Argo CD installation
What is linting
vsCode创建自己的代码模板
5.Oracle-表空间
PR automatically moves forward after deleting clips
[Gaode map POI stepping pit] amap Placesearch cannot be used
Dameng database all
[learning] database: several cases of index failure
Instruction execution time
How to correctly ask questions in CSDN Q & A