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
Xiplus
.
Toggle Highlighting
SQL
USE zhwiki_p; SELECT log_title, log_timestamp FROM logging LEFT JOIN page AS mainpage ON mainpage.page_title = logging.log_title AND mainpage.page_namespace = logging.log_namespace LEFT JOIN page AS talkpage ON talkpage.page_title = logging.log_title AND talkpage.page_namespace = logging.log_namespace+1 WHERE log_action = "delete" AND log_namespace = 0 AND mainpage.page_title IS NULL AND talkpage.page_title IS NOT NULL AND log_timestamp > DATE_FORMAT(NOW() - INTERVAL 7 DAY, '%Y%m%d%h%i%s') GROUP BY log_title
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...