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
Nemoralis
.
Toggle Highlighting
SQL
SELECT p.page_id, p.page_title, MAX(r.rev_timestamp) AS last_edit FROM page AS p LEFT JOIN revision AS r ON p.page_id = r.rev_page WHERE p.page_namespace = NS_DRAFT -- Replace NS_DRAFT with the numeric namespace for drafts AND (MAX(r.rev_timestamp) IS NULL OR MAX(r.rev_timestamp) < DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 1 MONTH), '%Y%m%d%H%i%s')) GROUP BY p.page_id, p.page_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...