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
#my uncat images /*USE commonswiki_p; select page_title#CONCAT("*[[:File:",page_title,"]]") as File#, cl_to from image, page, categorylinks WHERE page_id=cl_from AND cl_to like "Media_needing_categories%" and page_namespace = 6 AND page_is_redirect = 0 and img_user_text = "XXN" GROUP BY page_title ORDER BY page_title*/ /*uncat duplicates USE commonswiki_p; select CONCAT("*[[:File:",page_title,"]]") as File, cl_to from page, categorylinks WHERE page_id=cl_from AND cl_to like "Media_needing_categories%" and page_namespace = 6 AND page_is_redirect = 0 and page_title in (select pl_title from pagelinks where pl_from = 54056652 and pl_namespace = 6) GROUP BY page_title ORDER BY page_title */ /*SELECT count(distinct img_name) FROM image #JOIN globalimagelinks on gil_to = img_name WHERE #img_name = "Русская_историческая_библиография_Год_1858_1867.PDF(2).pdf"#'Sunday_Mirror.jpg' img_minor_mime = "pdf"*/ #group by img_name # join page on page_namespace = 6 and page_title = img_name #LEFT OUTER JOIN globalimagelinks on gil_to = page_title # #04f6ocji4q9bli9p018x2vqqsukk1cl USE commonswiki_p; SELECT * FROM globalimagelinks WHERE gil_to = "Archelli_Findz.jpg"
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...