Hi All,
Does anyone know how to run a custom report which will bring back the most regular customers? i.e. customers who have had the most orders.
Many thanks
Hi All,
Does anyone know how to run a custom report which will bring back the most regular customers? i.e. customers who have had the most orders.
Many thanks
Code:select customerid, count(*) from orders with (nolock) group by customerid order by 2 desc
http://www.esedirect.co.uk
--------------------------------------------------------------------------
Using MS 9.2.0.0 with the following customisations:
Lightbox/Fancybox enlarged images;
Auto-suggest searchbox;
Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
Failed transactions emailed via trigger;
Custom app to show basket contents when customer online;
Orders pushed through to accounting systems.
All the above without source!