SQL
x
SELECT actor_name,
COUNT(*) AS '#/edits',
CAST(MIN(ar_timestamp) AS DATETIME) AS 'first edit',
CAST(MAX(ar_timestamp) AS DATETIME) AS 'last edit'
FROM
(
SELECT actor_name, ar_timestamp
FROM archive
LEFT JOIN actor_archive ON actor_id = ar_actor
WHERE ar_namespace = 0 AND ar_title = 'List_of_anthropogenic_disasters_by_death_toll'
UNION
SELECT actor_name, rev_timestamp
FROM revision
JOIN page ON page_id = rev_page
LEFT JOIN actor_revision ON actor_id = rev_actor
WHERE page_namespace = 118 AND page_title = 'List_of_anthropogenic_disasters_by_death_toll'
) sq
GROUP BY actor_name
ORDER BY MIN(ar_timestamp) ASC;
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.