Expensive Products in Category
The storefront opens products for a chosen category and shows higher-priced items first by price. Add an index on category and price in highest-price-first order.
Speed this query up with an index
CREATE INDEX ix_products_cat_price ON products (category, price DESC)
Csak CREATE/ALTER/DROP — nincs szükség záró SELECT-re.
Jelentkezz be a beküldési előzmények megtekintéséhez
BejelentkezésJelentkezz be az MI-mentor használatához
Bejelentkezés