This guide offers a concise look at how PostgreSQL deals with the absence of the ISNULL function, introducing alternatives like COALESCE and CASE.
In PostgreSQL, you might use COALESCE to handle NULLs:
-- PostgreSQL
SELECT COALESCE(stock_level, 0) AS...