Answers for "DECODE the function in sql"

SQL
0

sql decode

DECODE(X, D1, R1, D2, R2, D3, R3, ..., Rx)
/*
if X = D1 then return R1
else if X = D2 then return R2
else if X = D3 then return R3
...
else return Rx
*/
Posted by: Guest on February-02-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language