Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Contas pt.wiki bloqueadas em infinito com autoblock
by
Albertoleoncio
This query is marked as a draft
This query has been published
by
Albertoleoncio
.
Toggle Highlighting
SQL
use ptwiki_p; select ipblocks.ipb_id as ID, ipblocks.ipb_address as IP, CASE ipblocks.ipb_anon_only WHEN true THEN 'Sim' ELSE 'Não' END as "Permite editar registrado", CASE ipblocks.ipb_create_account WHEN true THEN 'Não' ELSE 'Sim' END as "Permite criar conta", ipblocks.ipb_expiry as "Expira em", CASE partial.ir_type WHEN '2' THEN 'Domínio' ELSE 'Página' END as "Página ou domínio?", partial.ir_value as "Alvo de bloqueio" from ipblocks left join (SELECT ir_ipb_id , GROUP_CONCAT(ir_value) FROM ipblocks_restrictions GROUP BY ir_ipb_id) as partial on ipblocks.ipb_id = partial.ir_ipb_id where ipb_user = 0 and ipb_sitewide = 0
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...