I am trying to get a running total column in my query for year to date but I keep coming up with the error "missing expression" on my scalar subquery. Is there something I am missing? Can anyone help?
select a.region_cd, a.sales_person, b.category_id, a.corporate_cust_id,a.cust_id...