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
Jura1
.
Toggle Highlighting
SQL
use enwiki_p, wikidatawiki_p; #SELECT * FROM categorylinks LIMIT 5; #SELECT * FROM page_props WHERE pp_propname = 'wikibase_item' LIMIT 5; SELECT enpp.pp_value AS Qid, enpt.page_title FROM enwiki_p.categorylinks as encl, page_props AS enpp, page As enpt LEFT JOIN ( SELECT pl_from FROM wikidatawiki_p.pagelinks WHERE pl_title = 'P570' AND pl_namespace = 120 ) As allitemswith570 ON encl.cl_from = allitemswith570.pl_from WHERE allitemswith570.pl_from IS NULL AND cl_to = '2015_deaths' AND cl_type = 'page' AND cl_from = enpp.pp_page AND enpp.pp_propname = 'wikibase_item' AND cl_from = enpt.page_id AND enpt.page_title NOT LIKE 'Death%' AND enpt.page_title NOT LIKE 'List_%' LIMIT 5
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...