SQL views and user-tax loop