Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Base
.
Toggle Highlighting
SQL
use metawiki_p; select rev_id, -- revision from log ID rev_sha1, page_id, -- page id page_title, -- page_latest, case when rev_id = page_latest then rev_sha1 else (select rev_sha1 from revision_userindex where rev_id = page_latest) end as latest_sha1 from revision_userindex join page on rev_page = page_id where rev_id in ( -1, -- just for the sake of less pain inserting comma 3036218, 3100676 )
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...