TLD StatisticsSELECT A.domain_tld, count(A.id) as total, sum(B.total_amt) as total_amt from %%AGILE_DB_PREFIX%%service A join %%AGILE_DB_PREFIX%%invoice_item B on A.invoice_item_id=B.idA.site_id = %%DEFAULT_SITE%% and A.active=1 and A.type LIKE '%domain%' GROUP BY domain_tld ORDER BY total_amt DESC0TLDdomain_tldtrueTotal RegistrationstotaltrueTotal Salestotal_amttruedol,2headingSELECT DISTINCT from_unixtime(A.date_orig,"%Y") as yearmonth, A.domain_tld, count(A.id) as total, sum(B.total_amt) as total_amt from %%AGILE_DB_PREFIX%%service A join %%AGILE_DB_PREFIX%%invoice_item B on A.invoice_item_id=B.idA.site_id = %%DEFAULT_SITE%% and A.active=1 and A.type LIKE '%domain%' GROUP BY yearmonth ORDER BY yearmonth0Year:yearmonthtruetruetruefalsefalseSELECT from_unixtime(A.date_orig,"%Y") as yearmonth, A.domain_tld, count(A.id) as total, sum(B.total_amt) as total_amt from %%AGILE_DB_PREFIX%%service A join %%AGILE_DB_PREFIX%%invoice_item B on A.invoice_item_id=B.idA.site_id = %%DEFAULT_SITE%% and A.active=1 and A.type LIKE '%domain%' GROUP BY domain_tld ORDER BY total_amt DESC30TLDdomain_tldtrueTotal RegistrationstotaltrueTotal Salestotal_amttruedol,2headingSELECT DISTINCT from_unixtime(A.date_orig,"%M, %Y") as yearmonth, A.domain_tld, count(A.id) as total, sum(B.total_amt) as total_amt from %%AGILE_DB_PREFIX%%service A join %%AGILE_DB_PREFIX%%invoice_item B on A.invoice_item_id=B.idA.site_id = %%DEFAULT_SITE%% and A.active=1 and A.type LIKE '%domain%' GROUP BY yearmonth ORDER BY yearmonth0Month, Year:yearmonthtruetruetruefalsefalseSELECT from_unixtime(A.date_orig,"%M, %Y") as yearmonth, A.domain_tld, count(A.id) as total, sum(B.total_amt) as total_amt from %%AGILE_DB_PREFIX%%service A join %%AGILE_DB_PREFIX%%invoice_item B on A.invoice_item_id=B.idA.site_id = %%DEFAULT_SITE%% and A.active=1 and A.type LIKE '%domain%' GROUP BY domain_tld ORDER BY total_amt DESC30TLDdomain_tldtrueTotal RegistrationstotaltrueTotal Salestotal_amttruedol,2