Hi,
I am trying to calculate a percent (%) of increase or decrease of numbers from week to week
I would do it something like the following query:
select a.numb, b.date, a.percent
from tableA a, tableB b
where a.id=b.id and
b.date>startdate and
b.date<enddate
I am wondering if I have to do it though a LOOP ************************
run_Date number percent%
08/06 10
08/13 5 -50%
08/20 10 +50%
.
.
***********************
I assume it can be implemented though a block of build in PL/SQL code which I am not familiar with or otherwise(?). Could anybody help me with that?
Any assistance is greatly appreciated!!!!
Thanks in advance,
Liliya
I am trying to calculate a percent (%) of increase or decrease of numbers from week to week
I would do it something like the following query:
select a.numb, b.date, a.percent
from tableA a, tableB b
where a.id=b.id and
b.date>startdate and
b.date<enddate
I am wondering if I have to do it though a LOOP ************************
run_Date number percent%
08/06 10
08/13 5 -50%
08/20 10 +50%
.
.
***********************
I assume it can be implemented though a block of build in PL/SQL code which I am not familiar with or otherwise(?). Could anybody help me with that?
Any assistance is greatly appreciated!!!!
Thanks in advance,
Liliya