Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
The ISNULL() function
The COALESCE() function
The NULLIF() function
14. NULLIF() – practice 1


Good. Let's do another exercise to practice the use of NULLIF().


Show the Name of each product with the Ratio calculated in the following way:

Divide the Price of the product by its ShippingCost.
Show the result in percent, rounded to an integer value.

If the ShippingCost is 0.00, show NULL instead.

Stuck? Here's a hint!

Use the function ROUND(x, 0) to get the rounded value. There is no need to append the percent sign.