I'm reviewing the Postgres RIGHT() function documentation, right..
For the documentation example:
SELECT RIGHT('XYZ', 2);
I was expecting the right response as per the documentation viz;
right
-------
YZ
(1 row)
But then I ran the query in Aginity Workbench and the result wasn't right. I get:
found "RIGHT" (at char 8) expecting an identifier found a keyword
Can someone set me right?
select version()show you