This query is marked as a draft This query has been published by CptViraj.

SQL

AخA
 
SELECT 
    ROW_NUMBER() OVER (ORDER BY user_name) AS 'No.',
    user_name AS 'User',
    ug_group AS 'User groups',
    ipb_by_text AS 'Blocker',
    ipb_expiry AS 'Expiry',
    ipb_reason AS 'Reason'
FROM user
JOIN ipblocks_compat
    ON user_id = ipb_user
JOIN user_groups
    ON user_id = ug_user
/* WHERE ug_group NOT IN ('extendedconfirmed'); */
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...