PostgreSQL - Indexing Strategies
Consider a table
Assuming PostgreSQL uses an index-only scan, what rows are returned?
employees(id, department, salary) with an index on (department, salary). What will be the result of this query?SELECT department, salary FROM employees WHERE department = 'Sales';Assuming PostgreSQL uses an index-only scan, what rows are returned?
