当前位置:网站首页>MySQL timestampdiff interval
MySQL timestampdiff interval
2022-07-03 04:01:00 【Data analysis of financial Xiaobai】
DELETE FROM
# SECOND second
# MINUTE minute ( Returns the difference in seconds divided by 60 The integral part of )
# HOUR Hours ( Returns the difference in seconds divided by 3600 The integral part of )
# DAY Days ( Returns the difference in seconds divided by 3600*24 The integral part of )
# MONTH Monthly number
# YEAR number of years
# year ,month ,day,hour,second, minute ,start_time ,submit_time
exam_record WHERE score<60 and TIMESTAMPDIFF(minute,start_time,submit_time)<5
DELETE
FROM exam_record WHERE submit_time is null or TIMESTAMPDIFF(minute,start_time,submit_time)<5 ORDER BY start_time LIMIT 3
边栏推荐
- Recursive use and multi-dimensional array object to one-dimensional array object
- Error in compiled file: error: unmapped character encoding GBK
- 深潜Kotlin协程(十九):Flow 概述
- How to download pytorch? Where can I download pytorch?
- pytorch开源吗?
- Practical operation of vim
- What is the correct way to compare ntext columns with constant values- What's the right way to compare an NTEXT column with a constant value?
- 阿洛对自己的思考
- pytorch怎么下载?pytorch在哪里下载?
- Is pytorch open source?
猜你喜欢

【刷题篇】多数元素(超级水王问题)

因果AI,下一代可信AI的产业升级新范式?

Mila、渥太华大学 | 用SE(3)不变去噪距离匹配进行分子几何预训练

The 10th China Cloud Computing Conference · China Station: looking forward to the trend of science and technology in the next decade

Application of I2C protocol of STM32F103 (read and write EEPROM)

The latest analysis of the main principals of hazardous chemical business units in 2022 and the simulated examination questions of the main principals of hazardous chemical business units

有监督预训练!文本生成又一探索!

Recursion: quick sort, merge sort and heap sort
![[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification](/img/30/c840e28c0ef7c8ce574dcde4363863.jpg)
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification

How to move towards IPv6: IPv6 Transition Technology - Shangwen network quigo
随机推荐
Recursion: quick sort, merge sort and heap sort
错误 C2694 “void Logger::log(nvinfer1::ILogger::Severity,const char *)”: 重写虚函数的限制性异常规范比基类虚成员函数
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification
What is the correct way to compare ntext columns with constant values- What's the right way to compare an NTEXT column with a constant value?
JS native common knowledge
Social phobia of contemporary young people (III)
Is it better to speculate in the short term or the medium and long term? Comparative analysis of differences
Mutex and rwmutex in golang
TCP/IP模型中的重磅嘉宾TCP--尚文网络奎哥
C语言HashTable/HashSet库汇总
基于Pytorch和RDKit的QSAR模型建立脚本
[mathematical logic] predicate logic (predicate logic basic equivalent | eliminate quantifier equivalent | quantifier negative equivalent | quantifier scope contraction expansion equivalent | quantifi
Message queue addition failure
[mathematical logic] predicate logic (first-order predicate logic formula | example)
leetcode:297. 二叉树的序列化与反序列化
Recursion: depth first search
golang xxx. Go code template
在 .NET 6 项目中使用 Startup.cs
学会pytorch能干什么?
CVPR 2022 | Dalian Technology propose un cadre d'éclairage auto - étalonné pour l'amélioration de l'image de faible luminosité de la scène réelle