Companies Listed AlphabeticallyheadingSELECT UCASE(LEFT(A.company, 1)) as fnum, count(A.id) as total from %%AGILE_DB_PREFIX%%account AA.site_id = %%DEFAULT_SITE%% AND A.company IS NOT NULL and A.company!='' AND A.id in (select distinct account_id from %%AGILE_DB_PREFIX%%account_group where group_id!=4 and group_id!=1001)GROUP BY fnum ORDER BY fnum ASC0fnumtruetruetruefalsefalseTotal Customers: totalSELECT UCASE(LEFT(A.company, 1)) as fnum, A.email, A.company, CONCAT(A.first_name,' ', A.last_name) as name, CONCAT(address1,' ', address1,', ', city, ' ', state, ', ', zip ) as address from %%AGILE_DB_PREFIX%%account AA.site_id = %%DEFAULT_SITE%% AND A.company IS NOT NULL AND A.company!='' AND A.id in (select distinct account_id from %%AGILE_DB_PREFIX%%account_group where group_id!=4 and group_id!=1001)ORDER BY company ASC30CompanycompanyContactnameAddressaddressE-mailemail