Write a SQL query to join customer, orders, and product tables and calculate total revenue by customer segment.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.