当前位置:网站首页>MySQL setting trigger problem
MySQL setting trigger problem
2022-07-05 06:52:00 【CSDN Q & A】
The enterprise database given under the examinee folder db_ emp Including employees surface tb_ employee And department Door Watch tb_ dept.
The employee table has a department number (deptno) , Wages (salary) , The Department table has department ] Number (deptno) 、 Department name (dname)
Design a project named t_ emp The trigger of , The completed function is : When the delete Records in the Department table , Put the department number in the employee table (deptno) Set up empty . And use the command to delete the department number (deptno) by D2 The row of triggers this trigger , And look at the results .
边栏推荐
猜你喜欢
‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
All English in the code
Build a microservice cluster environment locally and learn to deploy automatically
Positive height system
数据库Mysql全部
SD_CMD_SEND_SHIFT_REGISTER
Database mysql all
[Gaode map POI stepping pit] amap Placesearch cannot be used
how to understand the “model independent.“
Mutual transformation between two-dimensional array and sparse array (sparse matrix)
随机推荐
ROS2——功能包(六)
Xiaomi written test real question 1
Vant weapp swippecell set multiple buttons
Sre core system understanding
能量守恒和打造能量缺口
Redis-01. First meet redis
Log4qt usage of logbase in QT project
. Net core stepping on the pit practice
ROS2——安装ROS2(三)
逻辑结构与物理结构
Xavier CPU & GPU high load power consumption test
mingling
6-3 find the table length of the linked table
Build a microservice cluster environment locally and learn to deploy automatically
[MySQL 8.0 does not support capitalization of table names - corresponding scheme]
Cookie、Session、JWT、token四者间的区别与联系
Package webapp or H5 pages into apps
La redirection de l'applet Wechat ne déclenche pas onload
Initialization of global and static variables
Qt项目中的日志库log4qt使用