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
Kanzat
.
Toggle Highlighting
SQL
USE ukwiki_p; SELECT tbl0.fr_rev_id, tbl0.fr_rev_timestamp, tbl0.fr_timestamp, page.page_title FROM flaggedrevs tbl0 INNER JOIN ( SELECT fr_page_id, MIN(fr_rev_id) as fr_rev_id FROM flaggedrevs LEFT JOIN user ON fr_user = user_id LEFT JOIN page ON fr_page_id = page_id WHERE user_name = 'Kanzat' AND fr_flags NOT LIKE '%auto%' GROUP BY fr_page_id ) tbl1 ON tbl0.fr_rev_id = tbl1.fr_rev_id LEFT JOIN page ON tbl0.fr_page_id = page_id WHERE NOT EXISTS ( SELECT * FROM flaggedrevs tbl3 WHERE tbl3.fr_page_id = tbl0.fr_page_id AND tbl3.fr_timestamp < tbl0.fr_timestamp ) ORDER BY tbl0.fr_rev_timestamp DESC;
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...