Find unanswered Question which are most Viewd

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

Declare @keyword varchar(100)='python'

select top 10 
  Posts.Id,
  Posts.CreationDate,
  Posts.ViewCount,
  Posts.Body,
  Posts.Title,
  Posts.OwnerUserId,
  Users.Id as UserID,
  Users.DisplayName as UserName
from Posts , Users

where 
 Posts.OwnerUserID = Users.Id
 and
AnswerCount = 0 and (Title like '%python%' or Tags like '%python%')
order by ViewCount Desc

;

Enter Parameters

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