DEV Community

[Comment from a deleted post]
Collapse
 
mucio profile image
mucio

There is also the possibility to write cases without else, that will return null. Sometimes it can be useful, for example sqlfiddle.com/#!9/ae6d108/5