SQL
x
USE zhwiki_p;
SELECT
IF(rev_timestamp < DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 6 MONTH),'%Y%m%d%H%i%s'), rev_timestamp, NULL)
FROM revision_userindex
WHERE ug_group = 'ipblock-exempt'
ORDER BY rev_timestamp DESC
LIMIT 1;
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.