Misleading title. Should be more like, "random whining about SQL"<p>SQL is like democracy: it's the worst form, except for every other.<p>Go try writing non-trivial queries in any other database query language, then come back and whine to me about SQL.<p>Notably, SQL hides the implementation in a way that allows for 1000+x speedups from index selection, JOIN order optimization, execution method and parallelism. Typically, even hand-coded queries can't touch the performance because of gonzo low level optimizations nobody would bother writing for one query, such as optimizing batch size to match cache size.<p>Modern SQL (e.g. Postgres) even does this while allowing the user to include unmodified business logic written in a variety of high level languages. For example, if you want to search for employees that match some crazy predicate written in (JavaScript/Python/etc) no problem, it fits right into the WHERE clause, and is executed in parallel on each core of each node. You can even index the results of this function, so the storage system doesn't even look at non-matching records... assuming this index is the more selective of the options, which it dynamically decides per query.<p>tl;dr: quit your whining