我应该更新一行的值,但列名有点。
我试过name.name
但没有,即使它似乎适用于 MySQL。
我该如何使用 postgresql?我发誓,在创建这个线程之前,我搜索了所有内容。
谢谢
更新:感谢您的快速回答,我尝试使用“”但这是结果
ERROR: column "name.name" of relation "my_table" does not exist
我的查询:
update my_table set "name.name"='a081613e-2e28-4cae-9ff7-4eaa9c918352';