Q&A for Drupal developers and administrators
SELECT COUNT( distinct Posts.OwnerUserId)--, Posts.PostTypeId,Posts.CreationDate , -- Count(Posts.Id) AS Questiones FROM Posts INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE Posts.PostTypeId = 1 AND Posts.CreationDate <'2022-12-05' --GROUP BY Users.Id , Posts.PostTypeId,Posts.CreationDate --ORDER BY Questiones DESC