Fork of
New active users in it_source
by Aubrey
This query is marked as a draft
This query has been published
by Staeiou.
SQL
AخA
USE enwiki_p;
SELECT user_id, user_name, user_registration, user_editcount
FROM user
WHERE user_registration > DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),'20141103000000')
AND user_editcount > 10
AND user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name not in (SELECT REPLACE(log_title,"_"," ") from logging
where log_type = "block" and log_action = "block"
and log_timestamp > DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 2 DAY),'20141103000000'));
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.