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
Gatherinfer
.
Toggle Highlighting
SQL
USE enwiki_p; WITH DEDUPE AS ( SELECT * , ROW_NUMBER() OVER ( PARTITION BY ug_user ORDER BY ug_user ) AS OCCURENCE FROM user_groups ) SELECT *, COUNT(*) FROM DEDUPE WHERE OCCURENCE = 1 GROUP BY ug_group
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...