Q&A about the site for LEGO® and building block enthusiasts
select p.id as [Post Link], title, p.tags as Tags, p.ViewCount as "Views", p.score as "Score", p.AnswerCount as "Answers", DATEDIFF(day,p.CreationDate,getdate()) as "Age (days)", p.AcceptedAnswerId as "Answer Accepted?" from posts p where p.AnswerCount = 0 and DATEDIFF(day,p.CreationDate,getdate()) < ##maxage:int?120## and DATEDIFF(day,p.CreationDate,getdate()) > ##minage:int?20## and p.score > ##minscore:int?5## order by p.score desc, p.viewcount desc;