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
ASammour
.
Toggle Highlighting
SQL
use arwiki_p; SET @rank=0; SELECT @rank:=@rank+1 AS "المركز", s.* FROM ( SELECT CONCAT("[[مستخدم:",rev_user_text,"|",rev_user_text,"]]") AS "المستخدم", COUNT(rev_user_text) AS "عدد التعديلات" FROM revision WHERE rev_timestamp BETWEEN 20170101000000 AND 20180101000000 AND rev_user_text NOT LIKE ucase ("%BOT") COLLATE utf8_general_ci AND rev_user_text NOT LIKE ("%New_user_message") GROUP BY rev_user_text ORDER BY COUNT(rev_user_text) DESC LIMIT 10) s; SELECT COUNT(*) AS "عدد المقالات" FROM revision r join page p on p.page_id=r.rev_page WHERE p.page_namespace=0 and p.page_is_redirect=0 and r.rev_timestamp between 20160101000000 and 20161231235959 and r.rev_parent_id=0 ORDER BY COUNT(*) DESC LIMIT 1; SELECT COUNT(*) AS "عدد القوالب" FROM revision r join page p on p.page_id=r.rev_page WHERE p.page_namespace=10 and p.page_is_redirect=0 and r.rev_timestamp between 20160101000000 and 20161231235959 and r.rev_parent_id=0 ORDER BY COUNT(*) DESC LIMIT 1; SELECT COUNT(*) AS "عدد التصانيف" FROM revision r join page p on p.page_id=r.rev_page WHERE p.page_namespace=14 and p.page_is_redirect=0 and r.rev_timestamp between 20160101000000 and 20161231235959 and r.rev_parent_id=0 ORDER BY COUNT(*) DESC LIMIT 1;
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...