I have already asked this question for 1 table but this time i am asking for 2 tables Means i have 2 tables January & February with same column names those are empid,sal,date.
Now i want to show out put like this
[Empid] [No.ofEmpid] [TotalSal] [No.OfMonths]
1 2times 12000 2Months
2 2times 20000 2Months
3 2times 10000 2months