当前位置:网站首页>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
边栏推荐
- 竞品分析撰写
- Hutool dynamically adds scheduled tasks
- How to move towards IPv6: IPv6 Transition Technology - Shangwen network quigo
- 第十届中国云计算大会·中国站:展望未来十年科技走向
- Filter
- [mathematical logic] predicate logic (judge whether the first-order predicate logic formula is true or false | explain | example | predicate logic formula type | forever true | forever false | satisfi
- 以两列的瀑布流为例,我们应该怎么构建每一列的数组
- 深潜Kotlin协程(二十):构建 Flow
- Practical operation of vim
- Ffmpeg download and installation tutorial and introduction
猜你喜欢
Nodejs Foundation: shallow chat URL and querystring module
In Net 6 project using startup cs
国产PC系统完成闭环,替代美国软硬件体系的时刻已经到来
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
Ffmpeg download and installation tutorial and introduction
深潜Kotlin协程(十九):Flow 概述
JS实现图片懒加载
leetcode:297. Serialization and deserialization of binary tree
【刷题篇】 找出第 K 小的数对距离
[Apple Photo Album push] IMessage group anchor local push
随机推荐
[daily question] dichotomy - find a single dog (Bushi)
Without sxid, suid & sgid will be in danger- Shangwen network xUP Nange
eth入门之简介
[Apple Photo Album push] IMessage group anchor local push
IPv6 foundation construction experiment
Hutool dynamically adds scheduled tasks
Is it better to speculate in the short term or the medium and long term? Comparative analysis of differences
[mathematical logic] propositional logic (propositional and connective review | propositional formula | connective priority | truth table satisfiable contradiction tautology)
服务器无法远程连接原因分析
[brush questions] most elements (super water king problem)
Is pytorch difficult to learn? How to learn pytorch well?
For instruction, uploading pictures and display effect optimization of simple wechat applet development
Ffmpeg recording screen and screenshot
Idea shortcut keys
CEPH Shangwen network xUP Nange that releases the power of data
@The difference between Autowired, @qualifier, @resource
Recursion: depth first search
vim 的实用操作
Separable bonds and convertible bonds
[mathematical logic] propositional logic (equivalent calculus | idempotent law | exchange law | combination law | distribution law | De Morgan law | absorption rate | zero law | identity | exclusion l