SQL
x
USE plwiki_p;
(
SELECT 'revision', 7, page_namespace, count(*) FROM revision_actor_temp LEFT JOIN page on revactor_page = page_id
WHERE revactor_actor = 7 AND revactor_timestamp < 20160103210248
GROUP BY page_namespace
)
UNION
(
SELECT 'archive', 7, ar_namespace, count(*) FROM archive
WHERE ar_actor = 7 AND ar_timestamp < 20160103210248
GROUP BY ar_namespace
)
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.