Re: How to keep the last row of a data set?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: How to keep the last row of a data set?
Дата
Msg-id 50CA3919.1090208@hogranch.com
обсуждение исходный текст
Ответ на How to keep the last row of a data set?  (seiliki@so-net.net.tw)
Ответы Re: How to keep the last row of a data set?
Re: How to keep the last row of a data set?
Список pgsql-general
On 12/13/2012 5:32 AM, seiliki@so-net.net.tw wrote:
> I am trying to implement a mechanism that prohibits the last row of a data set from being deleted.
>
> CREATE TABLE t1 (c1 INTEGER,c2 INTEGER, PRIMARY KEY (c1,c2));
>
> INSERT INTO t1 VALUES (1,1),(1,2),(1,3),(2,1),(2,2),(2,3);

Which row is the last row?   relations are sets, not ordered lists.


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

Предыдущее
От: Edson Richter
Дата:
Сообщение: XML Schema for PostgreSQL database
Следующее
От: Edson Richter
Дата:
Сообщение: Re: How to keep the last row of a data set?