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
Peter Bowman
.
https://pl.wiktionary.org/w/index.php?title=Wikis%C5%82ownik:Bar/Dyskusje_og%C3%B3lne&oldid=7144079#Usuni%C4%99cie_nazwisk_utworzonych_wed%C5%82ug_szablonu
Toggle Highlighting
SQL
use plwiktionary_p; set @cat = "Język_polski_-_nazwiska"; set @start = 20141208000000; select page_title, rev_timestamp, rev_id, actor_name from page inner join categorylinks on page_id = cl_from inner join revision on page_id = rev_page inner join actor on rev_actor = actor_id where cl_to = @cat and page_namespace = 0 and rev_parent_id = 0 and rev_timestamp > @start order by rev_timestamp asc; select ifnull(actor_name, "Total") as "user", count(*) as "count" from page inner join categorylinks on page_id = cl_from inner join revision on page_id = rev_page inner join actor on rev_actor = actor_id where cl_to = @cat and page_namespace = 0 and rev_parent_id = 0 and rev_timestamp > @start group by actor_name with rollup;
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...