Sum Only Top 20 Customers? -
02-03-2010
, 03:25 PM
Hi...I need to return the Top 20 customers by 'Accounts Receivable
Balance' (= FutureBal + Per1Bal + ... + Per5Bal + Misc_Creds +
Unapplied) in the and then in the select list sum a calculated value,
Sum(Val1 -Val), and another. I am stuck on how to use TOP in a WHERE
Clause.. TIA LB |