Hi there
We have a simplified table like this:
TYPE; VALUE
AA; 10
BB; 7
CC; 12
I want to do calculation based on TYPE AA & BB so 10 - 7 = 3
How do I achieve this?
Thanks
Hi there
We have a simplified table like this:
TYPE; VALUE
AA; 10
BB; 7
CC; 12
I want to do calculation based on TYPE AA & BB so 10 - 7 = 3
How do I achieve this?
Thanks
select A.TYPE - B.TYPE from table A, table B where A.TYPE = 'AA' and B.TYPE = 'BB'