function on trigger

From: Marcos Hercules Santos <mhercs(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: function on trigger
Date: 2011-08-31 22:39:36
Message-ID: b3ba2b32-278f-4216-9de3-39ab2162fc23@y21g2000yqy.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi guys

I'm newbie in Psql and I'm trying to build one function in order to
count the products for each supplier. So i'm gonna put it quite simply
though this example

Please, consider a table called books with the following fields

bookid, title, price, idPublisher

and one another table called publisher

Idpublisher, name, city, Books

Being in that last field from Publisher, called book, I gotta have the
amount of published books for each publisher.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben Chobot 2011-08-31 22:49:18 Re: regression between 8.4.8 and 8.4.2?
Previous Message Lou Picciano 2011-08-31 20:11:15 toast error after pg_upgrade 9.0.4 -> 9.1rc1