What changed
- The Rule Era:Early databases just followed a fixed list of steps, no matter what.
- The Cost Era:Modern systems guess how much work each step will take before starting.
- Better Stats:Computers now keep detailed records of what data looks like to make better guesses.
- Smart Joins:We now have multiple ways to combine tables, allowing the computer to pick the best tool for the job.