带空格的列名 - Athena [英] Column name with a Space - Athena

查看:35
本文介绍了带空格的列名 - Athena的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Athena 控制台创建一个列名称为 Space 的表.

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

示例:Mag Creative"字符串

Example: "Mag Creative" String

错误:此字段是必需的.不允许有空格!

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

推荐答案

你可以试试双引号,像这样:

You can try double quotes,like this:

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

这篇关于带空格的列名 - Athena的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆