Answer the question
In order to leave comments, you need to log in
How to remove subquery data in postgres?
I have a subquery, how can I remove the data that is in it from the table?
Tried to do it like this but it doesn't work
with to_del as (
select * from Chat where Subject='427c6f3e-9876-48c5-b44d-776771f7c2c9')
delete from to_del
Answer the question
In order to leave comments, you need to log in
delete from Чат where id IN (select id from Чат where Тема='427c6f3e-9876-48c5-b44d-776771f7c2c9' LIMIT 1000)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question