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

SQL

x
 
SELECT user_name, up_value
FROM user_groups AS a
JOIN user ON user_id=a.ug_user
LEFT JOIN user_groups AS b ON a.ug_user=b.ug_user AND b.ug_group="bot"
LEFT JOIN user_properties ON up_user=a.ug_user AND up_property="gender"
LEFT JOIN revision_userindex ON rev_user=a.ug_user
      AND rev_timestamp>=DATE_FORMAT(NOW()-INTERVAL 30 DAY, "%Y%m%d%H%i%s")
WHERE a.ug_group="sysop" AND b.ug_group IS NULL AND rev_timestamp 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.

Checking query status...