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

SQL

x
 
USE zhwiki_p;
       
        SELECT DISTINCT(rev_user_text)
          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.

Checking query status...