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
రహ్మానుద్దీన్
.
Toggle Highlighting
SQL
use tewiki_p; SELECT user1.rev_user AS user1_rev_user, sum(user1.byte_change) AS net_sum, sum(abs(user1.byte_change)) AS absolute_sum, sum(CASE WHEN (user1.byte_change > 0) THEN user1.byte_change ELSE 0 END ) AS positive_only_sum, sum(CASE WHEN (user1.byte_change < 0) THEN user1.byte_change ELSE 0 END ) AS negative_only_sum, user_registration, rev_user_text, LEFT(user1.rev_timestamp, 6) as monthYear FROM (SELECT revision.rev_user AS rev_user, ( cast(revision.rev_len as signed) - cast(coalesce(user2.rev_len, 0) as signed) ) AS byte_change, rev_timestamp, rev_user_text 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 user2 ON revision.rev_parent_id = user2.rev_id WHERE page.page_namespace IN ('0') AND page.page_id in (159367, 112313, 16673, 47982, 17228, 17479, 17230, 17495, 48319, 17627, 17475, 16992, 16509, 17409, 17410, 17404, 16942, 16921, 48490, 17480, 17482, 48629, 235158, 17006, 16563, 8605, 8643, 158170, 16516, 17218, 8602, 17221, 17219, 17378, 16925, 37712, 17477, 8601, 17373, 8623, 17259, 17000, 17189, 17011, 16499, 114713, 8637, 16558, 49145, 159666, 16928, 8657, 8201, 17484, 48732, 17112, 53595, 16608, 16589, 16950, 17491, 16987, 49250, 49255, 16986, 160060, 16924, 32947, 17308, 49364, 16916, 16512, 17485, 8640, 49444, 83608, 16546, 16549, 49518, 16990, 8656, 8646, 16524, 9798, 49550, 16993, 8202, 160063, 16975, 49627, 17773, 16917, 16559, 16997, 49679, 49680, 53765, 8619, 49721, 49764, 16504, 17009, 8645, 16511, 17001, 74957, 8620, 165383, 159654, 17229, 49826, 205237, 16952, 160067, 17379, 17005, 49935, 16980, 16983, 8629, 109856, 77935, 17235, 157469, 16544, 17486, 16915, 159369, 17227, 17374, 16998, 17492, 8198, 8644, 159689, 50083, 17488, 160061, 88052, 16552, 4418, 8617, 124784, 16553, 17307, 17226, 16547, 17481, 16676, 8606, 16979, 16919, 16501, 17385, 17381, 17008, 79329, 17473, 17384, 8636, 50494, 17633, 50510, 17107, 8610, 16503, 17376, 132463, 8615, 8613, 8625, 16543, 17408, 17328, 16497, 16923, 16498, 17217, 8649, 16495, 16943, 16827, 8633, 239470, 16510, 84410, 50793, 8639, 16671, 8611, 16978, 8628, 8635, 50857, 8632, 50882, 8642, 17002, 16633, 16508, 16985, 16984, 8199, 17225, 8651, 17380, 8197, 16522, 8641, 16521, 16988, 16994, 160065, 8648, 102475, 116853, 17256, 160066, 51120, 17306, 17003, 51179, 102476, 8200, 17303, 8607, 17234, 17382, 17231, 160062, 8652, 16548, 37880, 17012, 51335, 16675, 17309, 51385, 17193, 16554, 8626, 17360, 17222, 51449, 16542, 160064, 17223, 16513, 17377, 84412, 51508, 51570, 16517, 16551, 16598, 16674, 16519, 51639, 16977, 16545, 36176, 54947, 16857, 16677, 16672, 16518, 8196, 17257, 16515, 16505, 17494, 51858, 232668, 8647, 16922, 8603, 16556, 51924, 16976, 8654, 8618, 8627, 8604, 17476, 86176, 8621, 16996, 16557, 158173, 8616, 8608, 52427, 8624, 16520, 8612, 16989, 8653, 17406, 16507, 17478, 8634, 52563, 17262, 17383, 8655, 92358, 52632, 17007, 1217, 136947, 17010, 52652, 17472, 8638, 17490, 17233, 8609, 8631, 17004, 52807, 16982, 52857, 17493, 52914, 52915, 8630, 16550, 208206, 208207, 208208, 208209, 208210, 208211, 208212, 208213, 208214, 208215, 208216, 208217, 208218, 208219, 208221, 208222, 208223, 210438, 208224, 208225, 208236, 208235, 208237, 208238, 209676, 208239, 208240, 209694, 208241, 208242, 208243, 208244, 208245, 208246, 208247, 208248, 208249, 208250, 208251, 208252, 208253, 208254, 208255, 208256, 208257, 208258, 208259, 208260, 208261, 208262, 208263, 208264, 208265, 208266, 208267, 208268, 208269, 208270, 208271, 208272, 208273, 208274, 208275, 208276, 208203, 208277) AND revision.rev_user_text="Bhaskaranaidu" ) AS user1 JOIN user ON user_id=rev_user GROUP BY user1.rev_user, LEFT(user1.rev_timestamp, 6) ;
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...