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
XXN
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT img_name, gil_wiki, img_user_text FROM image, page, categorylinks, globalimagelinks #JOIN globalimagelinks on gil_to = img_name WHERE page_id=cl_from and gil_to = img_name and page_title = img_name and page_namespace = 6 AND page_is_redirect = 0 AND cl_to like "Media_needing_categories%" and gil_page_namespace_id = 0 GROUP BY page_title ORDER BY page_title
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...