当前位置:网站首页>MySQL multi table joint deletion
MySQL multi table joint deletion
2022-07-03 00:46:00 【Happy big bang】
delete from A WHERE A.name in (SELECT name FROM B WHERE TIMESTAMPDIFF(DAY,time,NOW()) >= 30);//B The inserted data in the table is more than 30 days compared with the current time ,, Delete A The corresponding data in the table
delete from C WHERE C.task_name in (SELECT name FROM B WHERE TIMESTAMPDIFF(DAY,time,NOW()) >= 30);//B The inserted data in the table is more than 30 days compared with the current time ,, Delete C The corresponding data in the table
delete from B where TIMESTAMPDIFF(DAY,time,NOW()) >= 30);
边栏推荐
- 【AutoSAR 三 RTE概述】
- 可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场
- 如何系统学习机器学习
- kubernetes编写yml简单入门
- Kubernetes simple introduction to writing YML
- Tensorflow 2. Chapter 15 of X (keras) source code explanation: migration learning and fine tuning
- 1.12 - 指令
- Multi process programming (III): message queue
- 【AutoSAR 七 工具链简介】
- [golang syntax] map common errors golang panic: assignment to entry in nil map
猜你喜欢

世平信息首席科学家吕喆:构建以数据和人员为中心的安全能力

Introduction and use of ftrace tool

MySQL 23 classic interview hanging interviewer

百度智能云牵头打造智能云综合标准化平台

【AutoSAR 十三 NVM】
![[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)](/img/7e/4f9d96edd04e9ffb26434baf34aa43.jpg)
[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)

Rust所有权(非常重要)

Linux软件:如何安装Redis服务

【AutoSAR 九 C/S原理架构】

奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
随机推荐
Andorid gets the system title bar height
MySQL 23 classic interview hanging interviewer
Some introduction and precautions about XML
可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场
AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
kubernetes资源对象介绍及常用命令(五)-(NFS&PV&PVC)
leetcode-1964:找出到每个位置为止最长的有效障碍赛跑路线
Briefly talk about other uses of operation and maintenance monitoring
百度智能云牵头打造智能云综合标准化平台
Vulkan-性能及精细化
为什么网站打开速度慢?
How SQLSEVER removes data with duplicate IDS
Detailed explanation of pod life cycle
Shell 实现文件基本操作(切割、排序、去重)
Wechat applet obtains the information of an element (height, width, etc.) and converts PX to rpx.
leetcode-241:为运算表达式设计优先级
Vulkan is not a "panacea"“
FAQ | FAQ for building applications for large screen devices
cordova-plugin-device获取设备信息插件导致华为审核不通过