SQL - Indexes and Query Performance
A table
The query is slow. What is a likely cause?
sales has indexes on region and sale_date. You run this query:SELECT * FROM sales WHERE region = 'North' AND sale_date < '2023-01-01';
The query is slow. What is a likely cause?
