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
Blahma
.
Toggle Highlighting
SQL
SELECT cat_title, (SELECT COUNT(DISTINCT cl_from) FROM categorylinks WHERE cl_to = cat_title) AS count_all, (SELECT COUNT(DISTINCT cl_from) FROM categorylinks WHERE cl_from IN (SELECT cl_from FROM categorylinks WHERE cl_to = cat_title) AND cl_to LIKE 'Úmrtí_%') AS count_dead, count_dead/count_all AS ratio FROM category WHERE cat_title REGEXP '^Narození_(1[5-8]..|19[0-1].|192[01])$' ORDER BY cat_title
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...