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
EqJjgOa8rVvsRmZL
.
Toggle Highlighting
SQL
/* select category.* from categorylinks join page on cl_from = page_id join category on page_title = cat_title and cat_pages > cat_subcats where cl_to = 'Wikipedia_soft_redirected_categories' and cl_type = 'subcat' select cat_title from category where cat_pages = 0 and cat_title not in ( select page_title from categorylinks join page on cl_from = page_id where cl_to in ('Wikipedia_soft_redirected_categories', 'Disambiguation_categories') and cl_type = 'subcat' ) and cat_title not in ( select page_title from templatelinks join page on tl_from = page_id where tl_target_id in ( select lt_id from linktarget where lt_title in ('Possibly_empty_category', 'Maintenance_category') and lt_namespace = 10 ) ) and cat_title not in (select page_title from page where page_namespace = 14); */ select * from category where cat_pages = 0 and cat_title = 'Portuguese_people'
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...