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
Mr. Ibrahem
.
Toggle Highlighting
SQL
/*use arwiki_p; SELECT rev_comment, SUM(CASE WHEN DATE(rev_timestamp) > (NOW() - INTERVAL 2 MONTH) THEN 1 ELSE 0 END) AS recent_editcount, COUNT(*) FROM revision_userindex WHERE rev_user_text = 'Mr. Ibrahem' GROUP BY rev_comment ORDER BY recent_editcount DESC #ORDER BY COUNT(*) DESC LIMIT 200; use enwiki_p; SELECT rev_comment, SUM(CASE WHEN DATE(rev_timestamp) > (NOW() - INTERVAL 2 MONTH) THEN 1 ELSE 0 END) AS recent_editcount, COUNT(*) FROM revision_userindex WHERE rev_user_text = 'Mr. Ibrahem' GROUP BY rev_comment ORDER BY recent_editcount DESC #ORDER BY COUNT(*) DESC LIMIT 200; * use wikidatawiki_p; SELECT rev_comment, SUM(CASE WHEN DATE(rev_timestamp) > (NOW() - INTERVAL 900 MONTH) THEN 1 ELSE 0 END) AS recent_editcount, COUNT(*) FROM revision_userindex WHERE rev_user_text = 'Mr. Ibrahem' and rev_comment like "%wbsetlabel-add:1|ar%" GROUP BY rev_comment ORDER BY recent_editcount DESC #ORDER BY COUNT(*) DESC LIMIT 200; */ use wikidatawiki_p; SELECT rev_comment ,COUNT(*) #SUM(CASE WH'EN DATE(rev_timestamp) > (NOW() - INTERVAL 200 MONTH) THEN 1 ELSE 0 END) AS recent_editcount #, FROM revision_userindex WHERE rev_user_text = 'Mr.Ibrahembot' #And rev_comment like "%wbsetlabel-add:1%" #"%العناكب البحرية%" GROUP BY rev_comment ORDER BY COUNT(*); #DESC #ORDER BY COUNT(*) DESC #LIMIT 250;
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...