Hi,
I'm a novice to SQL scripting. I am trying to figure out a design problem, involving some arithmetic computation.
I have two tables temp1 and temp2 with two columns account no., ( Common in both tables ) balance ( float data type ).
- I want to compare the balance columns in temp1 and temp2. print out the no. of accounts and percentage of match and mismatch.
- output the a/c nos. whose balances don't match into a separate table..
Another question that I have is, how does sql handle the computation, if a value in a particular field is divided by 0?
Any help, will get me started.
Thanks