Random Tagged posts from 2008 to 2020

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

SELECT 
    *
FROM
(
SELECT Id, Body, Title, CreationDate, Tags, ROW_NUMBER() OVER (ORDER BY RAND()) AS rownum
    FROM Posts
    WHERE Tags LIKE '%ruby%'
) AS t
WHERE t.rownum % 4 = 0
ORDER BY
    CreationDate DESC

Enter Parameters

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