10:28 AM
It was easy to modify this to find the number of all posts using
COUNT
: Number of posts by Mathematics moderators.
The above only displays Post.Id/post link. What should I do if I want to get also some other information about the most recent post by the specific mod (CreationDate, Score, ...)?
Is the way to do this simply creating an auxiliary similar to the query described above and the somehow use new
SELECT
on that table?
This was my attempt - I do not know whether it is very clumsy: data.stackexchange.com/meta.math/query/890542/…
@Martin yes, it is pretty good. While there is some plan to improve its discoverability trello.com/c/ofvzZDrH/… that has slipped the 6 to 8 weeks mark by a few weeks ...
11:09 AM
@Martin using a table variable is certainly an option but you could also use a Common Table Expression if you have some subqueries that you don't want to inline in the main query: data.stackexchange.com/meta.math/query/890544/…
I would have to lookup what the exact impact but I expect the table variable to be a bit heavy on memory. For this small set that is not an issue. A table var is normally used when you want to sent a ROWSET into an function or stored procedure.
24
Moderators are special, privileged users who should serve as an example to the rest of us. Therefore, it is natural to want to query behaviors and statistics about these model users, Like I did, for example, when researching this question. Unfortunately, there is no way to determine moderators ...
1 hour later…
12:15 PM
« first day (28 days earlier) ← previous day next day → last day (2093 days later) »