Skip to content
Advertisement

SQL Select Statement – Automation Anywhere

I am trying to write an SQL select statement where i only extract two columns from a csv which has been connected as a CSV.

The select statement query i am using is:

Which extracts all data in the table as expected, I wish to only extract data in columns with headers:

The below line of code throws a syntax error

Any help on this would be much appreciated.

Advertisement

Answer

Drop the parentheses:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement