Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Liczba edycji w plwikisource w całej historii
by
Ankry
This query is marked as a draft
This query has been published
by
Ankry
.
Toggle Highlighting
SQL
USE ltwikisource_p; SET @w:=0; SET @s:=0; SELECT @w:=@w+1 AS 'Lp',`Liczba edycji`,`Użytkownik`,@s:=@s+`Liczba edycji` AS 'Narastająco' FROM (SELECT user_name AS 'Użytkownik', COUNT(*) AS 'liczba edycji' FROM actor JOIN revision ON rev_actor=actor_id JOIN user ON actor_user=user_id JOIN page ON rev_page=page_id WHERE page_namespace IN (0,250,252) AND NOT UCASE(CONVERT(user_name USING utf8)) RLIKE 'BOT' GROUP BY user_name HAVING `Liczba edycji`>10 ORDER BY 2 DESC LIMIT 100) AS A; SELECT COUNT(*) AS `Ogólna liczba edycji` FROM actor JOIN revision ON rev_actor=actor_id JOIN user ON actor_user=user_id JOIN page ON rev_page=page_id WHERE page_namespace IN (0,100,102,104,124) AND NOT UCASE(CONVERT(user_name USING utf8)) RLIKE 'BOT' ;
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...