SELECT SUM(IF(price > 5000, price, 0)) AS high_value_sales FROM sales;