Fork of Categories that have the highest number of orphan articles by ASammour
This query is marked as a draft This query has been published by إسلام.

SQL

AخA
 
use arwiki_p;
select cat_pages as "عدد الصفحات", cat_title as "التصنيف" from category 
inner join page
on page.page_title = category.cat_title
where cat_pages = 0 and cat_subcats = 0 and cat_files = 0 and page_is_redirect = 0
order by cat_pages ASC
limit 500;
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...