Hello, I'd like to write a simple mySQL query to retrieve customer sales data. I'll save to .CSV and download. Analyze in pivot table in excel.
So the customer info is pretty simple:
SELECT customers_id,customers_firstname, customers_lastname, customers_email_address FROM customers
WHERE <some conditions>
But then how to connect that with I *THINK* same customers_id in orders.order_total. It that where all order history is?
I just plan to paste the sql into phpMyAdmin, and run it, nothing to having to do with Admin web rendering.
Any help with the sql would be appreciated.
Bookmarks