hi all..
i dont understand this sql statement(decod e and least)
please help me..
[code=mysql]
sum(decode(f.co de_category,'3' , nvl(decode(d.fl ag_result,null, decode(least(b. date, :p_startingdate +1)b.date,1),0) ,1),0))[/code]
please convert this to if and else statement...so that i can understand...th ank you..
User Profile
Collapse
-
Using DECODE and LEAST in MySQL
-
decode and least function
hi all..
i dont understand this sql statement(decod e and least)
please help me..
sum(decode(f.co de_category,'3' , nvl(decode(d.fl ag_result,null, decode(least(b. date,:p_startin gdate+1)b.date, 1),0),1),0))
please convert this to if and else statement...so that i can understand...th ank you..
No activity results to display
Show More