我想做一个这样的减法: (SELECT ST_Y(ST_Centroid(ST_Collect(column1))) AS distance_km FROM table1) AS Difference
但是ST_Y(ST_Centroid(ST_Collect(column1)))只有一行,ST_Y(ST_Transform(column1,4326))有多行。我希望通过列减去多个行,并查看每个多行</e
我试图将多个值插入到postgresql中不同表中的表中,并遇到一个错误( 21000: ERROR:由用作表达式的子查询返回的多行)。entityid)(select nextval('seq_coupon')),(select entityid from card where country in ('China')));
此查询从卡中选择