A Query Planning Guideline

from blog NULL BITMAP by Justin Jaffray, | ↗ original
A number of readers last week reached out to direct my attention to What if a SQL Statement Returned a Database which is a much more thorough and well-articulated explanation of the core idea—thank you! A Query Planning Guideline Say I want to construct a plan for the following query: SELECT a, sum(b) FROM (SELECT a, a + 1 AS x, b FROM ab)...