sql nas and accounting