Laravel first 1000

0

Please login or register to vote for this query.

(click on this box to dismiss)

CiviCRM

Q&A for administrators and users of the CiviCRM Constituent Relationship Management software

DECLARE @tag0 nvarchar(25) = N'laravel';

SELECT TOP 500
    p.Title AS Title,
    p.Body AS Body
FROM Tags t
JOIN PostTags pt ON pt.TagId = t.Id
JOIN Posts p ON p.Id = pt.PostId
WHERE t.TagName = @tag0
ORDER BY p.ViewCount / (1 + DATEDIFF(week, p.CreationDate, GETDATE())) DESC

Enter Parameters

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