Query Run
use enwiki_p; SELECT IF(page_namespace = 6, 'category', 'article') as type,... 11 months ago