There is a table with many entries. How to choose from the table the 10 most expensive products?

id | product | price

    1 answer 1

    Create a view and you will be happy ... The request itself:

    SELECT * FROM table ORDER BY price DESC LIMIT 10;