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
Wurgl
.
Toggle Highlighting
SQL
/* SELECT F.page_title AS "Redirect", T.page_title AS "to Image", CONCAT(GF.gil_page_namespace, ':', GF.gil_page_title) */ SELECT COUNT(*) AS c FROM page AS F, redirect, page FROM page AS F, redirect, page as T, globalimagelinks as GF, globalimagelinks as GT WHERE F.page_is_redirect = 1 AND F.page_namespace = 6 AND F.page_id = rd_from AND rd_title = T.page_title AND rd_namespace = T.page_namespace AND T.page_namespace = 6 AND GF.gil_to = F.page_title AND GF.gil_wiki = 'dewiki' AND GT.gil_to = T.page_title AND GT.gil_wiki = 'dewiki' AND GF.gil_page = GT.gil_page;
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...