from Hacker News

Query optimization doesn't work because SQL is declarative

by jamii on 2/10/25, 3:43 AM with 1 comments

  • by idiocrat on 2/10/25, 5:15 AM

    Maybe the "query optimization works because sql is set-oriented"?

    The types of operations in SQL are limited to sets, therefore allowing certain optimizations.