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
Edgars2007
.
Toggle Highlighting
SQL
select concat('* [[:Category:',page_title,']]') from page where page_namespace=14 and page_is_redirect=0 and (page_title like "%Latvia%" or page_title like "%Riga%") and page_title not in (select pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id where pla.page_namespace=15 and cla.cl_to="WikiProject_Latvia_articles")
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...