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
Saeidpourbabak
.
Toggle Highlighting
SQL
USE fawiki_p; SELECT SRCP.page_title FROM revision AS SRCR JOIN page AS SRCP ON SRCR.rev_page=SRCP.page_id JOIN redirect ON SRCP.page_id=rd_from JOIN page AS TRGTP ON rd_title=TRGTP.page_title JOIN revision AS TRGTR ON TRGTR.rev_page=TRGTP.page_id WHERE SRCR.rev_parent_id=0 AND SRCP.page_namespace = 0 AND SRCP.page_is_redirect = 1 AND rd_namespace=0 AND TRGTP.page_namespace = 0 AND TRGTP.page_is_redirect = 0 AND TRGTR.rev_parent_id=0 AND SRCR.rev_timestamp > TRGTR.rev_timestamp LIMIT 5;
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...