COALESCE
coalesce(a, b, ...) returns the first argument that is not NULL.
task
Show surname and phone, with 'none' where there is no phone (NULL or empty).
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
coalesce(a, b, ...) returns the first argument that is not NULL.
Show surname and phone, with 'none' where there is no phone (NULL or empty).