Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
AkatsukiRinn
.
Toggle Highlighting
SQL
SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20080303082424) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20100425121243) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20030124234101) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('ipblock-exempt') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20060319143533) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20070928153836) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20080708144238) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('extendedconfirmed','reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 3; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20061105151901) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20070812194955) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20070411000654) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20101014140337) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('autoreviewer','extendedconfirmed','ipblock-exempt','reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 5; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050819051420) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20070419073315) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('extendedconfirmed','patroller','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 3; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20090529134157) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20080703215134) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20081024180002) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050526080825) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20061004173410) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050428012305) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20071122204956) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20040415053535) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050717142653) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050716201320) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20041126063923) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050509072910) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('extendedconfirmed','reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 3; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20051015140323) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('abusefilter','interface-admin','oversight','sysop') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 4; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20041028201859) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20121211113050) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050304115751) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050721040319) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20060720212108) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050321085747) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20100613095212) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('extendedconfirmed','ipblock-exempt','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 3; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060517181248) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20081228003611) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20070826073033) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050313013226) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20070828082024) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060725183029) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060305170322) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20070106200808) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20080511175236) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20060326170159) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050521103113) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('autoreviewer','extendedconfirmed','reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 4; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20051001183219) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20081203231506) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('extendedconfirmed','reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20071104070434) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20100228075358) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20061130194730) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060823022442) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060809215911) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060709175723) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20050911172829) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20071003221735) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20041113181024) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20051116004738) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20051021050826) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060503001247) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20070223212516) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20040419234618) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('autoreviewer','extendedconfirmed','filemover','patroller','reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 6; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20030822060119) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20040205100420) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20090117014032) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20060421021343) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('reviewer','rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 2; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20060303162848) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20080917143125) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20010329115307) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20070317134425) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount, COUNT(*) FROM (SELECT user.user_id, user.user_registration, user.user_editcount, user_former_groups.ufg_group FROM user right join user_former_groups on user.user_id = user_former_groups.ufg_user where ABS(user.user_registration - 20041123084512) < 180 * 24 * 60 * 60 and user_former_groups.ufg_group IN ('rollbacker') and user_former_groups.ufg_group != 'bot') as potentially_matched right join user_former_groups on potentially_matched.user_id = user_former_groups.ufg_user GROUP BY potentially_matched.user_id, potentially_matched.user_registration HAVING COUNT(*) = 1; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20081025231019) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20060825122501) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200; SELECT potentially_matched.user_id, potentially_matched.user_registration, potentially_matched.user_editcount FROM (SELECT * FROM (SELECT * FROM user where ABS(user_registration - 20050315004127) < 180 * 24 * 60 * 60) AS r1 JOIN (SELECT CEIL(RAND() *(SELECT MAX(r3.user_id) FROM (SELECT * FROM user where ABS(user_registration - 20050131115657) < 180 * 24 * 60 * 60) AS r3)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN user_former_groups ON potentially_matched.user_id = user_former_groups.ufg_user WHERE user_former_groups.ufg_group IS NULL LIMIT 200;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...