Query by Specific Week

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 p.id, p.Id as [Post Link], score, p.commentCount,p.AnswerCount,
concat('week -',datepart(wk, p.CreationDate)) as yr_wk_num
from posts p where p.CreationDate >= '2023-01-01'
and p.Tags like '%<##tag?amazon-sagemaker##>%'
and p.PostTypeId = 1 -- questions only
and datepart(wk, p.CreationDate) in (41) 
-- and (p.commentCount + p.AnswerCount) < 1
-- and score >=0

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results