From: | "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Populating using Select |
Date: | 2006-09-26 12:35:18 |
Message-ID: | 55c095e90609260535r1951013ep15ec0d5a89c8a78a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi list,
I need to populate a neigborhood table base on a select of another table
that already have a good amount of neigborhood saved.
Could someone tell me how it is possible ?
I was trying to make something like this:
Insert into base.neigborhood values (nextval(), Select distinct name from
base.clients).
I didn't try it but I suppose it will not work.
Regards ...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2006-09-26 12:52:56 | Re: Populating using Select |
Previous Message | TJ O'Donnell | 2006-09-23 14:43:18 | Re: unique rows |