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
Huji
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT page_title, COUNT(il_to) cnt, SUM( CASE WHEN il_from_namespace NOT IN ( 0, 4, 10, 100, 118 ) THEN 1 ELSE 0 END ) AS nonarticle FROM page JOIN categorylinks ON page_id = cl_from AND cl_to = 'All_non-free_media' JOIN imagelinks ON page_title = il_to GROUP BY page_title HAVING cnt > 10 ORDER BY nonarticle DESC
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...