PostgreSQL - Common Table Expressions
You wrote this query in PostgreSQL 11:
WITH cte AS (SELECT id, name FROM users WHERE active = true) SELECT * FROM cte WHERE name LIKE 'A%';
The query runs slower than expected. What is a likely cause?
WITH cte AS (SELECT id, name FROM users WHERE active = true) SELECT * FROM cte WHERE name LIKE 'A%';
The query runs slower than expected. What is a likely cause?
