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
Pavan santhosh.s
.
Toggle Highlighting
SQL
USE tewiki_p; SELECT anon_1.rev_user_text AS anon_1_rev_user_text, sum(anon_1.byte_change) AS net_sum, sum(abs(anon_1.byte_change)) AS absolute_sum, sum(CASE WHEN (anon_1.byte_change > 0) THEN anon_1.byte_change ELSE 0 END ) AS positive_only_sum, sum(CASE WHEN (anon_1.byte_change < 0) THEN anon_1.byte_change ELSE 0 END ) AS negative_only_sum FROM (SELECT revision.rev_user AS rev_user, revision.rev_user_text AS rev_user_text, ( cast(revision.rev_len as signed) - cast(coalesce(anon_2.rev_len, 0) as signed) ) AS byte_change FROM revision INNER JOIN page ON page.page_id = revision.rev_page LEFT OUTER JOIN (SELECT revision.rev_id AS rev_id, revision.rev_len AS rev_len FROM revision ) AS anon_2 ON revision.rev_parent_id = anon_2.rev_id WHERE page.page_namespace IN ('0') AND page.page_title IN ( "1984_సిక్ఖు_వ్యతిరేక_అల్లర్లు", "1993_లాతూర్_భూకంపం", "2001_గుజరాత్_భూకంపం", "2004_సునామీ", "2005_మహారాష్ట్ర_వరదలు", "2008_జోథ్_పూర్_తొక్కిసలాట", "2008_నైనాదేవి_దేవాలయ_తొక్కిసలాట", "2013_ఉత్తరాఖండ్_వరదలు", "2013_కుంభమేళా_తొక్కిసలాట", "2013_మహబూబ్నగర్_బస్సు_ప్రమాదం", "2015_పారిస్_బాంబు_దాడులు", "ఆపరేషన్_అశ్వమేధ్", "ఇందిరా_గాంధీ_హత్య", "తెలుగు_సినిమా_వజ్రోత్సవం", "త్యాగరాజ_ఆరాధనోత్సవాలు", "పాల_వెల్లువ", "పుట్టింగళ్_దేవాలయ_అగ్నిప్రమాదం", "బంగ్లాదేశ్_విమోచన_యుద్ధం", "బాబ్రీ_మసీదు_విధ్వంసం", "మహాత్మా_గాంధీ_హత్య", "మహామస్తకాభిషేకం", "మూడవ_ప్రపంచ_తెలుగు_మహాసభలు", "రాజ్కుమార్_అపహరణ", "విశాఖ_ఉక్కు_-_ఆంధ్రుల_హక్కు_ఉద్యమం", "హైదరాబాదు_బాంబు_పేలుళ్ళు,_2007,_ఆగష్టు_25" ) AND revision.rev_timestamp > 20160501000000 AND revision.rev_timestamp < 20160801000000 ) AS anon_1 GROUP BY anon_1.rev_user_text;
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...