Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
جار الله
.
Toggle Highlighting
SQL
use arwiki_p; SELECT CONCAT(user_name) AS "المستخدم",DATE_FORMAT(user_registration, "%Y-%m-%d") as registration_date, SUM(CASE WHEN rev_timestamp BETWEEN 20180101000000 AND 20190101000000 THEN 1 ELSE 0 END) AS recent_user_editcount, COUNT(rev_id) AS user_editcount FROM user INNER JOIN revision ON revision.rev_user = user.user_id WHERE rev_timestamp >= 20000000000000 and user_id in (select ug_user from user_groups) having recent_user_editcount < 1 GROUP BY user_name ORDER BY recent_user_editcount DESC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...