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
Tamzin
.
Toggle Highlighting
SQL
SELECT target.page_title FROM page target WHERE target.page_namespace = 0 AND target.page_is_redirect = 0 AND ( target.page_title LIKE "%\_Grey%" OR target.page_title LIKE "%\_grey%" ) AND NOT EXISTS ( SELECT 1 FROM page rd_page INNER JOIN redirect ON rd_from = rd_page.page_id WHERE rd_page.page_namespace = 0 AND ( rd_page.page_title = REPLACE(target.page_title, "_Grey", "_Gray") OR rd_page.page_title = REPLACE(target.page_title, "_grey", "_gray") ) )
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...