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
Gerges
.
Toggle Highlighting
SQL
SELECT CONCAT(case when p.page_namespace = 3 then 'User talk:' when p.page_namespace = 2 then 'User:' end, replace(p.page_title, '_', ' ')) as 'Page title', il_to FROM page AS p JOIN imagelinks ON il_from = p.page_id WHERE p.page_is_redirect = 0 AND (p.page_namespace = 2 OR p.page_namespace = 3) AND il_to IN ( SELECT img_name FROM image ) GROUP BY p.page_id
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...