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
Mr. Ibrahem
.
Toggle Highlighting
SQL
select DISTINCT ll_title from page p1,categorylinks cla, langlinks where p1.page_id = ll_from #where p1.page_namespace = 0 and p1.page_namespace in ( 0 , 10 , 14 ) #and p1.page_is_redirect = 0 and cla.cl_to = "Encyclicals_of_Pope_Pius_XII" and ll_lang = 'ar' and not EXISTS ( select ar_p.page_title from arwiki_p.page ar_p , arwiki_p.categorylinks as cat where p1.page_namespace = ar_p.page_namespace and cat.cl_to = "منشورات_البابا_بيوس_الثاني_عشر" and cat.cl_from = ar_p.page_id and ar_p.page_title = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( ll_title, ' ', '_'), 'بوابة:', ''), 'قالب:', ''), 'تصنيف:', ''), 'ويكيبيديا:', ''), 'وحدة:', ''), 'ملف:', '') ) and cla.cl_from = p1.page_id #limit 100 ;
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...