Skip to content
Advertisement

Lead and case expression

I have this table:

Expected output:

SQL:

Results:

Can I add the system date when null in the case expression?

Advertisement

Answer

Use NVL :

Or, better yet :

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement