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
Certes
.
Files in Category:All free media, only used in userspace, without {{Userspace file}} or {{Esoteric file}}.
Toggle Highlighting
SQL
SELECT*FROM linktarget WHERE lt_title="Userspace file" AND lt_namespace=10 /* SELECT page_title FROM categorylinks JOIN page ON page_id=cl_from AND page_namespace=6 JOIN imagelinks ON il_to=page_title LEFT JOIN templatelinks ON tl_from=cl_from AND tl_target_id in (123,456) /* {{Userspace file}} or {{Esoteric file}} *x/ WHERE cl_to="All_free_media" HAVING MIN(il_from_namespace)=2 AND MAX(il_from_namespace)=2 */
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...