Column name with a Space - Athena

Viewed 6196

I am trying to create a table that has a column name with Space using Athena Console.

Example: "Mag Creative" String

Error: This field is required. Spaces are not allowed!

2 Answers

You can try double quotes,like this:

SELECT i."interest expense" FROM "financial-analysis-tool"."income_statement"
Related