This is a patched extract from prettify.js's regular expression matching a subset (!) of all SQL keywords. Everytime SQL adds a new feature, new keywords are added as well. And this list doesn't even include compound 5-word keywords, such as WHEN NOT MATCHED THEN INSERT. With SQL, we're not far away from COBOL!