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 * FROM (user AS r1 JOIN (SELECT CEIL(RAND() * (SELECT MAX(user_id) FROM user)) AS id) AS r2 WHERE r1.user_id >= r2.id LIMIT 1000) AS potentially_matched LEFT JOIN (SELECT DISTINCT ufg_user, ufg_group FROM user_former_groups) AS user_former_groups WHERE ufg_group IS NULL AND timestampdiff(MONTH, r1.user_registration, '2005-01-31 11:56:57') < 6 AND 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...