[untitled]
1 pointsby rgharris0 comments
SELECT *
FROM (
SELECT *
FROM sale
) AS inlined
WHERE created_by_id = 1
But with Postgres 12 their "don't" example would result in an index scan without refactoring to the "do" example. Basically their advice on do vs don't applies to before Postgres 12.