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
Chaduvari
.
Toggle Highlighting
SQL
insert into temppages select actor_name User_name, count(actor_name) deletion_count from archive,actor where actor_id=ar_actor -- and ar_namespace=0 and ar_parent_id=0 #to find all the edits that are deleted, comment out this clause with -- group by actor_id; insert into tempedits select actor_name User_name1, count(actor_name) deletion_count1 from archive,actor where actor_id=ar_actor -- and ar_namespace=0 group by actor_id; select user_name, deletion_count, deletion_count1 from temppages,tempedits where user_name=user_name1 order by deletion_count desc, deletion_count desc /* select actor_name User_name, @pages,@edits from archive,actor where actor_id=ar_actor -- and ar_namespace=0 and ar_parent_id=0 #to find all the edits that are deleted, comment out this clause with -- order by @pages desc,@edits desc;
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...