Use Temporary tables to achieve your goal some other method also available but this is easy..
Create Table #Temp
(
Sn INT IDENTITY,
EmpId int,
Name Varchar(150),
totaldeduc decimal(10,2),
totalAllowance decimal(10,2),
basicpay decimal(10,2),
grosspay decimal(10,2)
)
insert into #temp(EmpId)
select EmpId from tblEmpDetail
Update #temp set
totaldeduc=(select sum(Amount) from tblAllowance where EmpId=#temp.EmpId),
totalAllowance=(select sum(Amount) from tblDeduction where EmpId=#temp.EmpId),
basicpay=(select BasicPay from tblEmpOfficialDetail where EmpId=#temp.EmpId)
Update #Temp set grosspay=(basicpay+totalAllowance-totaldeduc)
Select * from #Temp
Drop table #Temp
I suppose in all your table EmpId is present.