PostgreSQL - Indexing Strategies
You tried to create an expression index with:
But PostgreSQL returned a syntax error. What is the problem?
CREATE INDEX idx_expr ON sales (price * discount);But PostgreSQL returned a syntax error. What is the problem?
