LSW Posted May 5, 2011 Report Posted May 5, 2011 In my query I have a mathematic function under an alias: (a amount+ b amount) AS "difference" Now however I need to sum the difference, but apparently you cannot sum information using an alias: SUM('difference') AS "total_difference" I get a ORA-01722: invalid number error. Any ideas?
LSW Posted May 5, 2011 Author Report Posted May 5, 2011 Nope, I guess you can't. Now if I could figure out how to get it in my Crystal Report without mucking up the other sums...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now