Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
مقالات عشوائية تحتاج لإضافة صورة جاهزة من ويكي بيانات
by
ASammour
This query is marked as a draft
This query has been published
by
ASammour
.
Toggle Highlighting
SQL
USE arwiki_p; select p.page_title, wpp.pp_value from page p inner join page_props pp on pp.pp_page = p.page_id inner join wikidatawiki_p.page wp on wp.page_title = pp.pp_value /*inner join wikidatawiki_p.page_props wpp on wpp.pp_page = wp.page_id*/ where p.page_id in ( select categorylinks.cl_from from categorylinks where categorylinks.cl_from = p.page_id and arwiki_p.categorylinks.cl_to like "%كومنز%" ) and p.page_id not in ( select pp_page from page_props where pp_propname like "page_image" and pp_page = p.page_id ) and p.page_id not in ( select pp_page from page_props where pp_propname like "page_image_free" and pp_page = p.page_id ) and p.page_id not in ( select cl_from from categorylinks where cl_from = p.page_id and cl_to = "صفحات_توضيح" ) and pp.pp_propname like "wikibase_item" and p.page_namespace = 0 and p.page_is_redirect = 0 and wpp.pp_value like "page_image_free" limit 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...