here's my condition:
int count =0;
if (percent >100){
count = 1;
value = 50;
}
else if (percent >=90 || percent <100){
count = 1;
value = 40;
}
.
.
.
I want to get the counter in the particular ramge of percentage and sum the value up...for example if i get the counter of 4 in the...
I wish to use sql query to do some operations.
My 1st sql is shown as below:
(1) select i2.trade_in_discount from invoice i2, model_chassisno mc where i2.trade_in_value <> 0 and i2.model = mc.model and i2.model in('ZFL') and i2.chassis_no = mc.chassis_no
returned 2 resuls:
TRADE_IN_DISCOUNT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.