SELECT 'https://travel.stackexchange.com/questions/' + CO...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Psychology and Neuroscience

Q&A for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

-- Query 2: Popular posts about different travel regions
SELECT 'https://travel.stackexchange.com/questions/' + CONVERT(VARCHAR, Posts.Id) as url,
    TagName as region,
    Title,
    ViewCount,
    Score
FROM Posts 
LEFT JOIN PostTags ON Posts.Id = PostTags.PostId
LEFT JOIN Tags ON PostTags.TagId = Tags.Id
WHERE TagName IN ('india', 'china', 'japan', 'europe', 'usa')
    AND Posts.PostTypeId = 1
    AND Score > 5
ORDER BY ViewCount DESC;

Enter Parameters

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