select ClosedDate, CreationDate, (ClosedDate - CreationDa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select
    ClosedDate,
    CreationDate,
    (ClosedDate - CreationDate) as Answer_time,
    datediff(ss, CreationDate,ClosedDate) as Answer_time_sec
from 
    Posts t1
where
  year(CreationDate) = '2017'

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results