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
use lvwiki_p; select page_title as source, rd_title as target from redirect join page on page_id=rd_from where rd_namespace=0 and page_namespace=0 and rd_title in (select p2.page_title from categorylinks cla join page as p2 on cla.cl_from=p2.page_id where cla.cl_type="page" and cla.cl_to = "Latvijas_ciemi")
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...