;with cte as (
Select SUM(expen.amount) as premonth from expen where schemeno='W2/2013/11584' and exp_date<'2013-04-01' and passingDate is not null
),cte2 as (
Select SUM(expen.amount) as expenamt, monyr,schemeno,sch_mas.sch_amount,sch_mas.san_no,sch_mas.disp
from expen inner join sch_mas on sch_mas.sch_no=expen.schemeno where exp_date>'2013-03-31' and exp_date<'2014-03-31'
and schemeno='W2/2013/11584' group by expen.monyr,expen.schemeno,sch_mas.disp,sch_mas.sch_amount,sch_mas.san_no
)select * from cte,cte2