delete with self join

Поиск
Список
Период
Сортировка
От garry saddington
Тема delete with self join
Дата
Msg-id 1176755625.7783.1.camel@localhost
обсуждение исходный текст
Ответы Re: delete with self join
Re: delete with self join
Список pgsql-general
I am trying this syntax which is my interpretation of the docs:

     delete from siblings s1 using siblings s2
        WHERE  s1.principal = s2.principal
              and s1.sibling=175

Can anyone tell me where I am going wrong?
regards
Garry


В списке pgsql-general по дате отправления:

Предыдущее
От: "Ketema"
Дата:
Сообщение: Dynamic DDL
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Dynamic DDL