All Products
- All Products
Rename Saved Search
* This field is required
Confirm Deletion
Are you sure you want to delete the saved search?
SELECT AVG(price - cost) AS profit FROM products JOIN order_details ON (order_details.prod_id = products.prod_id) JOIN orders ON (order_details.order_id = orders.order_id) WHERE YEAR(order_date) = 2014 AND MONTH(order_date) = 12 AND price >= 500