You could use Select sum(amount) from tbl_a where employee# = employee_Specified. You can include a test for the year if there is more than this years data in the database.
I you needed the totals for all you can add a group by.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.