Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Número de edições de usuários registrados antes do bloqueio
by
Danilo.mac
This query is marked as a draft
This query has been published
by
OTAVIO1981
.
Toggle Highlighting
SQL
USE ptwiki_p; SELECT rev_user_text USUÁRIO, COUNT(*) EDIÇÕES_ANTES_DO_BLOQUEIO, user_registration DIAS, log_timestamp BLOQ FROM logging INNER JOIN user ON log_title = user_name INNER JOIN revision_userindex ON log_title = rev_user_text WHERE log_type = 'block' AND log_action = 'block' AND log_timestamp LIKE '2018%' AND log_title NOT RLIKE '^(\\d{1,3}\\.|[A-F0-9]{4}:)' AND log_comment RLIKE '[Vv]andalismo' AND log_timestamp > rev_timestamp GROUP BY 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...