Replicas browser and optimizer
This query is marked as a draft
This query has been published
Information about the first edit to the page "The Hobbit: The Battle of the Five Armies" on the English Wikipedia. The revision table contains info about the first revision, but not the title of the page. The page table contains the title, but not info about the first rev. Joining the tables using the common keys (rev_page AND page_id) allows you to get all this info in one query.
SELECT rev_page, page_id, page_title, MIN(rev_id) AS first_revision, rev_user_text AS page_creator, rev_timestamp AS first_rev_date FROM revision, page WHERE page_namespace = 0 AND rev_page = page_id AND page_title = "The_Hobbit:_The_Battle_of_the_Five_Armies";
By running queries you agree to the
and you irrevocably agree to release your SQL under
All SQL code is licensed under
Checking query status...
Report a bug!
Wikimedia Cloud VPS
, written in