0

I looked up several finding average weight questions posted in SO but none quite match my requirement.

This is what is expected.

The Postgres table stores the following fields.

Link to Database Table Screenshot

Taking a reference from the screenshot above, I need to know what is the function or query I need to create in Postgres so that when an entry is inserted in between 02-Jun-16 and 23-Jun-16, the table will recompute all the relevant value and update the 3 columns G, H, I.

0 Answers0