I assume you are using an Oracle database. The NVL() function tests if something is null, at lets you specify a value to use instead. So
will give you 'somestring', because it is not null. But if you tried
you will get 'otherstring'.
Basically NVL() allows you to replace null with another value. Does that help?