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 arwikinews_p; select page_title, page_namespace from page inner join page_props on pp_page = page_id where page_is_redirect = 0 and page_namespace = 14 and pp_propname like "wikibase_item" and page_title in (select arwiki_p.page.page_title from arwiki_p.page where arwiki_p.page.page_title = page_title and arwiki_p.page.page_is_redirect = 0 and arwiki_p.page.page_namespace = 14) and pp_value not in (select arwiki_p.page_props.pp_value from arwiki_p.page inner join arwiki_p.page_props on arwiki_p.page_props.pp_page = arwiki_p.page.page_id where arwiki_p.page.page_title = page_title and arwiki_p.page_props.pp_propname = "wikibase_item" and arwiki_p.page.page_is_redirect = 0 and arwiki_p.page.page_namespace = 14);
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...