SELECT p.Id ,p.Title ,p.Body ,p.Tags ,p.Score ,p.ViewCoun...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sitecore Meta

Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software

SELECT 
p.Id
,p.Title
,p.Body
,p.Tags
,p.Score
,p.ViewCount
,c.Score as AnswerScore
,c.Text as Answer

FROM Posts as p
LEFT JOIN Comments as c ON p.AcceptedAnswerId = c.Id

WHERE DATEPART(YEAR, p.CreationDate) = 2020;

Enter Parameters

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