SQL Fundamentals — Hard
Key points
- The function YEAR() prevents index use on order_date
- Full table scan occurs due to the function in the WHERE clause
- Performance concern arises from lack of index utilization
Ready to go further?
Related questions
SQL Fundamentals — Hard
Key points
Ready to go further?
Related questions