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
.
Neue User angemeldet zwischen vor @MINAGE bis @MAXAGE Monaten mit mehr als zwischen @MINEDIT und @MAXEDIT Edits und aktiv in den letzten @ACTIVE Monaten
Toggle Highlighting
SQL
SET @MINAGE=2; SET @MAXAGE=6; SET @ACTIVE=1; SET @MINPOSTS=80; SET @MAXPOST=250; SELECT CONCAT('[[Benutzer:', user_name, ']]') AS Benutzer, REGEXP_REPLACE(user_registration, '^\(....\)\(..\)\(..\).*$', '\\1-\\2-\\3') AS "Angemeldet", REGEXP_REPLACE(MAX(rev_timestamp), '^\(....\)\(..\)\(..\).*$', '\\1-\\2-\\3') AS "letzter Edit", COUNT(rev_page) AS "Anzahl Edits", COUNT(DISTINCT rev_page) AS "geƤnderte Artikel", SUM(rev_parent_id = 0) AS "Neuanlagen" FROM user, actor, revision_userindex WHERE actor_user = user_id AND rev_actor = actor_id AND user_registration BETWEEN REPLACE(CURDATE() - INTERVAL @MINAGE MONTH, '-', '') AND REPLACE(CURDATE() - INTERVAL @MAXAGE MONTH, '-', '') AND user_editcount BETWEEN @MINPOSTS AND @MAXPOSTS GROUP BY user_id HAVING MAX(rev_timestamp) > REPLACE(CURDATE() - INTERVAL @AKTIVE MONTH, '-', '')
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...