使用约会夫在几分钟内找到持续时间
-
28-09-2019 - |
题
我正在尝试使用 Datediff
找出之间的持续时间 columnA
和 columnB
.
SELECT datediff (minute, stime, etime)
from Exceptions2
where stime = [exceptions2].starttime
and etime = [exceptions2].endtime
这会产生错误。有人可以帮助我解决我做错了什么吗?
解决方案
如何尝试,不确定为什么您有stime = [exceptions2] .starttime and etime = [exceptions2] .endtime
SELECT datediff(minute, starttime, endtime) from Exceptions2
不隶属于 StackOverflow