Fork of
Untitled query #11890
by Zhuyifei1999
This query is marked as a draft
This query has been published
by Zhuyifei1999.
SQL
AخA
USE commonswiki_p;
SELECT page_title, ipb_expiry
FROM page_restrictions
INNER JOIN page
ON pr_page = page_id
LEFT JOIN ipblocks
ON ipb_address = REPLACE(page_title, '_', ' ')
WHERE pr_type = 'edit'
AND pr_level = 'sysop'
AND page_namespace = 3
AND NOT page_title LIKE '%/%'
AND ipb_expiry is NULL
;
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.