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
USE tewiki_p; select page_title,page_len, count(page_title) as Edit_count, SUM(CAST(rev.rev_len as signed)-if(rev.rev_parent_id=0,0,CAST(parent.rev_len as signed))) AS User_net_contribution, ((SUM(CAST(rev.rev_len as signed)-if(rev.rev_parent_id=0,0,CAST(parent.rev_len as signed)))/page_len)*100) as percentage FROM revision rev left join actor ON actor_id = rev.rev_actor left JOIN revision parent ON parent.rev_id = rev.rev_parent_id left JOIN page ON page_id = rev.rev_page WHERE page_namespace = 0 and page_id not in (select pp_page from page_props where pp_propname="disambiguation") and page_is_redirect=0 -- and substr(rev.rev_timestamp,1,4)="2020" AND actor_name ="Chaduvari" group by page_title having percentage<100 and percentage >=50 order by percentage desc limit 5000
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...