Fork of newly created pages with deleted revisions by Lustiger seth
This query is marked as a draft This query has been published by TenWhile6.

SQL

x
 
SELECT page.page_id, page.page_title, logging.*
FROM page
INNER JOIN revision ON revision.rev_page = page.page_id
INNER JOIN logging ON logging.log_title = page.page_title
WHERE page.page_namespace = 0
AND page.page_is_redirect = 0
AND revision.rev_parent_id = 0
AND revision.rev_timestamp >= DATE_SUB(NOW(), INTERVAL 24 HOUR)
AND logging.log_type = 'delete'
AND logging.log_action = 'delete'
AND logging.log_timestamp < revision.rev_timestamp
GROUP BY page.page_id, page.page_title
ORDER BY revision.rev_timestamp DESC;
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...