Erroneous SQL Syntax Error in Editor

This error appears in 15.1:

But, 'order' is not actually an error here, and the command will execute successfully.

Is this fixed in a later version?


I get the same error in 16.2, but only if the parens around the select are there. They are not needed and in fact I didn't even realize they were valid.

Yeah, not required but legal. I like to use them because it makes the view's query stand out. It isn't a big deal if it's a problem to fix.


This one is on the formatter, so I can't be sure of the difficulty to fix, but I suspect @avergison will have no problem with it.

Can reproduce. Will have a look asap.

Thanks for reporting it.