Fork of
Skin usage statistics
by Wargo
This query is marked as a draft
This query has been published
by Geraki.
SQL
x
use elwiki_p;
SELECT up_value AS skin, count(*) AS users, max(upa_touched) AS last_updated
FROM user_properties_anon
WHERE up_property="skin"
GROUP BY up_value
ORDER BY users DESC;
/* existent */
SELECT up_value AS skin, count(*) AS users, max(upa_touched) AS last_updated
FROM user_properties_anon
WHERE up_property="skin" AND up_value IN('vector', 'monobook', 'modern', 'timeless', 'minerva', 'cologneblue')
GROUP BY up_value
ORDER BY users DESC;
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.