FYI The syntax duagram is called a railroad diagram, and is particularly common in RDBMS docs (probably because SQL syntax is basically nonsense)
And second is that RDBMS's are historically closed-source enterprise tooling -- the vendors themselves have little interest rocking the boat, and there's not much freedom for the community to inject a new language into the system (except as ad-hoc, wonky transpilers, or framework wrappers like ORMs)