This query is marked as a draft This query has been published by DannyS712.

SQL

AخA
 
SELECT DISTINCT cl_to FROM categorylinks
WHERE cl_from IN (select page_id from page where page_namespace = 118)
and cl_to not like '%AfC%'
and cl_to not like '%raft%'
and cl_to not like '%Pages%'
and cl_to not like '%pages%'
and cl_to not like '%edirect%'
and cl_to not like '%CS1%'
and cl_to not like '%deletion%'
and cl_to not like '%Articles%'
and cl_to not like '%emplate%'
and cl_to not like '%without%'
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...