User Preferences By Language SELECT UCASE(language_id) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC 0 Language name Accounts total SELECT UCASE(language_id) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC By Currency SELECT UCASE(B.name) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A join %%AGILE_DB_PREFIX%%currency B on (A.currency_id=B.id) A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC 0 Currency name Accounts total SELECT UCASE(B.name) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A join %%AGILE_DB_PREFIX%%currency B on (A.currency_id=B.id) A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC By Site Theme SELECT UCASE(theme_id) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC 0 Theme name Accounts total SELECT UCASE(theme_id) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC By Account Title SELECT UCASE(title) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC 0 Title name Accounts total SELECT UCASE(title) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC By E-mail Formatting Preference SELECT UCASE(email_type) as name, count(A.id) as total from %%AGILE_DB_PREFIX%%account A A.site_id = %%DEFAULT_SITE%% GROUP BY name ORDER BY total DESC 0 0=Plain, 1=HTML Formatted name Accounts total