Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
lvwiki cats without WD and with Commons (easy linking?)
by
Edgars2007
This query is marked as a draft
This query has been published
by
Edgars2007
.
Toggle Highlighting
SQL
use lvwiki_p; SELECT * FROM page AS wp JOIN iwlinks ON iwl_from = wp.page_id WHERE wp.page_namespace = 14 and wp.page_is_redirect=0 AND iwl_prefix='commons' and iwl_title like "Category:%" and not exists (SELECT * from wbc_entity_usage wb where eu_page_id=wp.page_id GROUP BY eu_page_id limit 1) and not exists (select * from langlinks where wp.page_id=ll_from limit 1) 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...