34,838
社区成员




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 table
SELECT DATEDIFF (S,Arrive_time,Left_time) as time_period from table
SELECT DATEDIFF (S,Arrive_time,Left_time) as time_period