MySQL select SUM of results with a LIMIT
LIMIT
affects the number of rows returned by the query and SUM only returns one. Based on this thread you might want to try:
SELECT sum(price) FROM (SELECT price FROM items ORDER BY price DESC LIMIT 3) AS subquery;