SELECT Posts.Title, Posts.Score, Posts.ViewCount, Posts.A...

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
  Posts.Title,
  Posts.Score,
  Posts.ViewCount,
  Posts.AnswerCount,
  'https://travel.stackexchange.com/questions/' + CAST(Posts.Id as VARCHAR) as QuestionURL
FROM Posts
LEFT JOIN PostTags ON Posts.Id = PostTags.PostId
LEFT JOIN Tags ON PostTags.TagId = Tags.Id
WHERE Tags.TagName IN ('vacation-rentals', 'apartments', 'airbnb')
AND Posts.PostTypeId = 1
AND Posts.Score > 5
ORDER BY Posts.Score DESC;

Enter Parameters

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