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
SELECT p1.page_namespace,p1.page_title, count(tl.tl_title), p1.page_is_redirect, p1.page_namespace FROM page AS p1 left join templatelinks AS tl on tl.tl_title = p1.page_title and tl.tl_namespace = 10 group by tl.tl_title having p1.page_title LIKE '%/شرح' and p1.page_is_redirect = 0 and p1.page_namespace in (10) AND NOT EXISTS (SELECT 1 FROM page AS p2 WHERE p2.page_namespace = 10 AND p2.page_title = replace(p1.page_title,'/شرح' ,'') and p2.page_is_redirect = 0 ) limit 0,10;
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...