column names with - and (

Поиск
Список
Период
Сортировка
От maria s
Тема column names with - and (
Дата
Msg-id d9d42a0f0807290906v1a1efabbm1304ddc2ab0f0b9@mail.gmail.com
обсуждение
Ответы Re: column names with - and (
Список pgsql-sql
Hi All,
When I am fetching the data from a table,
I am giving the column names with - and ( and ) like IL-a, IL-a(p30) etc..

select x1 as IL-a, x2 as IL-a(p30) from abc

But I am getting

ERROR:  syntax error at or near "-" and also t "(" , ")"

Can anyone help me to fix this?

Thank you,
Maria

В списке pgsql-sql по дате отправления: