Re: deleting an identical record

Поиск
Список
Период
Сортировка
От missive@frontiernet.net (Lee Harr)
Тема Re: deleting an identical record
Дата
Msg-id slrna78r5n.75.missive@whave.frontiernet.net
обсуждение исходный текст
Ответы Re: deleting an identical record
Список pgsql-general
> In a table I entered by accident two times the same record, if I now
> list the table I see two lines with exactly the same contents. How can
> I delete one of those two records? I can't find a select criterium which
> differs for both.
>


create table t (a int, b text);

insert into t values (1, 'a');
insert into t values (1, 'a');
insert into t values (1, 'a');
insert into t values (1, 'a');

select oid, * from t;




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

Предыдущее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: batch file
Следующее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: Date problem