Cannot SELECT from UPDATE RETURNING clause in postgres

前端 未结 7 1057
旧时难觅i
旧时难觅i 2020-12-03 10:36

I isolatet the problem from a much more complex query. Here the test scenario

DROP TABLE test; 
CREATE TABLE test (
  id integer,
  description varchar(100)
         


        
7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 11:41

    You are not limiting your where clause. You need to have id = (blahblah) or id IN (blahblah)

提交回复
热议问题