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
Huji
.
Toggle Highlighting
SQL
set @lastweek = curdate() - interval dayofweek(curdate())+6 day; set @lastweekts = concat(date_format(@lastweek, '%Y%m%d'), '000000'); select distinct log_id, user_name, ar_namespace, ar_title from logging join user_groups on log_user = ug_user join user on user_id = ug_user join archive on log_page = ar_page_id -- only works on Labs, not on Quarry where ug_group = 'eliminator' and log_type = 'delete' and (log_comment like '%سرشناس%' or log_comment like '%م۷%') and log_timestamp > @lastweekts;
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...