SELECT DISTINCT on Campaign V7
I need to now the unique elements of the column: DESCORREOAF from Recipients table.
I used this query:
SELECT COUNT(DISTINCT DESCORREOAF) AS DESCORREOAF FROM NmsRecipients;
But is giving error:
27/09/2023 17:28:54 PGS-220000 PostgreSQL error: ERROR: relation "nmsrecipients" does not exist LINE 1: ...T COUNT(DISTINCT DESCORREOAF) AS DESCORREOAF FROM NmsRecipie... ^ .
The column I need to query is this in XML: <attribute name="DESCORREOAF" type="string"/>

