gpt4 book ai didi

postgresql - SELECT 返回空结果集

转载 作者:行者123 更新时间:2023-11-29 11:43:09 24 4
gpt4 key购买 nike

当我尝试从表中插入和选择数据时,我得到一个空的结果集。我是这样做的:

reestr-# INSERT INTO datatype(code) VALUES ('blabla')
reestr-# SELECT * FROM datatype
reestr-#

因此,我在控制台中没有收到任何错误或警告,但我仍然无法插入或选择任何数据。顺便说一下,我什至尝试插入无效字段 cod 而不是 code 并且没有出现任何错误 - 这真的很奇怪。

最佳答案

; 结束你的查询 => SELECT * FROM datatype;

关于postgresql - SELECT 返回空结果集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28795456/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com