SQL语句: select cast(floor(datediff(minute,时间1,时间2) / 1440) as varchar)+'天'+ cast(floor((datediff(minute,时间1,时间2) % 1440)/60) as varchar)+'小时'+ cast(((datediff(minute,时间1,时间2))- (floor(datediff(minute,时间1,时间2) / 1440) *1440)- (floor((datediff(minute,时间…