I think many here miss totally the point. Is the same mindset that lead to believe C, bash or unix are good(?) then why bother?
I'm very lucky that I start with FoxPro, so I know what is to live with a MUCH better thing than SQL.
To the point:
- "SQL is standard, everywhere... why try to change or do something else?"
I hope none here work in new software products.
And also, try to replace ALL the OLD with the NEW is no the point, is to try to DO BETTER THAN THE OLD.
I suspect most of use are in that business... right?
- "SQL is a good language!"
Superficially, yes.. as good is javascript or C. More exactly to be the "default" option we are VERY lucky SQL is not alike C or JS. But "good" is not. Is adecuate.
IF you DON'T KNOW WHY then learn the why first. For us that LIVE in the RDBMS world is clear as water than SQL is not the ideal, is what we have.
----
Is important to understand that "SQL", Rdbms and the relational model are badly misunderstood (just look how the NoSql movement market itself!)
- SQL IS NOT THE RELATIONAL MODEL, is BASED on it.
The relational model is MORE expressive, powerful, flexible and EASIER than SQL.
- SQL IS NOT RDBMS
A much better APIs can be build on top a RDBMS but SQL is a poor language for that. This is part of why exist so many extensions.
Think, for example, why you can't do
SELECT key FROM BTreeInde_CustomerCode
GROUP BY (whatever -- And I mean GROUP, not SUMMARIZE!)
let city = SELECT name
let filter = WHERE id = @id
let query = city + filter(id=1)
and many many other things like thatMany things that get mixed with the "SQL" language are part of the implementation or capabilities of the RDBMS.
- However, SQL IS A FINE EXAMPLE IN HOW DO DATA
And in fact, is not that hard to imagine a much better version, SQL is not that far from a better option!