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
Ghuron
.
Toggle Highlighting
SQL
use ruwiki_p; SELECT * FROM page p INNER JOIN (SELECT rev_page, MIN(rev_id) AS rev_id FROM revision WHERE rev_page=20 GROUP BY rev_page) f ON f.rev_page = p.page_id #INNER JOIN revision r ON r.rev_id = f.rev_id WHERE p.page_id = 20 AND f.rev_page = 20;
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...