SELECT main_table.increment_id, main_table.created_at,main_table.base_grand_total,main_table.`status`, customer_table.email, SUM(qty_ordered) AS total_qty_ordered FROM sales_flat_order_grid AS main_table LEFT JOIN customer_entity AS custome...
2016-01-02