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

0

Please login or register to vote for this query.

(click on this box to dismiss)

Iota Meta

Q&A about the site for users of Iota, the open-source cryptocurrency for IoT that does not use a blockchain

SELECT 'https://travel.stackexchange.com/questions/' + CONVERT(VARCHAR, Posts.Id) as url,
    (ViewCount / NULLIF((SELECT -DATEDIFF(DAY, GETDATE(), CreationDate)), 0)) AS avg_views_per_day,
    Title,
    Score,
    ViewCount,
    CreationDate
FROM Posts 
LEFT JOIN PostTags ON Posts.Id = PostTags.PostId
LEFT JOIN Tags ON PostTags.TagId = Tags.Id
WHERE TagName IN ('booking', 'online-booking', 'expedia')
    AND ViewCount > 1000
ORDER BY Score DESC;

Enter Parameters

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