如何在t-sql中选择具有特殊字符的列?
我试过了
select Sub-Department from Table1
select [Sub-Department] from Table1
select [Sub-Department] from [Table1 ]
select (Sub-Department) from Table1
select 'Sub-Department' from Table1
select "Sub-Department" from Table1
但还是没什么效果
这是使用t-sql的azure数据砖平台中的sql。
sql语句:
1条答案
按热度按时间vaqhlq811#
使用backtick包含“sub department”,类似于