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
Wurgl
.
Siehe https://de.wikipedia.org/wiki/Benutzer_Diskussion:Wurgl#Single_Purpose_Accounts
Toggle Highlighting
SQL
SET @MAX_NEUE_ARTIKEL = 3; WITH Neuanlagen AS (SELECT rev_actor AS neu_actor, COUNT(*) AS neu_artikel FROM revision, page WHERE rev_parent_id = 0 /* Neuanlage */ AND rev_page = page_id AND page_namespace = 0 /* ANR */ AND NOT EXISTS (SELECT 1 /* keine BKS */ FROM page_props WHERE pp_page = page_id AND pp_propname = 'disambiguation' ) GROUP BY rev_actor HAVING COUNT(*) <= @MAX_NEUE_ARTIKEL ) SELECT user_name, neu_artikel FROM user, actor, Neuanlagen WHERE neu_actor = actor_id AND actor_user = user_id #LIMIT 500;
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...