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
عبد الله
.
Toggle Highlighting
SQL
use arwiki_p; SELECT page_title, (SELECT replace(replace(cl_to, "بوابة_", ""), "/مقالات_متعلقة", "") FROM categorylinks WHERE cl_from = page_id AND cl_to LIKE"%/مقالات_متعلقة" LIMIT 1) AS "stub" FROM page INNER JOIN categorylinks cl1 ON cl1.cl_from = page_id WHERE cl1.cl_to = "مقالات_بذور_عامة" AND (SELECT concat("بذرة_", replace(replace(cl_to, "بوابة_", ""), "/مقالات_متعلقة", "")) FROM categorylinks WHERE cl_from = page_id AND cl_to LIKE"%/مقالات_متعلقة" LIMIT 1) IN (SELECT page_title FROM page WHERE page_namespace = 1000 );
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...