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
Nmine13
.
Toggle Highlighting
SQL
USE enwiki_p; -- select page.page_title, page.page_restrictions, group_concat(distinct categorylinks.cl_to separator '; ') as user_cats, count(categorylinks.cl_to) select count(*) from page join categorylinks on categorylinks.cl_from = page.page_id where page.page_namespace = 2 and locate('Noindexed_pages', categorylinks.cl_to) = 0 and locate('sockpuppet', categorylinks.cl_to) = 0 and locate('Wikipedia_alternative_accounts', categorylinks.cl_to) = 0 and locate('Redirects_from_moves', categorylinks.cl_to) = 0 and locate('bots', categorylinks.cl_to) = 0 and locate('User_pages_with_short_description', categorylinks.cl_to) = 0 and locate('reference_errors', categorylinks.cl_to) = 0 and locate('doppelganger', categorylinks.cl_to) = 0 and locate('Pages_with_missing_files', categorylinks.cl_to) = 0 and locate('template', categorylinks.cl_to) = 0 and locate('example', categorylinks.cl_to) = 0 and locate('User_namespace_book_pages', categorylinks.cl_to) = 0 and locate('Paid_contributors', categorylinks.cl_to) = 0 and locate('Pages_with_disallowed_DISPLAYTITLE_modifications', categorylinks.cl_to) = 0 and locate('sandbox', page.page_title) = 0 -- group by 1,2 limit 100
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...