Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Historical evolution of FSD distribution for singers
by
Asoulet
This query is marked as a draft
This query has been published
by
Asoulet
.
Toggle Highlighting
SQL
use enwiki_p; select year, fsd, count(*) as frequency from (select year(a.rev_timestamp) as year, page_id, substr(max(a.rev_len), 1, 1) as fsd from revision a, revision b, revision c, revision d, page, categorylinks where a.rev_page = page_id and page_id = cl_from and cl_to = '1940_births' and a.rev_parent_id = b.rev_id and b.rev_parent_id = c.rev_id and c.rev_parent_id = d.rev_id and abs(cast(a.rev_len as double) - cast(d.rev_len as double)) / cast(d.rev_len as double) < 0.1 and page_namespace = 0 group by year(a.rev_timestamp), page_id) distrbution group by year, fsd;
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...