I have two distinct queries which return single values and I would like to combine them into one single value. See below:
Query 1:
select sum(value)
from table.trans as transactions
where country= 'UK'
and transactions.from = 'Angela'
Query 2:
select sum(value)
from table.trans as transactions
where country= 'UK'
and transactions.to= 'Angela'
I now want to get:
Value from query 1 - Value from query 2