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 labels1.term_full_entity_id AS xid, labels1.term_language AS xlang, labels1.term_text AS xlabel, descriptions1.term_text AS xdesc, labels2.term_full_entity_id AS yid, labels2.term_language AS ylang, labels2.term_text AS ylabel, descriptions2.term_text AS ydesc FROM wb_terms AS labels1 JOIN wb_terms AS descriptions1 ON labels1.term_full_entity_id = descriptions1.term_full_entity_id AND labels1.term_language = descriptions1.term_language JOIN wb_terms AS labels2 ON labels2.term_language = labels1.term_language AND labels2.term_text = labels1.term_text JOIN wb_terms AS descriptions2 ON labels2.term_full_entity_id = descriptions2.term_full_entity_id AND descriptions2.term_language = descriptions1.term_language AND descriptions2.term_text = descriptions1.term_text WHERE labels1.term_type = 'label' AND descriptions1.term_type = 'description' AND labels2.term_type = 'label' AND descriptions2.term_type = 'description' AND labels1.term_full_entity_id <> labels2.term_full_entity_id AND labels1.term_language = 'cs' LIMIT 1;x
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...