Unanswered Questions by 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 count(p.Id) as num_ques, 
concat(datepart(yyyy, p.CreationDate),'-',datepart(wk, p.CreationDate)) as yr_wk_num
from posts p
where p.CreationDate >= '2022-01-01'
-- and p.CreationDate <= '2021-12-31'
and p.Tags like '%<##tag?amazon-sagemaker##>%'
and p.PostTypeId = 1 -- questions only
and p.AnswerCount < 1 
and (LastEditorUserId is null or LastEditorUserId = OwnerUserId)
group by concat(datepart(yyyy, p.CreationDate),'-',datepart(wk, p.CreationDate));

Enter Parameters

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