2 ms·
The code you get with a trailing comma is valid SQL just like the one you get without, and both have different meanings. The language is just too lenient with
by marcosdumay 5y ago
The code you get with a trailing comma is valid SQL just like the one you get without, and both have different meanings.
The language is just too lenient with syntax, what is quite on the line for a "human legible" language from the late 70's and earlier 80's, but a really undesirable characteristic in practice. Unfortunately, nobody is doing a "better SQL", just radically different things that often not even support the same DB engines. And those have a real hard time getting popular, so we are stuck with the late 70's speculative innovations.