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
علیرضا
.
Categories have 'صفحات' word in their title should move to pages with the title which that word replaced by 'صفحهها'.
Toggle Highlighting
SQL
USE fawiki_p; SELECT `tl_title`, `tl_namespace`, SUM(`templatelinks`.`tl_from`) AS `total_trans` FROM `templatelinks` AS `t` JOIN `page` ON `t`.`tl_title` = (SELECT `page_title` FROM `page` AS `p` WHERE `p`.`page_namespace` = 10 AND `t`.`tl_title` = `p`.`page_title` AND `p`.`page_title` NOT LIKE '%/توضیحات' AND `p`.`page_title` NOT LIKE '%/تمرین' AND `p`.`page_title` NOT LIKE '%/آزمایشی' LIMIT 1) LIMIT 1;
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...