34,874
社区成员
发帖
与我相关
我的任务
分享
SELECT DATEDIFF(second, Arrive_time, Left_time) AS arrive_left_time
FROM TB
datediff(ss,Arrive_time,Left_time)
-- 秒
SELECT DATEDIFF (S,Arrive_time,Left_time) as time_period from tableSELECT DATEDIFF (S,Arrive_time,Left_time) as time_period from tableSELECT DATEDIFF (S,Arrive_time,Left_time) as time_period