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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT page_title, main.pl_title, cat_terms.term_text, cat_terms.term_language FROM pagelinks AS cat JOIN page ON page_id = cat.pl_from AND page_namespace = 0 JOIN pagelinks AS main ON main.pl_from = cat.pl_from JOIN wb_terms AS cat_terms ON cat_terms.term_full_entity_id = main.pl_title LEFT JOIN wb_terms AS main_terms ON main_terms.term_full_entity_id = page_title AND main_terms.term_type = 'label' AND cat_terms.term_language = main_terms.term_language WHERE cat.pl_from_namespace = 0 AND cat.pl_title = 'Q4167836' AND cat.pl_namespace = 0 AND main.pl_namespace = 0 AND cat_terms.term_type = 'label' AND cat_terms.term_language = 'cs' AND main_terms.term_text IS NULL AND main.pl_title <> 'Q4167836' LIMIT 1;
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...