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

SQL

AخA
 
SELECT ipb_address, GROUP_CONCAT(ug_group), ipb_expiry, ipb_sitewide, comment_text
FROM user_groups
JOIN ipblocks ON ug_user = ipb_user
JOIN comment ON ipb_reason_id = comment_id
WHERE ug_group NOT IN ('extendedconfirmed')
GROUP BY ipb_id
ORDER BY ipb_expiry DESC
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...