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
Gauthammohanraj
.
Toggle Highlighting
SQL
WITH USER_REGISTRATION AS ( SELECT * , CASE WHEN user_registration is null then 'Unknown Registration Dates' ELSE 'Registered Users' END as usertype FROM user left join user_groups on user.user_id = user_groups.ug_user where ug_group != 'bot' ) SELECT * from USER_REGISTRATION SELECT COUNT(user_name) , CONCAT(MONTH(user_registration),'-',YEAR(user_registration)) , usertype from USER_REGISTRATION group by usertype
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...