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
ASammour
.
Toggle Highlighting
SQL
use arwiki_p; select p1.page_title, group_concat(distinct ll2.ll_title) from page p1 inner join langlinks ll1 on ll1.ll_from = p1.page_id inner join frwiki_p.page p2 on p2.page_title = replace(replace(ll1.ll_title," ","_"),"Catégorie:","") inner join frwiki_p.pagelinks pl1 on pl1.pl_from = p2.page_id inner join frwiki_p.page p3 on p3.page_title = pl1.pl_title inner join frwiki_p.langlinks ll2 on ll2.ll_from = p3.page_id where p1.page_namespace = 14 and p1.page_is_redirect = 0 and p2.page_namespace = 14 and p2.page_is_redirect = 0 and ll1.ll_lang = "fr" and ll2.ll_lang = "ar" and p3.page_namespace = 100 and p3.page_is_redirect = 0 and replace(replace(ll2.ll_title," ","_"),"بوابة:","") not in (select pl_title from pagelinks where pl_title = replace(replace(ll2.ll_title," ","_"),"بوابة:","") and pl_from = p1.page_id) group by p1.page_title;
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...