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
Base
.
Toggle Highlighting
SQL
use ukwiki_p; select pa.page_title as "Стаття", rev.rev_user_text as "Автор", ( select count(*) from revision r where r.rev_user_text = rev.rev_user_text and r.rev_timestamp >= 20170101000000 ) as "Редагувань цьогоріч" from categorylinks join page pt on cl_to = "Статті_заходу_«Бібліотечний_ВікіДень»" and cl_type = "page" and cl_from = pt.page_id and pt.page_namespace = 1 join page pa on pt.page_title = pa.page_title and pa.page_namespace = 0 join revision rev on pa.page_id = rev.rev_page and rev.rev_parent_id = 0 order by "Редагувань цьогоріч" desc, "Автор" desc -- join revision on cl_to = "Статті_заходу_«Бібліотечний_ВікіДень»" and cl_type = "page" and -- where cl_to = "Статті_заходу_«Бібліотечний_ВікіДень»" and cl_type = "page"
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...