PostgreSQL - Indexing Strategies
Given the partial index:
What will be the result of this query?
CREATE INDEX idx_active_users ON users (last_login) WHERE active = true;What will be the result of this query?
SELECT * FROM users WHERE active = true AND last_login > '2024-01-01';