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
Elph
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT cl_to, count(cl_to) FROM categorylinks WHERE cl_from IN (SELECT ll_from FROM langlinks WHERE ll_lang = "ar" ) AND cl_to NOT IN (SELECT page_title FROM langlinks JOIN page ON page_id = ll_from WHERE ll_lang = "ar" AND page_namespace = 14 ) AND cl_from NOT IN (SELECT cl_from FROM categorylinks WHERE cl_to = "Hidden_categories" OR cl_to = "Loanwords" OR cl_to = "Container_categories" OR cl_to = "Tracking_categories" ) AND cl_to NOT IN (SELECT page_title FROM page WHERE page_namespace = 14 AND page_title LIKE "%articles%" OR page_title LIKE "%contain%" OR page_title LIKE "%missing%" OR page_title LIKE "%language%" OR page_title LIKE "%needing%" OR page_title LIKE "%issing%" OR page_title LIKE "%lists%" OR page_title LIKE "%edirect%" OR page_title LIKE "Articles%" OR page_title LIKE "All%" OR page_title LIKE "%with%" OR page_title LIKE "CS%" OR page_title LIKE "Use%" OR page_title LIKE "Pages%" OR page_title LIKE "%dmy%" OR page_title LIKE "%mdy%" OR page_title LIKE "%box%" OR page_title LIKE "%stubs" OR page_title LIKE "%ikipedia%" OR page_title LIKE "%ikidata%" OR page_title LIKE "%ategor%" ) GROUP BY cl_to ORDER BY count(cl_to) 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...