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 hewiki_p; select rev_user_text as "משתמש/ת", sum(if(rev_timestamp >CURRENT_DATE - INTERVAL 1 MONTH,1,0)) as "עריכות בחודש האחרון", sum(if((rev_timestamp >CURRENT_DATE - INTERVAL 2 MONTH) and (rev_timestamp <CURRENT_DATE - INTERVAL 1 MONTH),1,0)) as "עריכות בחודש הקודם", sum(if((rev_timestamp >CURRENT_DATE - INTERVAL 3 MONTH) and (rev_timestamp <CURRENT_DATE - INTERVAL 2 MONTH),1,0)) as "עריכות בחודש הקודם קודם", count(*) from revision where rev_user>0 and /*not exists(select * from user_groups where ug_user=rev_user and ug_group='bot')*/ rev_timestamp >CURRENT_DATE - INTERVAL 3 MONTH group by rev_user having count(*)>5 order by count(*) 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...