Based on the layout of the revision
table. I did not test it, nor have seriously considered possible corner cases.
SELECT rev_page, rev_timestamp
FROM revision
WHERE rev_parent_id = 0
ORDER BY rev_timestamp
The first revision of a page has rev_parent_id = 0
, so we take its timestamp as the creation timestamp.