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
Nehaoua
.
Toggle Highlighting
SQL
/* عدد حالات المنع */ use arwiki_p; SET @start_date = '20221201000000'; SET @end_date = '20230101000000'; SET @rank=0; SET @cumule_Edit=0; SELECT @cumule_Edit:=@cumule_Edit+COUNT(*) AS "التراكمي", s.* FROM ( select CONCAT('[[مستخدم:',actor_name,'|',actor_name,']]') AS "المستخدم", COUNT(*) AS "عدد حالات المنع" from logging INNER JOIN actor on logging.log_actor = actor_id where log_timestamp between @start_date and @end_date and log_type in ("block") group by logging.log_actor having COUNT(*)>0 ORDER BY COUNT(*) DESC @cumule_Edit:=@cumule_Edit+COUNT(*) LIMIT 50 ) s;
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...