I use MS SQL and I was able to create a query that selects the top 100 rows and randomizes them as
SELECT TOP 100 * FROM Inlagg ORDER BY NEWID()
I also managed to create a query that returns the top 100 rows according to a column like this
SELECT TOP 100 * FROM Inlagg ORDER BY Likes DESC
Now my question is: how can I target the 100 best rows by Likes and then randomize the same 100 best values?
Any help or input is greatly appreciated, thanks!
source share