Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql Postgres从一列中选择不同的值并插入到表中_Postgresql - Fatal编程技术网

Postgresql Postgres从一列中选择不同的值并插入到表中

Postgresql Postgres从一列中选择不同的值并插入到表中,postgresql,Postgresql,我无法从postgres中的表中选择distinct store_id.您的语法错误-请尝试使用distinct ON(更多信息) 如果要保持列顺序,可以执行嵌套选择操作,因为语法错误-请尝试使用DISTINCT ON(详细信息) 如果你想保持列的顺序,你可以在那里进行嵌套选择,试试运气好吗?在那里,试试运气好吗?

我无法从postgres中的表中选择distinct store_id.

您的语法错误-请尝试使用
distinct ON
(更多信息)


如果要保持列顺序,可以执行嵌套选择操作,因为语法错误-请尝试使用
DISTINCT ON
(详细信息)


如果你想保持列的顺序,你可以在那里进行嵌套选择,试试运气好吗?在那里,试试运气好吗?