当前位置:网站首页>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
边栏推荐
- [brush questions] most elements (super water king problem)
- 有监督预训练!文本生成又一探索!
- ZIP文件的导出
- Separable bonds and convertible bonds
- 阿洛对自己的思考
- MPLS setup experiment
- [mathematical logic] predicate logic (first-order predicate logic formula | example)
- [DRM] simple analysis of DRM bridge driver call process
- [Blue Bridge Road -- bug free code] DS18B20 temperature reading code analysis
- The 10th China Cloud Computing Conference · China Station: looking forward to the trend of science and technology in the next decade
猜你喜欢
Interaction free shell programming
有监督预训练!文本生成又一探索!
Error in compiled file: error: unmapped character encoding GBK
IPv6过渡技术-6to4手工隧道配置实验--尚文网络奎哥
Web session management security issues
Is it better to speculate in the short term or the medium and long term? Comparative analysis of differences
Is pytorch difficult to learn? How to learn pytorch well?
2022 tea master (primary) examination questions and tea master (primary) examination question bank
2022 mobile crane driver examination registration and mobile crane driver operation examination question bank
Esp32 series (3): GPIO learning (take simple GPIO input and output, ADC, DAC as examples)
随机推荐
基于Pytorch和RDKit的QSAR模型建立脚本
Commands related to the startup of redis under Linux server (installation and configuration)
For instruction, uploading pictures and display effect optimization of simple wechat applet development
ZIP文件的导出
Shardingsphere dynamic data source
JMeter starts from zero (III) -- simple use of regular expressions
Recursion: quick sort, merge sort and heap sort
2022 mobile crane driver examination registration and mobile crane driver operation examination question bank
【刷题篇】接雨水(一维)
[mathematical logic] propositional logic (judgment of the correctness of propositional logic reasoning | formal structure is eternal truth - equivalent calculus | deduction from premise - logical reas
毕设-基于SSM宠物领养中心
C language hashtable/hashset library summary
IPv6过渡技术-6to4手工隧道配置实验--尚文网络奎哥
Dynamic programming: Longest palindrome substring and subsequence
How does the pytorch project run?
Ffmpeg download and installation tutorial and introduction
eth入门之简介
"Final review" 16/32-bit microprocessor (8086) basic register
The 10th China Cloud Computing Conference · China Station: looking forward to the trend of science and technology in the next decade
Read a paper_ ChineseBert