Hi,
I have 3 queries which contain the total count for a specific column serial number
Select count(SN) from tbl1; result = 500
select count(SN2) from tbl2 ; result = 400
select count(SNSN2) from tbl3 ; result = 1000
I could not use one query because the execution time is taking too long, so i decided to split on 3
Those results have to be placed on a one table because i need to make some calculations
Total SN TotalSN2 TotalSNSN2 Rate
500 400 300 20
500+400-300 = 600
Rate = 600/300 = 20%
What will be your suggestion to accomplish this task, thanks
Start Free Trial