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
Mr. Ibrahem
.
Toggle Highlighting
SQL
use arwiki_p; SELECT distinct concat('* [[:Category:',p.page_title,']]') from pagelinks pl join page p on p.page_title=pl.pl_title and pl.pl_namespace=p.page_namespace #left join wbc_entity_usage wb on wb.eu_page_id=p.page_id where pl.pl_from=43711751 and pl.pl_namespace=14 and p.page_id not in (select wb.eu_page_id from wbc_entity_usage wb where wb.eu_page_id=p.page_id) and p.page_title not like "Buildings_in_%" and p.page_title not like "Churches_in%" and p.page_title not like "Churches_of%"
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...