Top posters

0

Please login or register to vote for this query.

(click on this box to dismiss)

Windows Phone Meta

Q&A about the site for enthusiasts and power users of Windows Phone OS

SELECT u.DisplayName, Xp.Freq, u.Age, u.LastAccessDate, u.Location From Users AS u,
(SELECT Id, Freq from
    (SELECT OwnerUserId AS Id , count(*) AS Freq FROM Posts
      GROUP BY OwnerUserId) AS Up1
   WHERE 10 > (SELECT count(*)
             FROM(SELECT OwnerUserId AS Id, count(*) AS Freq FROM Posts GROUP BY OwnerUserId) AS Up2
             WHERE Up1.Freq < Up2.Freq)
             )AS Xp
WHERE u.Id = Xp.Id
ORDER BY Xp.Freq;

Enter Parameters

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