Words that are structural only when followed by a specific next word, and ordinary
quotable identifiers otherwise.
This exists so the clause skeleton can be covered without giving up column names that
genuinely occur. Order and Group are believable columns; Order By and Group By are
not columns at all. Left/Right/Full are believable columns AND scalar functions;
Left Join is neither. Gating on the following word separates the two cases exactly,
rather than trading one breakage for another.
Words that are structural only when followed by a specific next word, and ordinary quotable identifiers otherwise.
This exists so the clause skeleton can be covered without giving up column names that genuinely occur.
OrderandGroupare believable columns;Order ByandGroup Byare not columns at all.Left/Right/Fullare believable columns AND scalar functions;Left Joinis neither. Gating on the following word separates the two cases exactly, rather than trading one breakage for another.Matched case-insensitively on both sides, like PostgreSQLStructuralKeywords.