Guys: I am supposed to write a function to compute the power factor. The formula is (peak energy + off peak + standard)/ kvah .
The problem is that i should pick the elements the elements from an Oracle database table so that i can compute the power factor and update the table in the database. Please assist.