当前位置:网站首页>时间差计算
时间差计算
2022-07-17 05:09:00 【倫之】
SELECT
TIMESTAMPDIFF(
HOUR,
psi.report_date,
psi.handle_date
) AS time
FROM
table_name psi
WHERE
psi.status = '3'计算report_date、handle_date这两个字段之间相差多少个小时。
复习:
SELECT
MAX(student_result) AS 最高分,
MIN(student_result) AS 最低分,
CAST(AVG(student_result) AS DECIMAL(10,2)) AS 平均分
FROM students
WHERE sex= '男'
边栏推荐
猜你喜欢
随机推荐
【全网首发】主线程异常会导致 JVM 退出?
柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你
面渣逆袭:线程池夺命连环十八问,面试官直夸我
Cesium geojson数据的添加与移除
Excel template export of easypoi
CityEngine 三维管道建模教程
在 CDP中使用Iceberg 为数据湖仓增压
【全网首发】JVM性能问题的自动分析
软件测试就业前景怎样 人才需求大,岗位稳定性强
函数与参数
指针数组&数组指针
10问10答:你真的了解线程池吗?
Nacos configuration management
Two or three things to know about operation and maintenance safety
Questions d'entrevue courantes du système d'exploitation
C语言的宏定义
MySQL cache solution problem solving
ArcGIS point cloud (XYZ) data to DEM
Is the cookie valid for a limited time? How to set cookies? Teach you to set by hand
循环赛制日程表问题









