Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
time of blocking of accounts blocked as vandalism
by
OTAVIO1981
This query is marked as a draft
This query has been published
by
Danilo.mac
.
Toggle Highlighting
SQL
use ptwiki_p; SELECT ANO, TOTAL_CPV, AUTOCONFIRMADO, CONCAT(CAST(FLOOR(AUTOCONFIRMADO * 100 / TOTAL_CPV) AS CHAR), ' %') AS PORCENTAGEM FROM ( select left(ipb_timestamp,4) as ANO, COUNT(*) AS TOTAL_CPV, SUM(DATEDIFF(ipb_timestamp, user_registration) >= 4 AND user_editcount >= 10) AS AUTOCONFIRMADO from ipblocks inner join user on ipb_user = user_id where ipb_reason like '%vanda%' and ipb_expiry like 'infinity' GROUP BY ANO) a
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...