helghe:
Maybe something like this is what you are looking for?
declare @myTable table
( myId integer,
myValue integer
)
insert into @myTable values (1, 35)
insert into @myTable values (2, 14)
select convert (varchar (10), myId) as myId, myValue from @myTable where myId in (1,2)
union all
select 'Difference', a.myValue - b.myValue
from @myTable a
inner join @myTable b
on a.myId = 1
and b.myId = 2
-- ------------ Sample Output ------------
-- myId myValue
-- ---------- -----------
-- 1 35
-- 2 14
-- Difference 21