Fork of Expiring G13 drafts by Perryprog
This query is marked as a draft This query has been published by Firefly.

SQL

x
 
SELECT DISTINCT CONCAT("Draft:",page_title),
(select rev_timestamp from revision where rev_page=page_id order by rev_timestamp desc limit 1) as rev_timestamp_
FROM page
WHERE page_namespace = 118
  AND page_is_redirect = 0
  AND (select rev_timestamp from revision where rev_page=page_id order by rev_timestamp desc limit 1) < (NOW() - INTERVAL 153 DAY)
ORDER BY rev_timestamp_;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...