JAX Tags

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

SELECT p.Id, v.postid AS [Post Link], p.Score, p.viewCount, p.AnswerCount, p.title, t.tagName, p.creationDate
FROM Posts p
INNER JOIN votes v on p.Id=v.postid
INNER JOIN PostTags pt ON pt.PostId = p.Id
INNER JOIN Tags t ON t.Id = pt.TagId

WHERE ( t.TagName = 'jax' or t.TagName = 'Jax' or t.TagName = 'JAX')
 /*   and p.AnswerCount = 0 */
    and p.creationDate > '2018-12-01'
/*    and p.Score > 0 */
GROUP BY p.Id, p.title,p.AnswerCount, p.CreationDate, p.Score, p.Tags, t.TagName, v.postid, p.viewcount
ORDER BY  p.CreationDate DESC

Enter Parameters

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