小编Moh*_*sin的帖子

如何在 psql 中查询。如果列名像camelCase

我的 psql 表结构如下:

id userName gender  
1   xxxx     Male
Run Code Online (Sandbox Code Playgroud)

如果我从 psql shell 使用如下查询:

select * from table where userName="xxx";
Run Code Online (Sandbox Code Playgroud)

它给出错误:错误:列“用户名”不存在。

如何查询列名是否包含带有camelCase

postgresql

2
推荐指数
1
解决办法
5344
查看次数

标签 统计

postgresql ×1