(1002, 'Kumar', 'Arun', 'x101', '[email protected]', '1', NULL, 'Sales Manager'), (1056, 'Ravi', 'Suresh', 'x102', '[email protected]', '1', 1002, 'Sales ...
JOIN menu m ON s.product_id = m.product_id GROUP BY customer_id; Explaination: This query joins the sales and menu tables to calculate the total amount each customer spent by summing up the prices of ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results