SELECT TOP 10 Id, AcceptedAnswerId, DATEDIFF(second,Creat...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

SELECT 
  TOP 10 
  Id,
  AcceptedAnswerId,
  DATEDIFF(second,CreationDate,LastActivityDate)

--, p.CreationDate, ts.ApprovalDate, ts.ApprovedByUserId
FROM Posts p
  --LEFT JOIN TagSynonyms ts on p.id = ts.id
WHERE 1=1
  AND YEAR(p.CreationDate)=2017
  AND AcceptedAnswerId IS NOT NULL
;

Enter Parameters

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