** Under Construction - Pull requests welcome **
This grammer is a foundation for SQL Language parsers. It handles the common lexical constructs of SQL.
singlequotedoublequotequote- either single or doublebackquoteperiodunderscoreplus-signminus-signleft-parenright-parencolonsemicoloncommasolidus- ordinary forward slash
simple-comment- '--' or '#' to end-of-linebracketed-comment- '/*' to '*/' multi-line commentcomment- either of the above
literalsigned-numeric-literalunsigned-numeric-literalchar-sting-literaldatetime-literalinterval-literaldate-stringtime-stringtimestamp-stringboolean-literal
operator-symbolequals-operatornon-equals-operatorless-than-operatorgreater-than-operatorplus-operatorminus-operatormultiply-operatordivide-operatorgreater-than-or-equals-operatorless-than-or-equals-operator
quoted-labelquoted with backtickregular-identifierkeywordnon-reserved-wordreserved-word
=== Other ===
variable