select AÑO, REGION, AGRICULTURA, V_AGRICULTURA, INDUSTR_CONSTR, V_INDUSTR_CONSTR, COMERCIO_SERVICIOS, NO_CORRESPONDE, V_NO_CORRESPONDE from ecotabpea WHERE AÑO =(SELECT MAX(AÑO) FROM ecotabpea)
El error es:
ERROR: You have an error in your SQL syntax to use near '(SELECT MAX(AÑO) FROM ecotabpea)' at line 1