Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] org.postgresql.util.PSQLException:Error: syntax error at or near "."

    "
    SELECT
    'customer'.'name',
    'customer'.'countryOfResidence'
    FROM 'customer'
    WHERE 'customer'.'countryOfResidence' = 'USA'
    "
I am querying a table in postgreSQL through Talend and cannot seem to perceive where the error is. Can someone help out please.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Got it Talend takes table names as double quotes:
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Got it Talend takes table names as double quotes:
SELECT
"customer"."name",
"customer"."countryOfResidence"
FROM "customer"
WHERE "customer"."countryOfResidence" = 'USA'