Skip to content
Advertisement

postgres column allow space to column while making alias name

python code to make query from postgres table

error:

I wants to add space to alias name of column thats why i have written my code like this. Plese check how can i fix it.

Advertisement

Answer

Postgres follows the SQL standard and uses double quotes, not backticks, to escape database object names (such as column or table names). Use this version:

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