select datediff(d, se.creationdate, approvaldate) [days t...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select datediff(d, se.creationdate, approvaldate) [days to approve]
     , posttypeid
from suggestededits se
inner join posts p on p.id = se.postid
where p.posttypeid in (4,5)
order by 1 desc

Enter Parameters

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