SQL Questions
SQL Questions
You are working for an online retail company. The company database has the following
tables:
● Find the total price of products in each order, but only include orders placed after
'2024-07-05'.
Intermediate Questions:
● Get the details of orders placed by customers from Germany, including the total
quantity of products in each order.
● Find the average price of products ordered by each customer, but only for customers
who have placed more than one order.
Advanced Questions:
● List customers who have ordered products from more than one category, and the count
of distinct categories they have ordered from.
● Find the order that generated the highest total revenue, and include the customer's
name and order date in the result.